_______ / 2 \
/ a - b |1 tan (x)|
2* / ----- *|- + -------|
\/ a + b \2 2 /
----------------------------------
/ 2 \ _________
| tan (x)*(a - b)| / 2 2
|1 + ---------------|*\/ a - b
\ 4*(a + b) /
$$\frac{2 \sqrt{\frac{a - b}{a + b}} \left(\frac{\tan^{2}{\left(x \right)}}{2} + \frac{1}{2}\right)}{\sqrt{a^{2} - b^{2}} \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{4 \left(a + b\right)} + 1\right)}$$
_______ / / 2 \ \
/ a - b / 2 \ | \1 + tan (x)/*(a - b) |
-8* / ----- *\1 + tan (x)/*|-1 + -----------------------------|*tan(x)
\/ a + b | / 2 \ |
| | tan (x)*(a - b)| |
| |4 + ---------------|*(a + b)|
\ \ a + b / /
------------------------------------------------------------------------
/ 2 \ _________
| tan (x)*(a - b)| / 2 2
|4 + ---------------|*\/ a - b
\ a + b /
$$- \frac{8 \sqrt{\frac{a - b}{a + b}} \left(\frac{\left(a - b\right) \left(\tan^{2}{\left(x \right)} + 1\right)}{\left(a + b\right) \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)} - 1\right) \left(\tan^{2}{\left(x \right)} + 1\right) \tan{\left(x \right)}}{\sqrt{a^{2} - b^{2}} \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)}$$
/ 2 2 \
_______ | / 2 \ 2 / 2 \ / 2 \ 2 2 |
/ a - b / 2 \ | 2 \1 + tan (x)/ *(a - b) 6*tan (x)*\1 + tan (x)/*(a - b) 4*\1 + tan (x)/ *(a - b) *tan (x)|
8* / ----- *\1 + tan (x)/*|1 + 3*tan (x) - ----------------------------- - ------------------------------- + ---------------------------------|
\/ a + b | / 2 \ / 2 \ 2 |
| | tan (x)*(a - b)| | tan (x)*(a - b)| / 2 \ |
| |4 + ---------------|*(a + b) |4 + ---------------|*(a + b) | tan (x)*(a - b)| 2 |
| \ a + b / \ a + b / |4 + ---------------| *(a + b) |
\ \ a + b / /
-------------------------------------------------------------------------------------------------------------------------------------------------
/ 2 \ _________
| tan (x)*(a - b)| / 2 2
|4 + ---------------|*\/ a - b
\ a + b /
$$\frac{8 \sqrt{\frac{a - b}{a + b}} \left(\tan^{2}{\left(x \right)} + 1\right) \left(\frac{4 \left(a - b\right)^{2} \left(\tan^{2}{\left(x \right)} + 1\right)^{2} \tan^{2}{\left(x \right)}}{\left(a + b\right)^{2} \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)^{2}} - \frac{\left(a - b\right) \left(\tan^{2}{\left(x \right)} + 1\right)^{2}}{\left(a + b\right) \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)} - \frac{6 \left(a - b\right) \left(\tan^{2}{\left(x \right)} + 1\right) \tan^{2}{\left(x \right)}}{\left(a + b\right) \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)} + 3 \tan^{2}{\left(x \right)} + 1\right)}{\sqrt{a^{2} - b^{2}} \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)}$$
/ 2 2 \
_______ | / 2 \ 2 / 2 \ / 2 \ 2 2 |
/ a - b / 2 \ | 2 \1 + tan (x)/ *(a - b) 6*tan (x)*\1 + tan (x)/*(a - b) 4*\1 + tan (x)/ *(a - b) *tan (x)|
8* / ----- *\1 + tan (x)/*|1 + 3*tan (x) - ----------------------------- - ------------------------------- + ---------------------------------|
\/ a + b | / 2 \ / 2 \ 2 |
| | tan (x)*(a - b)| | tan (x)*(a - b)| / 2 \ |
| |4 + ---------------|*(a + b) |4 + ---------------|*(a + b) | tan (x)*(a - b)| 2 |
| \ a + b / \ a + b / |4 + ---------------| *(a + b) |
\ \ a + b / /
-------------------------------------------------------------------------------------------------------------------------------------------------
/ 2 \ _________
| tan (x)*(a - b)| / 2 2
|4 + ---------------|*\/ a - b
\ a + b /
$$\frac{8 \sqrt{\frac{a - b}{a + b}} \left(\tan^{2}{\left(x \right)} + 1\right) \left(\frac{4 \left(a - b\right)^{2} \left(\tan^{2}{\left(x \right)} + 1\right)^{2} \tan^{2}{\left(x \right)}}{\left(a + b\right)^{2} \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)^{2}} - \frac{\left(a - b\right) \left(\tan^{2}{\left(x \right)} + 1\right)^{2}}{\left(a + b\right) \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)} - \frac{6 \left(a - b\right) \left(\tan^{2}{\left(x \right)} + 1\right) \tan^{2}{\left(x \right)}}{\left(a + b\right) \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)} + 3 \tan^{2}{\left(x \right)} + 1\right)}{\sqrt{a^{2} - b^{2}} \left(\frac{\left(a - b\right) \tan^{2}{\left(x \right)}}{a + b} + 4\right)}$$