Q.A metal box with a square base and vertical sides is to contain 1024 cm3. The material for the top and bottom costs Rs 5/cm2 and the material for the sides costs Rs 2.50/cm2. Find the least cost of the box.
🔒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 |
|--------------|-------------------|--------------------| …
Concept: Optimization Word Problem — minimize cost given a fixed volume constraint.
Let the side of the square base be x cm and the height be h cm.
Volume: x2h=1024⇒h=x21024.
Cost function:
Top + bottom area = 2x2, cost at Rs 5/cm² → 10x2.
Four sides area = 4xh, cost at Rs 2.50/cm² → 10xh.
So total cost C=10x2+10x⋅x21024=10x2+x10240.
Differentiate: C′(x)=20x−x210240. Set C′(x)=0: …
This is a classic optimization problem: minimize cost given a fixed volume. The least cost is Rs 1920, achieved when the square base has side length 8 cm and height 16 cm.
We have a box with a square base. Let the side of the square base be x cm and the height be h cm. The volume is fixed at 1024 cm3, so:
x2h=1024⇒h=x21024
The cost has two parts: top and bottom (area 2x2 at Rs 5/cm2) and the four sides (area 4xh at Rs 2.50/cm2). So the total cost C in rupees is:
C=5(2x2)+2.50(4xh)=10x2+10xh
Substitute h:
C(x)=10x2+10x⋅x21024=10x2+x10240
We need to minimize C(x) for x>0.
- Find the derivative Differentiate C(x) with respect to x:
C′(x)=20x−x210240
- Set derivative to zero
20x−x210240=0⇒20x=x210240
Multiply both sides by x2:
20x3=10240⇒x3=512⇒x=8
- Verify it's a minimum The second derivative is:
C′′(x)=20+x320480
At x=8, C′′(8)=20+51220480=20+40=60>0, so it's a local minimum. Since C(x)→∞ as x→0+ and as x→∞, this is the global minimum.
- Find the height and cost h=821024=641024=16 cm …
Method: Minimizing Total Cost Under a Fixed-Volume Constraint
This technique applies to any "container" problem where the volume is fixed and you must minimize the material cost (or surface area) — the classic box/can/tank family of optimization problems.
Steps
Step 1: Name the container's dimensions and write the volume constraint.
Assign a variable to each independent dimension (for a box with a square base, one side length x and a height h are enough). Write the fixed volume as an equation in these variables, e.g.
x2h=Vfixed.
Step 2: Solve the constraint for one variable, so only one is left free.
Make the "harder to eliminate" variable (usually the height, which appears linearly) the subject:
h=x2Vfixed.
Step 3: Write the total cost (or surface area) as a function of the remaining variable.
Identify every distinct surface (top+bottom, the four sides, etc.), multiply each area by its own per-unit rate, add them, then substitute Step 2's expression so the cost depends on a single variable:
C(x)=(top+bottom rate)⋅(top+bottom area)+(side rate)⋅(side area).
Step 4: Differentiate and solve C′(x)=0. …
Common Mistakes
Mistake 1: Forgetting the box has TWO faces (top and bottom), not one
Why it's wrong: The top and bottom are each a square of area x2, so their combined material costs 5(2x2)=10x2, not 5x2. A student who only counts one square face undercounts the top/bottom cost by half. Correct approach: always count all six faces explicitly — 2 faces of area x2 and 4 faces of area xh — before multiplying by the rate.
Mistake 2: Forgetting the box has FOUR side faces, not one
Why it's wrong: The four vertical sides each have area xh, so their total cost is 2.50(4xh)=10xh, not 2.50(xh). Missing the factor of 4 gives a cost function that is off by a large constant multiple and leads to the wrong critical value of x. Correct approach: write total side area as 4xh before applying the per-cm2 rate.
Mistake 3: Solving C′(x)=0 and stopping, without confirming it's a minimum …
- 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.