Enter a problem...
Linear Algebra Examples
12x+4=8y12x+4=8y , y=x-7y=x−7
Step 1
Find the AX=BAX=B from the system of equations.
[12-8-11]⋅[xy]=[-4-7][12−8−11]⋅[xy]=[−4−7]
Step 2
Step 2.1
The inverse of a 2×22×2 matrix can be found using the formula 1ad-bc[d-b-ca]1ad−bc[d−b−ca] where ad-bcad−bc is the determinant.
Step 2.2
Find the determinant.
Step 2.2.1
The determinant of a 2×22×2 matrix can be found using the formula |abcd|=ad-cb∣∣∣abcd∣∣∣=ad−cb.
12⋅1---812⋅1−−−8
Step 2.2.2
Simplify the determinant.
Step 2.2.2.1
Simplify each term.
Step 2.2.2.1.1
Multiply 1212 by 11.
12---812−−−8
Step 2.2.2.1.2
Multiply ---8−−−8.
Step 2.2.2.1.2.1
Multiply -1−1 by -8−8.
12-1⋅812−1⋅8
Step 2.2.2.1.2.2
Multiply -1−1 by 88.
12-812−8
12-812−8
12-812−8
Step 2.2.2.2
Subtract 88 from 1212.
44
44
44
Step 2.3
Since the determinant is non-zero, the inverse exists.
Step 2.4
Substitute the known values into the formula for the inverse.
14[18112]14[18112]
Step 2.5
Multiply 1414 by each element of the matrix.
[14⋅114⋅814⋅114⋅12][14⋅114⋅814⋅114⋅12]
Step 2.6
Simplify each element in the matrix.
Step 2.6.1
Multiply 1414 by 11.
[1414⋅814⋅114⋅12][1414⋅814⋅114⋅12]
Step 2.6.2
Cancel the common factor of 44.
Step 2.6.2.1
Factor 44 out of 88.
[1414⋅(4(2))14⋅114⋅12][1414⋅(4(2))14⋅114⋅12]
Step 2.6.2.2
Cancel the common factor.
[1414⋅(4⋅2)14⋅114⋅12]
Step 2.6.2.3
Rewrite the expression.
[14214⋅114⋅12]
[14214⋅114⋅12]
Step 2.6.3
Multiply 14 by 1.
[1421414⋅12]
Step 2.6.4
Cancel the common factor of 4.
Step 2.6.4.1
Factor 4 out of 12.
[1421414⋅(4(3))]
Step 2.6.4.2
Cancel the common factor.
[1421414⋅(4⋅3)]
Step 2.6.4.3
Rewrite the expression.
[142143]
[142143]
[142143]
[142143]
Step 3
Left multiply both sides of the matrix equation by the inverse matrix.
([142143]⋅[12-8-11])⋅[xy]=[142143]⋅[-4-7]
Step 4
Any matrix multiplied by its inverse is equal to 1 all the time. A⋅A-1=1.
[xy]=[142143]⋅[-4-7]
Step 5
Step 5.1
Two matrices can be multiplied if and only if the number of columns in the first matrix is equal to the number of rows in the second matrix. In this case, the first matrix is 2×2 and the second matrix is 2×1.
Step 5.2
Multiply each row in the first matrix by each column in the second matrix.
[14⋅-4+2⋅-714⋅-4+3⋅-7]
Step 5.3
Simplify each element of the matrix by multiplying out all the expressions.
[-15-22]
[-15-22]
Step 6
Simplify the left and right side.
[xy]=[-15-22]
Step 7
Find the solution.
x=-15
y=-22