To eliminate a variable, we may need to adjust the equations by multiplying one or both of them so that adding or subtracting eliminates a variable.
See this example:
$$
\begin{cases}
2x + 3y = 12 \\
x – y = 1
\end{cases}
$$
- Step 1: Multiply the second equation by 3:
$$
\begin{cases}
2x + 3y = 12 \\
3x – 3y = 3
\end{cases}
$$
- Step 2: Add the equations to eliminate $y$:
$$
\begin{aligned}
(2x + 3y) + (3x – 3y) &= 12 + 3 \\[1em]
5x &=15
\end{aligned}
$$
- Step 3: Solve for $x$: $$ x = 3 $$
- Step 4: Substitute $ x = 3 $ into any equation to find $y$, preferably the simpler one:
$$ x – y = 1 \Rightarrow y = x-1=2 $$
- Step 5: Verify the solution:
$$ \{ x = 3, \quad y = 2 \} $$