Linear system/Examples/Introduction/Section
Firstly, we give three introductory examples, one from every day's life, one from geometry, and one from physics. They all lead to systems of linear equations.
At a booth on the Christmas market, there are three different pots of mulled wine. All three contain the ingredients cinnamon, cloves, red wine, and sugar, but the compositions differ. The mixtures of the mulled wines are
Every mulled wine is represented by a four-tuple, where the entries represent the respective shares of the ingredients. The set of all (possible) mulled wines forms a vector space and the three concrete mulled wines are vectors in this space.
Now suppose that none of the three mulled wines meets exactly our taste; in fact, the wanted mulled wine has the mixture
Is there a possibility to get the wanted mulled wine by pouring together the given mulled wines in some way? Are there numbers[1] such that
holds? This vector equation can be expressed by four equations in the "variables“ , where the equations come from the rows. When does there exist a solution, when none, when many? These are typical questions of linear algebra.
Suppose that two planes are given in ,[2]
and
How can we describe the intersecting line ? A point belongs to the intersection line if and only if it satisfies both plane equations. Therefore, both equations,
must hold. We multiply the first equation by , and subtract from that four times the second equation, and get
If we set , then and must hold. This means that the point belongs to . In the same way, setting , we find the point . Therefore, the intersecting line is the line connecting these points, so
An electrical network consists of several connected wires, which we call the edges of the network in this context. In every edge , there is a certain (depending on the material and the length of the edge) resistance . The points , where the edges meet, are called the vertices of the network. If we put to some edges of the network a certain electric tension (voltage), then we will have in every edge a certain current . The goal is to determine the currents from the data of the network and the voltages.
It is helpful to assign to each edge a fixed direction in order to distinguish the direction of the current in this edge (if the current is in the opposite direction, it gets a minus sign). We call these directed edges. In every vertex of the network, the currents of the adjacent edges come together; therefore, their sum must be . In an edge , there is a voltage drop , determined by Ohm's law to be
We call a closed, directed alignment of edges in a network a mesh. For such a mesh, the sum of voltages is , unless a certain voltage is enforced from "outside“.
We list these Kirchhoff's laws again.
- In every vertex, the sum of the currents equals .
- In every mesh, the sum of the voltages equals .
- If in a mesh, a voltage is enforced, then the sum of the voltages equals .
Due to "physical reasons“, we expect that, given voltages in every edge, there should be a well-defined current in every edge. In fact, these currents can be computed if we translate the stated laws into a system of linear equations and solve this system.
In the example given by the picture, suppose that the edges (with the resistances ) are directed from left to right and that the connecting edge from to (where the voltage is applied) is directed upwards. The four vertices and the three meshes and yield the system of linear equations
Here the and are given numbers, and the are the unknowns we are looking for.
We give now the definition of a homogeneous and of an inhomogeneous system of linear equations over a field for a given set of variables.
Let denote a field, and let for and . We call
a (homogeneous) system of linear equations in the variables . A tuple is called a solution of the linear system if holds for all .
If is given,[3] then
is called an inhomogeneous system of linear equations. A tuple is called a solution to the inhomogeneous linear system if
holds for all .
The set of all solutions of the system is called the solution set. In the homogeneous case, this is also called the solution space, as it is indeed, by fact, a vector space.
A homogeneous system of linear equations always has the so-called trivial solution . An inhomogeneous system does not necessarily have a solution. For a given inhomogeneous linear system of equations, the homogeneous system that arises when we replace the tuple on the right-hand side by the null vector is called the corresponding homogeneous system.
The following situation describes a more abstract version of example.
Let denote a field, and . Suppose that in , there are vectors (or -tuples)
given. Let
be another vector. We want to know whether can be written as a linear combination of the . Thus, we are dealing with the question whether there are elements such that
holds. This equality of vectors means identity in every component, so that this condition yields a system of linear equations
- ↑ In this example, only positive numbers have a practical interpretation. In linear algebra, everything is over a field, so we also allow negative numbers.
- ↑ Right here, we do not discuss that such equations define a plane. The solution sets are "shifted linear subspaces of dimension two“.
- ↑ Such a vector is sometimes called a disturbance vector of the system.