Integrating Sin^2 (2x) Without Prefix

In summary, using integration by parts and the half angle identity, the integral of ##\int sin^2 (2x)dx## can be solved as follows: First, define ##I=\int sin^2(2x)dx##. Then, using the half angle identity, we can rewrite the integral as ##\frac{1}{4}\int (1-cos(4x))dx##. Next, using integration by parts with ##u=sin(2x), dv=sin(2x)dx, v=-\frac{1}{2}cos(2x)##, and ##du=2cos(2x)dx##, we can solve for ##I##. Plugging in
  • #1
MathewsMD
433
7
## \frac {1}{4} \int sin^2 (2x)dx = I = \frac {1}{4} [- \frac {1}{2} sin(2x)cos(2x) + \int cos^2 (2x)dx]## when ##u = sin(2x), dv = sin(2x)dx, v= - \frac {cos(2x)}{2}## and ##du = 2cos(2x)dx##

Now simplifying ##\int cos^2 (2x)dx## you get ## x - \int sin^2 (2x)dx = x - I##

Then,

## I = \frac {1}{4} [- \frac {1}{2}sin(2x)cos(2x) + x - I)] ##

## \frac {5}{4} I = \frac {1}{4} [- \frac {1}{2}sin(2x)cos(2x) + x] ##

## I = \frac {1}{5} [ -\frac {1}{2}sin(2x)cos(2x) + x] ##

Could anyone verify my solution? The next part is actually making this an indefinite integral of ##\int^{\frac {∏}{2}}_0 sin^2 (2x)dx## and when I solve this, my answer is always ##\frac {∏}{10}## and this is incorrect.
 
Last edited:
Physics news on Phys.org
  • #2
I can't figure out where the 1/4 came from.
 
  • #3
I didn't check your work carefully, but the final result doesn't look right. Did you try differentiating it and seeing if you recover the integrand?

By the way, there's a much more straightforward way to do this integral than using integration by parts. Are you required to integrate by parts for this problem?
 
  • #4
brmath said:
I can't figure out where the 1/4 came from.

Sorry, there was a ##\frac {1}{4}## in the beginning. Error on my part, sorry. I've corrected it in the original now.
 
  • #5
vela said:
I didn't check your work carefully, but the final result doesn't look right. Did you try differentiating it and seeing if you recover the integrand?

By the way, there's a much more straightforward way to do this integral than using integration by parts. Are you required to integrate by parts for this problem?

I tried it and got something different. I kept trying the question again but kept coming with the same integral. I understand I could have used half angle identities instead of integration by parts, but by using integration by parts. I keep getting an incorrect answer and if someone could point out what is wrong, that would be great.
 
  • #6
The 1/5 is a problem. When I differentiated what's inside the square brackets, I got ##2\sin^2 2x##, so you're pretty close. It's probably just arithmetical errors somewhere.
 
  • #7
MathewsMD said:
Now simplifying ##\int cos^2 (2x)dx## you get ## x - \int sin^2 (2x)dx = x - I##
The problem's here: ##I \ne \int \sin^2 2x\,dx##
 
  • #8
vela said:
The problem's here: ##I \ne \int \sin^2 2x\,dx##

##I = \frac {1}{4}\int \sin^2 2x\,dx## is the correct equation, right?

Okay, so:

## \frac {1}{4}I = \frac {1}{4} [- \frac {1}{2}sin(2x)cos(2x) + x - I)] ##

## \frac {1}{2} I = \frac {1}{4} [- \frac {1}{2}sin(2x)cos(2x) + x] ##

## I = \frac {1}{2} [ -\frac {1}{2}sin(2x)cos(2x) + x] ##

In case I didn't do exactly what you wanted, I still get ##\frac {∏}{4}## as the answer which is still not right...
 
  • #9
Have you tried using the identity [itex]sin^2θ=\frac{1-cos(2θ)}{2}[/itex]?
 
  • #10
MathewsMD said:
##I = \frac {1}{4}\int \sin^2 2x\,dx## is the correct equation, right?
Yes, you defined it that way, after all. :wink: So ##\int \sin^2 2x\,dx = 4I##, right?

Okay, so:

## \frac {1}{4}I = \frac {1}{4} [- \frac {1}{2}sin(2x)cos(2x) + x - I)] ##
It would be better to say that
$$I = \frac{1}{4}\left[x-\frac{1}{2}\sin 2x\cos 2x - 4I\right]$$ rather than changing the definition of ##I## midstream, which is probably why you're getting the wrong answer.

## \frac {1}{2} I = \frac {1}{4} [- \frac {1}{2}sin(2x)cos(2x) + x] ##

## I = \frac {1}{2} [ -\frac {1}{2}sin(2x)cos(2x) + x] ##

In case I didn't do exactly what you wanted, I still get ##\frac {∏}{4}## as the answer which is still not right...
 
  • #11
Also, instead of making new threads, I have a related question.

Given:

## \int sin(x)cos(x)dx = I ## and ##u = sin(x), du = cos(x)dx## so ## I = \int udu = \frac {1}{2}sin^2(x)##

Using ##w = cos(x), -dw = sin(x)dx## I found ## I = -\int wdw = -\frac{1}{2}w^2 = -\frac{1}{2}cos^2(x)##

Using the two methods, I found two different answers and I am not completely sure why...
Once again, and clarification on what I did wrong or am thinking about incorrectly would be very helpful! :)
 
  • #12
Those two results differ only by a constant.
 
  • #13
vela said:
Those two results differ only by a constant.

Oh boy...let's not make that mistake again haha thank you, I should really develop better strategies to check my work.
 
  • #14
[tex] \frac {1}{4} \int sin^2 (2x)dx = \frac {1}{32} \int {(1-cos(4x))d(4x)}=\frac{x}{8}-\frac{sin(4x)}{32}+C[/tex]
 
  • #15
And there we go...defining ## I ## early and changing it was a bad idea...Thank you everyone for the great help!
 

FAQ: Integrating Sin^2 (2x) Without Prefix

What is the general process for integrating trigonometric functions?

The general process for integrating trigonometric functions involves using trigonometric identities, substitution, and integration by parts. It also requires knowledge of basic integration rules, such as the power rule and the constant multiple rule.

What are some commonly used trigonometric identities for integration?

Some commonly used trigonometric identities for integration include the Pythagorean identities, the sum and difference identities, and the double angle identities.

How do I know when to use substitution or integration by parts for integrating trigonometric functions?

Substitution is typically used when the integral contains a composition of functions, such as sin(x^2) or cos(2x). Integration by parts is typically used when the integral contains a product of functions, such as xcos(x) or xsin(x).

Can I use a calculator to integrate trigonometric functions?

Yes, many scientific and graphing calculators have built-in integration functions that can be used to integrate trigonometric functions. However, it is still important to have an understanding of the concepts and techniques used in integration in order to use these functions effectively.

Is there a shortcut for integrating trigonometric functions?

There is no one-size-fits-all shortcut for integrating trigonometric functions. However, there are certain patterns and techniques that can make the process easier and more efficient, such as using trigonometric identities and recognizing when to use substitution or integration by parts.

Back
Top