Solving Linear Systems by Algebraic Methods

Substitution replaces a variable with an equivalent expression; elimination combines equations to cancel a variable. Both methods help find an ordered pair that satisfies both equations—or reveal an identity or contradiction indicating infinitely many solutions or none. Ticket-price and juice-mixture problems show how to translate real conditions into systems.

Course cover for Solving Linear Systems by Algebraic Methods

Two Tickets, Two Prices

Two friends buy different combinations of football and basketball tickets at the same ticket window. One receipt shows that two football tickets and one basketball ticket cost $33. Can this one fact determine both ticket prices?

Several price pairs fit: football $10 and basketball $13 give 2(10) + 13 = 33; football $15 and basketball $3 give 2(15) + 3 = 33; football $12 and basketball $9 give 2(12) + 9 = 33. This receipt alone does not distinguish among them

The other receipt supplies a second fact: one football ticket and three basketball tickets cost $39. The two receipts form a system of equations. Substitution and elimination use both equations to determine prices that satisfy both conditions

Solving by Substitution

Substitution turns two equations with two unknowns into one equation with one unknown. Isolate a variable in one equation, then replace that variable in the other equation with the entire equivalent expression. A variable with coefficient 1 or -1 is a convenient choice because isolating it avoids fractions

Consider the system 2x - y = 5 and 3x + 2y = 4. The coefficient of y in the first equation is -1

Which first move sets up substitution without creating fractions?

A

Isolate y in 2x - y = 5

B

Isolate x in 3x + 2y = 4

C

Isolate y in 3x + 2y = 4

Solve, back-substitute, and check

From 2x - y = 5, subtract 2x from both sides: -y = 5 - 2x. Multiply by -1 to obtain y = 2x - 5. Substitute this whole expression into 3x + 2y = 4: 3x + 2(2x - 5) = 4

Distribute the 2: 3x + 4x - 10 = 4. Combine like terms: 7x - 10 = 4. Add 10 to both sides: 7x = 14. Divide by 7: x = 2

A solution is an ordered pair (x, y), not just one number. Back-substitute x = 2 into y = 2x - 5: y = 2(2) - 5 = -1. The solution is (2, -1). In the original equations, 2(2) - (-1) = 4 + 1 = 5 and 3(2) + 2(-1) = 6 - 2 = 4. Both conditions hold

Practice: complete a substitution solution

Solve x + 3y = 7 and 2x - y = 7 by substitution. The first equation gives x = 7 - 3y. Complete the solution steps beginning with 2(7 - 3y) - y = 7: find the simplified equation, the value of y, and the ordered pair

The simplified-equation choices are 14 - 7y = 7 or 14 - 4y = 7; the y-value choices are 1 or -1; the ordered-pair choices are (4, 1) or (1, 4). Distributing across the whole parentheses gives 14 - 6y - y = 7, so the correct equation is 14 - 7y = 7. Thus -7y = -7 and y = 1. Back-substitution gives x = 7 - 3(1) = 4, so the solution is (4, 1), with x first

Solving by Elimination

Elimination combines whole equations so a variable cancels. Opposite terms cancel when equations are added; identical terms cancel when one equation is subtracted from the other. Combine the right-hand sides as well as the left-hand sides

Add equations with opposite terms

Solve 2x - y = 8 and 3x + y = 7. The terms -y and +y are opposites. Adding the equations gives (2x - y) + (3x + y) = 8 + 7, so 5x = 15 and x = 3

Substitute x = 3 into 3x + y = 7: 3(3) + y = 7, then 9 + y = 7, so y = -2. The solution is (3, -2). Check both original equations: 2(3) - (-2) = 6 + 2 = 8 and 3(3) + (-2) = 9 - 2 = 7. This pair is the intersection point of the two lines

Multiply first when no terms cancel

Solve x + y = 5 and 2x + 3y = 12. There are no matching or opposite terms yet. Multiply the entire first equation by 2: 2(x + y) = 2(5), giving 2x + 2y = 10

Subtract the new equation from the original second equation: (2x + 3y) - (2x + 2y) = 12 - 10. The identical 2x terms cancel, leaving y = 2. Substitute into x + y = 5: x + 2 = 5, so x = 3. The solution is (3, 2). Check: 3 + 2 = 5 and 2(3) + 3(2) = 6 + 6 = 12

Practice system: 2x + y = 9 and 4x - y = 3

Solve the system by elimination. Which ordered pair (x, y) is the solution?

A

(2, 5)

B

(5, 2)

C

(1, 7)

One, None, or Infinitely Many

What does 0 = 0 mean?

Consider 2x + y = 4 and 6x + 3y = 12. Multiplying the first equation by 3 gives 6x + 3y = 12, exactly the second equation. Subtracting these identical equations leaves 0 = 0. The variables disappear, but this is meaningful rather than an error

The statement 0 = 0 is an identity: it is always true. Here the two equations describe the same line, so every point on that shared line satisfies both equations. The system is dependent and has infinitely many solutions

What does a contradiction mean?

Now compare 2x + y = 4 and 6x + 3y = 9. Multiplying the first equation by 3 still gives 6x + 3y = 12. Subtracting the second equation from this multiplied equation gives 0 = 3, which is never true. This is a contradiction. The two lines are parallel and distinct, so they never meet. The system is inconsistent and has no solution

