Sub topic 15
Setting up equations and working backwards
This chapter assumes you can use the multiplier method for percentage changes, know the profit and discount formulas, and can solve a linear equation in one variable. Here you turn a wordy CAT problem into one equation, solve it, and check the result.
Why equations help
Many problems give you a final figure and ask for something earlier in the chain, such as the cost price, the marked price, or the original quantity. You can often solve these by inspection. Once a problem has two unknowns, a partial sale, or a mix of bases, a written equation is faster and less error-prone than juggling numbers mentally.
The method has four steps:
- Pick one unknown, and make it the quantity that is the base of most percentages in the problem.
- Write every other quantity as a multiple of that unknown, using multipliers.
- State the one fact the problem gives you as an equation.
- Solve, then substitute the answer back into the story to check it.
Step 1: Choose the base as the unknown
Profit and loss percentages are on cost price unless the problem says otherwise. Discounts are on marked price. So the usual choice is to let the cost price be the unknown, and write the marked price and selling price as multiples of it.
Watch for phrases that change the base:
| Phrase | Base | Relationship |
|---|---|---|
| Profit of 20% | Cost price | SP = 1.2 × CP |
| Profit of 20% of the selling price | Selling price | CP = 0.8 × SP |
| Marked 30% above cost | Cost price | MP = 1.3 × CP |
| Discount of 10% | Marked price | SP = 0.9 × MP |
| Price rises by 25%, so consumption falls by x% | New price for the fall | x = 25/125 × 100 |
If the base is not stated, the safest reading is the original or starting value. If the problem names a different base, write that relationship out before doing anything else.
Step 2: One unknown, one equation
Example 1. A shopkeeper marks an article 30% above its cost price and then gives a 10% discount. He makes a profit of Rs 170. Find the cost price.
Let the cost price be c. The marked price is 1.3c. The selling price is 0.9 × 1.3c = 1.17c. The profit is 1.17c − c = 0.17c, and this equals 170.
c = 170 / 0.17 = 1000. The cost price is Rs 1000.
Check: MP = 1300, SP = 1170, and the profit is 170. Correct.
Example 2: two quantities tied by a difference. The marked price of an article is Rs 200 more than its cost price. A 10% discount on the marked price gives a profit of 8%. Find the cost price.
Let the cost price be c. The marked price is c + 200. Then:
0.9(c + 200) = 1.08c 0.9c + 180 = 1.08c 180 = 0.18c c = 1000
Here the problem gives a rupee difference, so you cannot use a single multiplier on c. Write the marked price with the unknown plus the constant, and let the equation do the rest. You can verify this in code:
from fractions import Fraction
c = Fraction(1000)
mp = c + 200
sp = mp * Fraction(90, 100)
print(sp, (sp - c) / c * 100) # 1080 8Step 3: Working backwards
When the final figure is given and the start is unknown, divide by the combined multiplier. Do not subtract percentages from the final figure, because the percentages applied to the original, not to the final value.
Example 3. After a 20% discount and then a further 10% discount on the reduced price, a jacket costs Rs 1440. Find the original price.
The combined multiplier is 0.8 × 0.9 = 0.72, so the original price is 1440 / 0.72 = 2000.
The same idea works for any chain, such as a supply chain in which each seller adds a percentage margin.
Example 4. A sells to B at a 20% profit, and B sells to C at a 25% profit. C pays Rs 3000. Find A's cost price.
The chain is 1.2 × 1.25 = 1.5. A's cost price is 3000 / 1.5 = 2000.
A small function covers both cases:
from fractions import Fraction
def original(final, *pcts):
factor = Fraction(1)
for p in pcts:
factor *= 1 + Fraction(p, 100)
return Fraction(final) / factor
print(original(1440, -20, -10)) # 2000
print(original(3000, 20, 25)) # 2000The sign carries the direction: a discount is negative and a markup is positive.
Step 4: Partial sales
Partial-sale problems need a total. Choose a convenient total cost, then write the revenue from each part.
Example 5. A trader sells 60% of his goods at a 10% profit. At what loss percentage must he sell the rest to break even overall?
Take the total cost as 100. The first part costs 60 and sells at 60 × 1.1 = 66, a gain of 6. The remaining part costs 40, so to break even it must lose 6. The loss percentage is 6/40 × 100 = 15%.
Note that the 15% is measured on the cost of the remaining part, which is 40. It is not measured on the total.
Example 6. A trader buys 90 kg of rice at Rs 10 per kg. He sells one third of it at a 20% loss. At what profit percentage must he sell the rest to make 10% overall?
- Total cost is 900, so the target revenue is 990.
- One third is 30 kg, sold at 10 × 0.8 = 8 per kg, which brings in 240.
- The remaining 60 kg must bring in 990 − 240 = 750, so the price is 12.5 per kg.
- The profit on that part is (12.5 − 10) / 10 × 100 = 25%.
This is the same weighted-average idea written as an equation: 240 + 60p = 990, where p is the selling price per kg of the rest.
Step 5: Check before moving on
Always substitute your answer into the story. Three quick checks catch most errors:
- Direction. A profit must give a selling price above cost, and a discount must give a price below the marked price.
- Size. Does the answer fit the answer options? CAT options are often spaced so that a wrong base gives a different option.
- Base. Recompute each stated percentage from your numbers, using the base the problem names.
Common errors
- Subtracting instead of dividing. If a final price is after a 20% rise, the original is final / 1.2, not final × 0.8. The two differ unless the rise is tiny.
- Applying a discount to cost. Discount is on marked price. Write MP first.
- Giving a profit percentage on the wrong part. In partial sales, report the percentage on the part it applies to.
- Forgetting the constant. If a rupee difference is given, add it directly. Do not convert it into a percentage unless you know the base.
- Mixing a base change mid-problem. If the problem says profit is on the selling price, rewrite the cost price as a multiple of the selling price before using any other formula.
Exercise
A shopkeeper marks goods 40% above cost, then allows a discount of 15%. If his profit is Rs 190, what is the cost price?
Show answer
Let the cost price be c. The marked price is 1.4c and the selling price is 0.85 × 1.4c = 1.19c. The profit is 0.19c = 190, so c = 1000. The cost price is Rs 1000.
Exercise
A trader sells half of his stock at a 30% profit and the other half at a 10% loss, each measured on that half's cost. The two halves cost the same. What is his overall profit percentage, and what is his total profit if the whole stock cost Rs 4000?
Show answer
Each half costs Rs 2000. The profit on the first half is 30% of 2000 = 600. The loss on the second half is 10% of 2000 = 200. The net profit is 400, which is 400/4000 × 100 = 10%. The total profit is Rs 400.
Exercise
After a 25% rise in price and then a 20% fall in the new price, an item costs Rs 3600. What was the original price?
Show answer
The combined multiplier is 1.25 × 0.8 = 1.0. The original price is 3600 / 1 = Rs 3600. The two changes cancel exactly, so the price ends where it began.