Q.Find two numbers whose sum is 24 and whose product is as large as possible.
🔒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.
--- …
Concept: For a fixed sum, the product of two numbers is maximized when the numbers are as close as possible (by AM–GM inequality).
Steps:
- Let the numbers be x and 24−x. Their product is P(x)=x(24−x)=24x−x2.
- This is a quadratic opening downward. Its maximum occurs at the vertex x=−2ab=−2(−1)24=12. …
For a fixed sum, the product of two numbers is maximised when the numbers are equal. Here, the two numbers are 12 and 12, giving the maximum product 144.
The idea is simple: if you have a fixed total to split into two parts, the product is largest when the parts are as balanced as possible. Why? Because the product x(24−x) is a quadratic that opens downward — its peak lies exactly at the midpoint of the sum.
Let’s work through it.
- Set up the problem. Let the two numbers be x and 24−x. Their product is
P=x(24−x)=24x−x2.
-
Recognise the shape.
P=−x2+24x is a quadratic in x with a negative coefficient on x2. That means its graph is an upside-down parabola — it has a maximum at its vertex, not a minimum.
-
Find the vertex.
For any quadratic ax2+bx+c, the vertex occurs at x=−2ab. Here a=−1, b=24, so
x=−2(−1)24=224=12.
So the product is maximised when x=12. The other number is 24−12=12.
- Compute the maximum product. Pmax=12×12=144. …
Method: Maximizing a Product for a Fixed Sum (Single-Variable Substitution)
This method handles the classic "two numbers with a fixed sum, maximize/minimize their product" family — including its geometric disguises like "fixed perimeter, maximize area."
Steps
Step 1: Name one unknown and express the other using the constraint
If the sum of two numbers is fixed at S, let one number be x; the constraint forces the other to be S−x. This turns a two-variable problem into a one-variable function.
Step 2: Write the quantity to optimize as a function of that one variable
P(x)=x(S−x)
Recognize this is a downward-opening quadratic — so it has a single maximum, not a minimum, at its vertex.
Step 3: Find the vertex using calculus or the vertex formula …
Common Mistakes
Mistake 1: Assuming very unequal numbers give a bigger product
Why it's wrong: intuition sometimes suggests that making one number very large and the other small should maximize the product — but the product of two numbers with a fixed sum is a downward parabola that peaks when the numbers are equal, and shrinks toward zero as they become unbalanced. Correct approach: trust the vertex/derivative calculation over the "bigger is better" instinct, and sanity-check with a quick numeric comparison (e.g. 1×23=23 versus 12×12=144).
Mistake 2: Forgetting to verify the critical point is a maximum, not a minimum …
- TG EAPCET 2021Set eng-2021-08-06-AN1 markMCQQ.Suppose α is minimum value of x2+bx+5 and β is maximum value of −x2+ax+5. If [α,β] is the interval of maximum length for x in which x2−10x+24≤0, then a2b2= (A) 25 (B) 16 (C) 4 (D) 18
›Reveal solutionSolution
[α,β] is exactly the solution set of x2−10x+24≤0, namely [4,6], so α=4 and β=6. Matching these to the minimum of x2+bx+5 and the maximum of −x2+ax+5 gives b2=4 and a2=4, so a2b2=16.
-
Solve the inequality to find [α,β].
x2−10x+24=(x−4)(x−6)≤0 holds for x∈[4,6] (the parabola opens upward, so it's ≤0 between its roots). This is the interval referred to in the problem, so α=4 and β=6.
-
Find b from α=4.
f(x)=x2+bx+5 opens upward, with vertex minimum
f(−2b)=5−4b2.
Setting this equal to α=4:
5−4b2=4⇒4b2=1⇒b2=4.
- Find a from β=6. g(x)=−x2+ax+5 opens downward, with vertex maximum
g(2a)=5+4a2.
Setting this equal to β=6: …
-
- TG EAPCET 2022Set eng-2022-07-20-AN1 markMCQQ.If 6x−x2+12 attains its extreme value β at x=α then β= (A) 7α (B) 5α (C) 3α (D) α
›Reveal solutionSolution
The quadratic 6x−x2+12 is a downward-opening parabola; its maximum occurs at the vertex x=3, giving β=21, and since 21=7×3, the answer is β=7α, i.e., option (A).
The problem gives a quadratic expression 6x−x2+12 and says it attains its extreme value β at x=α. The word "extreme" here means the maximum or minimum — for a quadratic, that happens at the vertex. Since the coefficient of x2 is negative (−1), the parabola opens downward, so the extreme is a maximum.
The key idea: for any quadratic ax2+bx+c, the vertex (where the extreme occurs) is at x=−2ab. Here the expression is −x2+6x+12, so a=−1, b=6, c=12. The extreme value β is simply the value of the expression at that x.
Let’s work through it.
- Find α — the x-coordinate of the vertex. Using x=−2ab:
x=−2(−1)6=−−26=3.
So α=3.
- Find β — the extreme value, i.e., the value of the expression at x=3. Substitute: …
- TG EAPCET 2021Set eng-2021-08-05-AN1 markMCQQ.If the roots of the equation 3x3−26x2+52x−24=0 are in geometric progression, then the sum of two of its roots is (A) 38 (B) 310 (C) 9 (D) 10
›Reveal solutionSolution
When the roots of a cubic equation are in geometric progression, we can represent them as a/r,a,ar. Using Vieta's formulas, the product of the roots directly gives the middle root a. We then find the common ratio r and the other roots, leading to the roots 2/3,2,6. The sum of two of these roots, 2/3+2, is 38.
When dealing with polynomial equations, especially cubic or quartic ones, and information about their roots is given (like being in arithmetic progression (AP) or geometric progression (GP)), Vieta's formulas are your primary tool. These formulas relate the coefficients of a polynomial to sums and products of its roots.
For a cubic equation Ax3+Bx2+Cx+D=0, if the roots are α,β,γ, Vieta's formulas state:
- Sum of roots: α+β+γ=−B/A
- Sum of products of roots taken two at a time: αβ+βγ+γα=C/A
- Product of roots: αβγ=−D/A
The key insight for roots in GP is how to represent them to simplify calculations. If we let the roots be a/r,a,ar, their product becomes simply a3, which makes finding a very straightforward.
Here's how we solve the problem:
-
Identify the equation and its coefficients:
The given equation is 3x3−26x2+52x−24=0.
Comparing this to the standard form Ax3+Bx2+Cx+D=0, we have:
A=3
B=−26
C=52
D=−24
-
Represent the roots in geometric progression:
Let the roots of the equation be ra,a,ar. This choice is strategic because it simplifies the product of the roots.
-
Apply Vieta's formulas:
For a cubic equation Ax3+Bx2+Cx+D=0 with roots α,β,γ:
α+β+γ=−AB
αβ+βγ+γα=AC
αβγ=−AD
Using our chosen roots ra,a,ar:
-
Sum of roots:
ra+a+ar=−3(−26)=326
a(r1+1+r)=326(Equation 1)
-
Sum of products of roots taken two at a time:
(ra)(a)+(a)(ar)+(ar)(ra)=352
ra2+a2r+a2=352
a2(r1+r+1)=352(Equation 2)
-
Product of roots:
(ra)(a)(ar)=−3(−24)
a3=324
a3=8
-
-
Solve for 'a' using the product of roots:
From a3=8, we find a=2. This is the middle root of the GP.
-
Substitute 'a' into Equation 2 to find 'r':
Substitute a=2 into Equation 2:
(2)2(r1+r+1)=352
4(r1+r+1)=352
Divide both sides by 4:
r1+r+1=3×452
r1+r+1=313
Subtract 1 from both sides:
r1+r=313−1
r1+r=313−3
r1+r=310
-
Solve the quadratic equation for 'r':
Multiply the equation r1+r=310 by 3r (assuming r=0):
3+3r2=10r …
- TG EAPCET 2021Set eng-2021-08-06-FN1 markMCQQ.For ∀x∈R the minimum value 31 and the maximum value 3 of x2−x+1x2+x+1 exist at l and m respectively, then l+m= (A) −22 (B) 0 (C) 17 (D) −7
›Reveal solutionSolution
The problem asks for the sum of the x-values where the rational function attains its minimum (1/3) and maximum (3). Using the quadratic discriminant method, we find l=−1 and m=1, so l+m=0.
The key idea is that for a rational function of the form dx2+ex+fax2+bx+c, when we set it equal to a constant y, we get a quadratic in x. For real x, this quadratic must have real roots, so its discriminant must be non-negative. That inequality gives the range of y, and the boundary values of y (the minimum and maximum) occur exactly when the discriminant is zero — which also gives the x-values where those extremes happen.
Let’s work through it.
- Let y=x2−x+1x2+x+1. Cross-multiply (note x2−x+1>0 for all real x, so no sign issues):
y(x2−x+1)=x2+x+1
yx2−yx+y=x2+x+1
Bring all terms to one side:
(y−1)x2−(y+1)x+(y−1)=0
- This is a quadratic in x. For x to be real, the discriminant must be ≥0:
Δ=[−(y+1)]2−4(y−1)(y−1)≥0
Δ=(y+1)2−4(y−1)2≥0
- Expand and simplify:
(y2+2y+1)−4(y2−2y+1)≥0
y2+2y+1−4y2+8y−4≥0
−3y2+10y−3≥0
Multiply by −1 (reversing inequality):
3y2−10y+3≤0
- Factor the quadratic in y:
3y2−10y+3=(3y−1)(y−3)≤0
So the range of y is 31≤y≤3. The minimum value is 31 and the maximum is 3, as given.
- The x-values where these extremes occur are found by setting the discriminant to zero (the boundary of the inequality). For y=31 and y=3, the quadratic in x becomes a perfect square, giving a single (repeated) root. …
- TG EAPCET 2025Set eng-2025-05-04-FN1 markMCQQ.If ∣Z1−3−4i∣=5 and ∣Z2∣=15 then the sum of the maximum and minimum values of ∣Z1−Z2∣ is (A) 35 (B) 75 (C) 30 (D) 20
›Reveal solutionSolution
The problem reduces to finding the range of distances between a point on a fixed circle and a point on another fixed circle. The sum of the maximum and minimum distances equals the sum of the radii plus the distance between centers, minus the difference of radii — giving 30.
The key idea is geometric: each modulus equation describes a circle in the complex plane.
∣Z1−3−4i∣=5 means Z1 lies on a circle centered at C1=3+4i with radius r1=5.
∣Z2∣=15 means Z2 lies on a circle centered at the origin C2=0 with radius r2=15.
We want the sum of the largest and smallest possible distances between a point on the first circle and a point on the second circle. That’s a classic geometry problem: the distance between two circles’ points ranges from the distance between centers minus the sum of radii (if they overlap) to the distance between centers plus the sum of radii. But here the circles are separate, so we need the exact range.
-
Find the distance between the centers.
Center C1=3+4i corresponds to point (3,4). Center C2=(0,0).
Distance d=32+42=9+16=25=5.
-
Determine the minimum distance ∣Z1−Z2∣min.
The smallest distance between points on two circles occurs along the line joining their centers.
Since d=5, r1=5, r2=15, the circles are positioned such that the smaller circle (radius 5) is entirely inside the larger circle (radius 15) — because d+r1=5+5=10<r2=15.
So the minimum distance is the gap from the outer edge of the small circle to the inner edge of the large circle along the line:
∣Z1−Z2∣min=r2−(d+r1)=15−(5+5)=5. …
-
- TG EAPCET 2026Set eng-2026-05-09-AN1 markMCQQ.If α∈R and the equation (x−α)(x−3)+1=0 has equal roots, then the sum of the squares of all the values of α is (A) 13 (B) 25 (C) 26 (D) 20
›Reveal solutionSolution
To find the values of α for which the quadratic equation has equal roots, we set its discriminant to zero. Expanding the given equation (x−α)(x−3)+1=0 yields x2−(3+α)x+(3α+1)=0. Setting the discriminant D=(−(3+α))2−4(1)(3α+1) to zero gives a quadratic equation in α: α2−6α+5=0. Solving this, we find α=1 and α=5. The sum of the squares of these values is 12+52=26.
The problem asks for the sum of the squares of all possible values of α such that the given quadratic equation has equal roots. The key concept here is the discriminant of a quadratic equation.
For any quadratic equation of the form Ax2+Bx+C=0, the nature of its roots is determined by a value called the discriminant, denoted by D.
The discriminant D for a quadratic equation Ax2+Bx+C=0 is given by D=B2−4AC.
The condition for a quadratic equation to have equal roots is that its discriminant must be zero.
ImportantA quadratic equation Ax2+Bx+C=0 has equal roots if and only if its discriminant D=B2−4AC=0.
Let's apply this concept step-by-step to the given equation.
-
Expand the given equation into standard quadratic form:
The given equation is (x−α)(x−3)+1=0.
First, we expand the product (x−α)(x−3):
(x−α)(x−3)=x(x−3)−α(x−3)
=x2−3x−αx+3α
=x2−(3+α)x+3α
Now, substitute this back into the original equation:
x2−(3+α)x+3α+1=0
This is now in the standard quadratic form Ax2+Bx+C=0.
-
Identify the coefficients A, B, and C:
Comparing x2−(3+α)x+(3α+1)=0 with Ax2+Bx+C=0, we have:
A=1
B=−(3+α)
C=3α+1
-
Apply the condition for equal roots (D=0):
For equal roots, the discriminant D=B2−4AC must be zero.
Substitute the identified coefficients:
(−(3+α))2−4(1)(3α+1)=0
-
Solve the resulting equation for α:
Simplify the equation from the previous step: …
-
- TG EAPCET 2026Set eng-2026-05-09-FN1 markMCQQ.Let α,β,γ,δ be the roots of the equation 4x4+8x3−17x2−12x+9=0. If 4(α+4)(β+4)(γ+4)(δ+4)=k, then k= (A) 25 (B) 35 (C) 297 (D) 105
›Reveal solutionSolution
The key idea is to transform the quartic into a polynomial whose roots are α+4,β+4,γ+4,δ+4 using a shift, then evaluate the product of those shifted roots times 4. The result is k=297, so the correct option is (C).
We are given the quartic
4x4+8x3−17x2−12x+9=0
with roots α,β,γ,δ. We need
k=4(α+4)(β+4)(γ+4)(δ+4).
Concept and intuition:
If we want the product (α+4)(β+4)(γ+4)(δ+4), we can think of it as the value of the polynomial’s shifted version. Specifically, if we define a new variable y=x+4, then x=y−4. Substituting into the original polynomial gives a polynomial in y whose roots are exactly α+4,β+4,γ+4,δ+4. The constant term of that new polynomial (up to sign) is the product of those roots. Then we just multiply by 4.
Step-by-step solution:
- Set up the shift. Let y=x+4, so x=y−4. The original polynomial is
P(x)=4x4+8x3−17x2−12x+9.
We want Q(y)=P(y−4). The roots of Q(y) are the numbers y such that x=y−4 is a root of P, i.e., y=α+4,β+4,γ+4,δ+4.
- Substitute x=y−4 into P(x). Compute each term carefully:
x4x3x2x=(y−4)4=y4−16y3+96y2−256y+256,=(y−4)3=y3−12y2+48y−64,=(y−4)2=y2−8y+16,=y−4.
- Multiply by the coefficients.
4x48x3−17x2−12x+9=4y4−64y3+384y2−1024y+1024,=8y3−96y2+384y−512,=−17y2+136y−272,=−12y+48,=9.
- Sum all terms to get Q(y). Combine like powers of y:
y4y3y2y1constant:4y4,:−64y3+8y3=−56y3,:384y2−96y2−17y2=271y2,:−1024y+384y+136y−12y=−516y,:1024−512−272+48+9=297.
So
Q(y)=4y4−56y3+271y2−516y+297.
- Product of the shifted roots. For a monic polynomial, the constant term is (−1)n times the product of the roots. But here the leading coefficient is 4, not 1. The polynomial Q(y) can be written as
Q(y)=4(y−r1)(y−r2)(y−r3)(y−r4),
where ri=α+4,β+4,γ+4,δ+4. Expanding, the constant term is
- TG EAPCET 2022Set eng-2022-07-19-FN1 markMCQQ.If the roots of x5−ax4+bx3−cx2+dx−1=0 are all positive such that their arithmetic mean and geometric mean are equal, then a+b+c+d= (A) 10 (B) 15 (C) 20 (D) 30
›Reveal solutionSolution
The problem states that the arithmetic mean and geometric mean of the positive roots of the given polynomial are equal. This implies that all the roots must be identical. By using Vieta's formulas, we find that each root is 1, leading to a+b+c+d=30.
The core of this problem lies in understanding the relationship between the arithmetic mean (AM) and geometric mean (GM) of a set of positive numbers, combined with Vieta's formulas for polynomial roots.
The Arithmetic Mean-Geometric Mean (AM-GM) inequality states that for any set of n non-negative real numbers x1,x2,…,xn, their arithmetic mean is always greater than or equal to their geometric mean:
nx1+x2+…+xn≥nx1x2…xn
Crucially, the equality (AM = GM) holds if and only if all the numbers are equal, i.e., x1=x2=…=xn. This condition is the key insight for solving this problem.
Vieta's formulas provide a direct link between the roots of a polynomial and its coefficients. For a polynomial of degree n, P(x)=kxn+an−1xn−1+…+a1x+a0=0, with roots r1,r2,…,rn:
- Sum of roots: ∑ri=−kan−1
- Sum of products of roots taken two at a time: ∑i<jrirj=kan−2
- ...and so on, with alternating signs.
- Product of roots: r1r2…rn=(−1)nka0
Let's apply these concepts to the given problem.
-
Identify the roots and apply AM-GM.
The given polynomial is x5−ax4+bx3−cx2+dx−1=0.
Let its five roots be r1,r2,r3,r4,r5.
We are given that all roots are positive. Therefore, we can apply the AM-GM inequality to these five roots.
The arithmetic mean (AM) of the roots is 5r1+r2+r3+r4+r5.
The geometric mean (GM) of the roots is 5r1r2r3r4r5.
-
Use the condition AM = GM.
The problem states that the arithmetic mean and geometric mean of the roots are equal.
This means 5r1+r2+r3+r4+r5=5r1r2r3r4r5.
As discussed, the equality in the AM-GM inequality holds if and only if all the numbers are equal.
Therefore, we must have r1=r2=r3=r4=r5. Let's call this common root r.
-
Determine the value of each root.
Now that we know all roots are equal to r, we can use Vieta's formulas.
For the polynomial x5−ax4+bx3−cx2+dx−1=0, the product of the roots is given by the constant term divided by the leading coefficient, with a sign adjustment.
Watch outRemember the alternating signs in Vieta's formulas. For a polynomial P(x)=Anxn+An−1xn−1+…+A1x+A0, the product of roots is (−1)nAnA0.
Here, n=5 (odd), the leading coefficient is 1, and the constant term is −1.
So, the product of roots r1r2r3r4r5=(−1)51−1=(−1)(−1)=1.
Since all roots are equal to r, we have r⋅r⋅r⋅r⋅r=r5=1.
As the roots are positive, r must be 1.
Thus, all five roots of the polynomial are 1.
-
Find the values of a,b,c,d using Vieta's formulas.
Now we know r1=r2=r3=r4=r5=1. We can find the coefficients a,b,c,d using Vieta's formulas for the polynomial x5−ax4+bx3−cx2+dx−1=0.
- Coefficient a (related to sum of roots): The sum of the roots is r1+r2+r3+r4+r5=−(−a)/1=a. …
- TG EAPCET 2024Set eng-2024-05-11-FN1 markMCQQ.The sum of all the 4-digit numbers formed by taking all the digits from 0, 3, 6, 9 without repetition is (A) 119592 (B) 115992 (C) 211599 (D) 119952
›Reveal solutionSolution
The sum of all 4-digit numbers formed from the digits 0,3,6,9 without repetition is 115992, option (B).
We form 4-digit numbers using each of 0,3,6,9 exactly once. A leading 0 does not give a 4-digit number, so those cases must be removed.
Step 1 — Sum of all 4! arrangements (ignoring the leading-zero rule).
Across all 4!=24 permutations, each of the four digits occupies each place value exactly 3!=6 times. With digit-sum 0+3+6+9=18:
Sall=18×6×(1000+100+10+1)=18×6×1111=119988.
Step 2 — Subtract the arrangements that begin with 0. …
🎓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.