Example

Solving {y=2x+5,  y=12x}\{y = -2x + 5,\; y = \frac{1}{2}x\} by Substitution

Solve the system {y=2x+5y=12x\left\{\begin{array}{l} y = -2x + 5 \\ y = \frac{1}{2}x \end{array}\right. using the substitution method.

Because both equations are already solved for yy, the two right-hand-side expressions can be set equal to each other directly — no algebraic rearrangement is needed for Step 1.

Step 2 — Substitute into the other equation. Replace yy in the first equation with 12x\frac{1}{2}x:

12x=2x+5\frac{1}{2}x = -2x + 5

Step 3 — Solve the resulting one-variable equation. The equation contains a fraction, so begin by clearing it. Multiply both sides by 22:

212x=2(2x+5)2 \cdot \frac{1}{2}x = 2(-2x + 5)

x=4x+10x = -4x + 10

Add 4x4x to both sides: 5x=105x = 10. Divide both sides by 55: x=2x = 2.

Step 4 — Find the other variable. Substitute x=2x = 2 into y=12xy = \frac{1}{2}x:

y=12(2)=1y = \frac{1}{2}(2) = 1

Step 5 — Write the solution as an ordered pair: (2,1)(2, 1).

Step 6 — Check in both original equations:

  • Second equation: 1=?122=11 \stackrel{?}{=} \frac{1}{2} \cdot 2 = 1. Since 1=11 = 1 is true ✓
  • First equation: 1=?2(2)+5=4+5=11 \stackrel{?}{=} -2(2) + 5 = -4 + 5 = 1. Since 1=11 = 1 is true ✓

Both equations are satisfied, confirming that (2,1)(2, 1) is the solution of the system. This example demonstrates the special case where both equations are already solved for yy, so Step 1 is automatically complete and the two expressions for yy can be equated directly. It also illustrates using the clearing fractions technique — multiplying both sides by 22 — to eliminate the fractional coefficient before solving the resulting one-variable equation.

0

1

Updated 2026-04-21

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.5 Systems of Linear Equations - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Related
Learn After