Why am I getting a different value for $\sin\left(2\tan^{-1}\frac{4}{3}\right)$ than my calculator?

Solution 1:

One has to keep in mind, which quadrant the angle lies in from the beginning, and not derive it from calculations. Your calculations will be prone to mistakes because trigonometric and inverse trigonometric functions are not one-to-one functions.

Notice that $\tan^{-1} 4/3 > \tan ^{-1} 1 = \pi/4$. So, $\theta = 2\tan^{-1} 4/3 > \pi/2$ and belongs to second quadrant. However $\tan^{-1} \text{(negative value)}$ lies in fourth quadrant. So the conversion $$\sin\left( \underset{\text{II quadrant}}{2\tan^{-1}\left(\frac{4}{3}\right)}\right) \rightarrow \sin\left( \underset{\text{IV quadrant}} {\tan^{-1}\left(\frac{-24}{7}\right)} \right)$$ is incorrect. But it can be corrected as follows $$\sin\left( \underset{\text{II quadrant}}{2\tan^{-1}\left(\frac{4}{3}\right)} \right) = \sin\left( \underset{\text{II quadrant}}{\pi + \tan^{-1}\left(\frac{-24}{7}\right)} \right)$$

Now calculation should give correct answer.

Solution 2:

Notice that your formula to simplify the arctan gives a positive answer on the left hand side

$$2\arctan \frac{4}{3} > 0$$

but a negative on the right

$$\arctan \frac{\frac{8}{3}}{1-\left(\frac{4}{3}\right)^2} < 0$$

The formula itself is the mistake.