Linear Algebra Examples

Solve Using an Inverse Matrix x+y=6 , 2x-3y=2
x+y=6x+y=6 , 2x-3y=22x3y=2
Step 1
Find the AX=BAX=B from the system of equations.
[112-3][xy]=[62][1123][xy]=[62]
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.
1-3-211321
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 -33 by 11.
-3-21321
Step 2.2.2.1.2
Multiply -22 by 11.
-3-232
-3-232
Step 2.2.2.2
Subtract 22 from -33.
-55
-55
-55
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.
1-5[-3-1-21]15[3121]
Step 2.5
Move the negative in front of the fraction.
-15[-3-1-21]15[3121]
Step 2.6
Multiply -1515 by each element of the matrix.
[-15-3-15-1-15-2-151][153151152151]
Step 2.7
Simplify each element in the matrix.
Tap for more steps...
Step 2.7.1
Multiply -15-3153.
Tap for more steps...
Step 2.7.1.1
Multiply -33 by -11.
[3(15)-15-1-15-2-151]3(15)151152151
Step 2.7.1.2
Combine 33 and 1515.
[35-15-1-15-2-151][35151152151]
[35-15-1-15-2-151][35151152151]
Step 2.7.2
Multiply -15-1151.
Tap for more steps...
Step 2.7.2.1
Multiply -11 by -11.
[351(15)-15-2-151]351(15)152151
Step 2.7.2.2
Multiply 1515 by 11.
[3515-15-2-151][3515152151]
[3515-15-2-151][3515152151]
Step 2.7.3
Multiply -15-2152.
Tap for more steps...
Step 2.7.3.1
Multiply -22 by -11.
[35152(15)-151]35152(15)151
Step 2.7.3.2
Combine 22 and 1515.
[351525-151][351525151]
[351525-151][351525151]
Step 2.7.4
Multiply -11 by 11.
[351525-15][35152515]
[351525-15][35152515]
[351525-15][35152515]
Step 3
Left multiply both sides of the matrix equation by the inverse matrix.
([351525-15][112-3])[xy]=[351525-15][62]([35152515][1123])[xy]=[35152515][62]
Step 4
Any matrix multiplied by its inverse is equal to 1 all the time. AA-1=1.
[xy]=[351525-15][62]
Step 5
Multiply [351525-15][62].
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.
[356+152256-152]
Step 5.3
Simplify each element of the matrix by multiplying out all the expressions.
[42]
[42]
Step 6
Simplify the left and right side.
[xy]=[42]
Step 7
Find the solution.
x=4
y=2
 [x2  12  π  xdx ]