Integrating with Trigonometric Identities: Are My Solutions Accurate?

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

The discussion focuses on integrating the functions (i) sin(x) cos(x) and (ii) x sin(x) cos(x) using the trigonometric identity sin(2x) = 2sin(x)cos(x). The first integral is correctly simplified to (1/2) cos(2x) + C, with a noted correction regarding a missing negative sign. The second integral requires the application of integration by parts, where participants clarify the need to include an additional integral in the process, ultimately leading to the solution - (1/2)x cos(2x) + (1/4)sin(2x) + C.

PREREQUISITES
  • Understanding of trigonometric identities, specifically sin(2x) = 2sin(x)cos(x).
  • Knowledge of integration techniques, particularly integration by parts.
  • Familiarity with basic calculus concepts, including derivatives and indefinite integrals.
  • Ability to manipulate algebraic expressions involving trigonometric functions.
NEXT STEPS
  • Study the method of integration by parts in detail, including its formula and applications.
  • Practice solving integrals involving trigonometric identities, focusing on sin(2x) and cos(2x).
  • Explore advanced integration techniques, such as substitution and partial fractions.
  • Review the process of verifying integral solutions through differentiation.
USEFUL FOR

Students and educators in calculus, particularly those focusing on integration techniques, as well as anyone looking to deepen their understanding of trigonometric integrals and identities.

Natasha1
Messages
494
Reaction score
9
I have been asked to find the integral (i) sinx cox dx and the integral
(ii) x sinx cosx dx using the identity sin2x = 2sinxcosx

My work...

(i) sinx cox dx

= 1/2 integral of 2 sinx cos dx

= 1/2 integral of sin 2x dx

= 1/2 cos 2x + C is this correct?

(ii) x sinx cosx dx

not sure how to do this one ?
 
Physics news on Phys.org
Natasha1 said:
(i) sinx cox dx

= 1/2 integral of 2 sinx cos dx

= 1/2 integral of sin 2x dx

