← Study path
Systems of two linear equations in two variablesMath · Algebra
×
Warm-up

Systems of two linear equations in two variables Solve two-equation systems and spot no or infinitely many solutions.

A system appears when you get two facts about two unknowns: total tickets and total money, a trip downstream and back. This lesson covers solving by elimination, substitution, or graphing (Desmos), getting an expression like x + y without solving for each variable, and finding constants that make a system have no solution or infinitely many.

By the end of this lesson you will
  • Solve by elimination (including multiplying first) or by substitution.
  • Set up a system for count–value and rate–time problems.
  • Get the value of an expression like 4x + 6y straight from the system.
  • Tell whether a system has one, no, or infinitely many solutions, and find constants for each case.
  • Read the solution as the intersection point, and find it with Desmos.

Try one question before the lesson

Don’t worry if you miss it. It shows you what to watch for.

If x + y = 10 and x − y = 4, what is the value of x?

Key ideas

Key ideas

Read each card. The self-check asks about exactly these ideas.

1Elimination, multiplying first when needed

Use elimination when one variable’s coefficients match or are opposites:

2x + 3y = 13
2x − y = 1

Subtract: 4y = 12, y = 3. Back-substitute: 2x − 3 = 1, x = 2.

If nothing matches yet, multiply a whole equation first. For 3x + 2y = 16 and x + 4y = 12, multiply the second by 3 to get 3x + 12y = 36, then subtract: 10y = 20, y = 2.

Multiply every term, including the constant on the right, and watch the signs when you subtract.

2Substitution, and reading the solution on a graph

Use substitution when an equation is already y = … or x = …. For y = 2x − 1 and y = −x + 8, set them equal: 2x − 1 = −x + 8, x = 3, then y = 5.

The solution (3, 5) is the intersection point of the two lines. “The graphs intersect at (a, b)” is just asking for the solution.

Desmos: type each equation on its own line and click the intersection to read it. It’s quick and safe with messy numbers, but reread whether the question wants x, y, or a combination.

3Set up the system from words

Count–value: one equation counts items, one counts money (or weight, calories…). 20 coins, $1 and $2, worth $32:

x + y = 20
x + 2y = 32

Rate–time: distance = rate × time. A boat with speed b in still water and a current c moves at b + c downstream and b − c upstream.

Before you pick, reread: which unknown does it ask for? The other unknown is almost always sitting among the choices.

4Go straight for the expression asked

When the question asks for x + y, 2x − y, or 4x + 6y, try adding or subtracting the equations before solving for each variable.

Example: 5x + 2y = 21 and 3x + 4y = 15. Add: 8x + 6y = 36; halve it: 4x + 3y = 18. Done, without x or y.

If no combination jumps out, solve for each variable and substitute. Both work; combining is just faster.

5One, none, or infinitely many

  • Different slopes: the lines cross, exactly one solution.
  • Same slope, different intercept: parallel, no solution.
  • Same line (one equation is a multiple of the other): infinitely many solutions.

In ax + by = c form:

  • No solution when a₁/a₂ = b₁/b₂ but that ratio differs from c₁/c₂.
  • Infinitely many when all three ratios are equal.

To find a constant: multiply one equation so its x (or y) coefficient matches the other, then compare the rest. Two lines can never meet in exactly two points.

Step-by-step method

Step by step

  1. Name the unknowns and write two equations with units.
  2. Does it ask for a combination (x + y, 4x + 6y)? Try adding or subtracting first.
  3. Matching coefficients → eliminate; y = … already → substitute; messy numbers → Desmos.
  4. Solve for one variable, then back-substitute.
  5. Number-of-solutions or constant question: compare the coefficient and constant ratios.
  6. Reread: x, y, or which combination?

Common traps

  • Solving for one variable and picking it when the question asks for the other.
  • Multiplying an equation but not its constant.
  • Sign errors when subtracting equations.
  • Confusing no solution (parallel) with infinitely many (same line).
  • Current problems: picking the downstream speed or the current instead of the boat’s speed.
  • Doubling just one equation when the question asks for a combination.
Guided examples

Guided examples

Let’s work through it together: small moves first, then the answer.

Example 1/3

A theater sold 150 tickets for one show. Adult tickets cost $12 and child tickets cost $8. The theater collected $1,560 in total. How many adult tickets were sold?

  1. 1

    Write two equations (a = adult, c = child)

  2. 2

    Substitute c = 150 − a into the second equation

  3. 3

    Pick the answer

Remember: One equation counts items, one counts money.

Example 2/3

In the system 3x + ky = 7 and 6x + 4y = 9, k is a constant. For what value of k does the system have no solution?

  1. 1

    No solution means the lines are…?

  2. 2

    Multiply the first equation by 2 and compare

  3. 3

    Pick the answer

Remember: No solution: coefficient ratios equal, constant ratio different.

Example 3/3

In the xy-plane, the graphs of y = 2x − 1 and y = −x + 8 intersect at the point (a, b). What is the value of b?

  1. 1

    What does the intersection mean?

  2. 2

    Set the two y’s equal and solve

  3. 3

    Pick the answer

    Student-produced response: enter a number.

Remember: Where the graphs meet = the solution of the system.

Try it yourself

Try it yourself

Answer before reading the explanation. Your results feed the wrap-up.

1/8

If 4x + y = 19 and 2x − y = 5, what is the value of x?

Student-produced response: enter a number.

2/8

A farm stand sells apples for $3 per bag and pears for $5 per bag. One morning it sold 40 bags for a total of $156. How many bags of pears were sold?

Student-produced response: enter a number.

3/8

How many solutions does the system y = 3x + 2 and 6x − 2y = −4 have?

4/8

If 3x + 2y = 17 and x + 4y = 9, what is the value of 4x + 6y?

5/8

In the system 2x − 5y = 8 and ax − 15y = b, a and b are constants. If the system has infinitely many solutions, what is the value of a + b?

Student-produced response: enter a number.

6/8

A boat travels 36 miles downstream in 2 hours. The return trip upstream over the same 36 miles takes 3 hours. If the boat’s speed in still water and the speed of the current are constant, what is the boat’s speed in still water, in miles per hour?

7/8

A scarf costs p dollars and is not taxed. A jacket costs j dollars before an 8% sales tax is added. A customer buys one scarf and one jacket and pays $95.60 in total. The jacket’s price before tax is $50 more than the scarf’s price. Which system of equations represents this situation?

8/8

Mai trained for 9 hours in total, some of the time running and the rest cycling. She runs at 8 kilometers per hour and cycles at 20 kilometers per hour. She cycled for twice as many hours as she ran. How many kilometers did she cover in total?

Student-produced response: enter a number.

Wrap-up

Lesson wrap-up

You haven’t finished the self-check yet. Your results appear here once you answer all 8 questions.

Question-bank practice

Practice 20 questions on this skill

The button below opens Custom Practice with Subject, Domain, and Skill already set for this lesson. You choose the Difficulty and press Start.

Subject
Math
Domain
Algebra
Skill
Systems of two linear equations in two variables
Difficulty
Your choice
  • Easy: get comfortable, clear clues.
  • Medium: close to the typical test question.
  • Hard: for top-score goals.

Tip: score 16/20 or better before moving up a level. For any miss, open History and tap “Ask Miu” to see why.

Each practice set uses one custom practice from your plan.