Sub topic 3
Mixtures as weighted averages of price, quantity and concentration
This chapter assumes you can work with fractions and percentages, simplify ratios, compute a simple average, and solve linear equations. It covers mixtures, the alligation rule, repeated replacement, and how to choose a method under CAT time limits.
Mixtures as weighted averages
A mixture's price, strength, or concentration is a weighted average of its parts. Each part counts in proportion to its quantity:
value = (q1*v1 + q2*v2) / (q1 + q2)
For example, 2 litres at 40 per litre mixed with 3 litres at 60 per litre gives (240 + 360)/5 = 52 per litre. The quantity ratio 2:3 acts as the weights.
The alligation rule and its cross-diagram
Alligation works backward. Given two component values and a target mean, it gives the quantity ratio directly:
cheaper : dearer = (dearer - mean) : (mean - cheaper)
With 40, 60 and a target of 52, the ratio is (60-52):(52-40) = 8:12 = 2:3.
Repeated removal and replacement
A container holds V litres of pure liquid. You remove x litres and refill with water, n times. The pure liquid left is:
V * (1 - x/V)^n
from fractions import Fraction
def pure_left(volume, drawn, times):
"""Pure liquid remaining after repeated draw-and-refill."""
return volume * (1 - Fraction(drawn, volume)) ** times
print(pure_left(40, 4, 2)) # 162/5, which is 32.4 litresChoosing a method and checking answers
- Use the weighted average when you know all quantities and prices.
- Use alligation when only the target mean and component values are given.
- Use the repeated-replacement formula when a fixed amount is removed and refilled.
Exercise
Exercise
Mix items priced 30 and 50 to reach an average of 38. What is the ratio of cheaper to dearer quantity?
Show answer
(50-38):(38-30) = 12:8 = 3:2, so the ratio is 3:2.