2
$\begingroup$

$$\int \sec^{2n+1}(x)\ \text{d}x $$ This is not a homework.

I would like someone to suggest a solution for this, without using any recursion formula.

  • 0
    The question is - why do you want to avoid the recursion formula?2017-01-26
  • 0
    I want to see a better method.2017-01-26
  • 0
    @Fundamentals What does make you think that any other method could/would be "better"?2017-01-26
  • 1
    Define "better"! What is wrong with recursion?2017-01-26
  • 1
    This is what [WolframAlpha](http://www.wolframalpha.com/input/?i=int+(sec(x))%5E(2n%2B1)+dx) has to say about the problem.2017-01-26
  • 0
    Well someone has found a better solution then Wolfram so I guess it was a rather good idea posing the question since I have struggled for a whole day on this.2017-01-26

1 Answers 1

2

First, substitute with $$ u=tanx $$

$$ I=\int sec^{2n+1}xdx=\int (u^{2}+1)^{n-\frac{1}{2}}du, n \in \mathbb{N} $$

Then perform a second substitution $$ u=sinh\theta $$

$$ \int (u^{2}+1)^{n-\frac{1}{2}}du = \int cosh^{2n}\theta d\theta $$

Now here's the big step. One expands the cosh function, either by converting to exponential form, or by expanding the cos function and then using Osborne's rule. I will explain this point later on in the post.

$$ cosh^{2n}\theta = \frac{1}{2^{2n}}\binom{2n}{n} +\frac{1}{2^{2n-1}}\sum_{k=1}^{n}\ \binom{2n}{n-k}cosh2k\theta $$

Now we can just integrate term by term.

$$ I=\int \frac{1}{2^{2n}}\binom{2n}{n} +\frac{1}{2^{2n-1}}\sum_{k=1}^{n}\ \binom{2n}{n-k}cosh2k\theta d\theta $$

$$ = \frac{1}{2^{2n}}\binom{2n}{n}\theta +\frac{1}{2^{2n}}\sum_{k=1}^{n}\binom{2n}{n-k}\frac{sinh2k\theta }{k}+C $$

Now we have the integral in terms of theta but need to convert back to x. Recall:

$$ u=tanx=sinh\theta = \frac{e^{\theta}-e^{-\theta}}{2}$$

$$ \theta = ln|tanx + \sqrt{tan^{2}x+1}| = ln|tanx + secx| $$

To convert the sinh, note the following:

$$ sinh(ln\alpha ) = \frac{\alpha - \alpha^{-1} }{2} $$

Finally, we can write down the answer:

$$ I = \frac{1}{2^{2n}}\binom{2n}{n}ln|tanx + secx| +\frac{1}{2^{2n+1}}\sum_{k=1}^{n}\binom{2n}{n-k}\frac{(tanx + secx)^{2k}+(tanx + secx)^{-2k}}{k}+C $$


I've checked this solution and it works for n=0,1 and 2. Say, if you try to differentiate the closed form for n=1 to get back $$sec^3(x)$$ with Wolfram Alpha, it will give you a big trigonometric function which on simplification does yield sec^3(x). Alternatively you could try a few limits to check that it works.

It's quite sick really, that one could give any n, say n=15, corresponding to the 31st power of sec, and then one could simply write down its indefinite integral in less than 5 or so minutes.


I still need to explain the cosh expansion.

Define the following:

$$ z^{n}=cosn\theta+isinn\theta $$ $$ z^{-n}=cosn\theta-isinn\theta $$

Then,

$$ z^{n}+z^{-n} = 2cosn\theta $$

Now consider the following:

$$ (z+z^{-1})^{2n} = 2^{2n}cos^{2n}\theta = \binom{2n}{n}+\sum_{k=1}^{n}\ \binom{2n}{n-k}(z^{2k}+z^{-2k})= \binom{2n}{n}+\sum_{k=1}^{n}\ \binom{2n}{n-k}2cosh2k\theta$$

Therefore: $$ cos^{2n}\theta = \frac{1}{2^{2n}}\binom{2n}{n} +\frac{1}{2^{2n-1}}\sum_{k=1}^{n}\ \binom{2n}{n-k}cos2k\theta $$

Now apply Osborne's rule (rule for converting trig to hyperbolic functions and vice versa - if there is a product of sines, add a negative to convert). Since there are no products of sines, this formula works exactly the same for hyperbolic cos. Thus we arrive at what we wanted:

$$ cosh^{2n}\theta = \frac{1}{2^{2n}}\binom{2n}{n} +\frac{1}{2^{2n-1}}\sum_{k=1}^{n}\ \binom{2n}{n-k}cosh2k\theta $$

  • 0
    wow, Incredible!2017-01-26