I am teaching myself math, and I have a question involving writing trigonometric expressions as algebraic expressions:
Write $\cos(\tan^{-1}(u))$ as an algebraic expression. The "correct" answer, according to the student solutions guide that I am using, is: $$\frac{1}{\sqrt{u^2 + 1}}.$$
The answer I came up with, although more messy is: $$\frac{1/u}{\sqrt{(1/u)^2 + 1}}.$$
To make sure my answer was aligned with the book's answer, I used 2 as a test case for $u$ which makes the answer $\sqrt{5}/5$ or $0.447213596$.
Does it matter what answer I choose, is there a grammar guideline I should follow when solving problems such as this and future mathematical identities?
