<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Chaos at the Sky]]></provider_name><provider_url><![CDATA[https://chaosatthesky.wordpress.com]]></provider_url><author_name><![CDATA[chaotic_iak]]></author_name><author_url><![CDATA[https://chaosatthesky.wordpress.com/author/chaoticiak/]]></author_url><title><![CDATA[Antiderivative of secant]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>(Yes, I&#8217;m bored. So why not completing my series.)</p>
<p><a href="https://chaosatthesky.wordpress.com/2012/11/25/antiderivative-of-tan-x/">Antiderivative of tangent</a></p>
<p>First, remember that <img src="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Cln+%7Cx%7C+%3D+%5Cdfrac%7B1%7D%7Bx%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Cln+%7Cx%7C+%3D+%5Cdfrac%7B1%7D%7Bx%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Cln+%7Cx%7C+%3D+%5Cdfrac%7B1%7D%7Bx%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;dfrac{d}{dx} &#92;ln |x| = &#92;dfrac{1}{x}" class="latex" />, so by chain rule we obtain <img src="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Cln+%7Cf%28x%29%7C+%3D+f%27%28x%29+%5Ccdot+%5Cdfrac%7B1%7D%7Bf%28x%29%7D+%3D+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Cln+%7Cf%28x%29%7C+%3D+f%27%28x%29+%5Ccdot+%5Cdfrac%7B1%7D%7Bf%28x%29%7D+%3D+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Cln+%7Cf%28x%29%7C+%3D+f%27%28x%29+%5Ccdot+%5Cdfrac%7B1%7D%7Bf%28x%29%7D+%3D+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;dfrac{d}{dx} &#92;ln |f(x)| = f&#039;(x) &#92;cdot &#92;dfrac{1}{f(x)} = &#92;dfrac{f&#039;(x)}{f(x)}" class="latex" />. By the <a href="https://en.wikipedia.org/wiki/Fundamental_theorem_of_calculus">(first) fundamental theorem of calculus</a>, derivative and antiderivative are two inverse operations, thus we obtain <img src="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D+%5C%2C+dx+%3D+%5Cln+%7Cf%28x%29%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D+%5C%2C+dx+%3D+%5Cln+%7Cf%28x%29%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D+%5C%2C+dx+%3D+%5Cln+%7Cf%28x%29%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;displaystyle&#92;int &#92;dfrac{f&#039;(x)}{f(x)} &#92;, dx = &#92;ln |f(x)| + C" class="latex" />.</p>
<p>Also, recall that <img src="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Ctan+x+%3D+%5Csec%5E2+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Ctan+x+%3D+%5Csec%5E2+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Ctan+x+%3D+%5Csec%5E2+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;dfrac{d}{dx} &#92;tan x = &#92;sec^2 x" class="latex" /> and <img src="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Csec+x+%3D+%5Csec+x+%5Ctan+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Csec+x+%3D+%5Csec+x+%5Ctan+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdfrac%7Bd%7D%7Bdx%7D+%5Csec+x+%3D+%5Csec+x+%5Ctan+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;dfrac{d}{dx} &#92;sec x = &#92;sec x &#92;tan x" class="latex" />. Don&#8217;t tell me you don&#8217;t know this; if you don&#8217;t, then stop reading.</p>
<p>To the real meat.</p>
<p><img src="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec+x+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec+x+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec+x+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;displaystyle&#92;int &#92;sec x &#92;, dx" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7B%5Csec+x+%28%5Ctan+x+%2B+%5Csec+x%29%7D%7B%5Ctan+x+%2B+%5Csec+x%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7B%5Csec+x+%28%5Ctan+x+%2B+%5Csec+x%29%7D%7B%5Ctan+x+%2B+%5Csec+x%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7B%5Csec+x+%28%5Ctan+x+%2B+%5Csec+x%29%7D%7B%5Ctan+x+%2B+%5Csec+x%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;displaystyle&#92;int &#92;dfrac{&#92;sec x (&#92;tan x + &#92;sec x)}{&#92;tan x + &#92;sec x} &#92;, dx" class="latex" /> (!)</p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7B%5Csec%5E2+x+%2B+%5Csec+x+%5Ctan+x%7D%7B%5Ctan+x+%2B+%5Csec+x%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7B%5Csec%5E2+x+%2B+%5Csec+x+%5Ctan+x%7D%7B%5Ctan+x+%2B+%5Csec+x%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7B%5Csec%5E2+x+%2B+%5Csec+x+%5Ctan+x%7D%7B%5Ctan+x+%2B+%5Csec+x%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;displaystyle&#92;int &#92;dfrac{&#92;sec^2 x + &#92;sec x &#92;tan x}{&#92;tan x + &#92;sec x} &#92;, dx" class="latex" /></p>
<p>Letting <img src="https://s0.wp.com/latex.php?latex=f%28x%29+%3D+%5Ctan+x+%2B+%5Csec+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=f%28x%29+%3D+%5Ctan+x+%2B+%5Csec+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=f%28x%29+%3D+%5Ctan+x+%2B+%5Csec+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="f(x) = &#92;tan x + &#92;sec x" class="latex" />, we have <img src="https://s0.wp.com/latex.php?latex=f%27%28x%29+%3D+%5Csec%5E2+x+%2B+%5Csec+x+%5Ctan+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=f%27%28x%29+%3D+%5Csec%5E2+x+%2B+%5Csec+x+%5Ctan+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=f%27%28x%29+%3D+%5Csec%5E2+x+%2B+%5Csec+x+%5Ctan+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="f&#039;(x) = &#92;sec^2 x + &#92;sec x &#92;tan x" class="latex" /> (!). Thus,</p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdisplaystyle%5Cint+%5Cdfrac%7Bf%27%28x%29%7D%7Bf%28x%29%7D+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;displaystyle&#92;int &#92;dfrac{f&#039;(x)}{f(x)} &#92;, dx" class="latex" /></p>
<p>Which by our lemma above is equal to</p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cln+%7Cf%28x%29%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cln+%7Cf%28x%29%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cln+%7Cf%28x%29%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;ln |f(x)| + C" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cln+%7C%5Ctan+x+%2B+%5Csec+x%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cln+%7C%5Ctan+x+%2B+%5Csec+x%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cln+%7C%5Ctan+x+%2B+%5Csec+x%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;ln |&#92;tan x + &#92;sec x| + C" class="latex" /> (Hint: <a href="https://en.wikipedia.org/wiki/Integral_of_the_secant_function">Wikipedia</a> is your friend.)</p>
<p>Usually I stop here, but you can also simplify it to involve only one trigonometric function:</p>
<p><img src="https://s0.wp.com/latex.php?latex=%5Ctan+x+%2B+%5Csec+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Ctan+x+%2B+%5Csec+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Ctan+x+%2B+%5Csec+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;tan x + &#92;sec x" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+-+%5Ccot+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29+%2B+%5Cdfrac%7B1%7D%7B%5Ccos+x%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+-+%5Ccot+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29+%2B+%5Cdfrac%7B1%7D%7B%5Ccos+x%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+-+%5Ccot+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29+%2B+%5Cdfrac%7B1%7D%7B%5Ccos+x%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= - &#92;cot &#92;left( x + &#92;frac{&#92;pi}{2} &#92;right) + &#92;dfrac{1}{&#92;cos x}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B%5Ctan+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29%7D+%2B+%5Cdfrac%7B1%7D%7B%5Csin+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B%5Ctan+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29%7D+%2B+%5Cdfrac%7B1%7D%7B%5Csin+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B%5Ctan+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29%7D+%2B+%5Cdfrac%7B1%7D%7B%5Csin+%5Cleft%28+x+%2B+%5Cfrac%7B%5Cpi%7D%7B2%7D+%5Cright%29%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= - &#92;dfrac{1}{&#92;tan &#92;left( x + &#92;frac{&#92;pi}{2} &#92;right)} + &#92;dfrac{1}{&#92;sin &#92;left( x + &#92;frac{&#92;pi}{2} &#92;right)}" class="latex" /> (!)</p>
<p>Call <img src="https://s0.wp.com/latex.php?latex=a+%3D+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=a+%3D+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=a+%3D+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="a = &#92;dfrac{x}{2} + &#92;dfrac{&#92;pi}{4}" class="latex" />. So</p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B%5Ctan+2a%7D+%2B+%5Cdfrac%7B1%7D%7B%5Csin+2a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B%5Ctan+2a%7D+%2B+%5Cdfrac%7B1%7D%7B%5Csin+2a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B%5Ctan+2a%7D+%2B+%5Cdfrac%7B1%7D%7B%5Csin+2a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= - &#92;dfrac{1}{&#92;tan 2a} + &#92;dfrac{1}{&#92;sin 2a}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B+%5Cdfrac%7B2+%5Ctan+a%7D%7B1+-+%5Ctan%5E2+a%7D+%7D+%2B+%5Cdfrac%7B1%7D%7B2+%5Csin+a+%5Ccos+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B+%5Cdfrac%7B2+%5Ctan+a%7D%7B1+-+%5Ctan%5E2+a%7D+%7D+%2B+%5Cdfrac%7B1%7D%7B2+%5Csin+a+%5Ccos+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1%7D%7B+%5Cdfrac%7B2+%5Ctan+a%7D%7B1+-+%5Ctan%5E2+a%7D+%7D+%2B+%5Cdfrac%7B1%7D%7B2+%5Csin+a+%5Ccos+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= - &#92;dfrac{1}{ &#92;dfrac{2 &#92;tan a}{1 - &#92;tan^2 a} } + &#92;dfrac{1}{2 &#92;sin a &#92;cos a}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1+-+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Csin+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1+-+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Csin+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+-+%5Cdfrac%7B1+-+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Csin+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= - &#92;dfrac{1 - &#92;tan^2 a}{2 &#92;tan a} + &#92;dfrac{&#92;sec a}{2 &#92;sin a}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Csin+a+%5Ccdot+%5Cfrac%7B%5Ccos+a%7D%7B%5Ccos+a%7D%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Csin+a+%5Ccdot+%5Cfrac%7B%5Ccos+a%7D%7B%5Ccos+a%7D%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Csin+a+%5Ccdot+%5Cfrac%7B%5Ccos+a%7D%7B%5Ccos+a%7D%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;dfrac{&#92;tan^2 a - 1}{2 &#92;tan a} + &#92;dfrac{&#92;sec a}{2 &#92;sin a &#92;cdot &#92;frac{&#92;cos a}{&#92;cos a}}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Ccos+a+%5Ccdot+%5Cfrac%7B%5Csin+a%7D%7B%5Ccos+a%7D%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Ccos+a+%5Ccdot+%5Cfrac%7B%5Csin+a%7D%7B%5Ccos+a%7D%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec+a%7D%7B2+%5Ccos+a+%5Ccdot+%5Cfrac%7B%5Csin+a%7D%7B%5Ccos+a%7D%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;dfrac{&#92;tan^2 a - 1}{2 &#92;tan a} + &#92;dfrac{&#92;sec a}{2 &#92;cos a &#92;cdot &#92;frac{&#92;sin a}{&#92;cos a}}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1%7D%7B2+%5Ctan+a%7D+%2B+%5Cdfrac%7B%5Csec%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;dfrac{&#92;tan^2 a - 1}{2 &#92;tan a} + &#92;dfrac{&#92;sec^2 a}{2 &#92;tan a}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1+%2B+%5Csec%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1+%2B+%5Csec%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+-+1+%2B+%5Csec%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;dfrac{&#92;tan^2 a - 1 + &#92;sec^2 a}{2 &#92;tan a}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+%2B+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+%2B+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B%5Ctan%5E2+a+%2B+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;dfrac{&#92;tan^2 a + &#92;tan^2 a}{2 &#92;tan a}" class="latex" /> (remember <img src="https://s0.wp.com/latex.php?latex=%5Ctan%5E2+x+%2B+1+%3D+%5Csec%5E2+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Ctan%5E2+x+%2B+1+%3D+%5Csec%5E2+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Ctan%5E2+x+%2B+1+%3D+%5Csec%5E2+x&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;tan^2 x + 1 = &#92;sec^2 x" class="latex" />?)</p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B2+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B2+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Cdfrac%7B2+%5Ctan%5E2+a%7D%7B2+%5Ctan+a%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;dfrac{2 &#92;tan^2 a}{2 &#92;tan a}" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Ctan+a&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Ctan+a&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Ctan+a&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;tan a" class="latex" /></p>
<p><img src="https://s0.wp.com/latex.php?latex=%3D+%5Ctan+%5Cleft%28+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D+%5Cright%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%5Ctan+%5Cleft%28+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D+%5Cright%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%5Ctan+%5Cleft%28+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D+%5Cright%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= &#92;tan &#92;left( &#92;dfrac{x}{2} + &#92;dfrac{&#92;pi}{4} &#92;right)" class="latex" /></p>
<p>Thus <img src="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec+x+%5C%2C+dx+%3D+%5Cln+%5Cleft%7C+%5Ctan+%5Cleft%28+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D+%5Cright%29+%5Cright%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec+x+%5C%2C+dx+%3D+%5Cln+%5Cleft%7C+%5Ctan+%5Cleft%28+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D+%5Cright%29+%5Cright%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec+x+%5C%2C+dx+%3D+%5Cln+%5Cleft%7C+%5Ctan+%5Cleft%28+%5Cdfrac%7Bx%7D%7B2%7D+%2B+%5Cdfrac%7B%5Cpi%7D%7B4%7D+%5Cright%29+%5Cright%7C+%2B+C&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;displaystyle&#92;int &#92;sec x &#92;, dx = &#92;ln &#92;left| &#92;tan &#92;left( &#92;dfrac{x}{2} + &#92;dfrac{&#92;pi}{4} &#92;right) &#92;right| + C" class="latex" />.</p>
<p>Now, what happens to <img src="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec%5E3+x+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec%5E3+x+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5Cdisplaystyle%5Cint+%5Csec%5E3+x+%5C%2C+dx&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;displaystyle&#92;int &#92;sec^3 x &#92;, dx" class="latex" />&#8230;</p>
]]></html></oembed>