The following identities have been suggested based on formulas in a previous question of mine.
If complex $\theta_1=\cos^{-1}(p)$ and $\theta_2=\sec^{-1}(p)$, where $p\in(-1, 0) \cup (1, \infty)$, then the following relation holds:
$$e^{i\theta_1}=\frac{1-\tan\frac{\theta_2}{2} }{1+\tan\frac{\theta_2}{2}}. \tag{1}\label{463459_1}$$
And for $p\in(-\infty, -1)\cup (0, 1)$, we have
$$e^{-i\theta_1}=\frac{1-\tan\frac{\theta_2}{2} }{1+\tan\frac{\theta_2}{2}}. \tag{2}\label{463459_2}$$
If complex $\theta_1=\sin^{-1}(p)$ and $\theta_2=\csc^{-1}(p)$, where $p\in(-\infty, -1)\cup (0, 1)$, then the following relation holds:
$$ie^{i\theta_1}=-\tan\frac{\theta_2}{2}.\tag{3}\label{463459_3}$$
And for $p\in(-1, 0) \cup (1, \infty)$ we have
$$ie^{-i\theta_1}=\tan\frac{\theta_2}{2}.\tag{4}\label{463459_4}$$
There are several variants that we can obtain by equating (and simplifying) the trigonometric formulas for quadratic equations from my previous question.
I have noticed that for certain trigonometric integrals defined over permissible intervals of $p$, the evaluation simplifies considerably. For instance, consider the following definite integral:
$$\int_2^5 \sqrt{\tan\left(\frac{\csc^{-1}(x)}{2}\right)} \,dx.\tag{5}\label{463459_5}$$
This integral calculator returns the following:
No antiderivative could be found within the given time limit, or all supported integration methods were tried unsuccessfully. Note that many functions don't have an elementary antiderivative.
But it gives an approximation of $1.178881841955109.$
Given that the interval $[2, 5]$ is within the permissible values of $p$, I can use $e^{i\cos^{-1}(p)}=\tan\frac{\csc^{-1}(p)}{2}$ (derived from identities \eqref{463459_1} and \eqref{463459_4}), valid for $p\in[-1, 0) \cup [1, \infty)$, to convert \eqref{463459_5} into
$$\int_2^5 \sqrt{e^{i\cos^{-1}(x)}}\,dx.\tag{6}\label{463459_6}$$
The same calculator provides the same answer but now displaying the steps as well. As a second example, Mathematica is unable to solve this integral (as confirmed in the comments):
$$\int_{2}^{3} \frac{{1 - \tan\frac{{\sec^{-1}x}}{2}}}{{1 + \tan\frac{{\sec^{-1}x}}{2}}}\sqrt{\tan\frac{\csc^{-1}x}{2}}\,dx\tag{7}$$
Neither this integral calculator. Although both the calculator and Wolfram Alpha can give you a numerical approximation. However, thanks to this new trick, you can convert $(7)$ into
$$\int_{2}^{3} e^{\frac{3i\arccos(x)}{2}}\,dx\tag{8}$$
Note that this integral calculator has no problem solving (elegantly!) integral $(8)$.
Other examples of integrals that at least Wolfram Alpha is not capable of solving but that can be evaluated using the transformations described in this blog (each integral is linked to its solution in the integral calculator):
$$\int_{2}^{3} \ln(x) \sqrt{\tan\left(\frac12\csc^{-1}x\right)} \, dx\tag{9}$$
$$\int_{2}^{3} \sin\left(\tan\frac12\csc^{-1}{x}\right) \, dx\tag{10}$$
So far I have considered integrals involving $\tan{\left(\frac12\csc^{-1}x\right)}$. However, this technique can be applied to a countless number of cases that surpass my initial expectations (especially if you consider that sine and cosine functions can be expressed in terms of tangents of half angles.). For example, consider the integral $\int_{\frac{\pi}{4}}^{\frac{\pi}{20}}\sqrt{\tan{x}}\,dx$. This can be solved by letting $x=\frac12\csc^{-1}t$, where $\,dx=-\frac{1}{2t\sqrt{t^2-1}}\,dt$, transforming the original integral into $-\frac12\int_{\csc(\frac{\pi}{2})}^{\csc(\frac{\pi}{10})}e^{\frac12i\arccos(t)} \left(\frac{1}{t\sqrt{t^2-1}}\right) \, dt$. Certainly, there will be instances where employing these transformations might seem overly intricate, akin to cutting bread with a saw. However, what I aim to emphasize is the remarkable versatility of this technique.
Was this trick known in the world of integrals?
EDITED. Not exactly the same technique , but I think this is somehow related to my question. According to Wikipedia, using Euler's formula, any trigonometric function may be written in terms of complex exponential functions, namely $e^{ix}$ and $e^{-ix}$ and then integrated. This technique is often simpler and faster than using trigonometric identities or integration by parts, and is sufficiently powerful to integrate any rational expression involving trigonometric functions.
Crossposted at MathSE.
This story will continue on my blog.
\tag
ging your equations, then you might as well\label
them and use\eqref
later. This way one gets clickable links, so that a commenter or an answerer, as well as your post itself, can refer, for example, to your \eqref{463459_1}. I edited accordingly. $\endgroup$