Sub topic 12
Same Selling Price, One Gain and One Loss
This chapter assumes you can use the multiplier method (a gain of 20% means multiplying by 1.2) and can solve a one-variable linear equation. You should also know that profit and loss percentages are measured on cost price, as covered earlier in this tutorial.
The question pattern
A trader sells two articles at the same selling price. On one article she gains x%. On the other she loses x%. Does she break even?
Most people say yes, because the gain and the loss look equal. She actually makes a loss, because the two percentages apply to different bases. The gain is measured on the cheaper article's cost price. The loss is measured on the dearer article's cost price. The same percentage of a larger base is a larger rupee amount.
Working from selling price back to cost price
Every percentage is measured on cost price (CP), but this problem gives you the selling price (SP). So you recover each CP first.
- A gain of 20% means SP = 1.2 × CP, so CP = SP / 1.2.
- A loss of 20% means SP = 0.8 × CP, so CP = SP / 0.8.
Suppose each article sells for 1,200.
- Gain article: CP = 1200 / 1.2 = 1,000.
- Loss article: CP = 1200 / 0.8 = 1,500.
- Total CP = 2,500 and total SP = 2,400.
- Net loss = 100, which is 100 / 2500 = 4% of the total cost.
Do not compute the CP of the loss article as 1200 × 1.2. That treats the 20% as if it were taken on the selling price, and it gives the wrong base.
The shortcut: loss of x² / 100 percent
Write the percentage as a decimal a, so 20% is a = 0.2. Let the common selling price be S.
- Cost of the gain article: S / (1 + a)
- Cost of the loss article: S / (1 − a)
The two costs add up to
S × [1/(1 + a) + 1/(1 − a)] = S × 2 / (1 − a²).
The total selling price is 2S. The net loss is therefore
2S / (1 − a²) − 2S = 2S × a² / (1 − a²).
Divide by the total cost 2S / (1 − a²). The loss percentage is a². With x as a percentage, the net loss is
x² / 100 percent of the total cost price.
For x = 20, the loss is 400 / 100 = 4%, which matches the worked example. For x = 10, the loss is 1%.
Three facts follow from the formula.
- The result is always a loss, because x² is positive for any x ≠ 0.
- The selling price S cancels out, so the loss percentage does not depend on it.
- The formula works only when both percentages are equal and both SPs are equal.
Checking with code
The function below handles unequal percentages too. It uses exact fractions, so there are no rounding errors.
from fractions import Fraction
def net_result(sp, gain_pct, loss_pct):
"""Two articles sold at the same price sp.
One gains gain_pct percent, the other loses loss_pct percent.
Returns (cost of gain article, cost of loss article,
net profit (negative means loss), net profit as % of total cost)."""
cp_gain = Fraction(sp) / (1 + Fraction(gain_pct, 100))
cp_loss = Fraction(sp) / (1 - Fraction(loss_pct, 100))
total_cp = cp_gain + cp_loss
net = 2 * Fraction(sp) - total_cp
return cp_gain, cp_loss, net, net / total_cp * 100
print(*net_result(1200, 20, 20))
# 1000 1500 -100 -4The output shows costs of 1,000 and 1,500, a net result of −100, and a net percentage of −4. The loss is 4% of total cost, as the formula predicts.
When the percentages differ
Let the gain be p and the loss be q, both as decimals. The costs are S / (1 + p) and S / (1 − q). The trader breaks even when the total cost equals 2S:
1/(1 + p) + 1/(1 − q) = 2.
Clearing the denominators and simplifying gives
p − q = 2pq.
So for a given loss q, break-even needs a gain of p = q / (1 − 2q). The gain must be larger than the loss, which is what you would expect, since the gain is earned on a cheaper article.
For q = 20%, p = 0.2 / 0.6 = 33⅓%. Test it with the function:
from fractions import Fraction
def net_result(sp, gain_pct, loss_pct):
cp_gain = Fraction(sp) / (1 + Fraction(gain_pct, 100))
cp_loss = Fraction(sp) / (1 - Fraction(loss_pct, 100))
total_cp = cp_gain + cp_loss
net = 2 * Fraction(sp) - total_cp
return cp_gain, cp_loss, net, net / total_cp * 100
# Gain of 33 1/3 percent on one article, loss of 20 percent on the other
print(*net_result(600, Fraction(100, 3), 20))
# 450 750 0 0The costs are 450 and 750. Their sum, 1,200, equals the total selling price of 2 × 600, so the net result is 0.
Related setups to tell apart
CAT writes this pattern in several ways. Identify which one you have before applying the shortcut.
| Setup | What is equal | Net result |
|---|---|---|
| Same SP, gain x% and loss x% | SP and percentage | Loss of x² / 100 % of total CP |
| Same CP, gain x% and loss x% | CP and percentage | Break even, since the gain and loss are on the same base |
| Same SP, gain p% and loss q% | SP only | Compute each CP, then compare totals |
| Total SP given, gain x% on one and loss x% on the other | Percentage only | Not enough information alone. Need the split of CP or SP |
The second row is the trap's mirror image. If the two articles cost the same and one gains 20% while the other loses 20%, the gain and the loss are 20% of the same number. They cancel exactly.
Finding the loss in rupees
Questions often ask for the loss in money, not in percent. Use the percentage result and the total cost.
Suppose two articles are sold at 1,500 each, one at a 25% gain and one at a 25% loss. The percentage loss is 625 / 100 = 6.25% of total cost.
- Cost of the gain article: 1500 / 1.25 = 1,200.
- Cost of the loss article: 1500 / 0.75 = 2,000.
- Total cost = 3,200 and total SP = 3,000.
- Loss = 200, which is 200 / 3200 = 6.25% of total cost.
The percentage is on total cost, not on total selling price. Here 200 / 3000 would give 6.67%, which is a different answer and is usually one of the CAT answer options.
Common mistakes
- Treating the gain and loss as cancelling. They cancel only when the base is the same, and here the bases differ.
- Using SP as the base. Profit and loss percentages are on cost price unless the question says otherwise.
- Applying the shortcut when the SPs differ. The derivation needs a common selling price.
- Applying the shortcut when the percentages differ. Then S cancels no longer works neatly, and you must find each CP.
- Dividing the loss by the wrong total. Use total cost for the percentage, as the question almost always asks for overall loss on the whole transaction.
Exercises
Exercise
A shopkeeper sells two radios at 2,400 each. On one he gains 20% and on the other he loses 20%. Find the net result in rupees and as a percentage of total cost.
Show answer
Cost of the gain radio = 2400 / 1.2 = 2,000. Cost of the loss radio = 2400 / 0.8 = 3,000. Total cost = 5,000 and total SP = 4,800, so the loss is 200. As a percentage of total cost, 200 / 5000 = 4%, which matches 20² / 100 = 4%.
Exercise
Two articles are sold at the same price. One is sold at a 40% gain and the other at a 10% loss. Is the overall result a gain, a loss or break-even? Take the common selling price as 1,260.
Show answer
Cost of the gain article = 1260 / 1.4 = 900. Cost of the loss article = 1260 / 0.9 = 1,400. Total cost = 2,300 and total SP = 2,520. The net result is a gain of 220, which is 220 / 2300 = about 9.57% of total cost. Check with the break-even rule: for a 10% loss, break-even needs a gain of 0.1 / 0.8 = 12.5%. A gain of 40% is far above that, so the overall result is a gain.
Exercise
Two cows are sold at the same price. One is sold at a loss of 10% and the other at a gain of 10%. The overall loss is 40. Find the common selling price.
Show answer
The percentage loss is 10² / 100 = 1% of total cost. Total cost = 40 / 0.01 = 4,000. Total SP = 4000 − 40 = 3,960, so each cow sells for 1,980. Check: costs are 1980 / 1.1 = 1,800 and 1980 / 0.9 = 2,200. These total 4,000, as required.