Evaluating the integral, correct?

  • Thread starter Thread starter Zack88
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary
SUMMARY

The discussion focuses on evaluating the integral \(\int x^2 \cos(mx) \, dx\) using integration by parts. The participants detail the steps involved, including the correct assignments for \(u\) and \(dv\), and emphasize the necessity of performing integration by parts multiple times for functions involving polynomials multiplied by trigonometric functions. The final solution is confirmed to be \(\frac{x^2}{m} \sin(mx) - \frac{2}{m^2} \cos(mx) + C\), demonstrating the importance of careful term management throughout the integration process.

PREREQUISITES
  • Understanding of integration by parts
  • Familiarity with trigonometric integrals
  • Knowledge of LaTeX for mathematical expressions
  • Basic calculus concepts, including differentiation and integration
NEXT STEPS
  • Study advanced integration techniques, including repeated integration by parts
  • Learn to evaluate integrals involving products of polynomials and trigonometric functions
  • Explore the use of substitution methods in integration
  • Practice solving integrals with varying degrees of complexity
USEFUL FOR

Students and educators in calculus, mathematicians focusing on integral calculus, and anyone seeking to improve their skills in evaluating complex integrals.

  • #31
Do you notice that you get your original Integral back? Move it to the left side and add/subtract your Integral, then divide by the constant, and you're done.
 
Physics news on Phys.org
  • #32
1/2 e^-x sin 2x + 1/2 (1/2 e^-x cos 2x + [integral] 1/2 e^-x cos 2x)

so take e^-x cos 2x from within the parenthesis and move it to the outside of the parenthesis leaving 1/2 [integral 1/2 x^-x cos 2x) in the parenthesis
 
  • #33
It's basically ...

a, b, c ... = terms from by doing Parts

I=a+b+c+\frac{1}{2}(d+I)

Now distribute your constant 1/2

I=a+b+c+\frac{1}{2}d+\frac{1}{2}I

Bring your Original Integral to the left side, and divide by the constant.

\frac{1}{2}I=a+b+c+\frac{1}{2}d

I=2a+2b+2c+d

Solved!
 
  • #34
ok i get the concept but now I am confused at what should be a, b, c, I know what d is and of course I. what I see is:

a = 1/2
b = e^-x
c = sin 2x
 
  • #35
a, b, c ... etc are just uV, they're solved and do not need to be integrated.
 
  • #36
now I am lost since its just uv do I just put in uv from the last u and v I got?
 
  • #37
I=\frac{1}{2}e^{-x}\sin{2x}+\frac{1}{2}\int e^{-x}\sin{2x}dx

u=e^{-x}
du=-e^{-x}dx

dV=\sin{2x}dx
V=-\frac{1}{2}\cos{2x}

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)

I=\frac{1}{2}e^{-x}\sin{2x}-\frac{1}{4}e^{-x}\cos{2x}-\frac{1}{4}I

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

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?
I=\frac{1}{2}e^{-x}\sin{2x}+\frac{1}{2}\int e^{-x}\sin{2x}dx

u=e^{-x}
du=-e^{-x}dx

dV=\sin{2x}dx
V=-\frac{1}{2}\cos{2x}

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)

I=\frac{1}{2}e^{-x}\sin{2x}-\frac{1}{4}e^{-x}\cos{2x}-\frac{1}{4}I

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

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

Also, it's 1+\frac{1}{4} 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 I + \frac{1}{4}I=\left(1+\frac{1}{4}\right)I
 
Last edited:
  • #45
so if -\frac{1}{4}I was \frac{1}{4}I then it would be 1-\frac{1}{4}I ?
 
  • #46
Zack88 said:
so if -\frac{1}{4}I was \frac{1}{4}I then it would be 1-\frac{1}{4} ?
Yep, it's just all Algebra. That's why I started using I, makes it a little easier to see.

1\int \cos{2x}dx + \frac{1}{4}\int \cos{2x}dx

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

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


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

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


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

how do I go about evaluting since I doesn't reappear. original problem \int x^2 \cos mx dxit 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.

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

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

\frac{1}{m^2}\sin{mx}+C

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

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

so the -2/m distributes to both -x/m and 1/m so shouldn't \frac{1}{m^2}\sin{mx}+C be \frac{-2}{m^2}\sin{mx}+C
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.

\int \sec^{2}x\tan x dx

\int \sec x \sec x \tan x dx

u=\sec x dx
du=\sec x \tan x dx

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 ...

\int \cos^{3}x\sin x dx

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.
 

Similar threads

Replies
1
Views
1K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
2K