Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to find the magnetic heading (from north) from a point $A$ to a point $B$ on a $\triangle ABC$. $A, B and C$ are moving and so the angles can be any value. as an example, the triangle could be this shape.

Lengths $a, b$ and $c$ are known and therefore using the law of cosines the angles at A, B and C can be found. Is there a way to use these values to find the magnetic heading or is it completely removed from these angles?

share|cite|improve this question
No, the heading cannot be found from the information provided. Think of it this way: The triangle in your example could be rotated by any amount from 0 to 2Pi without changing the side lengths or angles. – Pieter Geerkens Apr 22 '13 at 22:20
If you know the $(x,y)$ coordinates of each point, then you can find it – Justin Apr 22 '13 at 22:25

If the lengths are know, the angles of the triangle are known as well. But you have not described any information that would allow determining the rotation of the triangle in the plane. Imagine rotating the triangle around A by 15 degrees clockwise-that will change the compass heading but nothing in your data.

share|cite|improve this answer
That's what I thought :/ Think I'm going to have to write something to use the heading the points move at (they are bots with compasses) and then check how the angles change as they move and create a heading from that. – mark mcmurray Apr 22 '13 at 22:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.