I'm asked to solve $\tan{x} = \tan{3x}$
Here's my attempt:
$$\tan{x} = \tan{3x}$$ $$\tan{x} = \tan{(x + 2x)}$$ $$\tan{x} = \frac{\tan{x} + \tan{2x}}{1-\tan{x}\tan{2x}}$$
Recall the identity: $$\tan{2x} = \frac{2\tan{x}}{1-\tan^2{x}}$$
So then we have: $$\tan{x} = \frac{\tan{x} + \frac{2\tan{x}}{1-\tan^2{x}}}{1-\tan{x}\frac{2\tan{x}}{1-\tan^2{x}}}$$ $$\tan{x} - \tan^2{(x)} \cdot \frac{2\tan{x}}{1-\tan^2{x}} = \tan{x} + \frac{2\tan{x}}{1-\tan^2{x}}$$ $$-\tan^2{(x)} \cdot \frac{2\tan{x}}{1-\tan^2{x}} = \frac{2\tan{x}}{1-\tan^2{x}}$$ $$-\tan^2{x} \cdot \frac{2\tan{x}}{1-\tan^2{x}} \cdot \frac{1-\tan^2{x}}{2\tan{x}} = 1$$ $$\tan^2{x} = -1$$
This does obviously not compute. Why is my way wrong and how can I go about solving it?