
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a linear equation is an
equation
In mathematics, an equation is a mathematical 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 ...
that may be put in the form
where
are the
variables (or
unknowns), and
are the
coefficient
In mathematics, a coefficient is a Factor (arithmetic), multiplicative factor involved in some Summand, term of a polynomial, a series (mathematics), series, or any other type of expression (mathematics), expression. It may be a Dimensionless qu ...
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 duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
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 a mathematical expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication and exponentiation to nonnegative integer ...
over some
field, 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
* Solutio ...
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
In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
of a point of the
Euclidean plane
In mathematics, a Euclidean plane is a Euclidean space of Two-dimensional space, dimension two, denoted \textbf^2 or \mathbb^2. It is a geometric space in which two real numbers are required to determine the position (geometry), position of eac ...
. 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 equation. More generally, the solutions of a linear equation in variables form a
hyperplane
In geometry, a hyperplane is a generalization of a two-dimensional plane in three-dimensional space to mathematical spaces of arbitrary dimension. Like a plane in space, a hyperplane is a flat hypersurface, a subspace whose dimension is ...
(a subspace of dimension ) in the
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
of dimension .
Linear equations occur frequently in all mathematics and their applications in
physics
Physics is the scientific study of matter, its Elementary particle, 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 whi ...
and
engineering
Engineering is the practice of using natural science, mathematics, and the engineering design process to Problem solving#Engineering, solve problems within technology, increase efficiency and productivity, and improve Systems engineering, s ...
, partly because
non-linear systems 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 duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
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, to linear equations with coefficients and solutions in any
field. 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 two 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 th ...
.
One variable
A linear equation in one variable can be written as
with
.
The solution is
.
Two variables
A linear equation in two variables and can be written as
where and are not both .
If and are real numbers, it has infinitely many solutions.
Linear function
If , the equation
:
is a linear equation in the single variable for every value of . It therefore has a unique solution for , which is given by
:
This defines a
function. 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 discret ...
of this function is a
line with
slope
In mathematics, the slope or gradient of a Line (mathematics), line is a number that describes the direction (geometry), direction of the line on a plane (geometry), plane. Often denoted by the letter ''m'', slope is calculated as the ratio of t ...
and
-intercept The functions whose graph is a line are generally called ''linear functions'' in the context of
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
. 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 matrix (mathemat ...
, 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 whose graph is a straight line, that is, a polynomial function of degree zero or one. For di ...
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. To avoid confusion, the functions whose graph is an arbitrary line are often called ''
affine function
In Euclidean geometry, an affine transformation or affinity (from the Latin, ''wikt:affine, affinis'', "connected with") is a geometric transformation that preserves line (geometry), lines and parallel (geometry), parallelism, but not necessarily ...
s'', and the linear functions such that are often called ''
linear map
In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that p ...
s''.
Geometric interpretation
Each solution of a linear equation
:
may be viewed as the
Cartesian coordinates
In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
of a point in the
Euclidean plane
In mathematics, a Euclidean plane is a Euclidean space of Two-dimensional space, dimension two, denoted \textbf^2 or \mathbb^2. It is a geometric space in which two real numbers are required to determine the position (geometry), position of eac ...
. 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 nonvertical 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 a plane (geometry), plane and often form a P ...
. 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
:
to emphasize 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 into 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, one gets the equation
:
which is valid also when (to verify 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 (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
. There are two common ways for that.
The equation
is the result of expanding the determinant in the equation
:
The equation
can be obtained by expanding with respect to its first row the determinant in the equation
:
Besides 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 generalization of a two-dimensional plane in three-dimensional space to mathematical spaces of arbitrary dimension. Like a plane in space, a hyperplane is a flat hypersurface, a subspace whose dimension is ...
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 exists no nontrivial linear combination of the vectors that equals the zero vector. If such a linear combination exists, then the vectors are said to be . These concep ...
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 -tuple 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. 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
In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
of the points of an -dimensional hyperplane
In geometry, a hyperplane is a generalization of a two-dimensional plane in three-dimensional space to mathematical spaces of arbitrary dimension. Like a plane in space, a hyperplane is a flat hypersurface, a subspace whose dimension is ...
in an Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
(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 relat ...
if the coefficients are complex numbers or belong to any field). In the case of three variables, this hyperplane is a plane.
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 duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
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 ...
function of real variables.
See also
* Linear equation over a ring
In algebra, linear equations and systems of linear equations over a Field (mathematics), 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, commo ...
* 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 example, x^5-3x+1=0 is an algebraic equati ...
* Line coordinates
* Linear inequality
In mathematics a linear inequality is an inequality (mathematics), inequality which involves a linear function. A linear inequality contains one of the symbols of inequality:
* greater than
* ≤ less than or equal to
* ≥ greater than or equal ...
* Nonlinear equation
Notes
References
*
*
*
External links
*
{{Authority control
Elementary algebra
Equations