---
title: "Weighted AM-GM Optimization for Constrained Polynomial"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c11-w1-10-weighted-am-gm-max-product"
board: "JEE Foundation"
grade: "Class 11"
published_at: "2026-11-26T15:45:00+05:30"
---

# Weighted AM-GM Optimization for Constrained Polynomial

If $a, b, c$ are positive real numbers satisfying $a + b + c = 12$, find the maximum possible value of $a^3 b^2 c$, and determine the value of $a^2 + b^2 + c^2$ when this maximum is attained.

## Textbook Solution

To apply the AM-GM inequality so that the product matches $a^3 b^2 c$ with matching exponents $3, 2, 1$, split $a$ into $3$ equal parts and $b$ into $2$ equal parts:
$$a + b + c = \frac{a}{3} + \frac{a}{3} + \frac{a}{3} + \frac{b}{2} + \frac{b}{2} + c = 12$$
Applying the AM-GM inequality to these $6$ positive numbers:
$$\frac{\frac{a}{3} + \frac{a}{3} + \frac{a}{3} + \frac{b}{2} + \frac{b}{2} + c}{6} \ge \left[\left(\frac{a}{3}\right)^3 \left(\frac{b}{2}\right)^2 c\right]^{1/6}$$
Substituting the sum $12$:
$$2 \ge \left(\frac{a^3 b^2 c}{27 \times 4}\right)^{1/6} \implies \frac{a^3 b^2 c}{108} \le 2^6 = 64$$
Multiplying by $108$:
$$a^3 b^2 c \le 64 \times 108 = 6912$$
Equality holds if and only if all $6$ numbers are equal to the arithmetic mean $2$:
$$\frac{a}{3} = \frac{b}{2} = c = 2 \implies a = 6,\ b = 4,\ c = 2$$
Check: $6 + 4 + 2 = 12$ and $6^3 \cdot 4^2 \cdot 2 = 216 \cdot 16 \cdot 2 = 6912$.
At this maximum point:
$$a^2 + b^2 + c^2 = 6^2 + 4^2 + 2^2 = 36 + 16 + 4 = 56$$

## Vedic Shortcut

**NityaDhi Exponent-Proportional Split:** To maximize $a^p b^q c^r$ under fixed $a + b + c = S$, the optimal variables are ALWAYS directly proportional to their exponents: $a : b : c = p : q : r$. Here $p:q:r = 3:2:1$, sum of ratio parts $= 6$, so each unit is $\frac{12}{6} = 2$. Instantaneous optimal values: $(a, b, c) = (6, 4, 2)$, giving product $6912$ and sum of squares $56$!

## Common Mistakes

1. **Applying unweighted AM-GM to $a, b, c$ directly:** Setting $a = b = c = 4$ gives $4^3 \cdot 4^2 \cdot 4 = 4096$, far below the true maximum of $6912$.
2. **Forgetting the denominator $3^3 \cdot 2^2$ inside the GM:** Writing $(a^3 b^2 c)^{1/6} \le 2$ instead of $\left(\frac{a^3 b^2 c}{108}\right)^{1/6} \le 2$ misses the factor of $108$.