Rational Function Optimization
A rational function is a ratio of two polynomials, f(x)=q(x)p(x) — for example f(x)=x+x1 or f(x)=xx2+1. Finding its maximum or minimum is a common maxima–minima task, and the only new skill is differentiating a quotient cleanly.
The Method
To optimise f(x)=q(x)p(x):
- Differentiate with the quotient rule,
f′(x)=(q(x))2p′(x)q(x)−p(x)q′(x).
- Set f′(x)=0. A fraction is zero only when its numerator is zero, so you only need p′q−pq′=0 — the denominator never has to vanish.
- Respect the domain. Values where q(x)=0 are excluded, and many problems restrict to x>0. Keep these in mind when choosing which critical point is valid.
- Classify each critical point with the second-derivative test or a sign check of f′.
Before differentiating, simplify. Splitting xx2+1=x+x1 turns an awkward quotient into an easy sum whose derivative is 1−x21.
A Worked Example
Minimise f(x)=x+x1 for x>0.
Differentiating, f′(x)=1−x21. Setting this to zero gives x2=1, so x=1 (taking the positive root, since x>0). Then f′′(x)=x32, and f′′(1)=2>0, confirming a minimum. The minimum value is f(1)=1+1=2.
This matches the AM–GM bound x+x1≥2, with equality at x=1 — a useful sanity check.
Common Mistakes
- Setting the whole quotient's denominator to zero — you solve numerator =0, not denominator =0. …