Generally allows a linear system with m equations and n unknowns by appropriate transformations always bring in the following form:
Matrix form of the linear equation system
The linear system of equations can be represented by a coefficient matrix A in matrix notation:
or short:
For the definition of the equation system, an indication of the unknown is not required. With the extended coefficient matrix the system of equations can be written as follows:
To find the solution of a linear system of equations, the following three elementary row transformations are useful. The solution set does not change when the following operations:
Solution of the linear system
If the extended coefficient matrix brought to triangular form (row echelon form) by means of elementary transformations, the solution can be read directly.
The Gaussian algorithm is based on equivalent transformations of the system of linear equations. The transformations: row interchange, multiplication of rows with non-zero factors and addition of multiples of a row with a different transform the system of equations to be solved in a simple form.
Step-by-step example for the Gaussian Elimination Method
The coefficient matrix in the example is:
Calculation of the row echelon form (Gaussian elimination)
Division of line 1 by the element a1,1=4.89
Subtraction of the 1st line from the following lines. The 1st line is multiplied by the leading element of the following lines.
Division of line 2 by the element a2,2=2.15
Subtraction of the 2nd line from the following lines. The 2nd line is multiplied by the leading element of the following lines.
Division der Zeile 3 durch das Element a3,3=-3.35
Calculation of the reduced row echelon form (Jordan-Algorithm)
Subtraction of 1.44 times of line 2 from line 1
Subtraction of 3.40 times the line 3 from the line 2
Subtraction of -4.15 times of line 3 from line 1
The solution of the linear equation system is now given in the right column.
The Cramers rule uses determiants to solve a system of linear equations. For the case of a linear (N×N) system of equations with det(A) not equal to 0, the solution can be expressed in the following form:
The determinant in the numerator Di from D = det A is shown by the i-th column in D is replaced by b.
Example for the application of the Cramers Rule
The coefficient matrix in the example is:
The solution of the equation system is:
In the addition method, the equations are added, so that for each addition step, a variable is eliminated. To each one of the equations to be transformed so that the corresponding variable drops out during the addition.
Example: Addition Method
1. Transformation: Multiply the second equation by 2
2. Transformation: addition of equations eliminated the variable y.
3. Forming: Division by 12 gives the solution the variable x.
4. Transformation: Resolving the first equation for y.
5. Forming: Inserting the solution for x in the equation is the solution for y.
Example: Equating Method
1. Transformation: Dissolving both equations for y.
2. Forming: Equating equations.
3. Forming: Solving for x gives the solution for the variable x.
4. Forming: Insert of the solution for x in the equation for y results the solution for y.
Example: Elimination of variables
1. Forming: Resolving equation for y.
2. Forming: Insertion in the other equation.
3. Forming: Solving for x gives the solution for the variable x.
4. Forming: Inserting the solution for x to y results in the resolution equation, the solution for y.
Here is a list of of further useful calculators and sites:
Index Linear Equations Linear Equation Systems Calculator 2x2 systems Calculator 3x3 systems Calculator NxN Cramer's rule Calculator NxN Gauss method Matrix Determinant