Solving Difficult Integral - Tom's Struggles

  • Thread starter Thread starter Kb1jij
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
24 replies · 4K views
Kb1jij
Messages
19
Reaction score
0
I have been stumped trying to find the following integral:

[tex]\int \sqrt{1+x^2} dx[/tex]

I put it into my TI-89 calculator and it gave me and answer (that checks), but I cannot figure out how to do it by hand (is it possible?).

I tried using substitution and got:

[tex]\int \frac{\sqrt{u}}{\sqrt{u-1}} du[/tex]

If you then use integration by parts, it just flips the fraction. Any suggestions?

Thanks!
Tom
 
Last edited:
Physics news on Phys.org
You can also try starting with integration by parts, and that gives you:

[tex]x \sqrt{1+x^2} - \int \frac{x^2}{\sqrt{1+x^2}} dx[/tex]

but that doesn't help
 
Have you seen the hyperbolic functions? You can use cosh²a-sinh²a = 1 to substitute x = sinh(a).
If you haven't seen those, using 1+tan²a = sec²a is an alternative to use x = tan(a).
 
Hootenanny said:
For this type of problem you can use the inverse of the chain rule to give;

[tex]\int (ax + b)^n \;\; dx = \frac{1}{a(n+1)}\cdot (ax+b)^{n+1} +c[/tex]

Hope this helps
-Hoot:smile:

But he (she) has a x^2 so this does not help... (or I might be missing something). A trig substitution seems the way to go to me...

Pat
 
nrqed said:
But he (she) has a x^2 so this does not help... (or I might be missing something). A trig substitution seems the way to go to me...

Pat

Okay I could also write it like this;

