Evaluating the integral, correct?

  • Thread starter Zack88
  • Start date
  • Tags
    Integral
In summary: You should have done \int e^{-x}\cos{2x}dxinstead of\int e^{-x}\cos{2x}dxIn summary, the integrand in the homework equation is x^2/m sinmx. Evaluating this integral requires multiple stages of integration by parts. The 'm' is a constant, so that will not be involved in the integration. Making the integral (1/m) · integral[ x sin(mx) ] dx . Now u = x and dv =
  • #36
now I am lost since its just uv do I just put in uv from the last u and v I got?
 
Physics news on Phys.org
  • #37
[tex]I=\frac{1}{2}e^{-x}\sin{2x}+\frac{1}{2}\int e^{-x}\sin{2x}dx[/tex]

[tex]u=e^{-x}[/tex]
[tex]du=-e^{-x}dx[/tex]

[tex]dV=\sin{2x}dx[/tex]
[tex]V=-\frac{1}{2}\cos{2x}[/tex]

[tex]I=\frac{1}{2}e^{-x}\sin{2x}+\frac{1}{2}\left(-\frac{1}{2}e^{-x}\cos{2x}-\frac{1}{2}\int e^{-x}\cos{2x}dx\right)[/tex]

[tex]I=\frac{1}{2}e^{-x}\sin{2x}-\frac{1}{4}e^{-x}\cos{2x}-\frac{1}{4}I[/tex]

[tex]\left(1+\frac{1}{4}\right)I=\frac{1}{2}e^{-x}\sin{2x}-\frac{1}{4}e^{-x}\cos{2x}[/tex]

Now just divide by the constant in front of I and it's solved!
 
Last edited:
  • #38
You should not have to "finally take the integral" at all! Please write out exactly what you have after the second integration by parts.
 
  • #39
1/2e^-x sin 2x + 1/2(1/2e^-x cos 2x + [integral] 1/2e^-x cos 2x)
 
  • #41
lol yes i did rocophysics, and before i forget I want to think you for all the help I am hoping i can apply this to the other problems i still have to do, I just reposted that because HallsofIvy asked and it never hurts to get more than one opinion.
 
  • #42
Oh sorry! Never hurts to get more opinions :-] Exactly why I have like 2 books per subject <3 Amazon and $5 books! If you need anymore help, just post your problems. I'm done doing my hw!
 
  • #43
cool i have one question how did you get a 1 + 1/4 in front of I, where did the 1 come from and why isn't 1/4 negative?
 
  • #44
Zack88 said:
cool i have one question how did you get a 1 + 1/4 in front of I, where did the 1 come from and why isn't 1/4 negative?
[tex]I=\frac{1}{2}e^{-x}\sin{2x}+\frac{1}{2}\int e^{-x}\sin{2x}dx[/tex]

[tex]u=e^{-x}[/tex]
[tex]du=-e^{-x}dx[/tex]

[tex]dV=\sin{2x}dx[/tex]
[tex]V=-\frac{1}{2}\cos{2x}[/tex]

[tex]I=\frac{1}{2}e^{-x}\sin{2x}+\frac{1}{2}\left(-\frac{1}{2}e^{-x}\cos{2x}-\frac{1}{2}\int e^{-x}\cos{2x}dx\right)[/tex]

[tex]I=\frac{1}{2}e^{-x}\sin{2x}-\frac{1}{4}e^{-x}\cos{2x}-\frac{1}{4}I[/tex]

[tex]\left(1+\frac{1}{4}\right)I=\frac{1}{2}e^{-x}\sin{2x}-\frac{1}{4}e^{-x}\cos{2x}[/tex]

Now just divide by the constant in front of I and it's solved!
It is [tex]-\frac{1}{4}I[/tex] I just edited my post to make it a little more clearer.

Also, it's [tex]1+\frac{1}{4}[/tex] b/c when I moved the I term from the right to the left, I basically factored out a common term of I rather than finding a common denominator and writing it as one term.

Left hand side [tex]I + \frac{1}{4}I=\left(1+\frac{1}{4}\right)I[/tex]
 
Last edited:
  • #45
so if [tex]-\frac{1}{4}I[/tex] was [tex]\frac{1}{4}I[/tex] then it would be [tex]1-\frac{1}{4}I[/tex] ?
 
  • #46
Zack88 said:
so if [tex]-\frac{1}{4}I[/tex] was [tex]\frac{1}{4}I[/tex] then it would be [tex]1-\frac{1}{4}[/tex] ?
Yep, it's just all Algebra. That's why I started using I, makes it a little easier to see.

[tex]1\int \cos{2x}dx + \frac{1}{4}\int \cos{2x}dx[/tex]

[tex]\left(1+\frac{1}{4}\right)\int\cos{2x}dx[/tex]

[tex]\frac{5}{4}\int\cos{2x}dx[/tex]
 
Last edited:
  • #47
ok then for


[tex]I=\frac{x^2}{m}\sin{mx}-\frac{2}{m}\left(\frac{-x}{m}\cos{mx}+\frac{1}{m}\int\cos{mx}dx\right)[/tex]

how do I go about evaluting since I doesn't reappear. original problem [tex]\int x^2 \cos mx dx[/tex]it was the first problem we did
 
  • #48
Zack88 said:
ok then for


[tex]I=\frac{x^2}{m}\sin{mx}-\frac{2}{m}\left(\frac{-x}{m}\cos{mx}+\frac{1}{m}\int\cos{mx}dx\right)[/tex]

