Q.Find two positive numbers whose sum is 16 and the sum of whose cubes is minimum.
🔒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 →Concept understanding — Optimization Word Problem
Optimization Word Problems
Imagine planning a garden with 40 metres of fencing and wanting the largest rectangular area. A long, thin rectangle wastes space; a square feels roomier; somewhere in between lies the best shape. That is an optimisation problem — a fixed resource and a quantity to make as large (or as small) as possible.
Every optimisation word problem has the same skeleton: the best outcome — maximum area, minimum cost, largest volume, shortest time — under a constraint — limited material, a fixed budget, a given perimeter.
The Plan of Attack
The problem gives you a story, not a graph. Your job is to turn it into a single-variable function and find its peak or valley:
- Name the quantity to optimise — call it Q, and write it using variables.
- Find the constraint — a relation between those variables (e.g. "perimeter =40").
- Reduce to one variable — use the constraint to eliminate the rest.
- Differentiate — solve Q′(x)=0 to find the critical points.
- Confirm — use Q′′(x)<0 for a maximum or Q′′(x)>0 for a minimum.
- Answer the question asked — give the actual dimensions/cost, not just x.
In board exams these problems almost always reduce to a quadratic or cubic. Once Q(x) is written, the calculus is mechanical.
The Garden, Worked
40 m of fencing encloses a rectangle; maximise the area.
- Objective: A=lw.
- Constraint: 2l+2w=40, so l+w=20.
- Reduce: w=20−l, giving A(l)=l(20−l)=20l−l2.
- Differentiate: A′(l)=20−2l=0⟹l=10.
- Confirm: A′′(l)=−2<0, a maximum.
So l=w=10 m — a 10 m × 10 m square.
A common slip: solving A′(l)=0 and stopping. Always check max vs min, and answer in the units asked.
The Common Families
| Problem type | Typical objective | Typical constraint |
|--------------|-------------------|--------------------| …
Reduce to one variable, then minimise with calculus.
Step 1 — Substitute. Let the numbers be x and 16−x, with 0<x<16. Minimise
S(x)=x3+(16−x)3.
Step 2 — Differentiate and solve.
S′(x)=3x2−3(16−x)2=3[x2−(16−x)2]=3(2x−16)(16)=48(2x−16).
Set S′(x)=0⇒x=8. …
Writing the numbers as x and 16−x and minimising S=x3+(16−x)3 gives x=8; the two numbers are 8 and 8, with minimum sum of cubes 1024.
The idea
The two numbers add to a fixed total, so we express both in one variable and minimise the sum of cubes using the derivative — the standard single-variable optimisation.
Set up
Let one number be x; the other is 16−x, with 0<x<16. Then
S(x)=x3+(16−x)3.
Work the steps
- Differentiate (chain rule on the second term):
S′(x)=3x2+3(16−x)2⋅(−1)=3x2−3(16−x)2.
- Solve S′(x)=0: x2=(16−x)2⇒x2−(16−x)2=0. …
Method: Minimizing a Sum of Powers for a Fixed Total (Difference-of-Squares Shortcut)
This method handles "fixed sum, minimize (or maximize) the sum of like powers" problems, e.g. minimizing x3+y3 subject to x+y=S — the mirror image of the product-maximization family, using minimization instead.
Steps
Step 1: Reduce to one variable via the constraint
Let one number be x; the other is S−x. Write the quantity to be minimized as a single-variable function, e.g. Q(x)=x3+(S−x)3.
Step 2: Differentiate, applying the chain rule to the second term
Q′(x)=3x2−3(S−x)2
Step 3: Solve Q′(x)=0 using a difference-of-squares factoring, not expansion
x2−(S−x)2=(x−(S−x))(x+(S−x))=(2x−S)(S)
Since S=0, this reduces directly to 2x=S, i.e. x=S/2 — far simpler than multiplying out the cubes. …
Common Mistakes
Mistake 1: Expecting very unequal numbers to give the minimum
Why it's wrong: because this is a minimization (not maximization), a student who has seen the "equal numbers maximize the product" pattern may wrongly assume the opposite — that unequal numbers should minimize the sum of cubes. In fact, for a convex function like x3+(S−x)3 on positive reals, the equal split is exactly what minimizes the sum, the same x=S/2 location as the product-maximization case, but for a structurally different reason (convexity, not concavity). Correct approach: let the calculus (second derivative sign) decide max vs. min — don't rely on the pattern from the product problem.
Mistake 2: Expanding (S−x)2 fully instead of using the difference-of-squares shortcut …
- CBSE 2026Set ANNUAL1 markQ.(Continuing the aluminium-box case study of Q.38) What will be the dimensions of the largest box?
›Reveal solutionSolution
Substitute the optimal square side x=32 m (found by maximising the volume function) into the length, breadth and height expressions.
From the case study, cutting a square of side x from each corner of the 3 m×8 m sheet and folding up the sides gives a box of:
- Length =(8−2x) m
- Breadth =(3−2x) m
- Height =x m
Maximising V(x)=x(3−2x)(8−2x)=4x3−22x2+24x using V′(x)=12x2−44x+24=0 (i.e. 3x2−11x+6=0) gives roots x=3 or x=32. Since 0<x<1.5 is required for the box to be valid, the admissible root is x=32, and V′′(32)=−28<0 confirms this is the maximum.
Substituting x=32:
Length=8−2(32)=8−34=320 m …
- CBSE 2026Set ANNUAL1 markQ.(Continuing the aluminium-box case study of Q.38) What will be the side of the square removed to form the largest box?
›Reveal solutionSolution
The optimal square side is the critical point of the volume function that lies in the valid domain and satisfies the second-derivative maximum test.
For a square of side x removed from each corner of the 3 m×8 m sheet, the box volume is:
V(x)=x(3−2x)(8−2x)=4x3−22x2+24x,0<x<1.5
Differentiating and setting V′(x)=0:
V′(x)=12x2−44x+24=0⟹3x2−11x+6=0
x=611±121−72=611±7⟹x=3 or x=32
Since the breadth (3−2x) must stay positive, only x<1.5 is valid, so x=3 is rejected and x=32 is the only admissible critical point.
Confirming it is a maximum: …
- CBSE 2025Set ANNUAL1 markQ.A gardener plans to plant flowers in a rectangular flower bed in such a way that a rectangle is inscribed in the semi-circular field (as shown in the figure). Radius of the semi-circular field is 30 m. Let the length of the rectangle be PQ = x m. Based on above information answer the following: What will be the breadth of the rectangular flower bed in terms of x?
›Reveal solutionSolution
The rectangle's top corners lie on the semicircle of radius 30, so the Pythagorean relation between half the length and the breadth gives the breadth as a function of x.
Place the centre O of the semicircle at the origin, with the diameter along the x-axis. Since the rectangle PQRS is symmetric about O with top side PQ=x, the top corners P,Q are at horizontal distance x/2 from O. Let the breadth (height of the rectangle) be b. …
- CBSE 2025Set ANNUAL1 markQ.A gardener plans to plant flowers in a rectangular flower bed in such a way that a rectangle is inscribed in the semi-circular field (as shown in the figure). Radius of the semi-circular field is 30 m. Let the length of the rectangle be PQ = x m. Based on above information answer the following: What will be the area of rectangular region as a function of x?
›Reveal solutionSolution
Area = length × breadth, using the breadth found in terms of x.
The rectangle has length PQ=x and breadth b=900−x2/4 (from the semicircle constraint). So the area is …
- CBSE 2025Set ANNUAL1 markQ.A gardener plans to plant flowers in a rectangular flower bed in such a way that a rectangle is inscribed in the semi-circular field (as shown in the figure). Radius of the semi-circular field is 30 m. Let the length of the rectangle be PQ = x m. Based on above information answer the following: Gardener wants maximum area for the rectangular flower bed. For this to happen, what will be the value of x?
›Reveal solutionSolution
Maximize A(x)2 (equivalent and algebraically simpler) by setting its derivative to zero.
From A(x)=x900−x2/4, consider A2=x2(900−4x2)=900x2−4x4 (maximizing A2 maximizes A since A≥0).
dxd(A2)=1800x−x3=x(1800−x2)
Setting this to zero: x=0 (rejected, gives zero area) or x2=1800⇒x=1800=302.
…
- CBSE 2025Set ANNUAL1 markQ.A gardener plans to plant flowers in a rectangular flower bed in such a way that a rectangle is inscribed in the semi-circular field (as shown in the figure). Radius of the semi-circular field is 30 m. Let the length of the rectangle be PQ = x m. Based on above information answer the following: What will be the area of remaining field (in sq. m) after having the flower bed of maximum area?
›Reveal solutionSolution
Subtract the maximum rectangle area from the total semicircular field area.
Total area of the semicircular field: 21πr2=21π(30)2=450π sq. m.
At maximum, x=302, so breadth b=900−4(302)2=900−41800=900−450=450=152.
…
- CBSE 2024Set ANNUAL1 markQ.[Case study] Let a cone be inscribed in a sphere of radius R. The height and radius of the cone are h and r respectively; x denotes the distance from the sphere's centre O to the centre of the cone's base. Write the relation between r and R in terms of x.
›Reveal solutionSolution
r2=R2−x2.
From the figure, O is the sphere's centre, C is the centre of the cone's circular base, OC=x, CA=r (radius of the cone's base), and OA=R (a radius of the sphere, since A lies on the sphere).
…
- CBSE 2024Set ANNUAL1 markQ.[Case study, same setup as above — cone of height h, radius r inscribed in a sphere of radius R, with x the distance from the sphere's centre to the cone's base] Write the volume V of the cone in terms of R and x.
›Reveal solutionSolution
V=3π(R+x)2(R−x).
From the figure, the cone's height is h=R+x (from the base at C up to the apex D at the top of the sphere), and from the previous part, r2=R2−x2.
Volume of a cone: V=31πr2h. …
🎓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.