Why doesn't my method for integrating sinxcosx work?

  • Context: Undergrad 
  • Thread starter Thread starter wahaj
  • Start date Start date
  • Tags Tags
    Integrals
Click For Summary

Discussion Overview

The discussion revolves around the integration of the function sin(x)cos(x) and the methods used to approach this integral. Participants explore various techniques, including u-substitution and the use of trigonometric identities, while addressing potential issues with the initial integration attempt.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant initially presents a method for integrating sin(x)cos(x) using the identity sin(2x) = 2sin(x)cos(x) but questions why their result seems incorrect.
  • Another participant asserts that there is nothing wrong with the initial approach and suggests checking the result by differentiating it.
  • A later reply highlights the omission of the differential dx and the constant of integration, suggesting that the constant is significant in the integration process.
  • Further contributions outline alternative methods for integration using different substitutions, indicating that multiple approaches yield the same result.
  • Participants discuss the importance of recognizing the constant of integration and its role in the final answer.

Areas of Agreement / Disagreement

There is no consensus on the initial participant's concern about their method not working, as some participants defend the approach while others provide clarifications and alternative methods. The discussion remains unresolved regarding the perceived issue with the integration process.

Contextual Notes

Participants note the importance of including the constant of integration and the differential in their calculations, which may affect the interpretation of the results. There is also a reliance on trigonometric identities and substitutions that may not be universally agreed upon.

wahaj
Messages
154
Reaction score
2
I know the way to do [itex]\int sinxcos[/itex] is by u-substitution but why doesn't the following work?
[tex]sin(2x) = 2sinxcosx \\ <br /> \frac{sin(2x)}{2}=sinxcosx \\<br /> \int sinxcosx= \frac{1}{2} \int sin(2x) = -\frac{cos(2x)}{4}[/tex]
 
Physics news on Phys.org
There's nothing wrong with that!
 
wahaj said:
I know the way to do [itex]\int sinxcos[/itex] is by u-substitution but why doesn't the following work?
[tex]sin(2x) = 2sinxcosx \\ <br /> \frac{sin(2x)}{2}=sinxcosx \\<br /> \int sinxcosx= \frac{1}{2} \int sin(2x) = -\frac{cos(2x)}{4}[/tex]
What makes you think it doesn't work?

You can always check the result from integrating by differentiating it. If you get the original integrand, then your integration was correct.

There are two things you are omitting: The dx in your integral and the constant of integration. You might be surprised to learn that the constant plays an important role in this problem.
 
sorry about that. I have a habit of leaving those out when I am doing practice questions. Could the constant be [itex]\frac{1}{4}[/itex] by any chance?
 
In other words, you should have
[tex]\int sin(x)cos(x)dx= \frac{1}{2}\int sin(2x) dx= -\frac{cos(2x)}{4}+ C[/tex]

What may be bothering you is that you could also do this integral with the substitution u= sin(x) so that du= cos(x) dx and that becomes
[tex]\int u du= \frac{u^2}{2}+ D= \frac{sin^2(x)}{2}+ D[/tex]

Or use the substitution u= cos(x) so du= -sin(x)dx and the integral becomes
[tex]-\int u du= -\frac{u^2}{2}+ E= -\frac{cos^2(x)}{2}+ E[/tex]

Those are, in fact, all the same. Use [itex]cos^2(x)= 1- sin^2(x)[/itex] to go from the third to the second and [itex]cos(2x)= cos^2(x)- sin^2(x)= (1- sin^2(x))- sin^2(x)= 1- 2sin^2(x)[/itex] and [itex]cos(2x)= cos^2(x)-sin^2(x)= cos^2(x)- (1- cos^2(x))= 2cos^2(x)- 1[/itex] to go from the first to the second and third form.
 
I did try to solve the identity before posting here. I was leftover with that 1/4 term. I forgot that there was also a constant there. Thanks for the help, I think I can take it from here.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 17 ·
Replies
17
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K