Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Find the exact value of the following definite integral:
$$\int ^\frac{\pi}{2}_{0} \sin\left(2x+\frac{\pi}{4}\right)\:dx=\left[-\frac{1}{2}(2x+\frac{\pi}{4})\right]^\frac{\pi}{2}_{0}$$ $$=-\frac{1}{2}\left(2\frac{\pi}{2}+\frac{\pi}{4}\right)+\frac{1}{2}\left(2\cdot 0+\frac{\pi}{4}\right)$$ $$=-\frac{1}{2}\left(\pi+\frac{\pi}{4}\right)+\frac{1}{2}\left(\frac{\pi}{4}\right)=-\frac{\pi}{2}$$

but the right answer is:


Help me out! thanks!

share|cite|improve this question
hint: where is the $\cos$ after integration? – Raymond Manzoni Jul 27 '12 at 11:41
oh! sorry! my fault!!!!i didn't see. – Sb Sangpi Jul 27 '12 at 11:43
up vote 3 down vote accepted

You have forget $\cos$ after you have done antiderivative.

$$\int^\frac{\pi}{2}_{0}\sin\left(2x+\frac{\pi}{4}\right)\:dx=\left[-\frac{1}{2}\cos\left(2x+\frac{\pi}{4}\right)\right]^\frac{\pi}{2}_{0}$$ $$=-\frac{1}{2}\cos\left(2\frac{\pi}{2}+\frac{\pi}{4}\right)+\frac{1}{2}\cos\left(2\cdot 0+\frac{\pi}{4}\right)$$ $$=-\frac{1}{2}\cos\left(\pi+\frac{\pi}{4}\right)+\frac{1}{2}\cos\left(\frac{\pi}{4}\right)=\frac{\sqrt{2}}{2} \quad \blacksquare$$

share|cite|improve this answer


share|cite|improve this answer
Please see here for how to typeset common math expressions with LaTeX, and see here for how to use Markdown formatting. – Zev Chonoles Jul 29 '12 at 14:29

Your Answer


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.