I am trying to find an identity for $\arctan(ab)$ in terms of any trigonometric function involving $a$ and $b$ being separate.
I have attempted doing so using $(\arctan(a)+\arctan(b))^2$ but that got me nowhere. I have not tried any other ideas because I can't think of anything that is worth putting down on paper and seeing where it leads.
Can anybody help me out here? Do note that I am asking because this is required for a question that is part of a question set I am submitting to UKMT for their Senior Mathematical Challenge (will not disclose the question).
Edit 1: Looks like there is no identity for $\arctan(ab)$, but I am now curious as to whether an identity exists for $\arctan(a^2)$ since that also helps at the stage of this question I am fleshing out.
I have found an identity for $\arctan(a^2)$ on my own. It is:
$$\fbox{$\arctan(a^2)=\frac{1}{2}[\arctan(\frac{2a}{a^4-2a^3+1})+\arctan(\frac{2a(1-a)}{a^4-2a^3-1})]$}$$
This was derived from the $\arctan(a+b)$ identity from https://math.stackexchange.com/a/4294539/789034
($b=-a+a^2$ was the substitution used to get the above identity.).
As for $\arctan(ab)$, the identity produced has a mixture of $a$'s and $b$'s, which doesn't satisfy my question's initial conditions.
Also, you can generalise for $\arctan(a^n)$ (using the $\arctan(a+b)$ identity and $b=-a+a^n$ as the substitution), which is:
$$\fbox{$\arctan(a^n)=\frac{1}{2}[\arctan(\frac{2a}{a^{2n}-2a^{n+1}+1})+\arctan(\frac{2a(1-a^{n-1})}{a^{n}-2a^{n+1}-1})]$}$$