Chalk−1

Math · College algebra · Worked example

Solve a system of equations by elimination

Solve the system 2⁢x+3⁢y=12 and x−y=1.

2⁢x+3⁢y=12,x−y=1

Try one — Chalk checks each line

Make the y-coefficients opposites

Multiply every term of x−y=1 by 3, so that its y-term, −3⁢y, is the opposite of 3⁢y in the first equation. Multiplying both sides by 3 keeps the same solutions.

3⁢x−3⁢y=3

Add the equations

(2⁢x+3⁢y)+(3⁢x−3⁢y) =12+3. The y-terms cancel, leaving 5⁢x=15, so x=3.

5⁢x=15⟹x=3

Find y

Substitute x=3 into x−y=1, the simpler original equation. 3−y=1, so y=2.

3−y=1⟹y=2

Check in both original equations

2⁢(3)+3⁢(2)=12 and 3−2=1, so (3,2) satisfies both equations. The lines cross at that point.

2⁢(3)+3⁢(2)=123−2=1

Result

x=3 and y=2. The lines cross at (3,2).

Your turn

1. One like the example

Solve 3⁢x+2⁢y=16 and x−2⁢y=0 by elimination.

Show the answer and explanation

x=4 and y=2.

The y-coefficients 2 and −2 are already opposites, so add the equations to get 4⁢x=16, and x=4. Then 4−2⁢y=0 gives y=2. Check that 12+4=16 and 4−4=0.

3⁢x+2⁢y=16x−2⁢y=04⁢x=16x=4y=2

2. A variation

Solve 2⁢x+3⁢y=7 and 3⁢x+4⁢y=10. No coefficient is ready to cancel.

Show the answer and explanation

x=2 and y=1.

Multiply the first equation by 3 and the second by −2 to get 6⁢x+9⁢y=21 and −6⁢x−8⁢y=−20. Adding gives y=1. Then 2⁢x+3=7, so x=2. Check that 6+4=10 in the second equation.

2⁢x+3⁢y=73⁢x+4⁢y=106⁢x+9⁢y=21−6⁢x−8⁢y=−20y=1x=2

3. Somewhere new

Adult tickets cost $12 and child tickets $7. A group buys 9 tickets for $88. How many of each did it buy?

Show the answer and explanation

5 adult and 4 child tickets.

With a adult and c child tickets, a+c=9 and 12⁢a+7⁢c=88. Substitute c=9−a to get 12⁢a+7⁢(9−a)=88, so 5⁢a+63=88 and a=5. Then c=4, and 60+28=88.

a+c=912⁢a+7⁢c=8812⁢a+7⁢(9−a)=885⁢a+63=88a=5c=4

Keep exploring

In Matrices & linear systems, change the second row to 2, 3, 5, the equation 2⁢x+3⁢y=5. The coefficients now match the first row but the constants differ, and the studio reports no solution, because the lines are parallel.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See both lines in Graph Solve it in Matrices & linear systems Check each step in Math Study the 6 key terms Open worked example on a board Equation rules in Math Reference

Your existing work stays on this device. Examples open as editable copies.