Linear Algebra Examples

Solve the Matrix Equation [[1,0,0],[1,1,0],[1,1,1]]y=[[1,2],[3,3],[2,1]]
[100110111]y=[123321]100110111y=123321
Step 1
Find the inverse of [100110111]100110111.
Tap for more steps...
Step 1.1
Rewrite.
|100110111|∣ ∣100110111∣ ∣
Step 1.2
Find the determinant.
Tap for more steps...
Step 1.2.1
Choose the row or column with the most 00 elements. If there are no 00 elements choose any row or column. Multiply every element in row 11 by its cofactor and add.
Tap for more steps...
Step 1.2.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|∣ ∣+++++∣ ∣
Step 1.2.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
Step 1.2.1.3
The minor for a11a11 is the determinant with row 11 and column 11 deleted.
|1011|1011
Step 1.2.1.4
Multiply element a11a11 by its cofactor.
1|1011|11011
Step 1.2.1.5
The minor for a12a12 is the determinant with row 11 and column 22 deleted.
|1011|1011
Step 1.2.1.6
Multiply element a12a12 by its cofactor.
0|1011|01011
Step 1.2.1.7
The minor for a13a13 is the determinant with row 11 and column 33 deleted.
|1111|1111
Step 1.2.1.8
Multiply element a13a13 by its cofactor.
0|1111|01111
Step 1.2.1.9
Add the terms together.
1|1011|+0|1011|+0|1111|11011+01011+01111
1|1011|+0|1011|+0|1111|11011+01011+01111
Step 1.2.2
Multiply 00 by |1011|1011.
1|1011|+0+0|1111|11011+0+01111
Step 1.2.3
Multiply 00 by |1111|1111.
1|1011|+0+011011+0+0
Step 1.2.4
Evaluate |1011|1011.
Tap for more steps...
Step 1.2.4.1
The determinant of a 2×22×2 matrix can be found using the formula |abcd|=ad-cbabcd=adcb.
1(11-10)+0+01(1110)+0+0
Step 1.2.4.2
Simplify the determinant.
Tap for more steps...
Step 1.2.4.2.1
Multiply 11 by 11.
1(1-10)+0+01(110)+0+0
Step 1.2.4.2.2
Subtract 00 from 11.
11+0+011+0+0
11+0+011+0+0
11+0+011+0+0
Step 1.2.5
Simplify the determinant.
Tap for more steps...
Step 1.2.5.1
Multiply 11 by 11.
1+0+01+0+0
Step 1.2.5.2
Add 11 and 00.
1+01+0
Step 1.2.5.3
Add 11 and 00.
11
11
11
Step 1.3
Since the determinant is non-zero, the inverse exists.
Step 1.4
Set up a 3×63×6 matrix where the left half is the original matrix and the right half is its identity matrix.
[100100110010111001]100100110010111001
Step 1.5
Find the reduced row echelon form.
Tap for more steps...
Step 1.5.1
Perform the row operation R2=R2-R1R2=R2R1 to make the entry at 2,12,1 a 00.
Tap for more steps...
Step 1.5.1.1
Perform the row operation R2=R2-R1R2=R2R1 to make the entry at 2,12,1 a 00.
[1001001-11-00-00-11-00-0111001]100100111000011000111001
Step 1.5.1.2
Simplify R2R2.
[100100010-110111001]100100010110111001
[100100010-110111001]100100010110111001
Step 1.5.2
Perform the row operation R3=R3-R1R3=R3R1 to make the entry at 3,13,1 a 00.
Tap for more steps...
Step 1.5.2.1
Perform the row operation R3=R3-R1R3=R3R1 to make the entry at 3,13,1 a 00.
[100100010-1101-11-01-00-10-01-0]100100010110111010010010
Step 1.5.2.2
Simplify R3R3.
[100100010-110011-101]100100010110011101
[100100010-110011-101]100100010110011101
Step 1.5.3
Perform the row operation R3=R3-R2 to make the entry at 3,2 a 0.
Tap for more steps...
Step 1.5.3.1
Perform the row operation R3=R3-R2 to make the entry at 3,2 a 0.
[100100010-1100-01-11-0-1+10-11-0]
Step 1.5.3.2
Simplify R3.
[100100010-1100010-11]
[100100010-1100010-11]
[100100010-1100010-11]
Step 1.6
The right half of the reduced row echelon form is the inverse.
[100-1100-11]
[100-1100-11]
Step 2
Multiply both sides by the inverse of [100110111].
[100-1100-11][100110111]y=[100-1100-11][123321]
Step 3
Simplify the equation.
Tap for more steps...
Step 3.1
Multiply [100-1100-11][100110111].
Tap for more steps...
Step 3.1.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 3×3 and the second matrix is 3×3.
Step 3.1.2
Multiply each row in the first matrix by each column in the second matrix.
[11+01+0110+01+0110+00+01-11+11+01-0+11+01-0+10+0101-11+1100-11+1100-0+11]y=[100-1100-11][123321]
Step 3.1.3
Simplify each element of the matrix by multiplying out all the expressions.
[100010001]y=[100-1100-11][123321]
[100010001]y=[100-1100-11][123321]
Step 3.2
Multiplying the identity matrix by any matrix A is the matrix A itself.
y=[100-1100-11][123321]
Step 3.3
Multiply [100-1100-11][123321].
Tap for more steps...
Step 3.3.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 3×3 and the second matrix is 3×2.
Step 3.3.2
Multiply each row in the first matrix by each column in the second matrix.
y=[11+03+0212+03+01-11+13+02-12+13+0101-13+1202-13+11]
Step 3.3.3
Simplify each element of the matrix by multiplying out all the expressions.
y=[1221-1-2]
y=[1221-1-2]
y=[1221-1-2]
 [x2  12  π  xdx ]