Linear Algebra Examples

Solve Using an Inverse Matrix 4x+4=y , y=6x
4x+4=y4x+4=y , y=6xy=6x
Step 1
Find the AX=BAX=B from the system of equations.
[4-1-61][xy]=[-40][4161][xy]=[40]
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.
41-(-6-1)41(61)
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 44 by 11.
4-(-6-1)4(61)
Step 2.2.2.1.2
Multiply -(-6-1)(61).
Tap for more steps...
Step 2.2.2.1.2.1
Multiply -66 by -11.
4-16416
Step 2.2.2.1.2.2
Multiply -11 by 66.
4-646
4-646
4-646
Step 2.2.2.2
Subtract 66 from 44.
-22
-22
-22
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-2[1164]12[1164]
Step 2.5
Move the negative in front of the fraction.
-12[1164]12[1164]
Step 2.6
Multiply -1212 by each element of the matrix.
[-121-121-126-124][121121126124]
Step 2.7
Simplify each element in the matrix.
Tap for more steps...
Step 2.7.1
Multiply -11 by 11.
[-12-121-126-124][12121126124]
Step 2.7.2
Multiply -11 by 11.
[-12-12-126-124][1212126124]
Step 2.7.3
Cancel the common factor of 22.
Tap for more steps...
Step 2.7.3.1
Move the leading negative in -1212 into the numerator.
[-12-12-126-124][1212126124]
Step 2.7.3.2
Factor 22 out of 66.
[-12-12-12(2(3))-124][121212(2(3))124]
Step 2.7.3.3
Cancel the common factor.
[-12-12-12(23)-124]
Step 2.7.3.4
Rewrite the expression.
[-12-12-13-124]
[-12-12-13-124]
Step 2.7.4
Multiply -1 by 3.
[-12-12-3-124]
Step 2.7.5
Cancel the common factor of 2.
Tap for more steps...
Step 2.7.5.1
Move the leading negative in -12 into the numerator.
[-12-12-3-124]
Step 2.7.5.2
Factor 2 out of 4.
[-12-12-3-12(2(2))]
Step 2.7.5.3
Cancel the common factor.
[-12-12-3-12(22)]
Step 2.7.5.4
Rewrite the expression.
[-12-12-3-12]
[-12-12-3-12]
Step 2.7.6
Multiply -1 by 2.
[-12-12-3-2]
[-12-12-3-2]
[-12-12-3-2]
Step 3
Left multiply both sides of the matrix equation by the inverse matrix.
([-12-12-3-2][4-1-61])[xy]=[-12-12-3-2][-40]
Step 4
Any matrix multiplied by its inverse is equal to 1 all the time. AA-1=1.
[xy]=[-12-12-3-2][-40]
Step 5
Multiply [-12-12-3-2][-40].
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.
[-12-4-120-3-4-20]
Step 5.3
Simplify each element of the matrix by multiplying out all the expressions.
[212]
[212]
Step 6
Simplify the left and right side.
[xy]=[212]
Step 7
Find the solution.
x=2
y=12
(
(
)
)
|
|
[
[
]
]
{
{
}
}
A
A
7
7
8
8
9
9
B
B
4
4
5
5
6
6
/
/
^
^
×
×
>
>
π
π
1
1
2
2
3
3
-
-
+
+
÷
÷
<
<
!
!
,
,
0
0
.
.
%
%
=
=
 [x2  12  π  xdx ]