Linear Algebra Examples
5x-y=-2 , 3x-4y=0
Step 1
Represent the system of equations in matrix format.
[5-13-4][xy]=[-20]
Step 2
Step 2.1
Write [5-13-4] in determinant notation.
|5-13-4|
Step 2.2
The determinant of a 2×2 matrix can be found using the formula |abcd|=ad-cb.
5⋅-4-3⋅-1
Step 2.3
Simplify the determinant.
Step 2.3.1
Simplify each term.
Step 2.3.1.1
Multiply 5 by -4.
-20-3⋅-1
Step 2.3.1.2
Multiply -3 by -1.
-20+3
-20+3
Step 2.3.2
Add -20 and 3.
-17
-17
D=-17
Step 3
Since the determinant is not 0, the system can be solved using Cramer's Rule.
Step 4
Step 4.1
Replace column 1 of the coefficient matrix that corresponds to the x-coefficients of the system with [-20].
|-2-10-4|
Step 4.2
Find the determinant.
Step 4.2.1
The determinant of a 2×2 matrix can be found using the formula |abcd|=ad-cb.
-2⋅-4+0⋅-1
Step 4.2.2
Simplify the determinant.
Step 4.2.2.1
Simplify each term.
Step 4.2.2.1.1
Multiply -2 by -4.
8+0⋅-1
Step 4.2.2.1.2
Multiply 0 by -1.
8+0
8+0
Step 4.2.2.2
Add 8 and 0.
8
8
Dx=8
Step 4.3
Use the formula to solve for x.
x=DxD
Step 4.4
Substitute -17 for D and 8 for Dx in the formula.
x=8-17
Step 4.5
Move the negative in front of the fraction.
x=-817
x=-817
Step 5
Step 5.1
Replace column 2 of the coefficient matrix that corresponds to the y-coefficients of the system with [-20].
|5-230|
Step 5.2
Find the determinant.
Step 5.2.1
The determinant of a 2×2 matrix can be found using the formula |abcd|=ad-cb.
5⋅0-3⋅-2
Step 5.2.2
Simplify the determinant.
Step 5.2.2.1
Simplify each term.
Step 5.2.2.1.1
Multiply 5 by 0.
0-3⋅-2
Step 5.2.2.1.2
Multiply -3 by -2.
0+6
0+6
Step 5.2.2.2
Add 0 and 6.
6
6
Dy=6
Step 5.3
Use the formula to solve for y.
y=DyD
Step 5.4
Substitute -17 for D and 6 for Dy in the formula.
y=6-17
Step 5.5
Move the negative in front of the fraction.
y=-617
y=-617
Step 6
List the solution to the system of equations.
x=-817
y=-617