HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A company has a budget that it splits between advertising and research…
HardMathematicsHigh School (11–12)Inequalities and the AM, GM and HM MeansNumericalOlympiad

A company has a budget that it splits between advertising and research…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A company has a budget that it splits between advertising and research. With xxx units on advertising and yyy units on research, a model predicts a profit index P=x2y3P = x^2 y^3P=x2y3. The budget is x+y=10x + y = 10x+y=10 units, with x,y>0x, y > 0x,y>0. The finance team wants the split that gives the largest index without using calculus.

  1. Write x+y=10x + y = 10x+y=10 as the sum of five numbers, two equal to x2\dfrac{x}{2}2x​ and three equal to y3\dfrac{y}{3}3y​. Use AM-GM on these five numbers to find an upper bound for x2y3x^2 y^3x2y3.
  1. Find the split (x,y)(x, y)(x,y) at which the bound is reached, and the greatest value of PPP.
  1. A manager suggests splitting the budget equally, x=y=5x = y = 5x=y=5. By how much is her index below the greatest value?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

Weighted AM-GM: for positive weights with w1+⋯+wn=1w_1 + \dots + w_n = 1w1​+⋯+wn​=1,

w1a1+⋯+wnan ≥ a1w1⋯anwn.\displaystyle w_1 a_1 + \dots + w_n a_n \ \ge\ a_1^{w_1} \cdots a_n^{w_n}.w1​a1​+⋯+wn​an​ ≥ a1w1​​⋯anwn​​.

Power means rise with the exponent, and Bernoulli gives (1+x)n≥1+nx(1 + x)^n \ge 1 + nx(1+x)n≥1+nx for x≥−1x \ge -1x≥−1.

The worked solution

Check an answer or open a hint to unlock the worked solution.

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Given. x+y=10x + y = 10x+y=10 with x,y>0x, y > 0x,y>0; P=x2y3P = x^2 y^3P=x2y3.

Plan. Split into parts proportional to the powers, so that they can all be equal.

Step 1. AM-GM on five numbers. The mean of x2,x2,y3,y3,y3\dfrac{x}{2}, \dfrac{x}{2}, \dfrac{y}{3}, \dfrac{y}{3}, \dfrac{y}{3}2x​,2x​,3y​,3y​,3y​ is 105=2\dfrac{10}{5} = 2510​=2. So their product is at most 25=322^5 = 3225=32:

x24⋅y327≤32,sox2y3≤32×4×27=3456.\displaystyle \dfrac{x^2}{4} \cdot \dfrac{y^3}{27} \le 32, \quad\text{so}\quad x^2 y^3 \le 32 \times 4 \times 27 = 3456.4x2​⋅27y3​≤32,sox2y3≤32×4×27=3456.

Step 2. Equality. All five parts equal 222: x2=2\dfrac{x}{2} = 22x​=2 and y3=2\dfrac{y}{3} = 23y​=2. So x=4x = 4x=4 and y=6y = 6y=6, and x+y=10x + y = 10x+y=10 as required.

Step 3. The greatest value. P=42×63=3456P = 4^2 \times 6^3 = 3456P=42×63=3456, which matches the bound.

Step 4. The equal split. P(5,5)=25×125=3125P(5, 5) = 25 \times 125 = 3125P(5,5)=25×125=3125. The shortfall is 3456−3125=3313456 - 3125 = 3313456−3125=331.

Answer: x=4x = 4x=4, y=6y = 6y=6 and the greatest index is 345634563456; the equal split falls short by 331331331.

What if? For P=xaybP = x^a y^bP=xayb with x+y=Sx + y = Sx+y=S the same split gives x=aSa+bx = \dfrac{aS}{a + b}x=a+baS​ and y=bSa+by = \dfrac{bS}{a + b}y=a+bbS​: each variable gets a share in proportion to its power.

Log in to save this for later
← All Problems
← Here is a statement that many olympiad solutions use…A bank pays 3% interest each year, added once a year, so an amount grows by the factor 1.03²⁰ in 20… →
More onInequalities and the AM, GM and HM Means

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Weighted means, power means and BernoulliThe AM-GM-HM Inequality and Power Means

More on this topic

  1. The equation x⁴ - 12x³ + ax² - bx + 81 = 0; has four positive real roots…Advanced
  2. Nine houses stand along a straight road at the marks 1, 2, 3, …, 9 km…Hard
  3. Real numbers x, y and z satisfy x + y + z = 5 and xy + yz + zx = 3.…Hard
  4. Real numbers x and y satisfy x² + xy + y² = 3.…
Advanced
  • Schur's inequality says that for non-negative a, b, c, a(a - b)(a - c) + b(b - a)(b - c) + c(c…Advanced
  • All problems on this topic →