Linear Algebra Examples

Solve Using an Inverse Matrix 12x+4=8y , y=x-7
12x+4=8y12x+4=8y , y=x-7y=x7
Step 1
Find the AX=BAX=B from the system of equations.
[12-8-11][xy]=[-4-7][12811][xy]=[47]
Step 2
Find the inverse of the coefficient matrix.
Tap for more steps...
Step 2.1
The inverse of a 2×22×2 matrix can be found using the formula 1ad-bc[d-b-ca]1adbc[dbca] where ad-bcadbc is the determinant.
Step 2.2
Find the determinant.
Tap for more steps...
Step 2.2.1
The determinant of a 2×22×2 matrix can be found using the formula |abcd|=ad-cbabcd=adcb.
121---81218
Step 2.2.2
Simplify the determinant.
Tap for more steps...
Step 2.2.2.1
Simplify each term.
Tap for more steps...
Step 2.2.2.1.1
Multiply 1212 by 11.
12---8128
Step 2.2.2.1.2
Multiply ---88.
Tap for more steps...
Step 2.2.2.1.2.1
Multiply -11 by -88.
12-181218
Step 2.2.2.1.2.2
Multiply -11 by 88.
12-8128
12-8128
12-8128
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.
[1411481411412][1411481411412]
Step 2.6
Simplify each element in the matrix.
Tap for more steps...
Step 2.6.1
Multiply 1414 by 11.
[141481411412][141481411412]
Step 2.6.2
Cancel the common factor of 44.
Tap for more steps...
Step 2.6.2.1
Factor 44 out of 88.
[1414(4(2))1411412][1414(4(2))1411412]
Step 2.6.2.2
Cancel the common factor.
[1414(42)1411412]
Step 2.6.2.3
Rewrite the expression.
[1421411412]
[1421411412]
Step 2.6.3
Multiply 14 by 1.
[142141412]
Step 2.6.4
Cancel the common factor of 4.
Tap for more steps...
Step 2.6.4.1
Factor 4 out of 12.
[1421414(4(3))]
Step 2.6.4.2
Cancel the common factor.
[1421414(43)]
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. AA-1=1.
[xy]=[142143][-4-7]
Step 5
Multiply [142143][-4-7].
Tap for more steps...
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
 [x2  12  π  xdx ]