Skip to content

Maxima and Minima in Algebra

6 lessons · 16 questions · 7 PYQs · ~50 s per question

The idea

Algebraic extrema come from three tools: completing the square (quadratics, and quartics that are quadratics in x2x^{2} or in a paired product), AM-GM (positive terms with a fixed product or a fixed sum) and squares being non-negative (bounds such as ab+bc+ca≤a2+b2+c2ab+bc+ca\le a^{2}+b^{2}+c^{2}).

Textbook vs exam method

Exam method

  1. Quadratic. vertex value c−b24ac-\frac{b^{2}}{4a} at once.
  2. AM-GM. equal terms; for px+qxpx+\frac{q}{x} the minimum is 2pq2\sqrt{pq}.
  3. Fixed sum. make the parts equal (after removing coefficients).
  4. Parameters that cancel. if the answer cannot depend on a parameter, test one convenient value (a=1a=1).

Worked examples

Example 1Sitter

x2+8x+20=(x+4)2+4x^{2}+8x+20=(x+4)^{2}+4

Example 2Easy

a+b+c=13a+b+c=13, maximum of (a−3)(b−2)(c+1)(a-3)(b-2)(c+1)

Example 3Typical

(x+1)(x+2)(x+3)(x+4)=(u−1)(u+1)(x+1)(x+2)(x+3)(x+4)=(u-1)(u+1) with u=x2+5x+5u=x^{2}+5x+5

Example 4TypicalIndore 2021

f(x)=ax2+bx+cf(x)=ax^{2}+bx+c through (−2,0)(-2,0) with b=−2ab=-2a

Example 5Hard

x+y+z=4x+y+z=4, x2+y2+z2=6x^{2}+y^{2}+z^{2}=6

Traps

  • Point versus value; AM-GM without a constant product; forgotten domain conditions.

Formulas

Completing the square

ax2+bx+c=a(x+b2a)2+c−b24aax^{2}+bx+c=a\left(x+\dfrac{b}{2a}\right)^{2}+c-\dfrac{b^{2}}{4a}

The minimum of ax^2 + bx + c (a > 0) is c - b^2/(4a) at x = -b/(2a); a negative leading coefficient gives a maximum instead.
AM-GM inequality

u,v>0: u+v≥2uv;u+v+w3≥uvw3u,v>0:\ u+v\ge2\sqrt{uv};\quad \dfrac{u+v+w}{3}\ge\sqrt[3]{uvw}

AM-GM needs positive terms with a constant product (px + q/x for x > 0); split x^2 + 54/x as x^2 + 27/x + 27/x to get three terms with constant product.
Fixed sum, largest product

x+y=S (x,y>0)⇒xy≤S24;px+qy=S⇒xy≤S24pqx+y=S\ (x,y>0)\Rightarrow xy\le\dfrac{S^{2}}{4};\quad px+qy=S\Rightarrow xy\le\dfrac{S^{2}}{4pq}

Indore 2021 Q20: b = -2a, c = -8a make f(x) = a(x - 1)^2 - 9a, so f(x) + 9a + 1 has minimum 1 for every a > 0 (the 2iim key D = 3 is wrong).
Bounds for the pairwise sum

a2+b2+c2=k⇒−k2≤ab+bc+ca≤ka^{2}+b^{2}+c^{2}=k\Rightarrow -\dfrac{k}{2}\le ab+bc+ca\le k

(x + a)(x + b)(x + c)(x + d) with a + d = b + c: pair the factors so both quadratics share x^2 + (a + d)x.

In the exam

Shortcuts
  • Minimum of (x−p)2+(x−q)2+(x−r)2(x-p)^{2}+(x-q)^{2}+(x-r)^{2} is at the mean of pp, qq, rr.
  • Minimum of x2+y2x^{2}+y^{2} on the line px+qy=rpx+qy=r is r2p2+q2\frac{r^{2}}{p^{2}+q^{2}} (squared distance from the origin).
  • Real xx, yy with x+y=sx+y=s, x2+y2=tx^{2}+y^{2}=t exist only if s2≤2ts^{2}\le2t - this bounds a third variable.
~50 s per question at exam speed
When to skip: Constrained problems in three variables with no symmetry - try boundary and equal-value cases from the options.

Before this

What the exams ask here

  • min of x^2+y^2 given x+y
  • min value of expression with constraint
  • f(x) = ax^2 + bx + c through (-2, 0), g(x) = -2x through (a, b) -> min of f(x) + 9a + 1 (Indore 2021 Q20)
  • a^2 + b^2 + c^2 = 9 -> range of ab + bc + ca
  • a + b + c = 13 -> max of (a - 3)(b - 2)(c + 1)
  • min of px + q/x for x > 0

Practise this free. Every mistake is saved and comes back until you fix it.

Start free