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

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

The integral of 5sin(lnx) can be solved using integration by parts and substitution. The substitution t = lnx leads to the integral transforming into 5∫sin(t) et dt. After applying integration by parts twice and simplifying, the correct antiderivative is found to be 5/2x [sin(lnx) - cos(lnx)] + C. A common mistake is dividing by 10 prematurely, which leads to an incorrect integral.

PREREQUISITES
  • Understanding of integration techniques, specifically integration by parts.
  • Familiarity with substitution methods in calculus.
  • Knowledge of exponential functions and their properties.
  • Basic proficiency in handling logarithmic functions.
NEXT STEPS
  • Study advanced integration techniques, including multiple applications of integration by parts.
  • Learn about the properties of logarithmic and exponential functions in calculus.
  • Practice solving integrals involving trigonometric functions and logarithmic substitutions.
  • Explore common pitfalls in integration to avoid errors in future calculations.
USEFUL FOR

Students studying calculus, particularly those focusing on integration techniques, and educators looking for examples of common mistakes in solving integrals.

Drakkith
Mentor
Messages
23,198
Reaction score
7,671

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
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
7K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K