One, None, or Infinitely Many: Line 1 Line 2
Algebraic resultMeaning for the linesNumber of solutions
A variable value, such as x = 3, followed by back-substitutionThe two lines cross at one pointOne solution
An identity, such as 0 = 0The equations describe the same lineInfinitely many; dependent
A contradiction, such as 0 = 3The lines are parallel and distinctNone; inconsistent

Vocabulary check: What does each result mean? In the lesson's examples, x = 3 leads to one intersection point after finding y; 0 = 0 identifies a dependent system with infinitely many solutions; 0 = 3 identifies an inconsistent system with no solution

Practice: classify three systems

Sort each system by its number of solutions: A: x - 2y = 4 and 3x - 6y = 12; B: 2x + 5y = 10 and 4x + 10y = 8; C: x + y = 3 and x - y = 1. The categories are one solution, infinitely many (dependent), and no solution (inconsistent)

System A has infinitely many solutions: multiplying its first equation by 3 produces its second equation, including the right-hand side. System B has no solution: multiplying its first equation by 2 produces 4x + 10y = 20, not 4x + 10y = 8. The matching left sides have incompatible right sides. System C has one solution: adding its equations cancels y and gives a single value of x, after which back-substitution determines y

From Story to System

Translate the ticket receipts

Return to the ticket problem. One receipt lists one football ticket and three basketball tickets for $39; the other lists two football tickets and one basketball ticket for $33. Define F as the price of one football ticket in dollars and B as the price of one basketball ticket in dollars

Translate each purchase into an equation. One football ticket contributes F and three basketball tickets contribute 3B, giving F + 3B = 39. Two football tickets contribute 2F and one basketball ticket contributes B, giving 2F + B = 33

Solve and check the story

Which method is convenient? B has coefficient 1 in the second equation, so isolate it: B = 33 - 2F. Substitute the whole expression into the first equation: F + 3(33 - 2F) = 39

Distribute: F + 99 - 6F = 39. Combine like terms: -5F + 99 = 39. Subtract 99 from both sides: -5F = -60. Divide by -5: F = 12. Back-substitute: B = 33 - 2(12) = 9

A football ticket costs $12 and a basketball ticket costs $9. Check against both receipts: 12 + 3(9) = 12 + 27 = 39 and 2(12) + 9 = 24 + 9 = 33. Both original totals match

Practice: build a juice-mixture system

A smoothie shop blends an 80% fruit-juice drink with a 20% fruit-juice drink to make 12 gallons of a 60% fruit-juice blend. Let x be the gallons of the 80% drink and y be the gallons of the 20% drink. Fill in the two equations: one for total gallons of drink and one for total gallons of pure juice

The equation choices are x + y = 12; 0.8x + 0.2y = 7.2; 0.8x + 0.2y = 12; x + y = 7.2; and 0.8x + 0.2y = 0.6

The correct system is x + y = 12 and 0.8x + 0.2y = 7.2. The first equation counts every gallon of drink. The second counts only pure juice: the two drinks contribute 0.8x and 0.2y gallons of juice, and the final blend contains 0.6(12) = 7.2 gallons of juice. Its right-hand side is neither the total 12 gallons of drink nor the fraction 0.6 alone. This task asks for the system, not its solution

Summary

Substitution: A variable with coefficient 1 or -1 is convenient to isolate. Substitute its whole equivalent expression, in parentheses, into the other equation

Elimination: Add equations to cancel opposite terms; subtract to cancel identical terms. If necessary, first multiply an entire equation, including both sides, to create a match

Read the result: In these systems, a variable value followed by back-substitution gives one solution. An identity such as 0 = 0 indicates a dependent system with infinitely many solutions on a shared line. A contradiction such as 0 = 3 indicates an inconsistent system with no solution

Word problems: Define each variable clearly, write an equation for each relevant fact, and solve using substitution or elimination. Keep track of what each equation counts, such as total drink versus pure juice

Finish and check: For a system with one solution, report the ordered pair (x, y), with x first. Check both values in both original equations, or check the quantities and units against the original story

Quiz

1. Substitution

Solve the system x - 2y = -1 and 3x + y = 11

Solve the system by substitution. Which ordered pair is the solution?

A

(3, 2)

B

(2, 3)

C

(-3, 2)

2. Elimination

Complete the elimination solution for 2x + y = 7 and 3x + 2y = 12. First multiply the first equation by 2 so the y terms match, then subtract the second equation. Choose the multiplied equation, either 4x + 2y = 14 or 4x + 2y = 7, and the final ordered pair, either (2, 3) or (3, 2)

The correct multiplied equation is 4x + 2y = 14: the 7 on the right must also be multiplied by 2. Subtracting the second equation gives (4x + 2y) - (3x + 2y) = 14 - 12, so x = 2. Back-substitute into 2x + y = 7 to obtain y = 3. The solution is (2, 3)

3. Interpret parallel lines

The two lines of a linear system are parallel and distinct: they have the same slant and a constant gap, so they never intersect. No equations or numerical axis values are supplied; the question concerns what this relationship means algebraically

Solving this system algebraically would end in which result?

A

A contradiction like 0 = 5: no solution (inconsistent)

B

An identity like 0 = 0: infinitely many solutions (dependent)

C

A value like x = 2: exactly one solution

Continue with the interactive lesson