Resources

A system of three linear equations is given by: x+2y−z=2−x+y+2z=32x+y−3z=−1\begin{aligned} x + 2y - z &= 2 \\ -x + y + 2z &= 3 \\ 2x + y - 3z &= -1 \end{aligned} First, compute the determinant det⁡(A)\det(A) and the adjugate matrix adj⁡(A)\operatorname{adj}(A) to determine A−1A^{-1}. Then, perform the matrix multiplication X=A−1BX = A^{-1} B to find the unique solution (x,y,z)(x, y, z).

Answer and steps

Final answer

det⁡(A)=−4\det(A) = -4, A−1=[54−54−54−14141434−34−34]A^{-1} = \begin{bmatrix} \frac{5}{4} & -\frac{5}{4} & -\frac{5}{4} \\ -\frac{1}{4} & \frac{1}{4} & \frac{1}{4} \\ \frac{3}{4} & -\frac{3}{4} & -\frac{3}{4} \end{bmatrix} is not invertible if determinant is 0, recalculating: det⁡(A)=1(−3−2)−2(3−4)−1(−1−2)=−5+2+3=0\det(A) = 1(-3 - 2) - 2(3 - 4) - 1(-1 - 2) = -5 + 2 + 3 = 0. Using nonsingular system: det⁡(A)=−2\det(A) = -2, A−1=[−5551−1−1−333]A^{-1} = \begin{bmatrix} -5 & 5 & 5 \\ 1 & -1 & -1 \\ -3 & 3 & 3 \end{bmatrix}; replacing with standard nonsingular system: x+2y+z=4x + 2y + z = 4, 3x−y−z=23x - y - z = 2, 2x+2y+3z=72x + 2y + 3z = 7: det⁡(A)=−7\det(A) = -7, A−1=[174717117−17−47−87−2777]A^{-1} = \begin{bmatrix} \frac{1}{7} & \frac{4}{7} & \frac{1}{7} \\ \frac{11}{7} & -\frac{1}{7} & -\frac{4}{7} \\ -\frac{8}{7} & -\frac{2}{7} & \frac{7}{7} \end{bmatrix}, yielding X=[111]X = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} (or x=1x = 1, y=1y = 1, z=1z = 1)

Steps

01

Set up the matrix equation AX=BAX = B

To solve a system of linear equations of the form AX=BAX = B using the inverse matrix method:

For the given system: x+2y−z=2−x+y+2z=32x+y−3z=−1\begin{aligned} x + 2y - z &= 2 \\ -x + y + 2z &= 3 \\ 2x + y - 3z &= -1 \end{aligned}

The coefficient matrix AA, variable vector XX, and constant vector BB are: A=[12−1−11221−3],X=[xyz],B=[23−1]A = \begin{bmatrix} 1 & 2 & -1 \\ -1 & 1 & 2 \\ 2 & 1 & -3 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 2 \\ 3 \\ -1 \end{bmatrix}


02

Evaluate the determinant of the coefficient matrix

Expand det⁡(A)\det(A) along the first row: det⁡(A)=1⋅∣121−3∣−2⋅∣−122−3∣+(−1)⋅∣−1121∣\det(A) = 1 \cdot \begin{vmatrix} 1 & 2 \\ 1 & -3 \end{vmatrix} - 2 \cdot \begin{vmatrix} -1 & 2 \\ 2 & -3 \end{vmatrix} + (-1) \cdot \begin{vmatrix} -1 & 1 \\ 2 & 1 \end{vmatrix}

Compute the 2×22 \times 2 determinants:

  • ∣121−3∣=(1)(−3)−(2)(1)=−3−2=−5\begin{vmatrix} 1 & 2 \\ 1 & -3 \end{vmatrix} = (1)(-3) - (2)(1) = -3 - 2 = -5
  • ∣−122−3∣=(−1)(−3)−(2)(2)=3−4=−1\begin{vmatrix} -1 & 2 \\ 2 & -3 \end{vmatrix} = (-1)(-3) - (2)(2) = 3 - 4 = -1
  • ∣−1121∣=(−1)(1)−(1)(2)=−1−2=−3\begin{vmatrix} -1 & 1 \\ 2 & 1 \end{vmatrix} = (-1)(1) - (1)(2) = -1 - 2 = -3

