Grade 12 IB Math is live, AA and AI · see the IB course

Grade 11 · MCR3U · Functions

MCR3U: Cosine Law and 3D Problems

The cosine law solves the triangles the sine law cannot start: two sides and the angle between them, or all three sides. In a 3D problem you split the figure into flat triangles and solve them one at a time, often with SOH CAH TOA in one and the cosine law in the next.

How It Works

The law. In any triangle, a2=b2+c2−2bccos⁡Aa^2 = b^2 + c^2 - 2bc\cos A, where AA is the angle across from side aa. When A=90∘A = 90^\circ, cos⁡A=0\cos A = 0 and the law becomes the Pythagorean theorem, so think of the last term as the correction for a corner that is not square.

When to use it. Use it for SAS, two sides and the angle between them, to find the third side. Use it for SSS, all three sides, to find an angle. If you know a side and the angle across from it, the sine law is quicker.

Finding an angle. Rearrange first: cos⁡A=b2+c2−a22bc\cos A = \frac{b^2 + c^2 - a^2}{2bc}. A negative value means AA is obtuse, and the inverse cosine gives that obtuse angle directly. Unlike the sine law, the cosine law has no ambiguous case. When you need all three angles, find the largest one first, across from the longest side.

3D problems. Draw the figure, then shade one triangle at a time. Start with a triangle where you already know enough, solve it for a side it shares with the next triangle, and carry that side across. A tower or a cliff meets the ground at a right angle, so it usually gives right triangles. The triangle on the ground between two observers usually needs the cosine law or the sine law.

Rounding. Keep full calculator values from one triangle to the next, and round only the final answer.

5 Worked Examples

Easy first, test level last. Try each one on paper, then open the solution.

  1. Easy

    In △ABC\triangle ABC, b=8b = 8, c=11c = 11 and ∠A=52∘\angle A = 52^\circ. Find aa.
    Show solution
    1. Two sides and the angle between them: SAS, so use the cosine law.
    2. a2=82+112−2(8)(11)cos⁡52∘=185−176cos⁡52∘≈76.64a^2 = 8^2 + 11^2 - 2(8)(11)\cos 52^\circ = 185 - 176\cos 52^\circ \approx 76.64.
    3. a≈76.64≈8.75a \approx \sqrt{76.64} \approx 8.75.

    Answer: a≈8.75a \approx 8.75

  2. Easy

    A triangle has sides 55, 77 and 1010. Find its largest angle.
    Show solution
    1. The largest angle is across from the longest side, 1010.
    2. cos⁡C=52+72−1022(5)(7)=−2670≈−0.3714\cos C = \frac{5^2 + 7^2 - 10^2}{2(5)(7)} = \frac{-26}{70} \approx -0.3714.
    3. C=cos⁡−1(−0.3714)≈111.8∘C = \cos^{-1}(-0.3714) \approx 111.8^\circ. The negative cosine means the angle is obtuse.

    Answer: C≈111.8∘C \approx 111.8^\circ

  3. Medium

    Two hikers leave the same point on straight paths 65∘65^\circ apart. One walks 4.24.2 km and the other 6.56.5 km. How far apart are they?
    Show solution
    1. The paths and the gap form a triangle with two sides and the angle between them.
    2. d2=4.22+6.52−2(4.2)(6.5)cos⁡65∘≈59.89−23.07=36.82d^2 = 4.2^2 + 6.5^2 - 2(4.2)(6.5)\cos 65^\circ \approx 59.89 - 23.07 = 36.82.
    3. d≈36.82≈6.07d \approx \sqrt{36.82} \approx 6.07.

    Answer: About 6.076.07 km apart.

  4. Medium

    A triangular garden has sides 1414 m, 1818 m and 2323 m. Find its smallest angle.
    Show solution
    1. The smallest angle is across from the shortest side, 1414 m.
    2. cos⁡A=182+232−1422(18)(23)=657828≈0.7935\cos A = \frac{18^2 + 23^2 - 14^2}{2(18)(23)} = \frac{657}{828} \approx 0.7935.
    3. A=cos⁡−1(0.7935)≈37.5∘A = \cos^{-1}(0.7935) \approx 37.5^\circ.

    Answer: About 37.5∘37.5^\circ

  5. Test level

    A 3030 m flagpole stands at point FF on level ground. From point AA the angle of elevation of the top is 35∘35^\circ, and from point BB it is 50∘50^\circ. On the ground, ∠AFB=70∘\angle AFB = 70^\circ. Find the distance ABAB.
    Show solution
    1. The pole is vertical, so each sight line gives a right triangle: tan⁡35∘=30AF\tan 35^\circ = \frac{30}{AF} and tan⁡50∘=30BF\tan 50^\circ = \frac{30}{BF}.
    2. AF=30tan⁡35∘≈42.84AF = \frac{30}{\tan 35^\circ} \approx 42.84 m and BF=30tan⁡50∘≈25.17BF = \frac{30}{\tan 50^\circ} \approx 25.17 m.
    3. On the ground, △AFB\triangle AFB has two sides and the angle between them: AB2=AF2+BF2−2(AF)(BF)cos⁡70∘≈1731.6AB^2 = AF^2 + BF^2 - 2(AF)(BF)\cos 70^\circ \approx 1731.6.
    4. AB≈1731.6≈41.61AB \approx \sqrt{1731.6} \approx 41.61, using the unrounded AFAF and BFBF.

    Answer: AB≈41.61AB \approx 41.61 m

Learn It on Martian Lab

Martian Lab teaches this in the 3D Trignometry Problems lesson of its MCR3U Trigonometric Ratios unit. Watch it, then take the Trigonometric Ratios practice tests to see if it stuck.

Watch the 3D Trignometry Problems lesson free

Start Practicing

No credit card required to start.

Get started