Troubleshooting Integration: Solving \int x cos5x dx

  • Thread starter Thread starter digink
  • Start date Start date
  • Tags Tags
    Integral
AI Thread Summary
The integral of x cos(5x) dx can be solved using integration by parts, leading to the expression 1/5 x sin(5x) + 1/25 cos(5x) + C. The confusion arises from the integration of sin(5x), which yields -1/5 cos(5x), thus affecting the final constant factor. The correct answer differs from the book's due to a miscalculation in the integration process. Properly applying the integration by parts method clarifies the correct coefficients and signs in the final result.
digink
Messages
26
Reaction score
0
I've been doing this for a while and I can't get the same answer as the book. I am just going to give the problem first to see if you guys end up where I did, please explain your work.

\int x cos5x dx

I can solve it just fine using integration by parts but I don't get the right answer
 
Physics news on Phys.org
Why not?It's the only way to do it without getting a headache... :-p

Post your work.

Daniel.
 
ok

this is what I am doing. I have u=x dv=cos5x du=1 v=1/5 cos 5x (i forgot what the rule is for a cos with something like 5x, just x cos x?)

with that I get
1/5xsin5x - 1/5\int sin5x dx
=1/5xsin5x - 1/5 cos5x + C
 
btw if it helps any the answer in the back of the book is the same as mine except for the fact that the 1/5 in front of the cos is 1/25
 
And the sign shoud be a plus too... :wink:

Why is it 1/25 and not 1/5.Better put on what condition would the factor be 1/5.What function would you have to integrate??

Daniel.
 
dextercioby said:
And the sign shoud be a plus too... :wink:

Why is it 1/25 and not 1/5.Better put on what condition would the factor be 1/5.What function would you have to integrate??

Daniel.
I don't understand what you just said, are you asking a question or trying to answer one? I am :confused: sorry
 
Sorry if i seemed evasive.Didn't mean it.
Compute this
\int \sin 5x \ dx

It's the last integral u had to compute after taking the partial integration initially.

Daniel.
 
dextercioby said:
Sorry if i seemed evasive.Didn't mean it.
Compute this
\int \sin 5x \ dx

It's the last integral u had to compute after taking the partial integration initially.

Daniel.
wouldnt that be 1/5 cos 5x?
 
ok here it is. The answer should be

1/5xsin5x + 1/25 cos5x + C

First you use: u = x
du = dx
dv = cos5x dx
v = 1/5sinx dx

and now you use the integral by parts:

uv - \int vdu = 1/5xsin5x - \int 1/5sin5xdx

u take the 1/5 (constant out the integral) --> 1/5xsin5x - 1/5 \int sin5xdx

= 1/5xsin5x - 1/5 (-1/5cos5x)
= 1/5xsin5x + 1/25cos5x + C

thre you go!
 
  • #10
ok here it is. The answer should be

1/5xsin5x + 1/25cos5x + C

First you use: u = x
du = dx
dv = cos5x dx
v = 1/5sinx dx

and now you use the integral by parts:

uv - \int \vdu\ = 1/5xsin5x - \int \1/5sin5x \ dx

u take the 1/5 (constant out the integral) --> 1/5xsin5x - 1/5 \int \sin5x \ dx

= 1/5xsin5x - 1/5 (-1/5cos5x)
= 1/5xsin5x + 1/25cos5x + C

thre you go!
 
  • #11
sorry, I couldn't get the symbols working:

. . . . . . . . ..

ok here it is. The answer should be

1/5xsin5x + 1/25cos5x + C

First you use: u = x
du = dx
dv = cos5x dx
v = 1/5sinx dx

and now you use the integral by parts:

uv - \int \vdu\ = 1/5xsin5x - \int \1/5sin5x \ dx

u take the 1/5 (constant out the integral) --> 1/5xsin5x - 1/5 \int \sin5x \ dx


= 1/5xsin5x - 1/5 (-1/5cos5x)
= 1/5xsin5x + 1/25cos5x + C

thre you go!
 
  • #12
digink said:
wouldnt that be 1/5 cos 5x?

With the minus.Sine integrated is minus cosine.

Daniel.
 
Back
Top