Solving Integration Problems Using Trig Substitution

  • Thread starter Thread starter Jungy
  • Start date Start date
  • Tags Tags
    Integration
Jungy
Messages
27
Reaction score
0
These aren't really homework, but they're probably easy enough to be... so =). These are off some sheet that I found and decided to do, and have gotten stuck on various ones.

1. Question 1

2. \int \frac{\mbox{dx}}{x\sqrt{x^2-a^2}}

The Attempt at a Solution



Okay, first of all, there have been 2 questions prior to this one which only differ under the square root sign; the a^2 has come before the x^2 in both cases and could be done with my crappy knowledge of doing a trig substitution. However this one has gotten me confused; the x^2 term is now before the a^2 and I don't think I'm finding the right trig substitution. The sheet provides an answer of \frac{1}{a}\ arcsec \frac{x}{a}... and I have no idea how that came about.


Question 2 to come next.
 
Last edited:
Physics news on Phys.org
Hint, \tan^2 x+1=\sec^2x.
 
1. Question 2

2. \int \frac{dx}{1+cos^2 x}

3. An attempt at a solution

I've tried doing various u-substitutions which went nowhere, I've tried making trig identities, but I can't seem to find one that works. I've also tried splitting the 1 dx on top into sin^2 x+cos^2 x etc. but have gotten nothing...
 
Cyosis said:
Hint, \tan^2 x+1=\sec^2x.

Okay let's see:

let x=asec \theta
then dx=atan \theta sec \theta

Edit: That comes to give \int \frac{1}{a} d\theta
That looks right.
 
Last edited:
That's because you need to make the substitution x=a \sec \theta and not x=a \sec^2 \theta. With your substitution you get a \sec^4 \theta so the entire rule doesn't apply.

Hint 2 (for integral 2): \cos 2x=2 \cos^2 x-1.
 
Cyosis said:
That's because you need to make the substitution x=a \sec \theta and not x=a \sec^2 \theta. With your substitution you get a \sec^4 \theta so the entire rule doesn't apply.

Hint 2 (for integral 2): \cos 2x=2 \cos^2 x-1.

Oops, that's what I meant; not squared... better edit that.
 
Well if that's what you meant you should note that your dx is wrong as well, which is the reason you don't get the right answer.

I see you edited your post with a question. If you get \frac{1}{a} \theta, what is \theta in terms of x?
 
Last edited:
Now that I've edited the above...

it becomes
\frac {1}{a} \theta
and \theta = arcsec \frac{x}{a}

Yes, that looks right now. Thanks.Edit: However with your second hint, I am still struggling :(
 
Last edited:
What have you tried so far with the second hint?

Ugh, I misread your second integral overlooked the square, so that hint is not going to work, apologies.

This doesn't seem to be an easy one but the following method works.

Some intermediate steps:
first substitute x=\arccos u \Rightarrow dx=\frac{-1}{\sqrt{1-u^2}} du. Then substitute u=\frac{1}{\sqrt{1+z^2}} \Rightarrow du=\frac{-z}{(1+z^2)^{\frac{3}{2}}}dz.

If you've done everything correctly you get to the following integral:

\int \frac{dz}{2+z^2}

You then cast this integral into a form where you recognize the derivative of the arctangent.
 
Last edited:
  • #10
Thanks for staying with me here Cyosis;

I understand both the substitutions you have provided (by that I mean I know what you're talking about in terms of d/dx etc) but I don't know how I can use the second one.
Or is it a straight substitution after the first one you have provided?
 
  • #11
Just plug them in one after another. It will look like a mess but you can simplify it quite easily to the simple form in my previous post. Alternatively you could also use u=tan x, this way only requires one substitution.
 
Last edited:
  • #12
I've done as you've guided me

And now I've got (after canceling etc etc)

\int \frac {dz}{(z^2+2)(z^2+1)^\frac {1}{2}}

What have I done wrong now...?

I've got the z^2+2 but I have a leftover (z^2+1)^\frac {1}{2} from the du/dz having the index of 3/2...
 
  • #13
After doing the double substitution you should have gotten this integral. I reckon you made a mistake with the root, but I can't tell from that expression.

<br /> \int\frac{1}{(\frac{1}{1+z^2}+1) \sqrt{1 - \frac{1}{1+z^2}}} \frac{z}{(1+z^2)^{\frac{3}{2}}}\,dz<br />

Hint:(1+z^2)^{\frac{3}{2}}=(1+z^2) \sqrt{1+z^2}.
 
  • #14
Cyosis said:
After doing the double substitution you should have gotten this integral. I reckon you made a mistake with the root, but I can't tell from that expression.

<br /> \int\frac{1}{(\frac{1}{1+z^2}+1) \sqrt{1 - \frac{1}{1+z^2}}} \frac{z}{(1+z^2)^{\frac{3}{2}}}\,dz<br />

Hint:(1+z^2)^{\frac{3}{2}}=(1+z^2) \sqrt {1+z^2}.

Yeah I think I got that

so if you multiply top and bottom by z^2+1...

I get

\frac {z(z^2+1)}{(z^2+2)\sqrt{z^2}(z^2+1)^\frac {3}{2}}

so everything cancels and I had the root 1+z^2 leftover (incl the z^2 + 2) in the bottom... or am I just doing something plain stupid here?

However, I thought back to what you said very early about the cos^2 x = \frac {1}{2}(1+cos2x) and used it...

Then I did some working and used t formula

which eventually got me to \int \frac {dt}{2+t^2} from which I was able to get the answer.

But regardless, thanks for all your help. Maths really can be !%A&
 
  • #15
It seems you took somewhat of a detour, but the correct answer is the correct answer regardless. The following was my intention however:

<br /> \begin{align*}<br /> \int\frac{1}{(\frac{1}{1+z^2}+1) \sqrt{1 - \frac{1}{1+z^2}}} \frac{z}{(1+z^2)^{\frac{3}{2}}}\,dz &amp;= \int\frac{1}{(\frac{1}{1+z^2}+1) \sqrt{1 - \frac{1}{1+z^2}}} \frac{z}{(1+z^2) \sqrt{1+z^2}}\,dz<br /> \\<br /> &amp;= \int\frac{1}{(\frac{1}{1+z^2}+1)(1+z^2) \sqrt{1 - \frac{1}{1+z^2}}} \frac{z}{\sqrt{1+z^2}}\,dz<br /> \\<br /> &amp;= \int\frac{1}{(1+1+z^2) \sqrt{1+z^2-1}}z \,dz<br /> \\<br /> &amp;=\int\frac{z}{(2+z^2)z} \,dz<br /> \end{align*}<br />
 
  • #16
Ah so what I did do was stupid; made extra work for myself which indeed gave me the wrong answer. Thanks for the explanation.
 

Similar threads

Back
Top