Ask Uncle Colin: an arctangent mystery

Dear Uncle Colin,

In an answer sheet, they've made a leap from $\arctan\left(\frac{\cos(x)+\sin(x)}{\cos(x)-\sin(x)}\right)$ to $x + \frac{\pi}{4}$ and I don't understand where it's come from. Can you help?

-- Awful Ratio Converted To A Number

Hello, ARCTAN, and thank you for your message!

There's a principle I want to introduce here that's not an obvious one, and possibly not a hard-and-fast rule: when you're working with the arctangent of something, it often helps if the something is expressed in tangents.

In this case, the argument of the arctangent is $\frac{\cos(x)+\sin(x)}{\cos(x)-\sin(x)}$, which - if you divide top and bottom by $\cos(x)$ - is $\frac{1 + \tan(x)}{1 - \tan(x)}$.

If we notice that $\tan(A+B) \equiv \frac{\tan(A)+\tan(B)}{1-\tan(A)\tan(B)}$, then we can see that if $\tan(A)=1$ (so $A=\frac{\pi}{4}$) and $B=x$, we recover exactly what we have above.

Your expression is $\arctan\left(\tan\left(x + \frac{\pi}{4}\right)\right)$, which is clearly $x + \frac{\pi}{4}$.

Hope that helps,

-- Uncle Colin Colin

Colin is a Weymouth maths tutor, author of several Maths For Dummies books and A-level maths guides. He started Flying Colours Maths in 2008. He lives with an espresso pot and nothing to prove.

Share

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Sign up for the Sum Comfort newsletter and get a free e-book of mathematical quotations.

No spam ever, obviously.

Where do you teach?

I teach in my home in Abbotsbury Road, Weymouth.

It's a 15-minute walk from Weymouth station, and it's on bus routes 3, 8 and X53. On-road parking is available nearby.