Professional Documents
Culture Documents
Hidayat Kocharli 1419i IW-1
Hidayat Kocharli 1419i IW-1
Individual Work № 1
Topic: The Cramer’s and Gauss elimination method for systems of linear algebraic
equations.
Baku 2020
What is Gaussian elimination
Gaussian elimination is the name of the method we use to perform the three types of matrix row
operations on an augmented matrix coming from a linear system of equations in order to find the
solutions for such system. This technique is also called row reduction and it consists of two
stages: Forward elimination and back substitution.
These two Gaussian elimination method steps are differentiated not by the operations you can
use through them, but by the result they produce. The forward elimination step refers to the row
reduction needed to simplify the matrix in question into its echelon form. Such stage has the
purpose to demonstrate if the system of equations portrayed in the matrix have a unique possible
solution, infinitely many solutions or just no solution at all. If found that the system has no solution,
then there is no reason to continue row reducing the matrix through the next stage.
If is possible to obtain solutions for the variables involved in the linear system, then the Gaussian
elimination with back substitution stage is carried through. This last step will produce a reduced
echelon form of the matrix which in turn provides the general solution to the system of linear
equations.
The Gaussian elimination rules are the same as the rules for the three elementary row operations,
in other words, you can algebraically operate on the rows of a matrix in the next three ways (or
combination of):
And so, solving a linear system with matrices using Gaussian elimination happens to be a structured,
organized and quite efficient method.
As our last section, let us work through some more exercises on Gaussian elimination (row reduction)
so you can acquire more practice on this methodology. Throughout many future lessons in this
course for Linear Algebra, you will find that row reduction is one of the most important tools there are
when working with matrix equations. Therefore, make sure you understand all of the steps involved in
the solution for the next problems.
If we were to have the following system of linear equations containing three equations for three
unknowns:
Equation 3: Row reducing (applying the Gaussian elimination method to) the augmented matrix
Equation 5: Resulting linear system of equations to solve
From this set, we can automatically observe that the value of the variable z is: z=-2. We use this
knowledge to substitute it on the second equations to solve for y, and the substitute both y and z
values on the first equations to solve for x:
Cramer's rule
In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as
many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in
terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one
column by the column vector of right-hand-sides of the equations. It is named after Gabriel Cramer (1704–
1752), who published the rule for an arbitrary number of unknowns in 1750, although Colin Maclaurin also
published special cases of the rule in 1748 (and possibly knew of it as early as 1729).
Given a system of linear equations, Cramer's Rule is a handy way to solve for just one of the
variables without having to solve the whole system of equations. They don't usually teach Cramer's
Rule this way, but this is supposed to be the point of the Rule: instead of solving the entire system of
equations, you can use Cramer's to solve for just one single variable.
2x + y + z = 3
x – y – z = 0
x + 2y + z = 0
We have the left-hand side of the system with the variables (the "coefficient matrix") and the right-
hand side with the answer values. Let D be the determinant of the coefficient matrix of the above
system, and let Dx be the determinant formed by replacing the x-column values with the answer-
column values:
2x + 1y + 1z = 3
1x – 1y – 1z = 0
1x + 2y + 1z = 0
That's all there is to Cramer's Rule. To find whichever variable you want (call it "ß" or "beta"), just
evaluate the determinant quotient Dß ÷ D.