[tex]\int [f(x)]^n \;\; dx = \frac{1}{f'(x)\cdot (n+1)} \cdot [f(x)]^{n+1}[/tex]

I trig ident is not required :smile:. I could show the full derivation if the OP likes.
 
Last edited:
Hootenanny said:
Okay I could also write it like this;

[tex]\int [f(x)]^n \;\; dx = \frac{1}{f'(x)\cdot (n+1)} \cdot [f(x)]^{n+1}[/tex]

I trig ident is not required :smile:. I could show the full derivation if the OP likes.

I am sorry, but this is incorrect! (*unless f'(x) is a constant!)

Pat
 
TD said:
Have you seen the hyperbolic functions? You can use cosh²a-sinh²a = 1 to substitute x = sinh(a).
If you haven't seen those, using 1+tan²a = sec²a is an alternative to use x = tan(a).

To Kb1jij:

TD is right.
That's indeed the way to go. Using [itex]x= tan (\theta)[/itex], one gets [itex]{\sqrt {1 + x^2}} = sec (\theta)[/itex].

Then find dx in terms of [itex]d \theta[/itex]. The resulting integral is easy to do. Then you need to reexpress [itex]\theta[/itex] in terms of x.

Pat
 
nrqed said:
To Kb1jij:

TD is right.
That's indeed the way to go. Using [itex]x= tan (\theta)[/itex], one gets [itex]{\sqrt {1 + x^2}} = sec (\theta)[/itex].

Then find dx in terms of [itex]d \theta[/itex]. The resulting integral is easy to do. Then you need to reexpress [itex]\theta[/itex] in terms of x.

Pat

So the result is [tex]\int sec^3 (\theta) d \theta[/tex], right?
I don't think that this is really "easy to do", but I'll let you know if I get stuck.

Thanks!
Tom
 
Kb1jij said:
So the result is [tex]\int sec^3 (\theta) d \theta[/tex], right?
I don't think that this is really "easy to do", but I'll let you know if I get stuck.

Thanks!
Tom

You are right, it does not look pretty. Sorry.

Then, you must use hyperbolic trig functions. Set x = sinh(u). You will get the integral of cosh(u)^2. Using the hyperbolic trig identity for cosh^2, you will get a very easy integral to do.

Pat
 
nrqed said:
You are right, it does not look pretty. Sorry.

Then, you must use hyperbolic trig functions. Set x = sinh(u). You will get the integral of cosh(u)^2. Using the hyperbolic trig identity for cosh^2, you will get a very easy integral to do.

Pat

Ok, I found the integral, and I am left with this:
[tex]\frac{\theta + cosh \theta sinh \theta}{2}[/tex]
which can then be turned into (arcsinh x + x cosh(arcsinh x))/2. Can I simplify that further? I'm not too familiar with the hyperbolic trig functions, but if those were regular trig functions that second term would become
[tex]x\sqrt{1-x^2}[/tex]. Can I do the same here?
 
[tex]\int \sec^3 \theta \, d\theta[/tex]
is one of the standard (circular) trigonometric integrals. Your textbook probably explicitly states an algorithm for simplifying integrals of the type

[tex]\int \sec^a \theta \tan^b \theta \, d\theta[/tex]

and the one of interest is certainly in any integral table.

I think the recommended step is to rewrite the integrand using [itex]\sec^2 \theta = 1 + \tan^2 \theta[/itex].


As for the hyperbolic substitution...
Can I do the same here?
You can use the same idea that was used to derive that result for the circular trig functions. However, the result will probably not be identical.
 
Kb1jij said:
Ok, I found the integral, and I am left with this:
[tex]\frac{\theta + cosh \theta sinh \theta}{2}[/tex]
which can then be turned into (arcsinh x + x cosh(arcsinh x))/2. Can I simplify that further? I'm not too familiar with the hyperbolic trig functions, but if those were regular trig functions that second term would become
[tex]x\sqrt{1-x^2}[/tex]. Can I do the same here?

Do not turn it back in terms of x yet! You must still integrate! *After* you have integrated you will go back to x. It's easy to integrate because cosh is the derivative of sinh! (or vice versa). That's the beauty of this trick...
 
Hurkyl said:
[tex]\int \sec^3 \theta \, d\theta[/tex]
is one of the standard (circular) trigonometric integrals. Your textbook probably explicitly states an algorithm for simplifying integrals of the type

[tex]\int \sec^a \theta \tan^b \theta \, d\theta[/tex]

and the one of interest is certainly in any integral table.

I think the recommended step is to rewrite the integrand using [itex]\sec^2 \theta = 1 + \tan^2 \theta[/itex].


As for the hyperbolic substitution...

You can use the same idea that was used to derive that result for the circular trig functions. However, the result will probably not be identical.

I don't think that this trick works if the difference of exponents a-b is 3. It works only for specific differences of exponents (I am too busy right now to work it out)... But I may be missing something in which case I would be interested in seeing how this works out...

Pat
 
Oh right, I made a mistake. (That's what I get for doing it in my head) I needed to also use integration by parts to evaluate [itex]\int \sec^3 \theta \, d\theta[/itex].
 
If I'm not mistaken, we had a thread very similar to this one a while back. I came to the conclusion that hyperbolic trig was the most direct and elegant way. Let me search...
 
Problems can vary. If I do one substitution and am not immediately happy with the results, I will often try the other substitution to see if I like it better. With some I prefer the hyperbolic substitution, and others have turned out nicer with a circular substitution.
 
OK, found it : https://www.physicsforums.com/showthread.php?t=104258&highlight=hyperbolic

Not exactly the same problem, but similar. VietDao showed a very insightful way to integrate that horrid secant and tangent term that allowed one to use conventional trig easily.

But the hyperbolic trig is still easier to "see", IMVHO. :smile:

An even cooler way would be to subsitute x = iu and transform it into a circular trig function using complex arguments (that's actually equivalent to the hyperbolic trig approach).
 
Last edited:
Curious3141 said:
OK, found it : https://www.physicsforums.com/showthread.php?t=104258&highlight=hyperbolic

Not exactly the same problem, but similar. VietDao showed a very insightful way to integrate that horrid secant and tangent term that allowed one to use conventional trig easily.
Nah, it's not very insightful... :frown:
In case you don't want a hyperbolic substitution, you can try the following way. The first step is to find:
[tex]\int \frac{dx}{\sqrt{1 + x ^ 2}}[/tex]
Let:
[tex]\sqrt{1 + x ^ 2} = t - x[/tex]
Take the differential of both sides gives:
[tex]\frac{x}{\sqrt{1 + x ^ 2}} dx = dt - dx[/tex]
[tex]\Rightarrow \frac{x + \sqrt{1 + x ^ 2}}{\sqrt{1 + x ^ 2}} dx = dt[/tex]
[tex]\Rightarrow \frac{t}{\sqrt{1 + x ^ 2}} dx = dt[/tex]
Divide both sides by t, then integrate both sides gives:
[tex]\Rightarrow \int \frac{dx}{\sqrt{1 + x ^ 2}} = \int \frac{dt}{t} = \ln |t| + C = \ln |x + \sqrt{1 + x ^ 2}| + C[/tex]
Then let's find:
[tex]\int \sqrt{1 + x ^ 2} dx[/tex]. By Integrating by Parts, we have:
[tex]\int \sqrt{1 + x ^ 2} dx = x \sqrt{1 + x ^ 2} - \int \frac{x ^ 2}{\sqrt{1 + x ^ 2}} dx = x \sqrt{1 + x ^ 2} - \int \frac{x ^ 2 + 1 - 1}{\sqrt{1 + x ^ 2}} dx[/tex]
[tex]= x \sqrt{1 + x ^ 2} + \int \frac{dx}{\sqrt{1 + x ^ 2}} - \int \sqrt{1 + x ^ 2} dx[/tex].
Now, you can go from here, right? :)
 
Last edited:
Although I feel sure the hyperbolic substitution is easier, here is another standard way to integrate [itex]\int sec^3(\theta) d\theta[/itex]:
[tex]\int sec^3(\theta)d\theta= \int \frac{d\theta}{cos^3(\theta)}= \int\frac{cos(\theta)d\theta}{cos^4(\theta)}[/tex]
[tex]= \int \frac{cos(\theta)d\theta}{(1- sin^2(\theta))^2}[/tex]
Let [itex]u= sin(\theta)[/tex] and the integral becomes<br /> [tex]\int \frac{du}{(1-u^2)^2}[/tex]<br /> which can be done with partial fractions.[/itex]
 
Great, thanks guys! I understand both methods. I think a trig substitution is a little easier though. Either way I came out with a final answer of:
[tex]\frac{x \sqrt{1+x^2} + ln |x+\sqrt{1+x^2}|}{2} + C[/tex]

Thanks again!
Tom