Integration by Parts: Solving ∫cosx(lnsinx)dx

Click For Summary

Homework Help Overview

The discussion revolves around the integral ∫cosx(lnsinx)dx, focusing on the application of integration by parts and the choice of substitution for the variable u.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the choice of u in integration by parts, with one suggesting that u should be sinx, while others defend the choice of lnsinx. There is also mention of the potential for using u-substitution prior to integration by parts.

Discussion Status

Participants are exploring different approaches to the problem, with some affirming the correctness of the original poster's method. There is a recognition of the complexity involved in using u-substitution followed by integration by parts, indicating a productive exchange of ideas.

Contextual Notes

There is some confusion regarding the appropriate choice of u for integration by parts, as well as the implications of using u-substitution in this context. The original poster's teacher's suggestion is also under consideration.

jdawg
Messages
366
Reaction score
2

Homework Statement


∫cosx(lnsinx)dx


Homework Equations





The Attempt at a Solution


u=lnsinx dv=cosxdx
du=cosx/sinx dx v=sinx

=(lnsinx)(sinx)-∫(sinx)(cosx/sinx)dx
=(lnsinx)(sinx)-(sinx)+C

I thought that I did this correctly, but my teacher said that u should equal sinx. Why would u not equal lnsinx?
 
Physics news on Phys.org
If you differentiate, you get the original function, so you did it correctly. I think your teacher was saying u should equal sinx if you're doing a simple u-sub to integrate, since that method works as well. You couldn't have u be sinx for an integration by parts, since it isn't a complete term in the integrand -- it's only part of the natural log.
 
jdawg said:

Homework Statement


∫cosx(lnsinx)dx


Homework Equations





The Attempt at a Solution


u=lnsinx dv=cosxdx
du=cosx/sinx dx v=sinx

=(lnsinx)(sinx)-∫(sinx)(cosx/sinx)dx
=(lnsinx)(sinx)-(sinx)+C

I thought that I did this correctly, but my teacher said that u should equal sinx. Why would u not equal lnsinx?

You did do it correctly. I think your teacher might be suggesting you do a u-substitution first and then integrate log(u) by parts. I think that's actually a little more complicated, not easier.
 
jackarms said:
If you differentiate, you get the original function, so you did it correctly. I think your teacher was saying u should equal sinx if you're doing a simple u-sub to integrate, since that method works as well. You couldn't have u be sinx for an integration by parts, since it isn't a complete term in the integrand -- it's only part of the natural log.

Ohh ok! I didn't know you could use u substitution on that one. Thanks for clearing that up :)
 
jdawg said:
Ohh ok! I didn't know you could use u substitution on that one. Thanks for clearing that up :)

You can do a u substitution, but then you are left with log(u), which you then need to integrate by parts. Unless you've memorized the integral of log(u). I think your way is better.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
27K
  • · Replies 4 ·
Replies
4
Views
2K