how do I go about evaluting since I doesn't reappear. original problem [tex]\int x^2 \cos mx dx[/tex]it was the first problem we did
Your first problem is the simple, Integrate by Parts once, if that's not enough do it n many times as necessary till you reduce it. The 2nd one is special by the fact that it's "periodic" and your original Integral will reappear after nth time of doing Parts. Basically, just keep doing it till you see a pattern or that it's finally in a simple form that you can Integrate easily.

[tex]I=\frac{x^2}{m}\sin{mx}-\frac{2}{m}\left(\frac{-x}{m}\cos{mx}+\frac{1}{m}\int\cos{mx}dx\right)[/tex]

This problem is practically solved now, just Integrate your last Integral. You only have cosine mx term, in which m is basically a constant.

[tex]\frac{1}{m^2}\sin{mx}+C[/tex]

Solved!
 
Last edited:
  • #49
[tex]I=\frac{x^2}{m}\sin{mx}-\frac{2}{m}\left(\frac{-x}{m}\cos{mx}+\frac{1}{m}\int\cos{mx}dx\right)[/tex]

so the -2/m distributes to both -x/m and 1/m so shouldn't [tex]\frac{1}{m^2}\sin{mx}+C[/tex] be [tex]\frac{-2}{m^2}\sin{mx}+C[/tex]
 
  • #50
Zack88 said:
[tex]I=\frac{x^2}{m}\sin{mx}-\frac{2}{m}\left(\frac{-x}{m}\cos{mx}+\frac{1}{m}\int\cos{mx}dx\right)[/tex]

so the -2/m distributes to both -x/m and 1/m so shouldn't [tex]\frac{1}{m^2}\sin{mx}+C[/tex] be [tex]\frac{-2}{m^2}\sin{mx}+C[/tex]
Yes. Sorry I tend to group things, makes it easier to read and to keep track of things :-p
 
  • #51
ok i have another but this time i did a lot and hope I am on the right track

[integral] arctan (1/x)

u = arctan (1/x)
du = -1/((x^2) +1)

dv = dx
v = x

= x arctan(1/x) + [integral] x/((x^2) +1)

u = x^2 +1
du = 2x dx

= x arctan(1/x) + 1/2 [integral] du/u

du/u = ln |u|

= xarctan(1/x) + 1/2 ln |x^2 +1| + c
 
  • #52
It's correct :-] Only thing you did wrong was that you forgot dx on your 1st and 2nd Integrals! If you wanted, you can even check your answer by taking it's derivative.
 
Last edited:
  • #53
lol the only reason i could do that one is because i was able to follow an example that was close to it, i have another one the weird thing is i got the answer have right

[integral] sec^2 x tan x dx

[integral] (tan^2 x +1) tan x dx

u = tan x
du = sec^2 x dx

[integral] (u^2 +1)u

[integral] u^3 + u

u^4 / 4 + u^2 / 2

my final answer: tan^4 x / 4 + tan^2 x / 2 + c

the real answer: tan^2 x / 2 + c

what did i do wrong?
 
Last edited:
  • #54
You need to fix your typographical errors, unless you're already doing so ...
 
  • #55
there. i believe
 
Last edited:
  • #56
None of those answers are correct, the answer in the book is wrong.

[tex]\int \sec^{2}x\tan x dx[/tex]

[tex]\int \sec x \sec x \tan x dx[/tex]

[tex]u=\sec x dx[/tex]
[tex]du=\sec x \tan x dx[/tex]

I'm sure you can take it from here.
 
  • #57
i get

sec^2 x / 2 + c or 1/2 sec^2 + c
 
  • #58
What is the Integral of ...

[tex]\int \cos^{3}x\sin x dx[/tex]

without working it out on paper?
 
  • #59
idk w/o working it out or trying to work it out i know you'll want to get [integral] cos^2 x cos x sinx

[integral] (1 - sin^2) cos x sin x
 
Last edited:
  • #60
Zack88 said:
idk w/o working it out or trying to work it out
Think "chain rule" in reverse. Being able to recognize these types of Integrals will save you a hell of a lot of time in the future.
 
  • #61
Zack88 said:
idk w/o working it out or trying to work it out i know you'll want to get [integral] cos^2 x cos x sinx
Nope!
 
  • #62
What is the derivative of ...

[tex]\frac{d}{dx}(\cos^{4}x)[/tex]

?
 
  • #63
-4sin^3?
 
Last edited:
  • #64
Zack88 said:
4cos^3?
You forgot the chain rule!

Review your differentiating methods, it'll pay off in being able to recognize some Integrals.
 
Last edited:
  • #65
-4sin^3?
 
  • #66
Zack88 said:
-4sin^3?
You forgot the chain rule!

Review your differentiating methods, it'll pay off in being able to recognize some Integrals.
 
Last edited:
  • #67
-4sin x cos^3 x
 
  • #68
Zack88 said:
-4sin x cos^3 x
Yes!

[tex]-4\cos^{3}x\sin x [/tex]

Now go back to that Integral I asked you about. It's just the chain-rule in "reverse".
 
  • #69
[tex]\int \cos^{3}x\sin x dx[/tex]

- cos^4 x / 4
 
Last edited:
  • #70
Zack88 said:
-4sin^3?

Zack88 said:
[tex]\int \cos^{3}x\sin x dx[/tex]

- cos^4 x / 4
Yep. Now look at this problem, but don't pay attention the first part, the 2nd step is what I'm mainly talking about. I spent like an hour evaluating it through Parts a couple times, till I got tired and asked for helped and look how simple it was ...

http://alt1.mathlinks.ro/Forum/latexrender/pictures/7/0/6/70647ef6282a942aac0b3d590d940f1bd06e16d3.gif
 
Last edited by a moderator:
Back
Top