Why doesn't my method for integrating sinxcosx work?

  • Thread starter wahaj
  • Start date
  • Tags
    Integrals
In summary, the problem is that the substitution u= sin(x) does not work because the dx in the integrand gets cancelled out.
  • #1
wahaj
156
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 \\
\frac{sin(2x)}{2}=sinxcosx \\
\int sinxcosx= \frac{1}{2} \int sin(2x) = -\frac{cos(2x)}{4} [/tex]
 
Physics news on Phys.org
  • #2
There's nothing wrong with that!
 
  • #3
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 \\
\frac{sin(2x)}{2}=sinxcosx \\
\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.
 
  • #4
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?
 
  • #5
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.
 
  • #6
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.
 

1. What is the formula for integrating sin(x)cos(x)?

The formula for integrating sin(x)cos(x) is
∫ sin(x)cos(x) dx = 1/2 sin^2(x) + C

2. What are the steps for solving integrals of sin(x)cos(x)?

The steps for solving integrals of sin(x)cos(x) are as follows:
1. Use the product-to-sum formula to rewrite sin(x)cos(x) as 1/2(sin(2x)).
2. Integrate 1/2(sin(2x)) using the power rule.
3. Simplify the resulting integral.
4. Add the constant of integration, C.

3. Can you provide an example of solving an integral of sin(x)cos(x)?

Example: ∫ sin(x)cos(x) dx
Step 1: Rewrite as 1/2(sin(2x))
Step 2: Integrate 1/2(sin(2x)) to get -1/4(cos(2x))
Step 3: Simplify to get -1/4(cos(2x)) + C
Therefore, the solution is -1/4(cos(2x)) + C.

4. Are there any special cases when solving integrals of sin(x)cos(x)?

Yes, when the integrand contains an odd power of either sin(x) or cos(x), the substitution method may be necessary to solve the integral.

5. Can you use trigonometric identities to simplify integrals of sin(x)cos(x)?

Yes, the double angle formula and the half angle formula can be used to simplify integrals of sin(x)cos(x) into a more manageable form.

Similar threads

Replies
8
Views
194
Replies
16
Views
1K
  • Calculus
Replies
6
Views
1K
Replies
3
Views
1K
Replies
14
Views
1K
Replies
1
Views
853
  • Calculus and Beyond Homework Help
Replies
15
Views
790
  • Calculus
Replies
1
Views
1K
Back
Top