Q.If the sum of the surface areas of a cube and a sphere is constant, what is the ratio of an edge of the cube to the diameter of the sphere when the sum of their volumes 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 |
|--------------|-------------------|--------------------| …
Concept: Optimization Word Problem — using a constraint to express one variable in terms of the other, then minimizing the sum of volumes.
Let the edge of the cube be a and the radius of the sphere be r. The constant sum of surface areas is:
6a2+4πr2=k(constant).
We need to minimize the sum of volumes:
V=a3+34πr3.
From the constraint, a2=6k−4πr2. Differentiate V with respect to r (or use the method of Lagrange multipliers). Setting drdV=0 gives:
3a2⋅drda+4πr2=0.
From the constraint, 12adrda+8πr=0⟹drda=−3a2πr. Substituting and simplifying yields: …
For a fixed total surface area, the sum of volumes of a cube and sphere is minimized when the cube’s edge equals the sphere’s diameter — the required ratio is 1 : 1.
This is a classic optimization problem from calculus, but the real insight is geometric: both shapes have surface area proportional to the square of a linear dimension, and volume proportional to the cube. When you fix total surface area, you’re trading off between two “square” costs to minimize a “cubic” sum. The minimum occurs where the marginal volume gain per unit surface area is equal for both shapes — a condition that leads to a surprisingly clean ratio.
Let’s set it up.
- Define variables and the constraint
Let the cube have edge length a, and the sphere have radius r.
Surface area of cube: Sc=6a2
Surface area of sphere: Ss=4πr2
The total surface area is constant, say K:
6a2+4πr2=K
We want to minimize the total volume:
V=a3+34πr3
- Reduce to one variable
From the constraint, express a2 in terms of r:
a2=6K−4πr2
So a=6K−4πr2.
Then volume becomes a function of r alone:
V(r)=(6K−4πr2)3/2+34πr3
- Differentiate and set to zero
We need drdV=0. Differentiate term by term.
For the cube term: let u=6K−4πr2, then a=u1/2, so a3=u3/2.
drd(u3/2)=23u1/2⋅drdu
Now drdu=6−8πr=−34πr.
So derivative of cube volume:
23⋅6K−4πr2⋅(−34πr)=−2πr6K−4πr2
For the sphere term:
drd(34πr3)=4πr2
Set sum to zero:
−2πr6K−4πr2+4πr2=0
- Solve for r
Factor out 2πr (note r>0 for a non-degenerate sphere):
2πr(−6K−4πr2+2r)=0
So:
2r=6K−4πr2
Square both sides:
4r2=6K−4πr2
Multiply through:
24r2=K−4πr2
K=24r2+4πr2=4r2(6+π) …
Method: Optimizing a Sum of Two Shapes' Volumes Under a Shared Surface-Area Constraint
When two different shapes share a single constraint (their combined surface area is fixed) and you must optimize the sum of a different property (their combined volume), the general technique is to differentiate the constraint implicitly to link the two shapes' rates of change, then apply that link to the derivative of the objective.
Steps
Step 1: Assign a variable to each shape's defining length and write both formulas
Give each shape its own variable (e.g. cube edge a, sphere radius r). Write down the surface-area formula and the volume formula for each shape in terms of its own variable.
Step 2: Write the constraint and the objective
Add the two surface areas and set the sum equal to the given constant — this is the constraint linking a and r. Add the two volumes to form the objective function to be minimized (or maximized).
Step 3: Differentiate the constraint implicitly, then the objective, and combine …
Common Mistakes
Mistake 1: Reporting the ratio in terms of radius instead of diameter
The problem specifically asks for edge : diameter, not edge : radius. Why it's wrong: the working naturally produces a=2r (edge equals twice the radius), so stopping there and writing the ratio as a:r=2:1 answers the wrong question — the diameter is 2r, making the correct ratio a:2r=1:1. Correct approach: convert the radius into a diameter (d=2r) as the very last step before stating the final ratio.
Mistake 2: A sign or chain-rule slip while implicitly differentiating a with respect to r …
Showing the 12 most recent of 19 on this concept.
- 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-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 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 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-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. …
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.The maximum volume (in cu. m) of the right circular cone having slant height 3m. is (A) 6π (B) 33π (C) 34π (D) 23π
›Reveal solutionSolution
Express the cone's volume in terms of its height alone using the fixed slant height, then maximize; the maximum volume is 23π m3.
Concept and Intuition
With the slant height l fixed, radius and height are linked by r2+h2=l2 (Pythagoras on the cone's cross-section). This turns a two-variable optimization (over r and h) into a single-variable one, which we handle with ordinary calculus.
Step-by-Step Solution
- Given l=3, so r2+h2=9 ⇒ r2=9−h2 (with 0<h<3).
- Volume of a cone:
V=31πr2h=3π(9−h2)h=3π(9h−h3).
- Differentiate with respect to h and set to zero:
dhdV=3π(9−3h2)=0 ⇒ h2=3 ⇒ h=3.
- Check it's a maximum: dh2d2V=3π(−6h)<0 for h>0, confirming a maximum.
- Substitute back: …
- AP EAPCET 2025Set eng-2025-05-26-AN1 markMCQQ.If P(α,β) is a point on the curve 9x2+4y2=144 in the first quadrant and the minimum area of the triangle formed by the tangent of the curve at P with the coordinate axis is S, then (A) S=αβ (B) S=αβ (C) S=2αβ (D) S=2αβ
›Reveal solutionSolution
The tangent-line intercept triangle's area, minimized over the ellipse, works out to exactly twice the product of the point's coordinates.
Concept and Intuition
The ellipse 9x2+4y2=144 is 16x2+36y2=1. The tangent at any point cuts the axes to form a right triangle whose area depends on where on the ellipse you are; calculus (or AM–GM) finds where that area is smallest, and then we check what algebraic relation the minimizing point's coordinates satisfy with that minimum area.
Step-by-Step Solution
- Ellipse: 16x2+36y2=1. Tangent at P(α,β): 16xα+36yβ=1.
- Intercepts: x-intercept =α16, y-intercept =β36.
- Triangle area: S=21⋅α16⋅β36=αβ288.
- Parametrize α=4cosθ, β=6sinθ (0<θ<π/2 for the first quadrant): S=24sinθcosθ288=sin2θ24. …
- 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 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 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 2021Set eng-2021-08-23-AN1 markMCQQ.If the area of a circular sector of perimeter 60 m is to be maximized, then its radius must be ______ m (A) 20 (B) 15 (C) 10 (D) 5
›Reveal solutionSolution
Expressing the sector's area purely in terms of r using the fixed-perimeter constraint gives A=30r−r2, maximized at r=15.
Concept and Intuition
A circular sector's perimeter includes the two straight radii plus the arc length: P=2r+rθ. Its area is A=21r2θ. Using the fixed perimeter to eliminate θ turns this into a single-variable optimization in r.
Step-by-Step Solution
- Perimeter: 2r+rθ=60⇒θ=r60−2r.
- Area: A=21r2θ=21r2⋅r60−2r=21r(60−2r)=30r−r2.
- Maximize: drdA=30−2r. Set to 0: r=15.
- Second derivative dr2d2A=−2<0, confirming a maximum. …
🎓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.