Question
Question: If matrix A = [■(1&2&0@-1&1&1@2&-1&3)] , find A-1 and use it to solve the following system of linear...
If matrix A = [■(1&2&0@-1&1&1@2&-1&3)] , find A-1 and use it to solve the following system of linear equations: x+2y =4, -x+y+z=1, 2x-y+3z=7

x = 12/7, y = 8/7, and z = 11/7
Solution
To find the inverse of matrix A and use it to solve the system of linear equations, we follow these steps:
Part 1: Find A⁻¹
Given matrix A = 1−1221−1013
Step 1: Calculate the determinant of A (det(A)).
det(A) = 1×1−113−2×−1213+0×−121−1
det(A) = 1×(1×3−1×(−1))−2×((−1)×3−1×2)+0
det(A) = 1×(3+1)−2×(−3−2)
det(A) = 1×4−2×(−5)
det(A) = 4+10=14
Since det(A) ≠ 0, A⁻¹ exists.
Step 2: Calculate the cofactor matrix of A (C).
C11=M11=(1×3−1×(−1))=4
C12=−M12=−((−1)×3−1×2)=−(−5)=5
C13=M13=((−1)×(−1)−1×2)=−1
C21=−M21=−(2×3−0×(−1))=−6
C22=M22=(1×3−0×2)=3
C23=−M23=−(1×(−1)−2×2)=−(−5)=5
C31=M31=(2×1−0×1)=2
C32=−M32=−(1×1−0×(−1))=−1
C33=M33=(1×1−2×(−1))=3
The cofactor matrix C is:
C=4−6253−1−153
Step 3: Calculate the adjoint of A (adj(A)).
The adjoint of A is the transpose of the cofactor matrix:
adj(A) = CT=45−1−6352−13
Step 4: Calculate A⁻¹.
A⁻¹ = (1/det(A)) * adj(A)
A⁻¹ = 14145−1−6352−13
A⁻¹ = 4/145/14−1/14−6/143/145/142/14−1/143/14=2/75/14−1/14−3/73/145/141/7−1/143/14
Part 2: Use A⁻¹ to solve the system of linear equations
The given system of equations is:
x + 2y = 4
-x + y + z = 1
2x - y + 3z = 7
This system can be written in the matrix form AX = B, where:
A = 1−1221−1013 , X = xyz , B = 417
To solve for X, we use the relation X = A⁻¹B.
X = 14145−1−6352−13417
X = 141(4)(4)+(−6)(1)+(2)(7)(5)(4)+(3)(1)+(−1)(7)(−1)(4)+(5)(1)+(3)(7)
X = 14116−6+1420+3−7−4+5+21
X = 141241622
Therefore,
x = 24/14 = 12/7
y = 16/14 = 8/7
z = 22/14 = 11/7
The solution to the system of equations is x = 12/7, y = 8/7, and z = 11/7.
Explanation of the solution:
-
Calculate Determinant: Find det(A). If det(A) = 0, the inverse does not exist, and the system might have no solution or infinitely many solutions. Here, det(A) = 14.
-
Find Cofactor Matrix: Calculate the cofactor for each element Aij as Cij=(−1)i+jMij, where Mij is the minor.
-
Find Adjoint Matrix: The adjoint matrix, adj(A), is the transpose of the cofactor matrix.
-
Calculate Inverse: A⁻¹ = (1/det(A)) * adj(A).
-
Matrix Form of Equations: Represent the system of linear equations as AX = B.
-
Solve for Variables: Multiply both sides by A⁻¹ to get X = A⁻¹B. Perform the matrix multiplication to find the values of x, y, and z.
Answer:
The inverse of matrix A is:
A−1=14145−1−6352−13
The solution to the system of linear equations is:
x = 12/7
y = 8/7
z = 11/7