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.