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 …
Showing the 12 most recent of 19 on this concept.
- AP EAPCET 2021Set eng-2021-10-05-FN1 markMCQQ.From a rectangular sheet having dimensions 30 cm×80 cm, four equal squares of side x cm are cut at each corner. The remaining sides of the rectangle are folded up vertically so as to form an open rectangular box. Find the value of 'x' for which the volume of the box formed is maximum. (A) x=30 cm (B) x=20 cm (C) x=320 cm (D) x=15 cm
›Reveal solutionSolution
Express box volume as a function of the cut-square side x, maximize with calculus, and discard the root that isn't physically valid. The answer is (C).
Concept and Intuition
Cutting squares of side x from each corner and folding up gives a box of dimensions (30−2x)×(80−2x)×x. The volume is a cubic in x with two critical points; physically x must be less than half the shorter side (15 cm), which rules out one root.
Step-by-Step Solution
- V(x)=x(30−2x)(80−2x).
- Expand: (30−2x)(80−2x)=2400−60x−160x+4x2=2400−220x+4x2.
- V(x)=2400x−220x2+4x3.
- V′(x)=2400−440x+12x2. Set to 0: 12x2−440x+2400=0⇒3x2−110x+600=0.
- x=6110±1102−4(3)(600)=6110±12100−7200=6110±70, giving x=30 or x=320. …
- AP EAPCET 2022Set eng-2022-07-04-AN1 markMCQQ.A closed cylinder of given volume will have least surface area when the ratio of its height and base radius is (A) 2:1 (B) 1:2 (C) 2:3 (D) 3:2
›Reveal solutionSolution
Minimising the total surface area of a closed cylinder for a fixed volume, via ordinary calculus, gives the classic result h=2r, i.e. height-to-radius ratio 2:1.
Concept and Intuition
This is a standard optimisation problem: express the surface area as a function of one variable (using the volume constraint to eliminate the other), then find where its derivative vanishes.
Step-by-Step Solution
- Volume constraint: V=πr2h⇒h=πr2V.
- Total surface area (closed cylinder, both circular ends included): S=2πr2+2πrh.
- Substitute h: S=2πr2+2πr⋅πr2V=2πr2+r2V.
- Differentiate with respect to r: drdS=4πr−r22V.
- Set to zero: 4πr=r22V⇒4πr3=2V⇒r3=2πV.
- Since V=πr2h: r3=2ππr2h=2r2h⇒r=2h⇒h=2r. …
- AP EAPCET 2023Set eng-2023-05-16-FN1 markMCQQ.Given that the solid obtained by rotating a rectangle about one of its side is a cylinder. If the perimeter of a rectangle is 48 cm and the volume of the cylinder formed by rotating it is maximum, then the dimensions of that rectangle is (A) 14, 10 (B) 20, 4 (C) 18, 6 (D) 8, 16
›Reveal solutionSolution
Maximise V=πr2h subject to 2(r+h)=48; the optimum rectangle is 8×16.
Concept and Intuition
Rotating a rectangle about one of its sides sweeps the opposite side around in a circle, producing a cylinder whose height equals the rotation-axis side and whose radius equals the other side. This converts a plane geometry optimisation into a single-variable calculus problem once the perimeter constraint eliminates one variable.
Step-by-Step Solution
- Let the side about which we rotate be h (height of the cylinder) and the other side be r (radius of the cylinder).
- Perimeter constraint: 2(h+r)=48⇒h+r=24⇒h=24−r.
- Volume: V(r)=πr2h=πr2(24−r)=π(24r2−r3).
- drdV=π(48r−3r2)=3πr(16−r). Setting this to zero: r=0 (rejected, degenerate) or r=16.
- Then h=24−16=8. …
- AP EAPCET 2021Set eng-2021-10-05-FN1 markMCQQ.A window is in the shape of a rectangle, with a semi-circle fused to one of its sides, as shown in the figure. [FIGURE] (a rectangle with a semi-circle attached to its right side, forming a window shape) If the perimeter of the window is fixed as 20 units, then its maximum area can be _____ sq. units. (A) π+4400 (B) π+420 (C) π+4100 (D) π+4200
›Reveal solutionSolution
This is a constrained optimization problem: maximize the area of a rectangle with a semicircle on one side, given a fixed perimeter of 20. The maximum area is π+4200, so the correct option is (D).
We have a window shaped like a rectangle with a semicircle attached to its right side. The semicircle’s diameter equals the height of the rectangle. The total perimeter is fixed at 20 units. We want the maximum possible area.
Why this approach works:
When a shape’s perimeter is fixed, the area is maximized by making the shape as “round” as possible — but here the shape is partly rectangular, so we need to balance the rectangle’s width and height. We’ll express area in terms of one variable, then use calculus (or completing the square) to find the maximum.
-
Define variables
Let the rectangle have width x (horizontal side) and height y (vertical side). The semicircle sits on the right side, so its diameter is y, and its radius is r=y/2.
-
Write the perimeter
The perimeter consists of:
- Left vertical side: y
- Top horizontal side: x
- Bottom horizontal side: x
- Right vertical side: y (but this is not part of the outer boundary — the semicircle replaces it)
- The curved semicircular arc: πr=π(y/2)
So total perimeter:
P=y+x+x+π2y=2x+y+2πy
Given P=20:
2x+y(1+2π)=20
- Solve for x in terms of y
2x=20−y(1+2π)⇒x=10−2y(1+2π)
Simplify:
x=10−2y−4πy
-
Write the area
Area = rectangle area + semicircle area:
- Rectangle: x⋅y
- Semicircle: 21πr2=21π(2y)2=8πy2
So:
A=xy+8πy2
Substitute x:
A=y(10−2y−4πy)+8πy2
A=10y−2y2−4πy2+8πy2
- Combine the y2 terms −4πy2+8πy2=−8πy2 So:
A=10y−2y2−8πy2
Factor y2:
A=10y−y2(21+8π)
Write 21=84, so:
A=10y−y2(84+π)
- Maximize using calculus …
-
- AP EAPCET 2022Set eng-2022-07-08-FN1 markMCQQ.Maximum area of the rectangle inscribed in a circle of radius 10 cms is (A) 100 (B) 200 (C) 250 (D) 150
›Reveal solutionSolution
This tests the classical optimization result that the square is the area-maximizing rectangle inscribed in a given circle.
Concept and Intuition
A rectangle inscribed in a circle of radius r has its diagonal equal to the circle's diameter 2r. If the sides are x,y, then x2+y2=(2r)2, and by AM-GM, xy (the area) is maximized when x=y, i.e. when the rectangle is a square.
Step-by-Step Solution
- Let the rectangle have sides x,y with diagonal =2r=20: x2+y2=400.
- Area A=xy. Maximize subject to x2+y2=400: by AM-GM/symmetry, max occurs at x=y.
- Then 2x2=400⇒x2=200⇒x=y=200.
- Max area =xy=200. …
- AP EAPCET 2022Set eng-2022-07-06-FN1 markMCQQ.The maximum area of a right angled triangle with hypotenuse h is (A) 22h2 (B) 2h2 (C) 2h2 (D) 4h2
›Reveal solutionSolution
Maximising the area of a right triangle with fixed hypotenuse h occurs at the isosceles case, giving area h2/4.
Concept and Intuition
For a right triangle with legs a,b and fixed hypotenuse h (so a2+b2=h2 is a constraint), the area 21ab is maximised by symmetry when a=b — this is a classic constrained-optimisation result, provable via calculus or the AM-GM inequality (a2+b2≥2ab, so ab≤2a2+b2=2h2, with equality iff a=b).
Step-by-Step Solution
- Let the legs be a and b=h2−a2 (from Pythagoras), and area S=21ah2−a2.
- Maximise S2=41a2(h2−a2) instead (avoids the square root). Let u=a2: S2=41u(h2−u), a downward parabola in u, maximised at u=h2/2.
- So a2=h2/2⇒a=h/2, and then b2=h2−a2=h2/2⇒b=h/2 too — the triangle is isosceles right-angled. …
- AP EAPCET 2026Set eng-2026-05-18-AN1 markMCQQ.If a sector of maximum area is made with a wire of length 40 cm, then the area (in sq cms) of that sector is (A) 50 (B) 100 (C) 25 (D) 200
›Reveal solutionSolution
Maximize sector area subject to a fixed wire (perimeter = two radii + arc) using single-variable calculus.
Concept and Intuition
A sector's boundary made of wire consists of two straight radii plus the curved arc, so the constraint is 2r+s=40 where s=rθ is the arc length. The area formula A=21rs (half the product of radius and arc length) then becomes a function of r alone once s is eliminated via the constraint, letting ordinary optimization find the maximizing radius.
Step-by-Step Solution
- Constraint: 2r+s=40⇒s=40−2r (with 0<r<20).
- Area: A=21rs=21r(40−2r)=20r−r2.
- Differentiate: drdA=20−2r. Set to zero: r=10.
- Check it's a maximum: dr2d2A=−2<0, confirming a maximum. …
- AP EAPCET 2022Set eng-2022-07-07-AN1 markMCQQ.If an open cylinder of given surface area has maximum volume then its radius is (A) Height of the cylinder (B) Height of the cylinder / 2 (C) 2 times Height of the cylinder (D) 3 times Height of the cylinder
›Reveal solutionSolution
A constrained-optimisation problem: maximise the volume of an open cylinder for a fixed surface area. Answer: the radius equals the height (r=h).
Concept and Intuition
"Open" cylinder means it has only one circular base (like a cup, no lid), so its total surface area is base + lateral surface, S=πr2+2πrh — different from a closed cylinder (two bases) which would give a different optimum (h=2r). Fixing S lets you express h in terms of r, turning the volume into a single-variable function of r to maximise.
Step-by-Step Solution
- Surface constraint: S=πr2+2πrh⇒h=2πrS−πr2.
- Volume: V=πr2h=πr2⋅2πrS−πr2=2r(S−πr2)=2Sr−πr3.
- Differentiate w.r.t. r and set to zero: drdV=2S−3πr2=0⇒S=3πr2. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.Find the equation of a line passing through the point (4,3), which cuts a triangle of minimum area from the first quadrant. (A) 3x+4y=24 (B) 2x−y=5 (C) 2x+y=8 (D) x−2y=5
›Reveal solutionSolution
A well-known optimization result: the line through a fixed interior point cutting the least-area triangle from the axes is the one for which that point bisects the intercepted segment.
Concept and Intuition
Let the line be px+qy=1 passing through (4,3): p4+q3=1. The triangle area is 21pq. Minimizing area subject to this constraint (via AM-GM or calculus) shows the optimum occurs precisely when (4,3) is the midpoint of the intercepts, i.e., p=8,q=6.
Step-by-Step Solution
- General line through (4,3) in intercept form: px+qy=1 with p4+q3=1.
- The standard result for minimum-area triangle: the given point bisects the segment between the intercepts, so p=2(4)=8 and q=2(3)=6. …
- AP EAPCET 2023Set eng-2023-05-19-FN1 markMCQQ.If the height of a cone of greatest volume that can be inscribed in a sphere of radius R is kR, then ratio of the volume of the cone to the volume of the sphere is (A) 8:27 (B) 27:64 (C) 8:125 (D) 4:5
›Reveal solutionSolution
Standard optimization: the cone of greatest volume inscribed in a sphere has height 4R/3, and its volume is 8/27 of the sphere's.
Concept and Intuition
Setting the base circle of the cone at height h above the sphere's lowest point (with apex at that lowest point), the base radius satisfies r2=2Rh−h2 by the geometry of the circle. Maximizing V(h)=31πr2h gives the classical height 34R.
Step-by-Step Solution
- r2=R2−(h−R)2=2Rh−h2.
- V(h)=31πr2h=31π(2Rh2−h3).
- dhdV=31π(4Rh−3h2)=31πh(4R−3h); setting this to 0 (excluding h=0) gives h=34R, so k=34.
- At this h: r2=2R⋅34R−(34R)2=38R2−916R2=98R2.
- Vmax=31π⋅98R2⋅34R=8132πR3.
- Vsphere=34πR3. …
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.Through the point (4,5), a straight line is drawn making positive intercepts on the coordinate axes. The area of the triangle thus formed is least, when the ratio of the intercepts on the x and y axes is ________ (A) 1:1 (B) 3:4 (C) 4:5 (D) 2:3
›Reveal solutionSolution
Minimize the intercept-triangle area subject to the line passing through a fixed point, using single-variable calculus. Answer: intercept ratio 4:5.
Concept and Intuition
The family of lines through (4,5) with positive intercepts a (on x-axis) and b (on y-axis) satisfies a4+b5=1. As the line rotates through the fixed point, the triangle area 21ab changes; we minimize it using the constraint to reduce to one variable.
Step-by-Step Solution
- Line: ax+by=1 through (4,5): a4+b5=1.
- Solve for b: b5=1−a4=aa−4⇒b=a−45a (need a>4).
- Area function: A(a)=21ab=21⋅a⋅a−45a=2(a−4)5a2. …
- AP EAPCET 2022Set eng-2022-07-07-FN1 markMCQQ.The perimeter of a sector is constant. If its area is to be maximum, the sectorical angle should be (A) 6πc (B) 4πc (C) 4c (D) 2c
›Reveal solutionSolution
Expressing the sector's area purely in terms of its radius (using the fixed-perimeter constraint) and maximizing gives r=P/4, and back-substituting gives the optimal sectorial angle θ=2 radians.
Concept and Intuition
A circular sector's boundary consists of two straight radii and one arc, so its perimeter is P=2r+rθ. Since P is held fixed, θ is not a free variable — it is determined by r. This turns the two-variable area formula A=21r2θ into a single-variable optimisation problem in r alone.
Step-by-Step Solution
- Perimeter: P=2r+rθ (constant) ⇒θ=rP−2r.
- Area: A=21r2θ=21r2⋅rP−2r=21r(P−2r)=2Pr−r2.
- Differentiate w.r.t. r: drdA=2P−2r. Set to zero: r=4P.
- Second derivative dr2d2A=−2<0, confirming a maximum.
- Substitute back into θ=rP−2r: with r=P/4, θ=P/4P−P/2=P/4P/2=2. …
🎓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.