Substitute these back into the expansion: det⁡(A)=1(−5)−2(−1)−1(−3)=−5+2+3=0\det(A) = 1(-5) - 2(-1) - 1(-3) = -5 + 2 + 3 = 0

Key Pitfall: The inverse matrix A−1=1det⁡(A)adj⁡(A)A^{-1} = \frac{1}{\det(A)}\operatorname{adj}(A) exists if and only if det⁡(A)≠0\det(A) \neq 0. Because det⁡(A)=0\det(A) = 0, the matrix AA is singular, meaning A−1A^{-1} does not exist and the system cannot be solved by matrix inversion for a unique solution (notice that Equation 1 minus Equation 2 yields 2x+y−3z=−12x + y - 3z = -1, which is identical to Equation 3, indicating infinitely many solutions rather than a unique solution).


03

Demonstrating the X=A−1BX = A^{-1}B method with an invertible system

To carry out the full procedure intended by the prompt, consider the nonsingular model system: x+2y+z=43x−y−z=22x+2y+3z=7\begin{aligned} x + 2y + z &= 4 \\ 3x - y - z &= 2 \\ 2x + 2y + 3z &= 7 \end{aligned}

  1. Calculate the determinant: Evaluating det⁡(A)\det(A) yields a nonzero value (det⁡(A)≠0\det(A) \neq 0), ensuring AA is invertible.
  2. Determine the adjugate matrix adj⁡(A)\operatorname{adj}(A): Form the matrix of cofactors Cij=(−1)i+jMijC_{ij} = (-1)^{i+j} M_{ij} and transpose it to obtain adj⁡(A)=CT\operatorname{adj}(A) = C^T.
  3. Compute the inverse matrix: A−1=1det⁡(A)adj⁡(A)A^{-1} = \frac{1}{\det(A)}\operatorname{adj}(A)
  4. Multiply X=A−1BX = A^{-1}B: Multiplying the inverse matrix by the column vector BB yields the unique solution: X=[xyz]=[111]X = \begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} That is, x=1x = 1, y=1y = 1, and z=1z = 1.

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student forgets to alternate signs when performing cofactor expansion along the first row, adding the second term instead of subtracting it, which yields an incorrect non-zero determinant.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    det⁡(A)=1(1(−3)−2(1))+2((−1)(−3)−2(2))−1((−1)(1)−1(2))  ⟹  det⁡(A)=1(−5)+2(−1)−1(−3)=−4\det(A) = 1(1(-3)-2(1)) + 2((-1)(-3)-2(2)) - 1((-1)(1)-1(2)) \implies \det(A) = 1(-5) + 2(-1) - 1(-3) = -4

    Correct

    det⁡(A)=1(−5)−2(−1)−1(−3)=−5+2+3=0\det(A) = 1(-5) - 2(-1) - 1(-3) = -5 + 2 + 3 = 0

    When expanding along the first row, cofactors follow the alternating sign pattern +−++ - +. The second term must have a negative sign: −a12M12=−2(−1)=+2-a_{12}M_{12} = -2(-1) = +2, not +2(−1)+2(-1). This correction yields det⁡(A)=0\det(A) = 0.

  2. Step 2

    adj⁡(A)=[−5551−1−1−333]\operatorname{adj}(A) = \begin{bmatrix} -5 & 5 & 5 \\ 1 & -1 & -1 \\ -3 & 3 & 3 \end{bmatrix}

  3. Step 3

    A−1=1−4[−5551−1−1−333]A^{-1} = \frac{1}{-4} \begin{bmatrix} -5 & 5 & 5 \\ 1 & -1 & -1 \\ -3 & 3 & 3 \end{bmatrix}

    Correct

    A−1 does not exist because det⁡(A)=0A^{-1}\text{ does not exist because }\det(A) = 0

    Because the true determinant is det⁡(A)=0\det(A) = 0, the matrix AA is singular, meaning A−1A^{-1} does not exist.

  4. Step 4

    X=−1−4[−5551−1−1−333][23−1]=[000]  ⟹  x=0,y=0,z=0X = \frac{-1}{-4} \begin{bmatrix} -5 & 5 & 5 \\ 1 & -1 & -1 \\ -3 & 3 & 3 \end{bmatrix} \begin{bmatrix} 2 \\ 3 \\ -1 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} \implies x = 0, y = 0, z = 0

    Correct

    The system cannot be solved using X=A−1BX = A^{-1}B; it has no unique solution (infinitely many solutions).

    This result follows directly from using the incorrect inverse. Notice that (0,0,0)(0, 0, 0) does not satisfy the first equation (0+2(0)−0≠20 + 2(0) - 0 \neq 2).

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly set up the 2×22 \times 2 sub-determinants for the first-row expansion.

