How Do You Solve the Integral of 5sin(lnx)?

  • Thread starter Thread starter Drakkith
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around evaluating the integral ∫5 sin(lnx) dx, focusing on substitution and integration by parts techniques within the context of calculus.

Discussion Character

  • Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants explore the use of substitution with t = lnx and integration by parts to evaluate the integral. There are questions regarding the correctness of the steps taken, particularly around the division of terms and the signs in the integration process.

Discussion Status

Several participants have pointed out potential errors in the original poster's approach, particularly concerning the division of terms and the handling of signs during integration. There is a recognition of differing interpretations of the integration steps, and guidance has been offered to clarify these points.

Contextual Notes

Participants are navigating the complexities of integration techniques and the implications of algebraic manipulation on the final result. The original poster expresses confusion regarding the expected answer, indicating a need for further clarification on the integration process.

Drakkith
Mentor
Messages
23,205
Reaction score
7,687

Homework Statement


Make a substitution and then evaluate the integral.
∫5 sin(lnx) dx

Homework Equations

The Attempt at a Solution


Let t = lnx
et = elnx
et = x
dt = 1/x dx
dx = xdt
dx = et dt

Now the integral is: 5∫sin(t) et dt
Integrating by parts:
u = sin(t), du = cos(t) dt
dv = et dt, v = et
5(sin(t)et - ∫cos(t)et dt)

By parts again:
u=cos(t), du=-sin(t) dt
dv = et dt, v = et
5[sin(t)et - (cos(t)et + ∫sin(t)et dt)]

Distributing the 5 and the negative sign:
5∫sin(t)et dt = 5sin(t)et - 5cos(t)et - 5∫sin(t)et dt]

Bringing the integral over the left:
10∫sin(t)et = 5sin(t)et - 5cos(t)et

Dividing the 10 out:
∫sin(t)et = 1/2(sin(t)et - cos(t)et)

Substituting lnx = t
1/2x[sin(lnx) - cos(lnx)] +C

Now, supposedly the answer is 5/2x [sin(lnx)-cos(lnx)] + C, but I can't figure out why. ?:)
 
Physics news on Phys.org
You shouldn't have divided that 10 out. The antiderivative you wanted to find was $$\int 5 \sin(\ln(x)) \ dx,$$ but you found $$\int \sin(\ln(x)) \ dx.$$
 
Drakkith said:

Homework Statement


Make a substitution and then evaluate the integral.
∫5 sin(lnx) dx

Homework Equations

The Attempt at a Solution


Let t = lnx
et = elnx
et = x
dt = 1/x dx
dx = xdt
dx = et dt

Now the integral is: 5∫sin(t) et dt
Integrating by parts:
u = sin(t), du = cos(t) dt
dv = et dt, v = et
5(sin(t)et - ∫cos(t)et dt)

By parts again:
u=cos(t), du=-sin(t) dt
dv = et dt, v = et
5[sin(t)et - (cos(t)et + ∫sin(t)et dt)]

Distributing the 5 and the negative sign:
5∫sin(t)et dt = 5sin(t)et - 5cos(t)et - 5∫sin(t)et dt]

Bringing the integral over the left:
10∫sin(t)et = 5sin(t)et - 5cos(t)et

Dividing the 10 out:
∫sin(t)et = 1/2(sin(t)et - cos(t)et)

Substituting lnx = t
1/2x[sin(lnx) - cos(lnx)] +C

Now, supposedly the answer is 5/2x [sin(lnx)-cos(lnx)] + C, but I can't figure out why. ?:)
It looks like you may have dropped a sign in that last integration by parts.
 
SammyS said:
It looks like you may have dropped a sign in that last integration by parts.

I don't think so. The sine term is negative, which flips the sign of that second integration by parts integral. If the OP follows my post, the answer matches the one given.
 
SammyS said:
It looks like you may have dropped a sign in that last integration by parts.

As axmls said, the sine term turns that final integral positive.

axmls said:
You shouldn't have divided that 10 out. The antiderivative you wanted to find was $$\int 5 \sin(\ln(x)) \ dx,$$ but you found $$\int \sin(\ln(x)) \ dx.$$

Oh. I had no idea that's how that worked. So there's a 10 on the left, a 5 on the right, and dividing both sides by 2 makes the left side 5 and the right side 5/2, which would be the correct answer.

Thanks guys!
 
  • Like
Likes   Reactions: axmls

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
10K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K