Q.Find two numbers x and y, whose sum is 15, such that xy2 is maximum.
🔒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 — Maximizing Product Given Sum
The Core Intuition
You have a fixed length of rope and want the largest rectangular garden. The perimeter is fixed, so the sum of length and width is constant — but you're asked about the product of two numbers whose sum is fixed. This is the classic "Maximizing Product Given Sum" problem, appearing in optimisation, inequality proofs, and why a square beats a rectangle for area.
Suppose two numbers add up to 10:
- 1 and 9 → product = 9
- 2 and 8 → product = 16
- 3 and 7 → product = 21
- 4 and 6 → product = 24
- 5 and 5 → product = 25
As the numbers get closer together, the product grows; the maximum is at equality. For a fixed sum, the product is maximised when the numbers are as balanced as possible.
This holds for any count of positive numbers. Three numbers summing to 30 give the maximum product when each is 10.
The Precise Statement
Maximizing Product Given Sum
For positive reals x1,…,xn with fixed sum S, the product x1x2⋯xn is maximised when all are equal:
x1=x2=⋯=xn=nS
This follows from the AM–GM inequality:
nx1+⋯+xn≥nx1⋯xn
with equality iff all xi are equal. Since the left side is fixed at S/n, the product is bounded above by (S/n)n, achieved exactly when all numbers are equal.
"Positive numbers" is crucial. If negatives are allowed, the product can be made arbitrarily large in magnitude (e.g. x=1000, y=−990: sum 10, product −990000). For non-negative numbers the result holds, but the maximum is zero if any number is zero.
Why This Matters for Exams
Three main forms:
- Direct: "Find two positive numbers whose sum is 20 with maximum product." → 10 and 10.
- Word problems: "100 m of fencing for a rectangular pen — maximise area." Length + width = 50, so a 25 m square is best.
- Inequality proofs: "For positive a,b with a+b=1, prove ab≤1/4." The two-number case.
A common mistake: applying this to perimeter problems without halving. If all four sides sum to a fixed value, length + width is half of it. Always check what is being summed.
--- …
Substituting x=15−y turns the product into f(y)=15y2−y3 of one variable, and f′(y)=3y(10−y)=0 with f′′<0 picks y=10 as the maximizer. …
Using x=15−y and maximizing f(y)=(15−y)y2 via calculus gives y=10, x=5.
Given x+y=15, so x=15−y. We maximize f(y)=xy2=(15−y)y2=15y2−y3.
f′(y)=30y−3y2=3y(10−y)
Setting f′(y)=0: y=0 or y=10.
…
- CBSE 2025Set X13 marksQ.Find the two positive numbers x and y such that x+y=60 and xy3 is maximum.
›Reveal solutionSolution
Maximise xy3 under x+y=60 using the first/second derivative test; the numbers are x=15, y=45.
Step 1 — Set up one variable.
Let the product to be maximised be P=xy3. Since x+y=60, write x=60−y. Then
P(y)=(60−y)y3=60y3−y4,0<y<60.
Step 2 — Differentiate.
dydP=180y2−4y3=4y2(45−y).
Step 3 — Critical points.
Set dydP=0: 4y2(45−y)=0⇒y=0 or y=45. Since both numbers must be positive, reject y=0, so y=45.
Step 4 — Confirm it is a maximum.
dy2d2P=360y−12y2. …
- CBSE 2024Set A13 marksQ.Find two positive numbers x and y such that x+y=60 and xy3 is maximum.
›Reveal solutionSolution
Express the product in one variable using x+y=60, then maximise with the first derivative; the numbers are x=15, y=45.
Concept. Reduce to a single variable via the constraint, then use dydP=0 and the second-derivative test to locate the maximum.
Let the numbers be x and y with x+y=60, so x=60−y. We maximise
P=xy3=(60−y)y3=60y3−y4.
Differentiate with respect to y:
dydP=180y2−4y3=4y2(45−y). …
- CBSE 2022Set HE2193 marksQ.Find two numbers whose sum is 24 and whose product is as large as possible. OR Find the equation of the tangent and normal to the curve x2/3+y2/3=2 at (1,1).
›Reveal solutionSolution
Maximise P=x(24−x) using calculus for Part 1; differentiate the curve implicitly and use point-slope form for Part 2 (OR).
Part 1: Let the two numbers be x and 24−x. Their product:
P(x)=x(24−x)=24x−x2
P′(x)=24−2x=0⇒x=12
P′′(x)=−2<0⇒maximum at x=12
The two numbers are 12 and 24−12=12; maximum product =12×12=144.
OR — Part 2: Curve x2/3+y2/3=2 at (1,1). Differentiating implicitly:
32x−1/3+32y−1/3dxdy=0⇒dxdy=−(xy)1/3 …
- CBSE 2018Set ANNUAL3 marksQ.Find two numbers whose sum is 24 and whose product is as large as possible.
›Reveal solutionSolution
Writing the product as P=x(24−x) and maximising gives x=12, so both numbers are 12.
Concept. To maximise a quantity subject to a constraint, express it as a one-variable function, then use dxdP=0 and the second-derivative test.
Step-by-step. Let the numbers be x and 24−x. Their product is
P(x)=x(24−x)=24x−x2.
P′(x)=24−2x.
Set P′(x)=0: 24−2x=0⇒x=12. …
🎓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.