trigidentity.com

Triangle identities · trigonometric identity

a = b·cos C + c·cos B — Projection rule

a = b·cos C + c·cos B

When to use it

A side has to be split into the two projections of the other sides — the step that turns a pair of sine-rule ratios into a single expression for a side, and the shortcut in proofs of the tangent rule. It is a relation between sides and angles, not a solver for the ambiguous case.

Why it is true

Drop the perpendicular from C onto AB. It cuts side c into the pieces b·cos A and a·cos B; writing the same split for the other two sides and adding the two pieces that make up a gives a = b·cos C + c·cos B.

The full line-by-line version is on the proof page for projection rule; the “how would I find this myself” version is in the derivation.

Where it comes from

combine the sine rule with the angle sum. A second route that does not draw an altitude: start from the ratio the sine rule gives and reduce the angle sum with the sine addition formula.

  1. b·cos C + c·cos B = R(sin B cos C + sin C cos B)
    Replace b and c by the sine rule form, with R the common ratio a/sin A. · Law of sines
  2. = R·sin(B + C)
    Sine addition formula. · Sine of a sum
  3. = R·sin A = a
    B + C = π − A from the angle sum, and sin(π − A) = sin A. · Angles of a triangle add to 180°

Worked examples

No worked example is written for this identity yet —the examples index lists what is covered, and the pattern below shows the identity working at real angles.

Checked on these triangles

Two sides of the identity evaluated with the same engine that runs the verifier. A single line disagreeing would break the build.

Both sides evaluated at the same triangles — left side a, right side b·cos(C) + c·cos(B).
Triangle (A)Left sideRight sideAgree
7.5°1.6210741.621074yes
15°0.7782110.778211yes
18°1.15321.1532yes
22.5°1.9975611.997561yes
30°3.2040913.204091yes
37°2.5048472.504847yes
45°2.2774352.277435yes
53°3.0468223.046822yes
60°3.9663433.966343yes
67.5°3.6202473.620247yes
75°3.6223483.622348yes
90°4.8164434.816443yes
120°5.5375425.537542yes
135°5.4971175.497117yes
150°6.0108286.010828yes

The letters are not free

a, b, c and A, B, C here are one triangle's sides and angles: A + B + C = 180° and the sides follow the sine rule. Feed the same six letters with random values and the equation fails — that is a property of the formula, not a bug in the tool.

The mistake students make

Reading it as a = b·cos B + c·cos C, i.e. pairing each side with its own adjacent angle. Each cosine must be taken at the angle at the OTHER end of side a, otherwise the two pieces are not the two projections of a.

Try it

Category hub: Triangle identities · all identities: /identities

sampled at 800 real trianglestriangles only: A + B + C = 180°Source: OpenStax Precalculus, Ch. 7.4 (Law of Sines / Law of Cosines) · Paul's Online Math Notes — trig cheat sheet · revised 2026-09-28 ·how we check ·accuracy policy ·report an error