Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Integrals of sinxcosx

  1. Feb 20, 2014 #1
    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]
     
  2. jcsd
  3. Feb 20, 2014 #2

    PeroK

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    There's nothing wrong with that!
     
  4. Feb 20, 2014 #3

    Mark44

    Staff: Mentor

    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.
     
  5. Feb 20, 2014 #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?
     
  6. Feb 20, 2014 #5

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    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.
     
  7. Feb 20, 2014 #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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Integrals of sinxcosx
  1. An integral (Replies: 1)

  2. Integral of (Replies: 3)

  3. On Integration (Replies: 4)

  4. An integral (Replies: 2)

Loading...