Sub topic 14
Two Unknowns, Two Equations
Assume you can solve linear equations, simplify fractions, and use basic algebraic notation. A system of equations is a set of equations that must all be true at the same time. GRE word problems often need a system when two quantities are unknown and the problem gives two independent relationships.
Define the variables first
Name each unknown and include its units. For example:
- Let \(x\) = the number of adult tickets.
- Let \(y\) = the number of student tickets.
Do not define both variables as vague quantities such as “the numbers.” Clear definitions make the equations easier to build and check.
A useful question is: What does each sentence say about \(x\) and \(y\)?
| Word-problem relationship | Algebraic translation |
|---|---|
| The total number is 42 | \(x+y=42\) |
| Adult tickets cost $8 and student tickets cost $5; total cost is $276 | \(8x+5y=276\) |
| \(x\) is 6 more than \(y\) | \(x=y+6\) |
Worked example: ticket sales
A theater sells adult tickets for $8 and student tickets for $5. It sells 42 tickets for a total of $276. How many adult tickets does it sell?
Let \(x\) be the number of adult tickets and \(y\) be the number of student tickets.
The ticket-count relationship is:
\[ x+y=42 \]
The cost relationship is:
\[ 8x+5y=276 \]
This is a system of two equations:
\[ \begin{cases} x+y=42\\ 8x+5y=276 \end{cases} \]
Solve by substitution
From the first equation:
\[ y=42-x \]
Substitute this expression for \(y\) in the second equation:
\[ 8x+5(42-x)=276 \]
\[ 8x+210-5x=276 \]
\[ 3x=66 \]
\[ x=22 \]
There are 22 adult tickets. Then:
\[ y=42-22=20 \]
There are 20 student tickets.
Check both original relationships:
- \(22+20=42\)
- \(8(22)+5(20)=176+100=276\)
The values satisfy both equations, so the answer is 22 adult tickets.
# Solve the ticket system without an external library.
total_tickets = 42
total_cost = 276
adult_price = 8
student_price = 5
# y = total_tickets - x
adult_tickets = (total_cost - student_price * total_tickets) // (adult_price - student_price)
student_tickets = total_tickets - adult_tickets
print(adult_tickets)
print(student_tickets)Choosing a method
Use substitution when one equation already gives a variable in a simple form, such as \(y=42-x\). Use elimination when adding or subtracting the equations can remove one variable quickly.
For GRE multiple-choice questions, you can also test answer choices in both relationships. A choice is correct only if it satisfies both equations.
Exercise
A farm has chickens and goats. There are 18 animals and 52 legs in total. How many goats are there? Let c be chickens and g be goats.
Show answer
The equations are c + g = 18 and 2c + 4g = 52. Since c = 18 - g, substitute to get 2(18 - g) + 4g = 52, so 2g = 16 and g = 8 goats.