3

I tried it using the double angle identity $$\sin{2x}=2\sin x\cos x$$

The answer that I got is $$\frac{-\cos 2x}{4} +c$$ However I've also tried it using $u$-substitution.

I let $u=\sin x$. Thus obtaining $\cos x$ when differentiating. And cutting the $\cos x$ in $2\sin x\cos x$ out with the $\cos x$ in the denominator below $du$.

However the answer that I am then getting is : $0.25 - 0.25\cos 2x + c$. So as you can see there is the extra term $0.25$ there. Is the second answer deemed to be wrong? If so why? My book tells me to use the double angle formula but does not explain why.

user408858
  • 2,463
  • 12
  • 28
butterfly
  • 131

4 Answers4

4

Both answers are correct. You can use double angle identity, as well as u sub for either $\sin x$ or $\cos x$.

The key lies in the +c. All the 3 integrals are a family of functions just separated by a different "+c". In practice, double angle identity is often used as it's more intuitive and simpler in some sense. But the other methods are perfectly acceptable, and not "wrong."

devam_04
  • 748
  • But you say that the constant of integration changes. Suppose i had limits of integration (let us say 1 to 2 ) for this question. My answer would be different, right? – butterfly Apr 01 '21 at 04:57
  • It won't as the constant would get subtracted while plugging in the upper and lower bounds. – devam_04 Apr 01 '21 at 05:00
  • Ohh.. OK. Thanks for the help. I am approving your answer. – butterfly Apr 01 '21 at 05:06
1

Actually your method is not wrong.

All you need to do is just substitute \begin{equation*} c_{2} =0.25+c \end{equation*} and then you get the "correct" answer.

1

$$\frac{1}{2} \frac{d}{dx} \sin^2 x = \sin x \cos x$$ so $$\int \sin x \cos x \,dx = \frac{1}{2} \sin^2 x + \text{constant}$$

mjw
  • 8,647
  • 1
  • 8
  • 23
1

Try graphing the two answers. You will see that they have equal slopes at each $x$ value, so they are both anti-derivatives of the same thing. Moving either vertically up or down does not change this (and can make them coincide). That is the $+C$, an arbitrary constant of integration.