Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I want to calculate $ \displaystyle\int\sin^2(mx) \,dx$. My steps are the following. Please tell me if I am wrong in it.

So if we substitute $u=m x$ then $du=m \,dx$, so $$\frac {1} {m}\int \sin^2 u du$$ then we kow that, $ \sin ^2u=\dfrac{1-\cos(2u)}{2}$ and if we put this into original integral and evaluate it,we get $$\dfrac{x}{2}-\dfrac{\sin(2mx)}{4m}+ C$$

Am I correct? Or there is some mistake? Please give me any hint if necessary

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

Yes, this is correct, as long as $m\neq 0$.

You could have checked your answer though by simply differentiating w.r.t. $x$.

share|improve this answer
    
thanks a lot @fretty –  dato datuashvili Feb 25 '12 at 13:12
1  
@fretty: Very good point about checking. –  André Nicolas Feb 25 '12 at 16:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.