Which method of integration for sin^2(x) dx

  • Context: Undergrad 
  • Thread starter Thread starter Adyssa
  • Start date Start date
  • Tags Tags
    Dx Integration Method
Click For Summary

Discussion Overview

The discussion revolves around the integration of the function sin²(x) with respect to x. Participants explore various methods for solving the integral, including the use of trigonometric identities, integration by parts, and the chain rule.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant recalls a previous class discussion where the integral was mentioned but did not grasp the solution, seeking clarification on how to proceed.
  • Another participant suggests rewriting sin²(x) for easier integration and mentions the possibility of using integration by parts, though they have not tried it.
  • A different participant recommends using the double angle formula for cosine as a method to solve the integral, expressing confusion about the initial approach discussed by the lecturer.
  • One participant emphasizes the importance of using the product rule and integration by parts, suggesting a simpler approach using the identity sin²(x) = (1 - cos(2x))/2 for integration.
  • A participant shares their successful solution using the double angle identity and integration by substitution, confirming their result by taking the derivative.
  • Another participant acknowledges a typo in their previous message and reinforces the value of double-checking work.
  • One participant proposes an alternative method involving setting up the integral in terms of cos²(x) and manipulating it to find the solution, leading to a similar result as others.

Areas of Agreement / Disagreement

Participants present multiple competing methods for integrating sin²(x), with no consensus on a single preferred approach. Some methods are discussed more favorably than others, but the discussion remains unresolved regarding which method is best.

Contextual Notes

Some participants express uncertainty about remembering trigonometric identities and the application of integration techniques, indicating a potential gap in foundational knowledge that may affect their understanding of the integration process.

Who May Find This Useful

This discussion may be useful for students learning integration techniques, particularly those struggling with trigonometric integrals and the application of identities in calculus.

Adyssa
Messages
202
Reaction score
3
During maths class last semester this integral came up in the course of discussion and my lecturer gave a quick outline of how to solve it but I didn't grasp it at the time and we moved on. I'd like to know how to do it though! The integral is:

\int sin^{2}(x)

The next step was:

\int sin(x).(-cos(x)')

where -cos(x)' denotes the derivative of -cos(x) and the implication was that sin^{2}(x) is the result of applying the chain rule to whatever compound function it is the derivative of. I can't remember the result but further steps were skipped and he jumped straight to the answer at this point.

I'm not sure how to proceed here, because the chain rule implies that \frac{dy}{dx} f(g(x)) = f'(g(x) . g'(x), and in my example g(x) = x and g'(x) = 1 which doesn't help me end up with sin(x) as required.

Could anyone poke me in the right direction to solve this? =)
 
Physics news on Phys.org
I'd forget the chain rule and try to re-write \sin^2x as something I could integrate, if I were you. It might be possible by parts, too, but I haven't actually tried that so I wouldn't swear to it.
 
The method I was taught was to use the double angle formula for cosine.
I really have no idea what your teacher is trying to do.
 
Adyssa said:
I'm not sure how to proceed here, because the chain rule implies that \frac{dy}{dx} f(g(x)) = f'(g(x) . g'(x), and in my example g(x) = x and g'(x) = 1 which doesn't help me end up with sin(x) as required.

Could anyone poke me in the right direction to solve this? =)
You don't want the chain rule. You want the product rule, the integration equivalent of which is integration by parts.

Before nudging you in the right direction, there is a much easier way to find \int sin^2x\,dx. Use the identity \sin^2x = (\frac{1-\cos(2x)} 2. The right hand side is easy to integrate.

The product rule is (f(x)g(x))' = f'(x)g(x) + f(x)g'(x). Transforming to integration,\int (f(x)g(x))' dx = f(x)g(x) = \int f'(x)g(x)dx + \int f(x)g'(x)dx
Note that this is integration by parts, just written a bit differently. You are using f(x)=\sin x and g(x)=-\cos x. Plug these in. You'll eventually need a different trig identity, \sin^2x + \cos^2x = 1, to finish it off.
 
Last edited:
Thanks for the replies. I'm really awful at remembering trig identities (and remembering in general =S), I had a large gap between high school and university maths, so I have to re-learn a lot of the basics as I go along.

I solved it by using the double angle identity sin^{2}x = \frac{1 - cos(2x)}{2} and integration by substitution - u = 2x, du = 2dx, dx = \frac{1}{2}du, and my result was \frac{x}{2} - \frac{1}{4}sin(2x). I took the derivative to check my answer and it worked, so that's great!

I'm going to have a go at the integration by parts method now.
 
Adyssa, I had a typo (matho) in my previous post.

Adyssa said:
I took the derivative to check my answer and it worked, so that's great!
It is always a good idea to double check your work. Good job!
 
You can try another technique...
let
I=∫sin^{2}xdx ---------(i)
or I=∫dx-∫cos^{2}xdx
or I=x-∫cos^{2}xdx +c_{1} -------(ii)

Adding (i) and (ii),
2I=x-∫[cos^{2}x-sin^{2}x]dx +c_{1}
2I=x-∫cos2xdx +c_{1}
2I=x-1/2 sin2x +c
I=x/2 - 1/4 sin2x+c
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K