In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a linear equation is an
equation
In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for example, in ...
that may be put in the form
where
are the
variables (or
unknowns), and
are the
coefficient
In mathematics, a coefficient is a multiplicative factor in some term of a polynomial, a series, or an expression; it is usually a number, but may be any expression (including variables such as , and ). When the coefficients are themselves var ...
s, which are often
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s. The coefficients may be considered as
parameter
A parameter (), generally, is any characteristic that can help in defining or classifying a particular system (meaning an event, project, object, situation, etc.). That is, a parameter is an element of a system that is useful, or critical, when ...
s of the equation, and may be arbitrary
expressions, provided they do not contain any of the variables. To yield a meaningful equation, the coefficients
are required to not all be zero.
Alternatively, a linear equation can be obtained by equating to zero a
linear polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exampl ...
over some
field
Field may refer to:
Expanses of open ground
* Field (agriculture), an area of land used for agricultural purposes
* Airfield, an aerodrome that lacks the infrastructure of an airport
* Battlefield
* Lawn, an area of mowed grass
* Meadow, a grass ...
, from which the coefficients are taken.
The
solutions
Solution may refer to:
* Solution (chemistry), a mixture where one substance is dissolved in another
* Solution (equation), in mathematics
** Numerical solution, in numerical analysis, approximate solutions within specified error bounds
* Soluti ...
of such an equation are the values that, when substituted for the unknowns, make the equality true.
In the case of just one variable, there is exactly one solution (provided that
). Often, the term ''linear equation'' refers implicitly to this particular case, in which the variable is sensibly called the ''unknown''.
In the case of two variables, each solution may be interpreted as the
Cartesian coordinates of a point of the
Euclidean plane
In mathematics, the Euclidean plane is a Euclidean space of dimension two. That is, a geometric setting in which two real quantities are required to determine the position of each point ( element of the plane), which includes affine notions of ...
. The solutions of a linear equation form a
line in the Euclidean plane, and, conversely, every line can be viewed as the set of all solutions of a linear equation in two variables. This is the origin of the term ''linear'' for describing this type of equations. More generally, the solutions of a linear equation in variables form a
hyperplane
In geometry, a hyperplane is a subspace whose dimension is one less than that of its ''ambient space''. For example, if a space is 3-dimensional then its hyperplanes are the 2-dimensional planes, while if the space is 2-dimensional, its hyper ...
(a subspace of dimension ) in the
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's Elements, Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics ther ...
of dimension .
Linear equations occur frequently in all mathematics and their applications in
physics
Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which r ...
and
engineering
Engineering is the use of scientific method, scientific principles to design and build machines, structures, and other items, including bridges, tunnels, roads, vehicles, and buildings. The discipline of engineering encompasses a broad rang ...
, partly because
non-linear system
In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many other ...
s are often well approximated by linear equations.
This article considers the case of a single equation with coefficients from the field of
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s, for which one studies the real solutions. All of its content applies to
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
solutions and, more generally, for linear equations with coefficients and solutions in any
field
Field may refer to:
Expanses of open ground
* Field (agriculture), an area of land used for agricultural purposes
* Airfield, an aerodrome that lacks the infrastructure of an airport
* Battlefield
* Lawn, an area of mowed grass
* Meadow, a grass ...
. For the case of several simultaneous linear equations, see
system of linear equations
In mathematics, a system of linear equations (or linear system) is a collection of one or more linear equations involving the same variable (math), variables.
For example,
:\begin
3x+2y-z=1\\
2x-2y+4z=-2\\
-x+\fracy-z=0
\end
is a system of three ...
.
One variable
A linear equation in one variable is of the form
where and are real numbers and
.
The root of
.
Two variables
A linear equation in two variables and is of the form
where , and are real numbers such that
.
It has infinitely many possible solutions.
Linear function
If , the equation
:
is a linear equation in the single variable for every value of . It has therefore a unique solution for , which is given by
:
This defines a
function
Function or functionality may refer to:
Computing
* Function key, a type of key on computer keyboards
* Function model, a structured representation of processes in a system
* Function object or functor or functionoid, a concept of object-oriente ...
. The
graph
Graph may refer to:
Mathematics
*Graph (discrete mathematics), a structure made of vertices and edges
**Graph theory, the study of such graphs and their properties
*Graph (topology), a topological space resembling a graph in the sense of discre ...
of this function is a
line with
slope
In mathematics, the slope or gradient of a line is a number that describes both the ''direction'' and the ''steepness'' of the line. Slope is often denoted by the letter ''m''; there is no clear answer to the question why the letter ''m'' is use ...
and
-intercept The functions whose graph is a line are generally called ''linear functions'' in the context of
calculus
Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithm ...
. However, in
linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as:
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as:
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrices.
...
, a
linear function
In mathematics, the term linear function refers to two distinct but related notions:
* In calculus and related areas, a linear function is a function (mathematics), function whose graph of a function, graph is a straight line, that is, a polynomia ...
is a function that maps a sum to the sum of the images of the summands. So, for this definition, the above function is linear only when , that is when the line passes through the origin. For avoiding confusion, the functions whose graph is an arbitrary line are often called ''affine functions''.
Geometric interpretation
Each solution of a linear equation
:
may be viewed as the
Cartesian coordinates of a point in the
Euclidean plane
In mathematics, the Euclidean plane is a Euclidean space of dimension two. That is, a geometric setting in which two real quantities are required to determine the position of each point ( element of the plane), which includes affine notions of ...
. With this interpretation, all solutions of the equation form a
line, provided that and are not both zero. Conversely, every line is the set of all solutions of a linear equation.
The phrase "linear equation" takes its origin in this correspondence between lines and equations: a ''linear equation'' in two variables is an equation whose solutions form a line.
If , the line is the
graph of the function of that has been defined in the preceding section. If , the line is a ''vertical line'' (that is a line parallel to the -axis) of equation
which is not the graph of a function of .
Similarly, if , the line is the graph of a function of , and, if , one has a horizontal line of equation
Equation of a line
There are various ways of defining a line. In the following subsections, a linear equation of the line is given in each case.
Slope–intercept form or Gradient-intercept form
A non-vertical line can be defined by its slope , and its -intercept (the coordinate of its intersection with the -axis). In this case its ''linear equation'' can be written
:
If, moreover, the line is not horizontal, it can be defined by its slope and its -intercept . In this case, its equation can be written
:
or, equivalently,
:
These forms rely on the habit of considering a non vertical line as the
graph of a function
In mathematics, the graph of a function f is the set of ordered pairs (x, y), where f(x) = y. In the common case where x and f(x) are real numbers, these pairs are Cartesian coordinates of points in two-dimensional space and thus form a subset ...
. For a line given by an equation
:
these forms can be easily deduced from the relations
:
Point–slope form or Point-gradient form
A non-vertical line can be defined by its slope , and the coordinates
of any point of the line. In this case, a linear equation of the line is
:
or
:
This equation can also be written
:
for emphasizing that the slope of a line can be computed from the coordinates of any two points.
Intercept form
A line that is not parallel to an axis and does not pass through the origin cuts the axes in two different points. The intercept values and of these two points are nonzero, and an equation of the line is
:
(It is easy to verify that the line defined by this equation has and as intercept values).
Two-point form
Given two different points and , there is exactly one line that passes through them. There are several ways to write a linear equation of this line.
If , the slope of the line is
Thus, a point-slope form is
:
By
clearing denominators In mathematics, the method of clearing denominators, also called clearing fractions, is a technique for simplifying an equation equating two expressions that each are a sum of rational expressions – which includes simple fractions.
Example
Co ...
, one gets the equation
:
which is valid also when (for verifying this, it suffices to verify that the two given points satisfy the equation).
This form is not symmetric in the two given points, but a symmetric form can be obtained by regrouping the constant terms:
:
(exchanging the two points changes the sign of the left-hand side of the equation).
Determinant form
The two-point form of the equation of a line can be expressed simply in terms of a
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if and ...
. There are two common ways for that.
The equation
is the result of expanding the determinant in the equation
:
The equation
can be obtained be expanding with respect to its first row the determinant in the equation
:
Beside being very simple and mnemonic, this form has the advantage of being a special case of the more general equation of a
hyperplane
In geometry, a hyperplane is a subspace whose dimension is one less than that of its ''ambient space''. For example, if a space is 3-dimensional then its hyperplanes are the 2-dimensional planes, while if the space is 2-dimensional, its hyper ...
passing through points in a space of dimension . These equations rely on the condition of
linear dependence
In the theory of vector spaces, a set of vectors is said to be if there is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vectors are said to be . These concepts are ...
of points in a
projective space
In mathematics, the concept of a projective space originated from the visual effect of perspective, where parallel lines seem to meet ''at infinity''. A projective space may thus be viewed as the extension of a Euclidean space, or, more generally ...
.
More than two variables
A linear equation with more than two variables may always be assumed to have the form
:
The coefficient , often denoted is called the ''constant term'' (sometimes the ''absolute term'' in old books
[Extract of page 113]
/ref>). Depending on the context, the term ''coefficient'' can be reserved for the with .
When dealing with variables, it is common to use and instead of indexed variables.
A solution of such an equation is a -tuples such that substituting each element of the tuple for the corresponding variable transforms the equation into a true equality.
For an equation to be meaningful, the coefficient of at least one variable must be non-zero. In fact, if every variable has a zero coefficient, then, as mentioned for one variable, the equation is either ''inconsistent'' (for ) as having no solution, or all are solutions.
The -tuples that are solutions of a linear equation in are the Cartesian coordinates of the points of an -dimensional hyperplane
In geometry, a hyperplane is a subspace whose dimension is one less than that of its ''ambient space''. For example, if a space is 3-dimensional then its hyperplanes are the 2-dimensional planes, while if the space is 2-dimensional, its hyper ...
in an Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's Elements, Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics ther ...
(or affine space
In mathematics, an affine space is a geometric structure that generalizes some of the properties of Euclidean spaces in such a way that these are independent of the concepts of distance and measure of angles, keeping only the properties relate ...
if the coefficients are complex numbers or belong to any field). In the case of three variable, this hyperplane is a plane
Plane(s) most often refers to:
* Aero- or airplane, a powered, fixed-wing aircraft
* Plane (geometry), a flat, 2-dimensional surface
Plane or planes may also refer to:
Biology
* Plane (tree) or ''Platanus'', wetland native plant
* ''Planes' ...
.
If a linear equation is given with , then the equation can be solved for , yielding
:
If the coefficients are real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s, this defines a real-valued
In mathematics, value may refer to several, strongly related notions.
In general, a mathematical value may be any definite mathematical object. In elementary mathematics, this is most often a number – for example, a real number such as or an i ...
function of real variables.
See also
* Linear equation over a ring
In algebra, linear equations and systems of linear equations over a field are widely studied. "Over a field" means that the coefficients of the equations and the solutions that one is looking for belong to a given field, commonly the real or the c ...
* Algebraic equation
In mathematics, an algebraic equation or polynomial equation is an equation of the form
:P = 0
where ''P'' is a polynomial with coefficients in some field, often the field of the rational numbers. For many authors, the term ''algebraic equation'' ...
* Linear inequality In mathematics a linear inequality is an inequality which involves a linear function. A linear inequality contains one of the symbols of inequality:. It shows the data which is not equal in graph form.
* greater than
* ≤ less than or equal to
* ...
* Nonlinear equation
In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many other ...
Notes
References
*
*
*
External links
*
{{Authority control
Elementary algebra
Equations