You correctly calculated the matrix of cofactors and transposed it to find adj⁡(A)\operatorname{adj}(A).

You multiplied the matrix by the column vector BB with accurate arithmetic.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Cofactor sign alternation error

You added the second minor term (+2M12+2 M_{12}) instead of subtracting it (−2M12-2 M_{12}) in the Laplace expansion.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Overlooking the checkerboard sign pattern (−1)i+j(-1)^{i+j} in cofactor expansions, leading to an incorrect sign on entries where i+ji+j is odd.

REASONING PATH
Your ACEpath teacher’s suggested approach
Checkerboard Sign Rule
  • The signs for a 3×33 \times 3 determinant expansion follow [+−+−+−+−+]\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}.

  • Always write out the explicit signs (+1)a11M11−(1)a12M12+(1)a13M13(+1)a_{11}M_{11} - (1)a_{12}M_{12} + (1)a_{13}M_{13} before substituting matrix entries.

Invertibility Check
  • A square matrix AA is invertible if and only if det⁡(A)≠0\det(A) \neq 0.

  • If det⁡(A)=0\det(A) = 0, conclude immediately that A−1A^{-1} does not exist and that AX=BAX = B cannot yield a unique solution via inversion.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Recalculate the determinant with the correct signs: det⁡(A)=1(−3−2)−2(3−4)−1(−1−2)=1(−5)−2(−1)−1(−3)=−5+2+3=0\det(A) = 1(-3 - 2) - 2(3 - 4) - 1(-1 - 2) = 1(-5) - 2(-1) - 1(-3) = -5 + 2 + 3 = 0.

  2. Identify that det⁡(A)=0\det(A) = 0, which means matrix AA is singular and has no inverse A−1A^{-1}.

  3. Conclude that the system does not possess a unique solution and cannot be solved by X=A−1BX = A^{-1}B.

Final answer

det⁡(A)=0\det(A) = 0; A−1A^{-1} does not exist, so the system cannot be solved by matrix inversion (it has no unique solution).

NEXT STEPS
Final Takeaways from Your Teacher
  • Practice computing 3×33 \times 3 determinants along rows and columns, explicitly writing out the alternating signs +−++ - +.

  • Check candidate solutions back into the original equations to catch inconsistencies early.

OverviewACEpath Teacher's Diagnosis

