Are You Ready to Challenge Your Integral Solving Skills?
- Level: Undergrad
- Thread starter Gib Z
- Start date
-
- Tags
- Integrals
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
271 replies · 66K views
Physics news on Phys.org
ssd
- 268
- 6
Gib Z said:Umm ok I am having numerous troubles with the sqrt tan x one, I am giving up..ill get back to it later when i get better..As to the one Hootenanny gave me, if i try the suggestion let z= tan x/2, i need help expressing (sin [x/2])^2 in terms of z, if someone can do that ill be able to keep on going..
EDIT: umm help with doing the same with cos instead of sin would be ok as well.
Check reply #17 and #25 of where I gave the hint of sqrt(tanx) problem.
LRJ85
- 5
- 0
cristo said:I don't think a trig sub will work. Try writing the denominator as [itex](u^2-\sqrt 2u+1)(u^2+\sqrt 2u+1)[/itex], then use partial fractions. It should work, but it won't be pretty!
Yes, partial fractions will definitely work. The original integral is [tex]\int \sqrt{\tan x} dx[/tex]. After letting tan x = u², u convert it to [tex]2\int \frac{u^2}{1+u^4} du[/tex]. Complete the square at the bottom to get (u²+1)²-2u² = [tex](u^2-u\sqrt{2}+1)(u^2+u\sqrt{2}+1)[/tex]. Your integral becomes [tex]\int \frac{u^2}{(u^2-u\sqrt{2}+1)(u^2+u\sqrt{2}+1)} du[/tex]. By partial fractions, [tex]\frac{u^2}{(u^2-u\sqrt{2}+1)(u^2+u\sqrt{2}+1)} = \frac{Au+B}{u^2+u\sqrt{2}+1} + \frac{Cu+D}{u^2-u\sqrt{2}+1}[/tex]. Compare coefficients on both sides to get A=[tex]-\frac{1}{2\sqrt{2}}[/tex], C=[tex]\frac{1}{2\sqrt{2}}[/tex] and B=D=0. After that, manipulate the integral by factorization, completing the square and expressing the result in terms of ln and [tex]\tan^{-1}[/tex], finally u get the answer [tex]\frac{\sqrt{2}}{8} ln \frac{u^2-u\sqrt{2}+1}{u^2+u\sqrt{2}+1} + \frac{\sqrt{2}}{4} \tan^{-1} (u\sqrt{2}-1) - \tan^{-1} (u\sqrt{2}+1) + C[/tex]. The last step is to convert u back to original variable x using the relation u² = tan x and u get your answer in terms of x.
Haha, isn't that a good solution ??!
Last edited:
Homework Helper
- 3,341
- 7
Thats really good, thanks for that. For the partial fractions one, I actually managed to get A and C before, but I could only reduce it to B+D=0, I couldn't acutally get the values themselves. You could explain how you got that one?
Even if I did get B and D, What steps did you do to get to the next result? I have no idea...sorry about that.
Even if I did get B and D, What steps did you do to get to the next result? I have no idea...sorry about that.
LRJ85
- 5
- 0
Gib Z said:Thats really good, thanks for that. For the partial fractions one, I actually managed to get A and C before, but I could only reduce it to B+D=0, I couldn't acutally get the values themselves. You could explain how you got that one?
Even if I did get B and D, What steps did you do to get to the next result? I have no idea...sorry about that.
Ok when u multiply the partial fraction identity by their common denominator, u get [tex]u^2 = (A+C)u^3 + (B+D+(C-A)\sqrt{2})u^2 + (A+C+(D-B)\sqrt{2})u + B + D[/tex]. Compare coefficients of descending powers of u, u get A+C =0, B+D+(C-A)[tex]\sqrt{2}[/tex]=1, A+C+(D-B)[tex]\sqrt{2}[/tex]=0 and B+D=0. Sub. eqn 1 into eqn 3, u get (D-B)[tex]\sqrt{2}[/tex]=0. Thus D-B must be 0. B=D=0. (shown!)
For the next part, u use the values of A,B,C and D to express the integral as partial fractions. The resultant integral is [tex]\int \frac{-\frac{u}{2\sqrt{2}}}{u^2+u\sqrt{2}+1} + \frac{\frac{u}{2\sqrt{2}}}{u^2-u\sqrt{2}+1} du[/tex]. U can factor out the constant [tex]\frac{1}{2\sqrt{2}}[/tex]. After that, try to make the top a derivative of the bottom into the form f'(u)/f(u) where the result is in terms of ln function. For the denominator, u need to complete the square and u get integral of the form [tex]\int \frac{du}{u^2+a^2}[/tex] where the result is in terms of [tex]\tan^{-1}[/tex] function. Rationalise all the terms with surds at the bottom and use identity ln a - ln b= ln(a/b) to combine the 2 ln terms together. U'll eventually get the answer in thread #33.
Last edited:
ssd
- 268
- 6
Write sqrt(tanx) = sqrt(sinx)/sqrt(cosx) and similarly write cotx. Simplify sqrt(tanx)+sqrt(cotx)... check that the numerator = dz/dx=(sinx+cosx). Write the denominator as mentioned in reply #17.Gib Z said:As for ssd's let's z= sin x - cos x...i can't see how to manipulate your expression for that to help me..
Last edited:
Homework Helper
- 3,341
- 7
Hmm ok I've managed to do it the u^2=tan x method, thanks guys. But i want to learn ssd's method, it looks simpler and shorter, and seeing as he posted the question I think he might know how to do it the best, no offense guys. ssd: When I make the numberator of the first part dz/dx, i get the 2nd parts numerator being z, I can't work out how to finish this off.
ssd
- 268
- 6
Gib Z said:Hmm ok I've managed to do it the u^2=tan x method, thanks guys. But i want to learn ssd's method, it looks simpler and shorter, and seeing as he posted the question I think he might know how to do it the best, no offense guys. ssd: When I make the numberator of the first part dz/dx, i get the 2nd parts numerator being z, I can't work out how to finish this off.
Do the two parts separately.
Put u= sinx+cosx in the second part. You get -du/dx=sinx-cosx= the numerator of the second part. Use 2sinx.cosx = (sinx+cosx)^2 -1.
You appear right in the sense that I feel its the simplest and shortest method when the answer is not known beforehand.
Last edited:
Staff Emeritus
Science Advisor
Gold Member
- 9,621
- 9
No worries. Okay a simpler one for you; Evaluate the following integral
[tex]\int\frac{8\; dx}{\left(4x^2+1\right)^2}[/tex]
[tex]\int\frac{8\; dx}{\left(4x^2+1\right)^2}[/tex]
Staff Emeritus
Science Advisor
Gold Member
- 9,621
- 9
Which substitution did you use? I would recommend the following one;
[tex]x:=\frac{1}{2}\tan\theta[/tex]
[tex]x:=\frac{1}{2}\tan\theta[/tex]
Staff Emeritus
Science Advisor
Gold Member
- 9,621
- 9
Correct!Gib Z said:O wait, I get [tex]\int 4 d\theta[/tex]
You now have to do the integration with respect to theta. What happens when you integrate a number with respect to something?Gib Z said:...I don't Understand what to do now..the answers 4theta? What..
Science Advisor
- 13,423
- 4,244
Yes, and now express theta in terms of the initial variable, x. Add the integration constant.
Daniel.
Daniel.
Staff Emeritus
Science Advisor
Gold Member
- 9,621
- 9
Looks good to me.
Staff Emeritus
Science Advisor
Gold Member
- 9,621
- 9
And now for something a little different;
[tex]I = \int x^2\sin x\;dx[/tex]
[tex]I = \int x^2\sin x\;dx[/tex]
murshid_islam
- 468
- 21
you were correct. it comes out to be [tex]\int \frac{4}{\sec^{2} \theta} d\theta[/tex] which is equal to [tex]\int 4\cos^{2} \theta d\theta[/tex]. now use the identity [tex]2\cos^{2}\theta = 1 + \cos(2\theta)[/tex]Gib Z said:I used some trig substitution and got [tex]\int (\frac{2}{\sec \theta})^2 d\theta[/tex]. Lost from there..
Homework Helper
- 3,341
- 7
murshid_islam said:you were correct. it comes out to be [tex]\int \frac{4}{\sec^{2} \theta} d\theta[/tex] which is equal to [tex]\int 4\cos^{2} \theta d\theta[/tex]. now use the identity [tex]2\cos^{2}\theta = 1 + \cos(2\theta)[/tex]
I've already got that one, but knowing how to do it that way would be good. I understand that identity, but can't see how that will help me..
Edit: Wait gimme a min, i think i see it..
Edit 2: I Get [tex]2\theta + \sin 2\theta[/tex] Then what do i do..
Last edited:
murshid_islam
- 468
- 21
does the answer come out to be [tex]-x^2\cos^{2}x + 2x\sin x + 2\cos x + C[/tex]?Hootenanny said:And now for something a little different;
[tex]I = \int x^2\sin x\;dx[/tex]
Staff Emeritus
Science Advisor
Gold Member
- 9,621
- 9
murshid_islam said:does the answer come out to be [tex]-x^2\cos^{2}x + 2x\sin x + 2\cos x + C[/tex]?
Gib Z said:I did integration by parts a few times, I got [tex]I=\frac{\sin^2 x}{2} - x^2 \cos x[/tex] :D I think that's right.
Note: This ones for x^2 sin x dx.
Neither is correct, but murshid is closer than Gib.
murshid_islam
- 468
- 21
lol. the answer i came up with isHootenanny said:Neither is correct, but murshid is closer than Gib.
[tex]-x^2\cos x + 2x\sin x + 2\cos x + C[/tex]
i think this is correct.
you used the substitution [tex]x = \frac{1}{2}\tan\theta[/tex]Gib Z said:I Get [tex]2\theta + \sin 2\theta[/tex] Then what do i do..
from this, you get, [tex]\tan\theta = 2x[/tex] and from this, you get [tex]\theta = \arctan(2x)[/tex] and [tex]\sin\theta = \frac{2x}{\sqrt{4x^2+1}}[/tex] and [tex]\cos\theta = \frac{1}{\sqrt{4x^2+1}}[/tex].
and you also know that [tex]\sin 2\theta = 2\sin\theta\cos\theta = \frac{4x}{4x^2+1}[/tex]
so your answer will be
[tex]2\theta + \sin2\theta = 2\arctan(2x) + \frac{4x}{4x^2+1}[/tex]
Last edited:
Staff Emeritus
Science Advisor
Gold Member
- 9,621
- 9
This is indeed correct.murshid_islam said:lol. the answer i came up with is
[tex]-x^2\cos x + 2x\sin x + 2\cos x + C[/tex]
i think this is correct.
Homework Helper
- 3,341
- 7
Ok, I made a few mistakes the first time, I got [tex]I = x^2 + 2x \sin x + \cos x + C[/tex], but when I derive it it doesn't work again :'(
EDIT: AWW KILL ME! Sorry Guys, I got the same answer and Murshid, Its just that during my working I wrote down [tex]x^2 -\cos x[/tex]...It was ment to me the multiplication of these 2, or -x^2 (cos x), but I took it as x^2 minus cos x...:'( sorry guys
EDIT: AWW KILL ME! Sorry Guys, I got the same answer and Murshid, Its just that during my working I wrote down [tex]x^2 -\cos x[/tex]...It was ment to me the multiplication of these 2, or -x^2 (cos x), but I took it as x^2 minus cos x...:'( sorry guys
Last edited:
Similar threads
Welcome to Tough Inductions! Get Ready to Challenge Yourself!
- shirel
- · Replies 22 ·
- General Math
- Replies
- 22