Integration by Parts with sin and ln(x)

Click For Summary

Homework Help Overview

The discussion revolves around the integration of the function sin(ln(x))/x². Participants are exploring various methods for integration, including integration by parts and other potential techniques.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the use of integration by parts and question the accuracy of the results obtained through Maple. There are attempts to simplify the expressions and verify the correctness of the integration by differentiating the results.

Discussion Status

Several participants have provided feedback on the integration attempts, suggesting that there may be errors in signs and simplifications. There is an ongoing exploration of different methods, including a suggestion to use differentiation with respect to a parameter as an alternative approach.

Contextual Notes

Participants note the complexity of the integration process and the potential for errors, particularly with sign changes in integration by parts. There is also mention of imposed homework rules regarding the methods allowed for solving the integral.

Ayesh
Messages
29
Reaction score
0

Homework Statement




The method to use to integrate the function is up to us.
The choices are:
1) U-substitution
2)Integration by Parts
3)Trigonometric integrals
4)Trigonometric substitution
5)Partial fraction


Homework Equations



According to me, the best way to do it is to use Integration by Parts.

Here is the function:

\intsin(ln(x))/x2


The Attempt at a Solution



u=sin(lnx)
du=cos(lnx)/x dx
dv=1/x2 dx
v=-1/x

\intsin(lnx)/x2 dx = -sin(lnx)/x - \int -cos(lnx)/x2 dx
= -sin(lnx)/x + \int cos(lnx)/x2 dx
= -sin(lnx)/x + (-cos(lnx)/x2 - \int sin(lnx)/x dx

2 \int sin(lnx)/x2 dx = -sin(lnx)/x - cos(lnx)/x2 dx

\intsin(lnx)/x2dx = 1/2(-sin(lnx)/x - cos(lnx)/x2)



According to Maple, the answer is 1/2((-2sin(lnx) - 2cos(1/2ln(x))2 + 1 + 2sin(1/2ln(x))cos(1/2lnx))/x
 
Last edited:
Physics news on Phys.org
Hi Ayesh! :smile:

(have an integral: ∫ and try using the X2 tag just above the Reply box :wink:)
Ayesh said:
…Int sin(lnx)/x^2 dx = 1/2(-sin(lnx)/x - cos(lnx)/x^2)

No, almost but not quite …

(and I'm afraid what you've written is too difficult to read for me to work out where the error was :redface:
According to Maple, the answer is 1/2((-2sin(lnx) - 2cos(1/2ln(x))^2 + 1 + 2sin(1/2ln(x))cos(1/2lnx))/x

oh, this is just Maple going beserk :rolleyes:

if you simplify that, you'll get something much more sensible :wink:
 
The answer Maple gave me is simplified.
 
Ayesh said:
The answer Maple gave me is simplified.

really?? simplify it some more! :smile:
 
This is the most simplified answer Maple gives me :

-(1/2)*(2sin(lnx)+2cos((1/2)ln(x))2-1-2sin((1/2)lnx)*cos((1/2)lnx))/x
 
You're human! Maple isn't! :rolleyes:

simplify it some more! :smile:

(alternatively, try the integration by parts again, only more neatly, and see if it comes out right this time :wink:)
 
I've redone the integration by hand and my answer now is:

\intsin(lnx)/x2 = 1/2 (-sin(lnx) + cos(lnx)/x)
 
Closer, but you flipped a sign somewhere.

You can always differentiate your answer and see if you recover the integrand to see if your answer is correct.
 
Hi Ayesh! :smile:

(what happened to that ∫ i gave you? :wink:)
vela said:
Closer, but you flipped a sign somewhere.

You can always differentiate your answer and see if you recover the integrand to see if your answer is correct.

I strongly agree. :smile:

Getting the sign wrong in integration by parts is notoriously easy,

so it's essential to check the answer by differentiating it (especially if the question has obviously been designed to put in as many minuses as possible!) :wink:
 
  • #10
I found my mistake, thank you!

Differentiating was a good idea :)
 
  • #11
You could also have substituted x = exp(u) and then have done the partial integration. In that case there is an alternative method to partial integration that is not on your list:

6) Differentiation w.r.t. to a parameter.

If 6) works that's usually a lot easier than partial integration.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
10K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K