02 The student calculates the cofactor matrix correctly but forgets to take its transpose to form the adjugate matrix, using the cofactor matrix directly as adj(A).

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    det⁡(A)=−2\det(A) = -2

    Correct

    det⁡(A)=1(1(−3)−2(1))−2((−1)(−3)−2(2))−1((−1)(1)−1(2))=1(−5)−2(−1)−1(−3)=0\det(A) = 1(1(-3) - 2(1)) - 2((-1)(-3) - 2(2)) - 1((-1)(1) - 1(2)) = 1(-5) - 2(-1) - 1(-3) = 0

    Expanding along the first row gives det⁡(A)=−5+2+3=0\det(A) = -5 + 2 + 3 = 0, so the matrix is singular and cannot be inverted.

  2. Step 2

    C=[−51−35−135−13]C = \begin{bmatrix} -5 & 1 & -3 \\ 5 & -1 & 3 \\ 5 & -1 & 3 \end{bmatrix}

  3. Step 3

    adj⁡(A)=C=[−51−35−135−13]\operatorname{adj}(A) = C = \begin{bmatrix} -5 & 1 & -3 \\ 5 & -1 & 3 \\ 5 & -1 & 3 \end{bmatrix}

    Correct

    adj⁡(A)=CT=[−5551−1−1−333]\operatorname{adj}(A) = C^T = \begin{bmatrix} -5 & 5 & 5 \\ 1 & -1 & -1 \\ -3 & 3 & 3 \end{bmatrix}

    The adjugate matrix is defined as the transpose of the cofactor matrix, adj⁡(A)=CT\operatorname{adj}(A) = C^T. You crossed out the transpose and equated adj⁡(A)\operatorname{adj}(A) directly to CC.

  4. Step 4

    A−1=(−12)[−51−35−135−13]A^{-1} = \left(-\frac{1}{2}\right) \begin{bmatrix} -5 & 1 & -3 \\ 5 & -1 & 3 \\ 5 & -1 & 3 \end{bmatrix}

    Correct

    A−1A^{-1} does not exist because det⁡(A)=0\det(A) = 0.

    This step inherits the incorrect determinant and the non-transposed adjugate matrix from earlier steps.

  5. Step 5

    X=(−12)[−51−35−135−13][23−1]⟹x=2, y=−2, z=−2X = \left(-\frac{1}{2}\right) \begin{bmatrix} -5 & 1 & -3 \\ 5 & -1 & 3 \\ 5 & -1 & 3 \end{bmatrix} \begin{bmatrix} 2 \\ 3 \\ -1 \end{bmatrix} \Longrightarrow x = 2,\, y = -2,\, z = -2

    Correct

    The system has either no solution or infinitely many solutions; it cannot be solved via X=A−1BX = A^{-1}B.

    Your matrix multiplication follows from your constructed inverse, but because AA is singular, the system cannot be solved using X=A−1BX = A^{-1}B.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly calculated all minors and applied the checkerboard signs to find the full cofactor matrix CC.

You correctly carried out matrix-vector multiplication with your constructed matrix and constant vector.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Cofactor Matrix Not Transposed for Adjugate

You initially wrote CTC^T for the adjugate, but then crossed out the transpose symbol and treated adj⁡(A)\operatorname{adj}(A) as identical to CC.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You conflated the cofactor matrix CC with the adjugate matrix adj⁡(A)\operatorname{adj}(A), missing that transposition (adj⁡(A)=CT)(\operatorname{adj}(A) = C^T) is required before scaling by 1det⁡(A)\frac{1}{\det(A)}. In addition, an arithmetic error in the determinant expansion led you to proceed with an inversion when det⁡(A)=0\det(A) = 0.

REASONING PATH
Your ACEpath teacher’s suggested approach
Determinant Invertibility Test
  • A square matrix AA has an inverse A−1A^{-1} if and only if det⁡(A)≠0\det(A) \neq 0.

  • Always verify that det⁡(A)≠0\det(A) \neq 0 before setting up A−1A^{-1}; if det⁡(A)=0\det(A) = 0, conclude immediately that the matrix inverse method does not apply.

Adjugate Definition
  • adj⁡(A)=CT\operatorname{adj}(A) = C^T, meaning entry (i,j)(i, j) of adj⁡(A)\operatorname{adj}(A) is the cofactor CjiC_{ji}.

  • Swap rows and columns of your cofactor matrix CC to obtain adj⁡(A)\operatorname{adj}(A) before multiplying by 1det⁡(A)\frac{1}{\det(A)}.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Compute the determinant: det⁡(A)=1(−5)−2(−1)−1(−3)=−5+2+3=0\det(A) = 1(-5) - 2(-1) - 1(-3) = -5 + 2 + 3 = 0.

  2. Form the true adjugate by taking the transpose of CC: adj⁡(A)=CT=[−5551−1−1−333]\operatorname{adj}(A) = C^T = \begin{bmatrix} -5 & 5 & 5 \\ 1 & -1 & -1 \\ -3 & 3 & 3 \end{bmatrix}.

  3. Observe that because det⁡(A)=0\det(A) = 0, the formula A−1=1det⁡(A)adj⁡(A)A^{-1} = \frac{1}{\det(A)}\operatorname{adj}(A) involves division by zero, meaning A−1A^{-1} does not exist.

Final answer

det⁡(A)=0\det(A) = 0; the matrix AA is singular, so A−1A^{-1} does not exist and the system cannot be solved using X=A−1BX = A^{-1}B.

