Sub topic 6
Setting up equations from the wording
This chapter assumes you can solve linear equations and simple Diophantine conditions (integer-only solutions), and that you know ratios, percentages and the standard speed-time-work relations. It covers the step between reading a TITA question and starting to calculate: turning sentences into equations that you can solve and check.
TITA (Type In The Answer) questions have no options to test against. A wrong setup therefore gives you a confident, wrong number with nothing to warn you. Most lost marks in this question type come from the setup, not from the arithmetic.
From sentences to symbols
A word problem is a list of facts. Your job is to give each unknown a symbol and write each fact as one equation or inequality. Work in this order.
- Underline the quantity the question asks for. Decide whether it is one of your unknowns or must be computed from them.
- Name the unknowns with units: "x = marked price in rupees", not just "x".
- Write one relation per sentence. If a sentence holds two facts, write two relations.
- Count the relations against the unknowns. You need as many independent equations as unknowns, unless integrality or bounds supply the missing information (see the later chapter on integer conditions).
- Solve, then convert back to the quantity the question asked for.
A translation table
Most CAT phrasing falls into a small set of patterns. Learn these until they are automatic.
| Wording | Equation or expression |
|---|---|
| "A is 20% more than B" | A = 1.2B |
| "A is 20% less than B" | A = 0.8B |
| "B is 20% less than A" (note the base) | B = 0.8A |
| "A is twice B" | A = 2B |
| "A exceeds B by 5" | A = B + 5 |
| "A and B are in the ratio 3 : 4" | A = 3k, B = 4k |
| "A is 3 times as many as B" | A = 3B |
| "A is 3 times more than B" (usually read as) | A = 3B in most exam usage, but check the context |
| "x is a multiple of 7" | x = 7m, with m an integer |
| "x leaves remainder 3 on division by 5" | x = 5q + 3 |
| "Average of n numbers is m" | sum = nm |
| "Profit of 25% on cost" | SP = 1.25 CP |
| "Profit of 25% on selling price" | CP = 0.75 SP |
| "A can do the work in 12 days" | A's rate = 1/12 of the work per day |
The base of a percentage is the most common trap. In "A is 20% more than B", the base is B. In "B is 20% less than A", the base is A. Both A = 1.2B and B = 0.8A cannot hold together, because 0.8 × 1.2 = 0.96, not 1. Always ask "percent of what?" before writing the number.
Choosing the unknown well
You can often choose which quantity to call x. A good choice makes the other relations short.
- Pick the quantity that appears in most sentences.
- For ratios, use a common multiplier k instead of fractions of an unknown total.
- For "before and after" changes, let the original value be the unknown, since later values are expressed as multiples of it.
- For sums with a hidden total (such as work), set the total to a convenient number, often the LCM of the given times.
Consider this question. A shopkeeper marks an article 25% above cost and gives a discount of 10% on the marked price. If the profit is Rs 125, find the cost price.
Let the cost price be c.
- Marked price = 1.25c.
- Selling price = 0.9 × 1.25c = 1.125c.
- Profit = 1.125c − c = 0.125c = 125.
So c = 1000. The answer to enter is 1000. The check is quick: marked price 1250, selling price 1125, profit 125.
The setup here is a chain. Each phrase produces a multiplier applied to the previous quantity. Chains like this are safer than writing separate equations, because every multiplier has the previous result as its base.
Systems of equations
When several facts link several unknowns, you need a system. Two techniques keep the algebra small.
Reduce the number of unknowns first
Look for a relation that expresses one unknown directly. In this question, a number of pens and pencils is bought for Rs 100. A pen costs Rs 7 and a pencil costs Rs 3, and the number of pens is two more than the number of pencils. Find the number of pencils.
Let the pencils be p, so the pens are p + 2.
7(p + 2) + 3p = 100, which gives 10p + 14 = 100, so p = 8.6.
That is not an integer, so the data cannot be as read. Reread the wording. Suppose the total were Rs 104 instead. Then 10p + 14 = 104 and p = 9. The point is that a count must come out as a whole number. A non-integer result for a count signals a setup error or a misread number, and you should recheck before going further.
Keep totals and differences separate
Many problems give a sum and a difference, or a sum and a ratio. Write them as two lines and add or subtract them directly.
Example: two numbers have a sum of 50 and the larger is 6 more than the smaller. Write x + y = 50 and x − y = 6. Adding gives 2x = 56, so x = 28 and y = 22. You did not need to substitute at all.
Working with ratios and the multiplier k
If three quantities are in the ratio 2 : 3 : 5, write them as 2k, 3k, 5k. Every later fact becomes one equation in k.
Example: the ages of A, B and C are in the ratio 2 : 3 : 5 and their total is 80 years. Find the age of B in 5 years.
- 2k + 3k + 5k = 10k = 80, so k = 8.
- B is 24 now, so B in 5 years is 29.
Notice the last step. The unknown k is not the answer. The question asks for B after 5 years, and entering 24 would be a typical TITA slip. Write the target next to your working before you start, and check against it at the end.
When a ratio changes after an event, the multiplier changes too. "After adding 10 to each, the ratio becomes 3 : 4" gives (a + 10) : (b + 10) = 3 : 4, so 4(a + 10) = 3(b + 10). Cross-multiplying early avoids fractions.
Rate problems: one framework for work, speed and pipes
Work, speed and pipe problems share one form: quantity = rate × time. Write the rate for each agent, add rates when agents act together, and subtract them when they oppose each other.
Example: pipe A fills a tank in 12 hours and pipe B fills it in 18 hours. A drain C empties it in 36 hours. With all three open, how many hours does it take to fill the empty tank?
- Rates per hour: A = 1/12, B = 1/18, C = −1/36.
- Net rate = 1/12 + 1/18 − 1/36 = 3/36 + 2/36 − 1/36 = 4/36 = 1/9.
- Time = 9 hours.
You can check such a setup in code. The following script uses exact fractions, so it avoids rounding.
from fractions import Fraction
rate_a = Fraction(1, 12)
rate_b = Fraction(1, 18)
rate_c = Fraction(-1, 36)
net = rate_a + rate_b + rate_c
print(net) # 1/9
print(1 / net) # 9For speed problems, equate the quantity that stays fixed. If two trips cover the same distance, set speed₁ × time₁ = speed₂ × time₂. If two people travel for the same time, set their distances in the ratio of their speeds.
Mixture and percentage chains
For mixtures, write the amount of the pure component on each side. Pure quantity is conserved, even when total volume changes.
Example: 40 litres of a milk-water mixture is 25% water. How much water must be added so that water becomes 40% of the new mixture?
- Water now is 10 litres and milk is 30 litres.
- Milk is unchanged and will be 60% of the new total, so the new total is 30 / 0.6 = 50 litres.
- Water to add = 50 − 40 = 10 litres.
The setup works because you anchored on the component that does not change. Choosing the fixed component is usually the fastest route.
Integer unknowns and the equation count
Some TITA questions give fewer equations than unknowns and rely on integers. In that case the equation is a constraint, not a full solution. A later chapter develops this, but the setup rules are the same.
Example: find the number of positive integer solutions of x + y + z = 10. Setting this up as "distribute 10 identical units into 3 groups, each at least 1" gives the stars-and-bars count C(9, 2) = 36. You can confirm it by direct enumeration.
count = sum(1 for x in range(1, 10) for y in range(1, 10) for z in range(1, 10) if x + y + z == 10)
print(count) # 36The translation step matters here. "Positive" means each variable is at least 1. If the question said "non-negative", the count would be C(12, 2) = 66. The wording about the allowed values decides the formula.
Common setup errors
- Wrong base for a percentage. "A is 25% more than B" is not the same as "B is 25% less than A". Name the base each time.
- Answering the unknown, not the target. Solving for k or x and entering it, when the question asks for a derived quantity.
- Mixing units. Minutes with hours, or metres per second with kilometres per hour, inside one equation.
- Dropping a condition. Phrases such as "at least", "distinct", "different from" or "after 5 years" each add a constraint. Tick off every sentence once your equations are written.
- Treating "times more" loosely. If the wording is ambiguous, the numbers are usually designed so that one reading gives a clean answer. Use that as a tie-breaker only after reading the question again.
- Ignoring the count check. A fractional or negative answer for people, items or days points to a bad setup.
A routine you can run under time pressure
The diagram shows the loop. It adds one extra step compared with a typical solution: checking the answer against the wording rather than against your own equations.
On a real paper you will not draw this. The habit is to write the target at the top of your rough work, list the unknowns, and leave a line at the bottom for the wording check.
Another worked case: ages with a time shift
The father is 4 times as old as his son. In 6 years he will be 3 times as old as his son. Find the father's present age.
- Let the son's age be s, so the father's age is 4s.
- After 6 years: 4s + 6 = 3(s + 6).
- 4s + 6 = 3s + 18, so s = 12.
- The father is 4 × 12 = 48.
Check against the wording. In 6 years the son is 18 and the father is 54, and 54 = 3 × 18. The target was the father's present age, so the entry is 48, not 12.
A quick comparison of the unknown choices shows why s was better than f here. With f for the father, you would write f + 6 = 3(f/4 + 6), which has a fraction and invites an arithmetic slip. Both work, but the first leaves fewer places to go wrong.
Exercise
A trader sells an article at a 20% discount on the marked price and still makes a profit of 20% on cost. The marked price is Rs 600 more than the cost price. Find the cost price in rupees.
Show answer
Let the cost price be c. Then the marked price is c + 600. The selling price is 0.8(c + 600), and it equals 1.2c for a 20% profit. So 0.8c + 480 = 1.2c, which gives 0.4c = 480 and c = 1200. Check: marked price 1800, selling price 1440, and 1440 / 1200 = 1.2. Enter 1200.
Exercise
Two numbers are in the ratio 5 : 7. When 9 is added to each, the ratio becomes 8 : 10... Instead, use this version: when 6 is added to each, the new ratio is 4 : 5. Find the larger of the original numbers.
Show answer
Write the numbers as 5k and 7k. Then (5k + 6) : (7k + 6) = 4 : 5, so 5(5k + 6) = 4(7k + 6). This gives 25k + 30 = 28k + 24, so 3k = 6 and k = 2. The numbers are 10 and 14, and the larger is 14. Check: 16 : 20 = 4 : 5. Enter 14.
Exercise
Pipe A fills a tank in 10 hours and pipe B fills it in 15 hours. Both are opened together, but after 3 hours pipe A is closed. How many more hours does pipe B need to finish filling the tank?
Show answer
Rates per hour are 1/10 and 1/15. In 3 hours together they fill 3 × (1/10 + 1/15) = 3 × (1/6) = 1/2 of the tank. The remaining 1/2 is filled by B alone at 1/15 per hour, which takes (1/2) / (1/15) = 7.5 hours. Enter 7.5.