The new average price is the weighted mean of the two prices, with the grams as weights. Working in thousands of rupees per gram:
New average=1+q1×15+q×p
Here q grams are bought at price p. The new average always lies between 15 and p, closer to whichever has more grams.
(i) 1+11×15+1×30=245=22.5, so ₹22.5k per gram, exactly halfway between 15 and 30 (equal weights).
(ii) 1+21×15+2×30=375=25, so ₹25k per gram, closer to 30 because more gold was bought at ₹30k.
(iii) 1+11×15+1×10=225=12.5, so ₹12.5k per gram, halfway between 10 and 15.
(iv) 1+101×15+10×10=11115≈10.45, so about ₹10.45k per gram, very close to 10 because 10 g carries much more weight than 1 g.
(v) 1+0.51×15+0.5×30=1.530=20, so ₹20k per gram, only one-third of the way from 15 to 30 because just 0.5 g was bought.
(vi) 1+0.51×15+0.5×15=1.522.5=15, so the average stays at ₹15k per gram (point O), because the new gold costs the same as the average.