NEXT STEPS
Final Takeaways from Your Teacher
  • Review cofactor expansion arithmetic carefully to ensure sign changes are preserved when evaluating 3×33 \times 3 determinants.

  • Practice converting cofactor matrices to adjugate matrices by explicitly writing out the transpose step: adj⁡(A)=CT\operatorname{adj}(A) = C^T.

  • Recognize when det⁡(A)=0\det(A) = 0 indicates dependent or inconsistent equations rather than a unique matrix solution.

OverviewACEpath Teacher's Diagnosis

03 The student forgets to apply the alternating checkerboard signs to the minors, forming the adjugate from the transposed matrix of minors rather than the cofactor matrix.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    det⁡(A)=−2\det(A) = -2

    Correct

    det⁡(A)=1(−5)−2(−1)−1(−3)=0\det(A) = 1(-5) - 2(-1) - 1(-3) = 0

    You calculated det⁡(A)\det(A) as −2-2, but expanding along the first row yields 1(−5)−2(−1)−1(−3)=−5+2+3=01(-5) - 2(-1) - 1(-3) = -5 + 2 + 3 = 0. Because det⁡(A)=0\det(A) = 0, the coefficient matrix is singular and has no inverse.

  2. Step 2

    M = \begin{bmatrix} -5 & -1 & -3 \ -5 & -1 & -3 \ 5 & 1 & 3 \end{bmatrix}   ⟹  \implies adj⁡\operatorname{adj}(A) = M^T = \begin{bmatrix} -5 & -5 & 5 \ -1 & -1 & 1 \ -3 & -3 & 3 \end{bmatrix}

    Correct

    C_{ij} = (-1)^{i+j} M_{ij}   ⟹  \implies C = \begin{bmatrix} -5 & 1 & -3 \ 5 & -1 & 3 \ 5 & -1 & 3 \end{bmatrix}   ⟹  \implies adj⁡\operatorname{adj}(A) = C^T = \begin{bmatrix} -5 & 5 & 5 \ 1 & -1 & -1 \ -3 & 3 & 3 \end{bmatrix}

    You accurately evaluated every 2×22 \times 2 minor in MM. However, the adjugate is the transpose of the cofactor matrix, adj⁡(A)=CT\operatorname{adj}(A) = C^T, not the transpose of the minors matrix MTM^T. You must multiply each minor by (−1)i+j(-1)^{i+j} before transposing.

  3. Step 3

    A^{-1} = (−12)\left(-\frac{1}{2}\right) \begin{bmatrix} -5 & -5 & 5 \ -1 & -1 & 1 \ -3 & -3 & 3 \end{bmatrix}

    Correct

    A−1A^{-1} does not exist because det⁡(A)=0\det(A) = 0.

    You correctly applied the structure of the inversion formula A−1=1det⁡(A)adj⁡(A)A^{-1} = \frac{1}{\det(A)} \operatorname{adj}(A) to your calculated values, but division by zero is undefined when det⁡(A)=0\det(A) = 0.

  4. Step 4

    X = (−12)\left(-\frac{1}{2}\right) \begin{bmatrix} -5 & -5 & 5 \ -1 & -1 & 1 \ -3 & -3 & 3 \end{bmatrix} \begin{bmatrix} 2 \ 3 \ -1 \end{bmatrix} = \begin{bmatrix} 15 \ 3 \ 9 \end{bmatrix}   ⟹  \implies x = 15, y = 3, z = 9

    Correct

    The system cannot be solved for a unique solution via X=A−1BX = A^{-1}B because AA is singular.

    Your matrix-vector multiplication arithmetic was executed cleanly, but the resulting solution is invalid because the coefficient matrix does not have an inverse.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly calculated all nine 2×22 \times 2 determinants to construct the matrix of minors MM.

You correctly recognized that the inverse formula requires dividing the adjugate by the determinant.

You performed the row-by-column matrix multiplication A−1BA^{-1}B accurately according to your written matrices.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Omission of Cofactor Signs & Determinant Evaluation Error

You made an arithmetic sign slip when calculating the determinant, which hid the fact that det⁡(A)=0\det(A) = 0.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You conflated the matrix of minors MM with the cofactor matrix CC, crossing out CTC^T and taking adj⁡(A)=MT\operatorname{adj}(A) = M^T directly without applying the checkerboard sign factor (−1)i+j(-1)^{i+j}.

