I have this equation
$$\arctan(x)+\arctan(2x)=\frac{\pi}{3}$$
that ends up with two roots but when I graph the equation online the graph only intercepts the x-axis once. So where is my problem?
$$\begin{align} \arctan(x)+\arctan(2x) &=\frac{\pi}{3} \tag{1}\\ \tan(\arctan(x)+\arctan(2x)) &=\tan\left(\frac{\pi}{3}\right) \tag{2} \\ \tan(\arctan(x)+\arctan(2x)) &=\sqrt3 \tag{3} \\ \frac{\tan(\arctan(x))+\tan(\arctan(2x))}{1-\tan(\arctan(x)\cdot\arctan(2x))} &=\sqrt3 \tag{4} \\ \frac{3x}{1-2x^2}&=\sqrt3 \tag{5} \\ 3x &=\sqrt3\cdot(1-2x^2) \tag{6} \\ 3x &=\sqrt3-2\sqrt3x^2 \tag{7} \\ 2\sqrt3x^2+3x-\sqrt3 &=0 \tag{8} \end{align}$$
Now I look for the roots using $$b^2-4ac=9-(-4\cdot2\sqrt3\cdot\sqrt3)=33 \tag{9}$$ $$x_1= \frac{-3+\sqrt{33}}{4\sqrt3} \tag{10}$$ $$x_2= \frac{-3-\sqrt{33}}{4\sqrt3} \tag{11}$$
I hope this is right (not sure).
But If it is, I don't understand why graphing this function online gives me only one root, which corresponds to $x_1$.
I also used a website allowing to solve trigonometric equations on the fly in order to check my answer and same result there: their answer is unique and corresponds to my $x_1$ only. Can someone explain this to me please?
Thanks for your help.

Take tan on both sides of equation. The trig problem has been designed to turn quadratic:
$$\dfrac{3x}{1-2x^2}= {\sqrt 3}; \quad 2 x^2+\sqrt 3 x -1=0 $$
It is a quadratic equation whose discriminant $\Delta^2= 3-4\cdot 2\cdot(-1) =11>0, \,$ so must have two roots.
All your work is correct. But plotting and calculating inverse functions entails loss of a part of solution almost always.
The arctan function accepts $ \pm \pi $. To capture all roots we should consider concurrency of the three curves ($ \tan^{-1}$, parabola) with the x-axis. The second arctan was missing in your graph.
Making a more comprehensive plot with coterminal $\pi$ addition we have the full field access to include all intersections.
The roots are $(x_1,x_2)\approx (-1.26,+0.396)$ considering coterminal angles, in full agreement with the two roots of parabola.
Good problem.