= 1/2 cos 2x + C is this correct?
Almost, you made one mistake: you forgot a minus.
(Be careful: for derivatives it's the other way arround)

Natasha1 said:
(ii) x sinx cosx dx

not sure how to do this one ?
Have you seen integration by parts?
 
Natasha1 said:
I have been asked to find the integral (i) sinx cox dx and the integral
(ii) x sinx cosx dx using the identity sin2x = 2sinxcosx

My work...

(i) sinx cox dx

= 1/2 integral of 2 sinx cos dx

= 1/2 integral of sin 2x dx

= 1/2 cos 2x + C is this correct?

Cute! Not the way I would have done but (except for the negative sign that TD mentioned) correct. What I would have done is this: let u= sin x. Then du= cos x dx so \int sin x cos x dx= \int u du= \frac{1}{2}u^2+ C= \frac{1}{2} sin^2x+ C .
Can you see that that is exactly the same as your answer (again, including the missing negative)?

(ii) x sinx cosx dx

not sure how to do this one ?
As TD said, use integration by parts. Let u= x and dv= sin x cos xdx. (you already know what v is!)
 
HallsofIvy said:
Natasha1 said:
I have been asked to find the integral (i) sinx cox dx and the integral
(ii) x sinx cosx dx using the identity sin2x = 2sinxcosx

My work...

(i) sinx cox dx

= 1/2 integral of 2 sinx cos dx

= 1/2 integral of sin 2x dx

= 1/2 cos 2x + C is this correct?

Cute! Not the way I would have done but (except for the negative sign that TD mentioned) correct. What I would have done is this: let u= sin x. Then du= cos x dx so \int sin x cos x dx= \int u du= \frac{1}{2}u^2+ C= \frac{1}{2} sin^2x+ C .
Can you see that that is exactly the same as your answer (again, including the missing negative)?


As TD said, use integration by parts. Let u= x and dv= sin x cos xdx. (you already know what v is!)

Lets see if I'm right... I am doing (ii) here

u = x, v = -1/2 cos2x, du=1, dv=sinxcosx

so integral u dv = -1/2 x cos2x - [-1/2 cos 2x]
= -1/2 x cos 2x + 1/2 cos 2x + c
= 1/2 [1- x cos 2x] + C is this correct please?
 
Natasha1 said:
Lets see if I'm right... I am doing (ii) here

u = x, v = -1/2 cos2x, du=1, dv=sinxcosx

so integral u dv = -1/2 x cos2x - [-1/2 cos 2x]
= -1/2 x cos 2x + 1/2 cos 2x + c
= 1/2 [1- x cos 2x] + C is this correct please?
Didn't you forget an integral when you applied integration by parts?
It is \int {udv = uv - } \int {vdu} and you left out that last integral I believe...
 
TD said:
Didn't you forget an integral when you applied integration by parts?
It is \int {udv = uv - } \int {vdu} and you left out that last integral I believe...

I don't think so no because from the previous example we get the integral of sin x cos x which I use at the end. So I think I am correct no ? :confused:
 
With v = -1/2 cos(2x) and du = dx, the formula gives a new integral at the end and not just "-1/2 cos(2x)". Applying integration by parts would give:

\int {x\sin x\cos xdx} = - \frac{1}{2}x\cos \left( {2x} \right) - \int { - \frac{1}{2}\cos \left( {2x} \right)dx} = - \frac{1}{2}x\cos \left( {2x} \right) + \frac{1}{2}\int {\cos \left( {2x} \right)dx}

You forgot that last integral and just added "-1/2 cos(2x)", you see?
 
TD said:
With v = -1/2 cos(2x) and du = dx, the formula gives a new integral at the end and not just "-1/2 cos(2x)". Applying integration by parts would give:

\int {x\sin x\cos xdx} = - \frac{1}{2}x\cos \left( {2x} \right) - \int { - \frac{1}{2}\cos \left( {2x} \right)dx} = - \frac{1}{2}x\cos \left( {2x} \right) + \frac{1}{2}\int {\cos \left( {2x} \right)dx}

You forgot that last integral and just added "-1/2 cos(2x)", you see?

must I have to do another integration by part on 1/2 integral of cos 2x
 
Well, you must do one more integration but the total process is called 'integration by parts' (which you only have to do once). Have you already covered this technique? Basically, it comes down to the formula I gave two posts back.
 
  • #10
TD said:
With v = -1/2 cos(2x) and du = dx, the formula gives a new integral at the end and not just "-1/2 cos(2x)". Applying integration by parts would give:

\int {x\sin x\cos xdx} = - \frac{1}{2}x\cos \left( {2x} \right) - \int { - \frac{1}{2}\cos \left( {2x} \right)dx} = - \frac{1}{2}x\cos \left( {2x} \right) + \frac{1}{2}\int {\cos \left( {2x} \right)dx}

You forgot that last integral and just added "-1/2 cos(2x)", you see?

from here I do:

u = 2x
du = 2

= 1/2 integral of cos u du
= 1 / 2 sin 2x + C

so the whole thing gives - 1/2 x cos 2x + 1/2 sin 2x + C is this correct?
 
  • #11
Almost, there was already a factor 1/2 before the integral and because of your substitution, there should be another one so that would give 1/4 sin(2x) for that last part.

Then it should be correct, if you don't forget the constant of integration.
If you want to check it yourself: find its derivative and see if you get your initial function again :smile:
 
  • #12
TD said:
Almost, there was already a factor 1/2 before the integral and because of your substitution, there should be another one so that would give 1/4 sin(2x) for that last part.

Then it should be correct, if you don't forget the constant of integration.
If you want to check it yourself: find its derivative and see if you get your initial function again :smile:

Thanks TD you are a star!
 
  • #13
You're welcome :smile:
 

Similar threads

Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 16 ·
Replies
16
Views
2K