Linear Algebra Examples
3x+3y+3z=63x+3y+3z=6 , x-y=-3x−y=−3 , -4x+y-z=-1−4x+y−z=−1
Step 1
Write the system of equations in matrix form.
[33361-10-3-41-1-1]⎡⎢⎣33361−10−3−41−1−1⎤⎥⎦
Step 2
Step 2.1
Multiply each element of R1R1 by 1313 to make the entry at 1,11,1 a 11.
Step 2.1.1
Multiply each element of R1R1 by 1313 to make the entry at 1,11,1 a 11.
[333333631-10-3-41-1-1]⎡⎢
⎢⎣333333631−10−3−41−1−1⎤⎥
⎥⎦
Step 2.1.2
Simplify R1R1.
[11121-10-3-41-1-1]⎡⎢⎣11121−10−3−41−1−1⎤⎥⎦
[11121-10-3-41-1-1]
Step 2.2
Perform the row operation R2=R2-R1 to make the entry at 2,1 a 0.
Step 2.2.1
Perform the row operation R2=R2-R1 to make the entry at 2,1 a 0.
[11121-1-1-10-1-3-2-41-1-1]
Step 2.2.2
Simplify R2.
[11120-2-1-5-41-1-1]
[11120-2-1-5-41-1-1]
Step 2.3
Perform the row operation R3=R3+4R1 to make the entry at 3,1 a 0.
Step 2.3.1
Perform the row operation R3=R3+4R1 to make the entry at 3,1 a 0.
[11120-2-1-5-4+4⋅11+4⋅1-1+4⋅1-1+4⋅2]
Step 2.3.2
Simplify R3.
[11120-2-1-50537]
[11120-2-1-50537]
Step 2.4
Multiply each element of R2 by -12 to make the entry at 2,2 a 1.
Step 2.4.1
Multiply each element of R2 by -12 to make the entry at 2,2 a 1.
[1112-12⋅0-12⋅-2-12⋅-1-12⋅-50537]
Step 2.4.2
Simplify R2.
[11120112520537]
[11120112520537]
Step 2.5
Perform the row operation R3=R3-5R2 to make the entry at 3,2 a 0.
Step 2.5.1
Perform the row operation R3=R3-5R2 to make the entry at 3,2 a 0.
[11120112520-5⋅05-5⋅13-5(12)7-5(52)]
Step 2.5.2
Simplify R3.
[11120112520012-112]
[11120112520012-112]
Step 2.6
Multiply each element of R3 by 2 to make the entry at 3,3 a 1.
Step 2.6.1
Multiply each element of R3 by 2 to make the entry at 3,3 a 1.
[11120112522⋅02⋅02(12)2(-112)]
Step 2.6.2
Simplify R3.
[1112011252001-11]
[1112011252001-11]
Step 2.7
Perform the row operation R2=R2-12R3 to make the entry at 2,3 a 0.
Step 2.7.1
Perform the row operation R2=R2-12R3 to make the entry at 2,3 a 0.
[11120-12⋅01-12⋅012-12⋅152-12⋅-11001-11]
Step 2.7.2
Simplify R2.
[11120108001-11]
[11120108001-11]
Step 2.8
Perform the row operation R1=R1-R3 to make the entry at 1,3 a 0.
Step 2.8.1
Perform the row operation R1=R1-R3 to make the entry at 1,3 a 0.
[1-01-01-12+110108001-11]
Step 2.8.2
Simplify R1.
[110130108001-11]
[110130108001-11]
Step 2.9
Perform the row operation R1=R1-R2 to make the entry at 1,2 a 0.
Step 2.9.1
Perform the row operation R1=R1-R2 to make the entry at 1,2 a 0.
[1-01-10-013-80108001-11]
Step 2.9.2
Simplify R1.
[10050108001-11]
[10050108001-11]
[10050108001-11]
Step 3
Use the result matrix to declare the final solutions to the system of equations.
x=5
y=8
z=-11
Step 4
The solution is the set of ordered pairs that makes the system true.
(5,8,-11)
Step 5
Decompose a solution vector by re-arranging each equation represented in the row-reduced form of the augmented matrix by solving for the dependent variable in each row yields the vector equality.
X=[xyz]=[58-11]