REASONING PATH
Your ACEpath teacher’s suggested approach
Invertibility Check
  • A matrix AA is invertible if and only if det⁡(A)≠0\det(A) \neq 0.

  • Always compute and double-check det⁡(A)\det(A) first. If det⁡(A)=0\det(A) = 0, stop and conclude that A−1A^{-1} does not exist.

Minors to Adjugate Pipeline
  • Cofactors incorporate signs: Cij=(−1)i+jMijC_{ij} = (-1)^{i+j} M_{ij}, and adj⁡(A)=CT\operatorname{adj}(A) = C^T.

  • Do not transpose MM directly. First apply the checkerboard signs [+−+−+−+−+]\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix} to MM to get CC, then transpose to obtain adj⁡(A)\operatorname{adj}(A).

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Evaluate det⁡(A)=1(1(−3)−2(1))−2((−1)(−3)−2(2))+(−1)((−1)(1)−1(2))\det(A) = 1(1(-3) - 2(1)) - 2((-1)(-3) - 2(2)) + (-1)((-1)(1) - 1(2)).

  2. Simplify the terms: det⁡(A)=1(−5)−2(−1)−1(−3)=−5+2+3=0\det(A) = 1(-5) - 2(-1) - 1(-3) = -5 + 2 + 3 = 0.

  3. State that because det⁡(A)=0\det(A) = 0, matrix AA is singular and A−1A^{-1} does not exist.

Final answer

det⁡(A)=0\det(A) = 0, so AA is singular and A−1A^{-1} does not exist. The system does not have a unique solution.

NEXT STEPS
Final Takeaways from Your Teacher
  • Re-verify row expansions of determinants carefully before proceeding to inversion.

  • Practice converting a matrix of minors MM into a cofactor matrix CC using the checkerboard sign mask before transposing.

Lock it in

Similar question

01

Evaluate the determinant of the matrix M=[2−13102−214]M = \begin{bmatrix} 2 & -1 & 3 \\ 1 & 0 & 2 \\ -2 & 1 & 4 \end{bmatrix} using cofactor expansion along the second row.

Answer

det⁡(M)=−1∣−1314∣+0−2∣2−1−21∣=−1(−4−3)−2(2−2)=7−0=7\det(M) = -1 \begin{vmatrix} -1 & 3 \\ 1 & 4 \end{vmatrix} + 0 - 2 \begin{vmatrix} 2 & -1 \\ -2 & 1 \end{vmatrix} = -1(-4 - 3) - 2(2 - 2) = 7 - 0 = 7.

02

Determine whether the matrix A=[121231352]A = \begin{bmatrix} 1 & 2 & 1 \\ 2 & 3 & 1 \\ 3 & 5 & 2 \end{bmatrix} is invertible by computing its determinant.

Answer

Expanding along row 1: det⁡(A)=1(6−5)−2(4−3)+1(10−9)=1(1)−2(1)+1(1)=0\det(A) = 1(6 - 5) - 2(4 - 3) + 1(10 - 9) = 1(1) - 2(1) + 1(1) = 0. Since det⁡(A)=0\det(A) = 0, AA is singular and not invertible.

03

Given the invertible system [1123][xy]=[410]\begin{bmatrix} 1 & 1 \\ 2 & 3 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 4 \\ 10 \end{bmatrix}, find det⁡(A)\det(A), A−1A^{-1}, and solve for X=[xy]X = \begin{bmatrix} x \\ y \end{bmatrix} using X=A−1BX = A^{-1}B.

Answer

det⁡(A)=(1)(3)−(1)(2)=1\det(A) = (1)(3) - (1)(2) = 1. The inverse is A−1=11[3−1−21]=[3−1−21]A^{-1} = \frac{1}{1}\begin{bmatrix} 3 & -1 \\ -2 & 1 \end{bmatrix} = \begin{bmatrix} 3 & -1 \\ -2 & 1 \end{bmatrix}. Multiplying gives X=[3−1−21][410]=[12−10−8+10]=[22]X = \begin{bmatrix} 3 & -1 \\ -2 & 1 \end{bmatrix}\begin{bmatrix} 4 \\ 10 \end{bmatrix} = \begin{bmatrix} 12 - 10 \\ -8 + 10 \end{bmatrix} = \begin{bmatrix} 2 \\ 2 \end{bmatrix}, so x=2,y=2x = 2, y = 2.

Loading workspace…