Are You Ready to Challenge Your Integral Solving Skills?

  • Level: Undergrad 
  • Thread starter Thread starter Gib Z
  • Start date Start date
  • Tags Tags
    Integrals
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
271 replies · 66K views
hmm ill be up hours tonight doing that :D ty NTUENG
 
Physics news on Phys.org
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.
 
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:
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.
 
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..
 
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:
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..
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.
 
Last edited:
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.
 
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:
Hey, I know its been a while since I've posted on this thread, sorry about that guys. Ok well, Could someone give me another integral? Maybe one abit easier than that sqrt tanx
 
No worries. Okay a simpler one for you; Evaluate the following integral

[tex]\int\frac{8\; dx}{\left(4x^2+1\right)^2}[/tex]
 
I used some trig substitution and got [tex]\int (\frac{2}{\sec \theta})^2 d\theta[/tex]. Lost from there..
 
Which substitution did you use? I would recommend the following one;

[tex]x:=\frac{1}{2}\tan\theta[/tex]
 
O wait, I get [tex]\int 4 d\theta[/tex]...I don't Understand what to do now..the answers 4theta? What..
 
Gib Z said:
O wait, I get [tex]\int 4 d\theta[/tex]
Correct!
Gib Z said:
...I don't Understand what to do now..the answers 4theta? What..
You now have to do the integration with respect to theta. What happens when you integrate a number with respect to something?
 
So is the solution [tex]4\arctan 2x[/tex]...Hey wait, i derived it, it works :), anuda one?

Edit: Forgot the +C
 
And now for something a little different;

[tex]I = \int x^2\sin x\;dx[/tex]
 
Gib Z said:
I used some trig substitution and got [tex]\int (\frac{2}{\sec \theta})^2 d\theta[/tex]. Lost from there..
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 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.
 
Last edited:
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:
Hootenanny said:
And now for something a little different;

[tex]I = \int x^2\sin x\;dx[/tex]
does the answer come out to be [tex]-x^2\cos^{2}x + 2x\sin x + 2\cos x + C[/tex]?
 
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.
 
Umm Ok Ok, Problem 1. I can't see what to do with murshid_islams method, and When I found the derivative of my solution to I, for x^2 sin x dx, I get (2x + cos x)sin x, that doesn't work..

Edit: Ok i was wrong lol, Ill try it again
 
Hootenanny said:
Neither is correct, but murshid is closer than Gib.
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.

Gib Z said:
I Get [tex]2\theta + \sin 2\theta[/tex] Then what do i do..
you used the substitution [tex]x = \frac{1}{2}\tan\theta[/tex]
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:
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.
This is indeed correct.
 
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
 
Last edited: