Mathematics · Article
Word problems, constraints and checking solutions
Turn a stated situation into equations by naming quantities, units and permitted values. Use the algebra already learned, check every original relationship and constraint, and distinguish an exact answer from an approximation or an impossible model.
Useful background article: Rational and radical equations
Back to MathematicsAfter reading, you can
- Read the whole question, declare variables with units and domains, and translate relationships rather than isolated keywords.
- Choose a familiar equation method, keep original restrictions and check all equations together with the context's constraints.
- Interpret the complete permitted solution set, recognise insufficient or contradictory information, and state the assumptions behind a model.
Identify what must be found and what is given
An equation application begins with a question about a situation. Before calculating, restate what must be found: a number of tickets, a pair of side lengths or a completion time. Separate the supplied data from the unknowns. Keep words such as exactly, at least, remaining and together, because each changes what an acceptable answer must satisfy.
Suppose an event sells 21 tickets at two prices and records its total receipts. The number 21 is the ticket total, not the money total; the question might ask for the count at each price. A labelled sketch or a small table can organise this information. Do not infer an extra discount, fee or ticket type unless the question supplies it. An equation should express the stated situation and any assumptions you explicitly choose.
Name each variable and its permitted values
Write a declaration before using a letter. For example, let a be the number of adult tickets and c the number of child tickets. Both a and c must be nonnegative integers: zero tickets of one type can be allowed, but a negative or fractional ticket count cannot. Distinguish this restriction from a positive length or a positive elapsed time, which need not be an integer.
When writing a numerical equation for measurements, specify the unit used for each value. If w is the numerical width in metres and L the numerical length in metres, the actual sides are w m and L m. The conditions are w > 0 and L > 0. If t is a completion time measured in hours, write t > 0. Record these domains before solving, so the algebraic answer is judged against the same problem throughout.
| Variable declaration | Context domain | What the restriction prevents |
|---|---|---|
| a: number of adult tickets | a is a nonnegative integer | Negative and fractional counts |
| w: width measured in metres | w > 0, real | Zero or negative side lengths |
| t: completion time measured in hours | t > 0, real | Zero or negative completion times |
Translate the complete phrase and preserve its order
Build an equation from the relationship between named quantities. If a length L is 3 metres more than a width w, with both expressed in metres, write L = w + 3. If L is 3 metres less than twice w, write L = 2w − 3. The whole phrase determines which quantity is doubled and which is reduced. The words less than do not mean that you may subtract in any order.
Read your equation back into words. For L = 2w − 3, first double the width, then subtract 3 metres to obtain the length. This is different from L = 2(w − 3), which doubles the width after subtracting 3 metres. Similarly, the difference of two quantities must identify their order, and an at-least condition becomes an inequality. Choosing an operation from a single word such as total can hide whether the total is given or is what you must find.
| Statement | Translation | Scope of the operation |
|---|---|---|
| L is 3 metres more than w | L = w + 3 | Add 3 to the width |
| L is 3 metres less than twice w | L = 2w − 3 | Subtract 3 after doubling |
| L is twice the quantity obtained by subtracting 3 metres from w | L = 2(w − 3) | Double the whole difference |
| L is at least 7 metres | L ≥ 7 | Seven is permitted |
Give each independent relationship its own equation
For adult tickets costing €8 and child tickets costing €5, the statement that exactly 21 tickets were sold gives a + c = 21. Receipts of exactly €135 give 8a + 5c = 135, with the amounts expressed in euros. The first equation counts tickets; the second adds their money contributions. Multiplying a ticket count by its price per ticket produces money, not another ticket count.
Both equations concern the same sale and must hold for the same pair (a, c). A solution of only one is not yet a solution of the system. You may instead use the single variable a and substitute c = 21 − a, giving 8a + 5(21 − a) = 135. Then the original count restrictions require a to be an integer from 0 to 21. This changes the representation of the model without changing its conditions.
Choose compatible units before substituting
An equality must compare the same kind of quantity on both sides. Add metres to metres or money to money; do not add a length directly to an area. For a rectangle with sides w m and (w + 3) m and area 40 m², the numerical area equation is w(w + 3) = 40 because the length values use metres and the area value uses square metres. If the given side difference were 300 cm, convert it to 3 m before forming this equation.
A rate also carries a unit. At a constant speed of 12 km/h for 35 minutes, first convert the time to 35/60 = 7/12 hour. Then distance is 12 × 7/12 = 7 km. Multiplying 12 by 35 would incorrectly treat minutes as hours. You could instead express the speed in kilometres per minute; either consistent choice gives the same distance. Check the unit as well as the number when returning to the question.
Choose a method from the simplified model
The situation determines the relationships; their algebraic form helps you choose a method already learned. A single linear equation can use equal operations on both sides. Two linear equations can use substitution or elimination. A positive-area rectangle with one side expressed using the other may produce a quadratic, solvable by factoring, completing the square or the quadratic formula. Collect and simplify terms before identifying the type.
A constant-rate work model can produce a rational equation. If two printers would finish the same divisible job alone in 6 hours and 9 hours, their rates are 1/6 and 1/9 of that job per hour. Assuming both begin together, keep their individual rates, do not duplicate work and have no pauses or shared bottleneck, the combined time t hours satisfies 1/6 + 1/9 = 1/t, with t > 0. Add the rates, not the completion times. For a model with variable denominators, keep every original denominator nonzero before clearing them; for square roots, retain the original real-domain and sign conditions.
Check each candidate in the original model and context
After solving, substitute every candidate into the original equations, not just a transformed equation. This matters especially after clearing denominators or squaring. An excluded denominator remains excluded even if a later expression cancels it. Squaring can also produce a candidate that fails the original sign condition. A successful substitution establishes that candidate; the solution method must also justify that every permitted possibility was considered.
Then test every context constraint, including those absent from the equations you solved. The ticket equations above have the unique real pair a = 10 and c = 11. The checks 10 + 11 = 21 and 8 × 10 + 5 × 11 = 135 both pass, and both counts are permitted. If the question also required at least 12 adult tickets, this same pair would fail that additional constraint. Because the original equations have no other real pair, the full constrained problem would then have no solution. Passing the equations alone does not establish context feasibility.
Rounding cannot repair an impossible exact count
Change the ticket receipts to exactly €136 while keeping 21 tickets and the two prices unchanged. Substituting c = 21 − a gives 8a + 5(21 − a) = 136, hence 3a = 31. The unique real pair is a = 31/3 and c = 32/3. It satisfies both numerical equations but neither value is an integer. Therefore the exact ticket problem has no solution in its permitted domain.
Rounding those counts to 10 and 11 preserves the ticket total but gives receipts 8 × 10 + 5 × 11 = 135, not 136. Rounding a measurement or a reported time can be appropriate when an approximation is requested; it cannot make a forbidden fractional count satisfy exact conditions. Keep fractions and radicals exact until the checks are complete, then state any requested approximation and its precision. Do not quietly replace exact given data with nearby values.
Determine whether the information fixes an answer
A rectangle's perimeter of 24 m gives 2x + 2y = 24, or x + y = 12, for positive side values x and y in metres. This information alone does not determine a unique rectangle. The pairs (5, 7) and (4, 8) both pass; more generally, every real x with 0 < x < 12 gives a permitted partner y = 12 − x. A further independent condition, such as an area or a side relationship, may narrow the possibilities.
Different wording can supply incompatible conditions rather than too few. If the same two ticket counts must satisfy both a + c = 21 and a + c = 22, subtracting the equations gives 0 = 1. No pair satisfies them together, even over the real numbers. Repeating a + c = 21 as 2a + 2c = 42 supplies no additional restriction. Decide whether the actual relationships are independent and compatible; the number of written equations alone does not guarantee a unique answer.
State the answer with its meaning and assumptions
Finish by answering what was asked, including the unit and all permitted alternatives. In the rectangle model w(w + 3) = 40, algebra gives w = 5 or w = −8. The positive-length domain admits only w = 5, so the sides are 5 m and 8 m. The rejected value does satisfy the numerical equation: (−8)(−5) = 40. It fails because those numbers cannot represent the specified positive side lengths, not because negative algebraic roots are always invalid.
A mathematically checked model gives a conclusion conditional on its data and assumptions. In a work problem, constant independent rates and freely divisible work must be stated; actual printers might pause, share a bottleneck or have setup time. An observed completion time could then differ without changing the algebra within the stated model. Distinguish given exact data, measured or rounded data and chosen assumptions. If the result is infeasible or the data do not determine one answer, say so instead of inventing an extra condition.
Compare equation solutions with context feasibility
The model offers six stated cases: the €135 ticket sale, the €136 sale with fractional algebraic counts, the rectangle with area 40 m², the two constant-rate printers, a rectangle whose only supplied condition is perimeter 24 m, and the €135 ticket sale with the extra requirement of at least 12 adult tickets. Choose a candidate independently of the case, then compare its original-equation checks with its domain and additional constraints.
A finite list of candidates is a way to inspect checks, not a description of every allowed real value. The perimeter-only rectangle has infinitely many positive real side pairs even though the controls can list only a few. The negative rectangle pair passes its numerical equation but fails the length domain; the noninteger ticket pair passes both equations but fails the count domain. Use the familiar algebraic method and the stated domain to establish the complete permitted set before interpreting what a selected candidate shows.
Check an answer against the story
Choose a situation and an exact candidate independently. Check the original model equations, the allowed quantities and any extra requirement separately.
Stated situation: A ticket seller reports 21 tickets and 135 currency units in receipts. Adult tickets cost 8 currency units each; child tickets cost 5. How many tickets of each type were sold?
Unknowns and units: a is the adult-ticket count and c is the child-ticket count. The first equation counts tickets; the second gives receipts in currency units.
Model assumptions: Assume every sold ticket is counted once, every ticket has exactly one of the two stated prices, and receipts include only these tickets, with no discounts, refunds or fees. Both reported totals are treated as exact.
Original model equations: a + c = 21; 8a + 5c = 135
Check the selected candidate
Stated situation: Ticket counts that fit. Original model equations: a + c = 21; 8a + 5c = 135. Selected candidate: a = 10, c = 11. All original model equations hold: Yes. All context restrictions hold: Yes. This candidate is feasible under all stated assumptions and requirements.
| Original equation | Evaluated left side | Required right side | Unit on both sides | Equality holds |
|---|---|---|---|---|
a + c = 21 | 21 | 21 | tickets | Yes |
8a + 5c = 135 | 135 | 135 | currency units | Yes |
| Restriction | Required condition | Condition for this candidate | Condition holds |
|---|---|---|---|
| Ticket counts cannot be negative | a ≥ 0; c ≥ 0 | 10 ≥ 0; 11 ≥ 0 | Yes |
| Each ticket count must be a whole number | a ∈ ℤ; c ∈ ℤ | 10 ∈ ℤ; 11 ∈ ℤ | Yes |
This situation states no additional requirement beyond its model equations and context restrictions.
Why the full answer is complete
Algebraic argument: (8a + 5c) − 5(a + c) = 135 − 105 ⇔ 3a = 30; c = 21 − a
Complete real solution set of the model equations: a = 10, c = 11
Complete solution set with all context restrictions and requirements: A finite solution set · a = 10, c = 11
Subtract five times the ticket-count equation from the receipts equation. The result 3a = 30 fixes a = 10; then c = 11. Every solution must have this pair, and it satisfies both original equations and the whole, nonnegative count restrictions.
Under the stated assumptions, the answer is 10 adult tickets and 11 child tickets.
| Selected candidate | All original model equations hold | All context restrictions hold | Candidate verdict |
|---|---|---|---|
| a = 10, c = 11 | Yes | Yes | This candidate is feasible under all stated assumptions and requirements. |
| Selected candidate | All original model equations hold | All context restrictions hold | Candidate verdict |
|---|---|---|---|
| a = 10, c = 11 | Yes | Yes | This candidate is feasible under all stated assumptions and requirements. |
| a = 31/3, c = 32/3 | No | No | This candidate fails at least one original model equation. |
| a = 11, c = 10 | No | Yes | This candidate fails at least one original model equation. |
| a = 12, c = 9 | No | Yes | This candidate fails at least one original model equation. |
| a = 21, c = 0 | No | Yes | This candidate fails at least one original model equation. |
| a = −1, c = 22 | No | No | This candidate fails at least one original model equation. |
The fractions, substitution results and comparisons are exact. Integer arithmetic evaluates rational expressions; a decimal approximation never decides whether an equation holds.
The six candidate checks alone do not prove a full solution set. The algebraic argument gives every real solution of the equations; applying all stated restrictions gives the complete contextual answer.
An answer can be correct for a stated model without proving that the model describes a real event. Measurements, prices, work rates and other assumptions must be checked against the actual situation before using the result.
Worked examples
Build and check a system from two totals
Exactly 21 tickets were sold. Each adult ticket cost €8 and each child ticket cost €5; total receipts were exactly €135, with no other ticket types, fees or discounts. Find the number of each type.
- Let a count adult tickets and c count child tickets. Both are nonnegative integers. The ticket total gives
a + c = 21; the money total gives8a + 5c = 135, in euros. - Multiply the first equation by 5 to get
5a + 5c = 105. Subtract this from the money equation:3a = 30, hence a = 10. - Substitute into the original count equation:
10 + c = 21, so c = 11. Elimination determines a uniquely, and this substitution determines c uniquely. - Check both originals:
10 + 11 = 21and8 × 10 + 5 × 11 = 135. Both values are nonnegative integers, so all stated conditions pass.
Ten adult tickets and eleven child tickets were sold.
Solve the quadratic and apply the length domain
A rectangle has area 40 m². Its length is 3 m more than its width. Find both side lengths.
- Let w be the numerical width in metres. The length is (w + 3) m, and the domain requires w > 0 and w + 3 > 0.
- Use the original area relation:
w(w + 3) = 40. Rearrange and factor:w² + 3w − 40 = 0, so(w − 5)(w + 8) = 0. - The complete real algebraic root set is w = 5 or w = −8. The root −8 would give sides −8 m and −5 m, violating positive lengths. Keep w = 5.
- Check both original conditions:
5 × 8 = 40square metres and8 − 5 = 3metres. Both sides are positive.
The width is 5 m and the length is 8 m.
Add rates and retain an exact completion time
Printer A would finish a job alone in 6 hours and printer B in 9 hours. Assume the same job can be divided freely, both start together, their rates remain constant and independent, and there are no pauses, duplicate work or shared bottlenecks. How long do they take together?
- Let t be their combined completion time in hours, with t > 0. The individual rates are 1/6 and 1/9 of the job per hour; the combined rate is 1/t of the job per hour.
- Translate the summed rates:
1/6 + 1/9 = 1/t. The original denominator requires t ≠ 0. Multiplying the complete equation by the permitted nonzero quantity 18t gives3t + 2t = 18. - Solve
5t = 18to obtain the exact timet = 18/5hour. Convert its fractional hour:(3/5) × 60 = 36minutes, so the time is 3 hours 36 minutes. - Original check:
1/6 + 1/9 = 5/18 = 1/(18/5). In this time A completes3/5of the job and B completes2/5, summing to one full job. The time is positive and shorter than either individual time.
Under the stated assumptions, they finish in exactly 18/5 hours, or 3 hours 36 minutes.
Try it yourself
A ribbon is 4 cm less than twice a cord's length. The cord is 9 cm long. Let r and c be their numerical lengths in centimetres. Write the relationship and find r. Would
r = 2(c − 4)express the same statement?Show the answer and reasoning
r = 2c − 4, giving r = 14: the ribbon is 14 cm long.2(c − 4)is a different relationship.Twice the cord's length is 18 cm; subtract 4 cm to obtain 14 cm. The bracketed expression subtracts 4 first and then doubles, giving 10 cm. Reading back the whole expression catches the difference.
A conveyor moves at a constant 18 metres per minute for 40 seconds. How far does it move? Declare the elapsed-time unit and check the result.
Show the answer and reasoning
12 metres.
Let t be the elapsed time in minutes:
t = 40/60 = 2/3. Then distance is18 × 2/3 = 12m. The alternative consistent rate is18/60 = 3/10m/s, giving3/10 × 40 = 12m. Using 18 × 40 without conversion would treat seconds as minutes.Exactly 21 tickets cost €8 each for adults and €5 each for children, with no other amounts. Can total receipts be exactly €136? Find the real algebraic pair, then explain whether rounding supplies a solution.
Show the answer and reasoning
The real pair is
a = 31/3,c = 32/3; there is no permitted whole-ticket solution, and rounding cannot repair it.From
a + c = 21and8a + 5c = 136, subtract five times the first equation:3a = 31. Both real values are nonintegers. Rounding to (10, 11) produces €135, so it fails the exact money equation even though it keeps 21 tickets.Use the ticket equations
a + c = 21and8a + 5c = 135, with nonnegative integer counts. If at least 12 adult tickets are also required, does the complete problem have a solution?Show the answer and reasoning
No. The unique equation solution is a = 10, c = 11, and it fails a ≥ 12.
Subtract five times the count equation from the money equation to get
3a = 30, hence (10, 11). It passes the original totals and count domain, but not the extra minimum. The unique real equation pair leaves no alternative that could satisfy all conditions.A rectangle has area 24 m² and length 2 m more than width. Find all real roots of the numerical area equation, then give the permitted sides.
Show the answer and reasoning
The real roots for width are 4 and −6. The permitted width is 4 m and length is 6 m.
With width w m,
w(w + 2) = 24becomes(w − 4)(w + 6) = 0. The negative root gives negative sides and is rejected by the domain. The permitted pair checks both4 × 6 = 24square metres and6 − 4 = 2metres.One machine finishes a freely divisible job in 4 hours and another in 12 hours. Under constant independent rates, simultaneous starts and no pauses or shared bottleneck, write the rational equation for their time together, solve it and check the original.
Show the answer and reasoning
For t > 0 in hours,
1/4 + 1/12 = 1/t; the completion time is exactly 3 hours.The left side is 1/3 job per hour, so 1/t = 1/3 and t = 3. The original denominator is nonzero. In 3 hours the machines finish 3/4 and 1/4 of the job, totalling one. Adding the individual completion times would not model their simultaneous work.
Positive real side lengths x m and y m satisfy
x + y = 12. Does adding2x + 2y = 24determine one pair? What if the added condition is insteadx + y = 13?Show the answer and reasoning
The first addition still permits infinitely many pairs:
0 < x < 12,y = 12 − x. The second addition is contradictory and permits no pair.The first added equation repeats the original relationship after multiplication by 2; pairs (5, 7) and (4, 8) both pass. Subtracting
x + y = 12fromx + y = 13instead gives0 = 1, so those two conditions cannot hold together.
What to carry forward
- Read the complete question; distinguish given data, unknowns and every exact or inequality constraint.
- Declare each variable's meaning, unit and domain before writing equations.
- Translate whole relationships and check the order and scope of operations by reading them back into words.
- Use consistent units and familiar algebra, preserving original denominator and square-root restrictions.
- Check every candidate in all original equations and all context constraints; justify that the full permitted set was considered.
- Keep exact values through the checks: rounding cannot make a fractional count solve an exact whole-object problem.
- State a meaningful answer with units and assumptions, including when data are insufficient or no solution is feasible.
References
Sources for the concepts and teaching approaches in this article.
Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis · OpenStax, Rice University3 sources
- Elementary Algebra 2e · 3.1 Use a Problem-Solving StrategyLynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis · OpenStax, Rice UniversityTextbook chapter
- Elementary Algebra 2e · 5.5 Solve Mixture Applications with Systems of EquationsLynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis · OpenStax, Rice UniversityTextbook chapter
- Elementary Algebra 2e · 8.8 Solve Uniform Motion and Work ApplicationsLynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis · OpenStax, Rice UniversityTextbook chapter