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

  • Thread starter Drakkith
  • Start date
  • Tags
    Integral
In summary, the integral of 5 sin(lnx) is equal to -5 cos(lnx) + C, where C is the constant of integration. To solve this integral, you can use either the substitution method or integration by parts. The integral is an indefinite integral, meaning it does not have specific limits of integration and can have multiple solutions depending on the constant of integration. The constant of integration represents the unknown value that is added to the solution and is important to include in indefinite integrals to account for all possible solutions.
  • #1
Drakkith
Mentor
23,082
7,478

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
  • #2
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.$$
 
  • #3
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.
 
  • #4
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.
 
  • #5
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 axmls

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

1. What is the integral of 5 sin(lnx)?

The integral of 5 sin(lnx) is equal to -5 cos(lnx) + C, where C is the constant of integration.

2. How do you solve the integral of 5 sin(lnx)?

To solve the integral of 5 sin(lnx), you can use the substitution method. Let u = lnx and du = 1/x dx. Then, the integral becomes 5 sin(u) du, which can be easily solved using basic integration rules.

3. Can the integral of 5 sin(lnx) be solved without using substitution?

Yes, the integral of 5 sin(lnx) can also be solved using integration by parts. Let u = sin(lnx) and dv = 5 dx. Then, du = cos(lnx)/x dx and v = 5x. Applying the integration by parts formula, the integral becomes -5 cos(lnx) + C, which is the same result as using substitution.

4. Is the integral of 5 sin(lnx) a definite or indefinite integral?

The integral of 5 sin(lnx) is an indefinite integral, meaning it does not have specific limits of integration and can have multiple solutions depending on the constant of integration.

5. What is the significance of the constant of integration in the integral of 5 sin(lnx)?

The constant of integration in the integral of 5 sin(lnx) represents the unknown value that is added to the solution, as the derivative of a constant is always 0. It is important to include the constant of integration when solving indefinite integrals to account for all possible solutions.

Similar threads

Back
Top