Matrix Inverse: For a square matrix \(A\), its inverse \(A^{-1}\) satisfies \(AA^{-1} = A^{-1}A = I\)
Determinant: A scalar value that determines if a matrix has an inverse (non-zero)
Cofactor Matrix: Matrix of cofactors used to find the adjugate
- Write system in matrix form: \(AX = B\)
- Calculate determinant: Check if \(\det(A) \neq 0\)
- Find cofactor matrix: Calculate each cofactor
- Find adjugate: Transpose the cofactor matrix
- Calculate inverse: \(A^{-1} = \frac{1}{\det(A)} \cdot \text{adj}(A)\)
- Solve: \(X = A^{-1}B\)
\(2x + 3y = 7\)
\(x + 4y = 6\)
\(A = \begin{pmatrix} 2 & 3 \\ 1 & 4 \end{pmatrix}\), \(X = \begin{pmatrix} x \\ y \end{pmatrix}\), \(B = \begin{pmatrix} 7 \\ 6 \end{pmatrix}\)
\(\det(A) = (2)(4) - (3)(1) = 8 - 3 = 5\)
Using 2×2 formula: \(A^{-1} = \frac{1}{5} \begin{pmatrix} 4 & -3 \\ -1 & 2 \end{pmatrix}\)
\(X = A^{-1}B = \frac{1}{5} \begin{pmatrix} 4 & -3 \\ -1 & 2 \end{pmatrix} \begin{pmatrix} 7 \\ 6 \end{pmatrix}\)
\(X = \frac{1}{5} \begin{pmatrix} 28 - 18 \\ -7 + 12 \end{pmatrix} = \frac{1}{5} \begin{pmatrix} 10 \\ 5 \end{pmatrix} = \begin{pmatrix} 2 \\ 1 \end{pmatrix}\)
\(x = 2, y = 1\)
• Determinant: Check invertibility before proceeding
• Matrix Multiplication: Row × Column rule
• Verification: Substitute back to original equations
\(5x - 2y = 11\)
\(3x + y = 10\)
\(A = \begin{pmatrix} 5 & -2 \\ 3 & 1 \end{pmatrix}\), \(X = \begin{pmatrix} x \\ y \end{pmatrix}\), \(B = \begin{pmatrix} 11 \\ 10 \end{pmatrix}\)
\(\det(A) = (5)(1) - (-2)(3) = 5 + 6 = 11\)
\(A^{-1} = \frac{1}{11} \begin{pmatrix} 1 & 2 \\ -3 & 5 \end{pmatrix}\)
\(X = A^{-1}B = \frac{1}{11} \begin{pmatrix} 1 & 2 \\ -3 & 5 \end{pmatrix} \begin{pmatrix} 11 \\ 10 \end{pmatrix}\)
\(X = \frac{1}{11} \begin{pmatrix} 11 + 20 \\ -33 + 50 \end{pmatrix} = \frac{1}{11} \begin{pmatrix} 31 \\ 17 \end{pmatrix}\)
\(x = \frac{31}{11}, y = \frac{17}{11}\)
\(x + y + z = 6\)
\(2x - y + z = 3\)
\(x + 2y - z = 1\)
\(A = \begin{pmatrix} 1 & 1 & 1 \\ 2 & -1 & 1 \\ 1 & 2 & -1 \end{pmatrix}\), \(X = \begin{pmatrix} x \\ y \\ z \end{pmatrix}\), \(B = \begin{pmatrix} 6 \\ 3 \\ 1 \end{pmatrix}\)
\(\det(A) = 1\begin{vmatrix} -1 & 1 \\ 2 & -1 \end{vmatrix} - 1\begin{vmatrix} 2 & 1 \\ 1 & -1 \end{vmatrix} + 1\begin{vmatrix} 2 & -1 \\ 1 & 2 \end{vmatrix}\)
\(= 1((-1)(-1) - (1)(2)) - 1((2)(-1) - (1)(1)) + 1((2)(2) - (-1)(1))\)
\(= 1(1 - 2) - 1(-2 - 1) + 1(4 + 1) = -1 + 3 + 5 = 7\)
After calculating all cofactors: \(\text{cof}(A) = \begin{pmatrix} -1 & 3 & 5 \\ 3 & -2 & 1 \\ 2 & 1 & -3 \end{pmatrix}\)
\(\text{adj}(A) = \begin{pmatrix} -1 & 3 & 2 \\ 3 & -2 & 1 \\ 5 & 1 & -3 \end{pmatrix}\)
\(A^{-1} = \frac{1}{7} \begin{pmatrix} -1 & 3 & 2 \\ 3 & -2 & 1 \\ 5 & 1 & -3 \end{pmatrix}\)
\(X = A^{-1}B = \frac{1}{7} \begin{pmatrix} -1 & 3 & 2 \\ 3 & -2 & 1 \\ 5 & 1 & -3 \end{pmatrix} \begin{pmatrix} 6 \\ 3 \\ 1 \end{pmatrix}\)
\(X = \frac{1}{7} \begin{pmatrix} -6 + 9 + 2 \\ 18 - 6 + 1 \\ 30 + 3 - 3 \end{pmatrix} = \frac{1}{7} \begin{pmatrix} 5 \\ 13 \\ 30 \end{pmatrix}\)
\(x = \frac{5}{7}, y = \frac{13}{7}, z = \frac{30}{7}\)
Customer 1: 2 apples, 1 banana, 1 orange for $8
Customer 2: 1 apple, 3 bananas, 2 oranges for $13
Customer 3: 3 apples, 1 banana, 1 orange for $10
Find the price of each fruit.
Let \(x\) = price of apple, \(y\) = price of banana, \(z\) = price of orange
\(2x + y + z = 8\)
\(x + 3y + 2z = 13\)
\(3x + y + z = 10\)
\(A = \begin{pmatrix} 2 & 1 & 1 \\ 1 & 3 & 2 \\ 3 & 1 & 1 \end{pmatrix}\), \(X = \begin{pmatrix} x \\ y \\ z \end{pmatrix}\), \(B = \begin{pmatrix} 8 \\ 13 \\ 10 \end{pmatrix}\)
\(\det(A) = 2\begin{vmatrix} 3 & 2 \\ 1 & 1 \end{vmatrix} - 1\begin{vmatrix} 1 & 2 \\ 3 & 1 \end{vmatrix} + 1\begin{vmatrix} 1 & 3 \\ 3 & 1 \end{vmatrix}\)
\(= 2(3 - 2) - 1(1 - 6) + 1(1 - 9) = 2(1) - 1(-5) + 1(-8) = 2 + 5 - 8 = -1\)
After calculations: \(\text{cof}(A) = \begin{pmatrix} 1 & 5 & -8 \\ 0 & -1 & 1 \\ -1 & -3 & 5 \end{pmatrix}\)
\(\text{adj}(A) = \begin{pmatrix} 1 & 0 & -1 \\ 5 & -1 & -3 \\ -8 & 1 & 5 \end{pmatrix}\)
\(A^{-1} = \frac{1}{-1} \begin{pmatrix} 1 & 0 & -1 \\ 5 & -1 & -3 \\ -8 & 1 & 5 \end{pmatrix} = \begin{pmatrix} -1 & 0 & 1 \\ -5 & 1 & 3 \\ 8 & -1 & -5 \end{pmatrix}\)
\(X = A^{-1}B = \begin{pmatrix} -1 & 0 & 1 \\ -5 & 1 & 3 \\ 8 & -1 & -5 \end{pmatrix} \begin{pmatrix} 8 \\ 13 \\ 10 \end{pmatrix}\)
\(X = \begin{pmatrix} -8 + 0 + 10 \\ -40 + 13 + 30 \\ 64 - 13 - 50 \end{pmatrix} = \begin{pmatrix} 2 \\ 3 \\ 1 \end{pmatrix}\)
Apple costs $2, Banana costs $3, Orange costs $1
\(x + ky = 1\)
\(kx + y = k\)
\(A = \begin{pmatrix} 1 & k \\ k & 1 \end{pmatrix}\), \(X = \begin{pmatrix} x \\ y \end{pmatrix}\), \(B = \begin{pmatrix} 1 \\ k \end{pmatrix}\)
\(\det(A) = (1)(1) - (k)(k) = 1 - k^2\)
System has unique solution when \(\det(A) \neq 0\)
\(1 - k^2 \neq 0 \Rightarrow k^2 \neq 1 \Rightarrow k \neq \pm 1\)
\(A^{-1} = \frac{1}{1-k^2} \begin{pmatrix} 1 & -k \\ -k & 1 \end{pmatrix}\)
\(X = A^{-1}B = \frac{1}{1-k^2} \begin{pmatrix} 1 & -k \\ -k & 1 \end{pmatrix} \begin{pmatrix} 1 \\ k \end{pmatrix}\)
\(X = \frac{1}{1-k^2} \begin{pmatrix} 1 - k^2 \\ -k + k \end{pmatrix} = \frac{1}{1-k^2} \begin{pmatrix} 1 - k^2 \\ 0 \end{pmatrix} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}\)
When \(k = 1\): System becomes \(x + y = 1\) and \(x + y = 1\) (infinite solutions)
When \(k = -1\): System becomes \(x - y = 1\) and \(-x + y = -1\) (same equation, infinite solutions)
The system has a unique solution for all values of \(k\) except \(k = 1\) and \(k = -1\).
• Determinant Test: \(\det(A) \neq 0\) ensures unique solution
• Parameter Analysis: Critical values occur when determinant equals zero
• Special Cases: When determinant is zero, system may have no solution or infinite solutions
• Only square matrices can have inverses
• Matrix must have non-zero determinant
• Verify solution by substitution
• For large systems, consider other methods