Skip to content
Worked Examples · Example 22

Q.Find two positive numbers whose sum is 1515 and the sum of whose squares is minimum.

Punjab PsebTextbookSubjective· 5mImportance★★★★★
46% · 87/188 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Writing the sum of squares as S(x)=x2+(15−x)2S(x)=x^2+(15-x)^2 and minimising gives x=7.5x=7.5, so both numbers are 7.57.5 and the least sum of squares is 112.5112.5.

Set up in one variable

Let the two positive numbers be xx and 15−x15-x (their sum is 1515), where 0<x<150<x<15. The quantity to minimise is the sum of their squares:

S(x)=x2+(15−x)2.S(x)=x^2+(15-x)^2.

Expanding,

S(x)=x2+225−30x+x2=2x2−30x+225.S(x)=x^2+225-30x+x^2=2x^2-30x+225.

Because we used the constraint x+(15−x)=15x+(15-x)=15 to eliminate the second number, this is now a single-variable function — ordinary calculus finishes the job.

Minimise

Differentiate:

S′(x)=4x−30.S'(x)=4x-30.

Set S′(x)=0S'(x)=0:

4x−30=0 ⇒ x=304=7.5.4x-30=0\ \Rightarrow\ x=\frac{30}{4}=7.5.

Check the nature of this point:

S′′(x)=4>0,S''(x)=4>0,

so SS is minimised (the graph is an upward parabola). The value x=7.5x=7.5 is positive and less than 1515, so it is valid.

Answer the question …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.