Solving Systems of Equations with Matrices Math Example 4

Follow the full solution, then compare it with the other examples linked below.

Example 4

medium
Solve using the inverse: {x+2y=83x+5y=19\begin{cases} x + 2y = 8 \\ 3x + 5y = 19 \end{cases}

Solution

  1. 1
    detโก=5โˆ’6=โˆ’1\det = 5 - 6 = -1. Aโˆ’1=1โˆ’1[5โˆ’2โˆ’31]=[โˆ’523โˆ’1]A^{-1} = \frac{1}{-1}\begin{bmatrix} 5 & -2 \\ -3 & 1 \end{bmatrix} = \begin{bmatrix} -5 & 2 \\ 3 & -1 \end{bmatrix}.
  2. 2
    [xy]=[โˆ’523โˆ’1][819]=[โˆ’25]\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} -5 & 2 \\ 3 & -1 \end{bmatrix}\begin{bmatrix} 8 \\ 19 \end{bmatrix} = \begin{bmatrix} -2 \\ 5 \end{bmatrix}. So x=โˆ’2,y=5x = -2, y = 5.

Answer

x=โˆ’2,y=5x = -2, y = 5
Compute Aโˆ’1A^{-1}, then multiply Aโˆ’1bA^{-1}b to get the solution vector. Verify: โˆ’2+10=8-2 + 10 = 8 โœ“ and โˆ’6+25=19-6 + 25 = 19 โœ“.

About Solving Systems of Equations with Matrices

Systems of linear equations can be represented as the matrix equation Ax=bAx = b and solved using augmented matrices with row reduction (Gaussian elimination), matrix inverses (x=Aโˆ’1bx = A^{-1}b), or Cramer's rule (using determinants).

Learn more about Solving Systems of Equations with Matrices โ†’

More Solving Systems of Equations with Matrices Examples