Basic coordinate geometry formula to find the angle between two lines

I just read that the angle between two lines with gradients m' and m'' can be found by:

tan(angle) = (m'' - m')/(a+(m'm''))

In try to prove this I saw that the angle can also be found by:

angle = invtan(m'') - invtan(m') which seems much simpler

Is this correct and if so why would we bother with the first formula?

Re: Basic coordinate geometry formula to find the angle between two lines

Quote:

Originally Posted by

**kinhew93** I just read that the angle between two lines with gradients m' and m'' can be found by:

tan(angle) = (m'' - m')/(a+(m'm''))

I think what you meant to write is this:

$\displaystyle \tan(a) = \frac {m''-m'}{1 + m'm''}$

Hence:

$\displaystyle a = arctan(\frac {m''-m'}{1 + m'm''} )$

And as yuo point out you can also use:

$\displaystyle a = arctan(m') - arctan(m'')$

Both equations are equivalent. Use whichever you like, but I agree that the second form is more intuitively obvious.

Re: Basic coordinate geometry formula to find the angle between two lines

Quote:

Originally Posted by

**kinhew93** I just read that the angle between two lines with gradients m' and m'' can be found by:

tan(angle) = (m'' - m')/(a+(m'm''))

In try to prove this I saw that the angle can also be found by:

angle = invtan(m'') - invtan(m') which seems much simpler

Is this correct and if so why would we bother with the first formula?

Consider two simple lines: $\displaystyle y=3x~\&~y=-5x$.

Now test your conclusion on those lines.

What do you get?