Skip to content

Inequalities, Modulus & Logarithms

Axiomatic Overview

Inequalities form the backbone of analytical bounds and extremal determinations. In competitive mathematics, algebraic inequalities often provide instantaneous shortcuts to optimization problems without using multivariable calculus.


1. AM GM HM Inequality

📊Visual Mathematical Intuition
Semicircle Geometric Proof of AM ≥ GM ≥ HM
O D a b AM = (a+b)/2 GM = √(ab) Geometric Inequality: Hypotenuse AM ≥ Altitude GM (Equality iff a = b)
Arithmetic Mean:AM=a+b2 (Semicircle Radius)AM = \frac{a+b}{2} \text{ (Semicircle Radius)}
Geometric Mean:GM=ab (Altitude to Hypotenuse)GM = \sqrt{ab} \text{ (Altitude to Hypotenuse)}
Harmonic Mean:HM=2aba+b    AMGMHMHM = \frac{2ab}{a+b} \implies AM \ge GM \ge HM

Classical Greek semicircle proof of AMGMHMAM \ge GM \ge HM: On a semicircle of diameter a+ba+b, the radius is AM=a+b2AM = \frac{a+b}{2} and the vertical altitude is GM=abGM = \sqrt{ab}. The hypotenuse always exceeds the altitude.

Arithmetic, Geometric & Harmonic Mean Inequality

For any set of n positive real numbers a1,a2,,an>0:

ainainn1aiAMGMHM

Equality holds if and only if a1=a2==an.

Weighted AM-GM Inequality

For positive weights w1,w2,,wn>0 with W=wi:

wiaiW(aiwi)1/W

2. Cauchy-Schwarz Inequality

Cauchy-Bunyakovsky-Schwarz Inequality

For real numbers (a1,,an) and (b1,,bn):

(i=1naibi)2(i=1nai2)(i=1nbi2)

Equality holds if and only if vectors a and b are linearly dependent (a1b1=a2b2==anbn).

Bergström / Engel Form (Titu's Lemma)

For real xi and positive yi>0:

i=1nxi2yi(xi)2yi

3. Jensen's Inequality for Convex Functions

Jensen's Convexity Inequality

If f(x)0 (convex function on interval I) and x1,,xnI:

f(xin)f(xi)n

If f(x)0 (concave function), the inequality reverses.


4. Logarithmic Identities & Inequations

For base a>0,a1:

  1. loga(xy)=logax+logay
  2. loga(x/y)=logaxlogay
  3. logbk(xm)=mklogbx
  4. Base Change Identity: logab=lnblna=1logba
  5. alogbc=clogba

Logarithmic Inequality Behavior

  • If a>1: logax>logayx>y>0 (Monotonically Increasing).
  • If 0<a<1: logax>logay0<x<y (Monotonically Decreasing, inequality flips).