trigidentity.com

Half-angle identities · proof ·what it is and when to use it

Proof: cos(x/2) = ±√((1 + cos x)/2)

Half-angle identity for cosine — proved by solve cos 2u for cos u. Every line below says which rule it uses, so nothing has to be taken on faith.

cos(x/2) = ±√((1 + cos x)/2)

The proof

Same rearrangement with the other double-angle form.

  1. cos 2u = 2cos²u − 1
  2. cos²u = (1 + cos 2u)/2
    Solve for cos²u.
  3. cos u = ±√((1 + cos 2u)/2)
    Root with a sign to be decided.
  4. u = x/2 → cos(x/2) = ±√((1 + cos x)/2)
    Rename.

This is the identity our own test caught: the + version is not unconditional. On (−180°, 180°) it holds; at x = 270° it does not.

Where the proof stops applying

Requires x between -180° and 180° — the + root holds for −180° < x < 180° (x/2 in the right half-plane). At x = 270°, for instance, cos 135° = −√2/2 while the + root gives +√2/2 — the identity fails, which our sampler verifies.

This is not a technicality: outside the interval, the statement as written is false, and the sign has to be chosen by hand.

The same claim, checked numerically

A proof is not the same thing as a check, and this page shows both: the reasoning above, and the first few angles fed to the same engine behind the verifier. If they ever disagreed, the data would be broken — the build would fail before publishing (accuracy policy).

Both sides evaluated at the same angles — left side cos(t/2), right side ± sqrt((1 + cos(t))/2).
AngleLeft sideRight sideAgree
0°11yes
7.5°0.9978590.997859yes
15°0.9914450.991445yes
18°0.9876880.987688yes
22.5°0.9807850.980785yes
30°0.9659260.965926yes

Related

sampled at 800 valid angles inside its stated intervalconditional: x between -180° and 180°Source: OpenStax Precalculus, Ch. 7.3 · Paul's Online Math Notes · revised 2026-09-26 ·how we check ·accuracy policy ·report an error