Solve x + y = 1, −5x − y = −25 with Cramer’s rule

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

Answer

Solutionx = 6, y = −5

Step-by-step solution

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

Check by substitution

EquationLeft sideRight side
(1)11✓
(2)−25−25✓
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.