Linear Algebra Examples

Solve Using an Inverse Matrix 12x-3y=-6 , 2x+15y=30
12x-3y=-612x3y=6 , 2x+15y=302x+15y=30
Step 1
Find the AX=BAX=B from the system of equations.
[12-3215][xy]=[-630][123215][xy]=[630]
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.
1215-2-3121523
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 1515.
180-2-318023
Step 2.2.2.1.2
Multiply -22 by -33.
180+6180+6
180+6180+6
Step 2.2.2.2
Add 180180 and 66.
186186
186186
186186
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.
1186[153-212]1186[153212]
Step 2.5
Multiply 11861186 by each element of the matrix.
[118615118631186-2118612][1186151186311862118612]
Step 2.6
Simplify each element in the matrix.
Tap for more steps...
Step 2.6.1
Cancel the common factor of 33.
Tap for more steps...
Step 2.6.1.1
Factor 33 out of 186186.
[13(62)15118631186-2118612]13(62)151186311862118612
Step 2.6.1.2
Factor 33 out of 1515.
[1362(35)118631186-2118612][1362(35)1186311862118612]
Step 2.6.1.3
Cancel the common factor.
[1362(35)118631186-2118612]
Step 2.6.1.4
Rewrite the expression.
[1625118631186-2118612]
[1625118631186-2118612]
Step 2.6.2
Combine 162 and 5.
[562118631186-2118612]
Step 2.6.3
Cancel the common factor of 3.
Tap for more steps...
Step 2.6.3.1
Factor 3 out of 186.
[56213(62)31186-2118612]
Step 2.6.3.2
Cancel the common factor.
[562136231186-2118612]
Step 2.6.3.3
Rewrite the expression.
[5621621186-2118612]
[5621621186-2118612]
Step 2.6.4
Cancel the common factor of 2.
Tap for more steps...
Step 2.6.4.1
Factor 2 out of 186.
[56216212(93)-2118612]
Step 2.6.4.2
Factor 2 out of -2.
[5621621293(2-1)118612]
Step 2.6.4.3
Cancel the common factor.
[5621621293(2-1)118612]
Step 2.6.4.4
Rewrite the expression.
[562162193-1118612]
[562162193-1118612]
Step 2.6.5
Combine 193 and -1.
[562162-193118612]
Step 2.6.6
Move the negative in front of the fraction.
[562162-193118612]
Step 2.6.7
Cancel the common factor of 6.
Tap for more steps...
Step 2.6.7.1
Factor 6 out of 186.
[562162-19316(31)12]
Step 2.6.7.2
Factor 6 out of 12.
[562162-1931631(62)]
Step 2.6.7.3
Cancel the common factor.
[562162-1931631(62)]
Step 2.6.7.4
Rewrite the expression.
[562162-1931312]
[562162-1931312]
Step 2.6.8
Combine 131 and 2.
[562162-193231]
[562162-193231]
[562162-193231]
Step 3
Left multiply both sides of the matrix equation by the inverse matrix.
([562162-193231][12-3215])[xy]=[562162-193231][-630]
Step 4
Any matrix multiplied by its inverse is equal to 1 all the time. AA-1=1.
[xy]=[562162-193231][-630]
Step 5
Multiply [562162-193231][-630].
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.
[562-6+16230-193-6+23130]
Step 5.3
Simplify each element of the matrix by multiplying out all the expressions.
[02]
[02]
Step 6
Simplify the left and right side.
[xy]=[02]
Step 7
Find the solution.
x=0
y=2
 [x2  12  π  xdx ]