The Reduce
command of Mathematica is powerful. However, both Reduce
and FindInstance
are not able to solve
$$\sqrt{18 | \tan (x)| +6 | \cot (x)| +21}+\sqrt{4 | \tan (4 x)| +12 | \cot (4 x)| +19}=3 \sqrt{3}+7 $$
over the reals running without any response during a long time. I solve it in such a way. First, the result of
Plot[Sqrt[21 + 18*RealAbs[Tan[x]] + 6*RealAbs[Cot[x]]] +
Sqrt[19 + 4*RealAbs[Tan[4 x]] + 12*RealAbs[Cot[4 x]]] - 7 -
3*Sqrt[3], {x, -Pi/2, Pi/2}, PlotRange -> {-1, 1}]
shows two roots near $-0.5$ and $0.5$. Now
FindRoot[Sqrt[21 + 18*RealAbs[Tan[x]] + 6*RealAbs[Cot[x]]] +
Sqrt[19 + 4*RealAbs[Tan[4 x]] + 12*RealAbs[Cot[4 x]]] - 7 -
3*Sqrt[3], {x, 0.5}]
{x -> 0.523599}
and
6*0.5235987628872519
3.14159
suggest that $-\frac \pi 6$ and $\frac \pi 6$ are the solutions on $(-\frac \pi 2,-\frac \pi 2)$. The verification confirms it. How to prove with Mathematica these are the only solutions of the equation under consideration on that interval? What are other ways to symbolically solve that equation with Mathematica?