Why Do Equivalent Integrals Yield Different Results?

musemonkey
Messages
23
Reaction score
0
1. This is part of a larger calculation. I do it one way and get the right answer and do it a seemingly equivalent way and get the wrong answer. The question is just about reconciling the two integrals below.

2.

I_1 = \int \frac{sin(2x)}{2} dx = -\frac{cos(2x)}{4}

\frac{sin(2x)}{2} = sin(x)cos(x)

I_2 = \int sin(x)cos(x) dx = - \frac{cos^2(x)}{2}

For x= 0, I_1 = -1/4 \neq I_2 = -1/2.

How can this be?
 
Physics news on Phys.org
cos(2x)=cos(x+x)=cos(x)^2-sin(x)^2=2*cos(x)^2-1. Your two expressions differ by a constant. Don't forget the +C on an indefinite integral.
 
Thanks!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top