Solve −x − y = −5, 3x + 5y = 29 with Cramer’s rule

Worked out line by line the way a teacher would write it.

Answer

Solutionx = −2, y = 7

Step-by-step solution

5 steps
  1. 1 The system, with the equations numbered
    \begin{aligned}- x - y &= -5 & (1)\\ 3 x + 5 y &= 29 & (2)\end{aligned}
  2. 2 Compute the determinant D of the coefficient matrix
    D = \begin{vmatrix} -1 & -1 \\ 3 & 5 \end{vmatrix} = (-1) \cdot 5 - (-1) \cdot 3 = -2
  3. 3 Replace the x column with the constants to get D_x
    D_{x} = \begin{vmatrix} -5 & -1 \\ 29 & 5 \end{vmatrix} = 4
  4. 4 Replace the y column with the constants to get D_y
    D_{y} = \begin{vmatrix} -1 & -5 \\ 3 & 29 \end{vmatrix} = -14
  5. 5 Divide each determinant by D
    x = \frac{D_{x}}{D} = \frac{4}{-2} = -2,\quad y = \frac{D_{y}}{D} = \frac{-14}{-2} = 7

Check by substitution

EquationLeft sideRight side
(1)−5−5✓
(2)2929✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.