Linear equation
This article discusses linear equations in linear algebra; for linear equations in analytic geometry, see straight line equation.
A linear equation is a mathematical equation of determination in which only linear combinations of the unknowns occur. Characteristic for a linear equation is that each unknown is only in the first power, i.e. it is not squared (see quadratic equation). Typically, the unknowns of a linear equation are scalars, usually real numbers. In the simplest case of a scalar unknown a linear equation has the form
,
where and are constants. However, there are also linear equations with several unknowns and with other mathematical objects as unknowns, for example sequences (linear difference equations), vectors (linear systems of equations) or functions (linear differential equations). In the general case, a linear equation has the form
,
where is a linear mapping.
Homogeneous linear equations are special linear equations where the constant term of the equation is zero. The solutions of a homogeneous linear equation form a subvector space of the vector space of unknowns and thus possess special properties such as the validity of the superposition principle. The solutions of an inhomogeneous linear equation, on the other hand, form an affine subspace, so each solution of an inhomogeneous linear equation can be represented as the sum of the solution of the associated homogeneous equation and a particular solution. The solution space of a linear equation can be characterized by the kernel and the kokernel of the linear mapping.
Linear equations and their solutions are studied especially in linear algebra and linear functional analysis, but they also play a role in number theory.
Scalar linear equations
Often the unknowns in linear equations are scalars (mostly real or complex numbers). Such linear equations are then special algebraic equations of degree 1.
Linear equations with one unknown
A scalar equation with one unknown is called linear if it can be transformed by equivalent transformations (see Solving Equations) into the form
can be brought. Here, and are are constants which do not depend on
If , the value of the unknown , with which the equation is satisfied, can be determined by dividing on both sides by
If and , the equation has no solution. If and , there are infinitely many solutions, because then every satisfies the equation.
Examples
The solution of the linear equation
is obtained by dividing both sides by 3, so that on the left side only the unknown remains:
.
The linear equation
has no solution, while the linear equation
is satisfied for each
Linear equations with two unknowns
A scalar equation with two unknowns and is called linear if it can be transformed by equivalent transformations into the form
where and are constants. The solutions form straight lines in two-dimensional space unless both and hold. One speaks then also of the coordinate form of a straight line equation. Otherwise the solution set is either the whole two-dimensional space or empty .
The solution of such an equation is often given in parameter representation. To do this, one solves the equation according to one of the unknowns, for example , which, provided ,
and takes the other unknown as a free parameter . Thus, the solution can be written as
andwith
in the equation. In this way it becomes visible that, although the equation contains two unknowns, the solution space is only one-dimensional, i.e. it depends only on one parameter The parameter representation itself is not unique. If , one can also resolve the equation to and choose as a free parameter. Other parameterizations are also possible, nevertheless the same solution set is described by them.
Example
The solution set for the linear equation
is obtained by resolving to as
andwith
is given. The function graph of the described straight line is then obtained via the straight line equation
.
Linear equations with several unknowns
In general, a scalar equation with unknowns called linear if it can be transformed by equivalent transformations into the form
where and are constants. Thus, only linear combinations of the unknowns may occur. The solutions of such equations are in general -dimensional subsets (hyperplanes) of the corresponding -dimensional space. If solution set is either the whole -dimensional space or empty .
The parameter representation of the solution set is again obtained in the general case by solving the equation for one of the unknowns, for example if , resolves,
,
and the other unknowns as free parameters to . Thus the solution set is given as
with .
Because parameters are freely selectable, the solution space -dimensional. Again, the parameter representation is not unique, one can also solve the equation for one of the other unknowns, provided the associated coefficient is not zero, or choose a different parameterization.
Example
The solution set of the linear equation with three unknowns
is a plane in three-dimensional space with representation
with.
The solution of a real linear equation with three unknowns is generally a plane.
General linear equations
Linear mappings
In general, linear equations are defined in terms of linear mappings. An equation of the form
is called linear if a linear mapping and if is independent of The mapping thereby maps from a vector space into a vector space where and defined over a common body A mapping is linear if for constants λ
applies.
Example
If and , then a real vector and is a real number. If we now choose for the linear mapping
with constant vector , where is the standard scalar product of the two vectors, then we obtain the linear vector equation
,
which is equivalent to the above scalar linear equation with unknowns. The linearity of follows directly from the linearity of the scalar multiplication
.
Homogeneity
A linear equation is called homogeneous if , i.e. if it has the form
otherwise a linear equation is called inhomogeneous. Homogeneous linear equations have at least the zero vector
as a solution, since
holds. Conversely, inhomogeneous linear equations are never satisfied by the trivial solution.
Example
The solution of the homogeneous linear equation with two unknowns and
is a straight line in two-dimensional space passing through the zero point. The solution of the inhomogeneous equation
is a straight line parallel to it, but it does not contain the zero point.
Superposition
→ Main article: Superposition (mathematics)
Homogeneous linear equations have the superposition property: If and two solutions of a homogeneous linear equation, then is also a solution of this equation. In general, it is even true that all linear combinations of solutions of a homogeneous linear equation with constants and solve this equation, since
holds. By including and the superposition property, the solutions of a homogeneous linear equation form a subvector space of .
Furthermore, the solution of an inhomogeneous equation can be represented as the sum of the solution of the associated homogeneous equation and a particular solution: Let be a concrete solution of an inhomogeneous linear equation and let the general solution of the associated homogeneous problem, then is the general solution of the inhomogeneous equation, since
holds. The solutions of an inhomogeneous linear equation thus form an affine subspace over the vector space of the associated homogeneous equation.
Conversely, if and are two solutions of an inhomogeneous linear equation, then solves the corresponding homogeneous equation, since
applies.
Example
A concrete solution of the inhomogeneous equation
is
.
Now, if are the solutions of the corresponding homogeneous equation
,
so all with , then the inhomogeneous equation is generally solved by
with.
Dimension of the solution space
The solution space of a homogeneous linear equation is called the kernel the linear mapping, its dimension is also called the defect. Due to the rank theorem, the dimension of the solution space of a finite-dimensional homogeneous linear equation is
.
Here the rank of the mapping, i.e. the dimension of its image. The image of a mapping is the set of values that can take for
Due to the superposition property, the dimension of the solution space of an inhomogeneous linear equation is equal to that of the corresponding homogeneous equation, provided that a particular solution exists. This is the case exactly if the right-hand side the image of the mapping, i.e., holds. The coker of the linear mapping describes just the space of conditions that the right-hand side of a linear equation must satisfy for the equation to be solvable. Its dimension is
.
Examples
If we choose as vector spaces and and as a linear mapping
,
where at least one of the coefficients is nonzero, then the image of the whole space and thus
.
Thus, the solution space of the homogeneous linear equation has dimension 2 and is a plane in three-dimensional space. The solution space of the inhomogeneous equation is also a plane here, since if, for example, , the equation has the particle solution The cokernel here has dimension 0, so the equation is solvable for any
If you choose instead
,
then all vectors from are mapped to the zero and the following applies
.
The solution space of the corresponding homogeneous linear equation is therefore the entire three-dimensional space. The solution space of the inhomogeneous equation is empty in this case, since the equation has a solution only for The cokernel has dimension 1.