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.

Find the antiderivative of $\frac{dy}{dx}$=$e^{2x}-x$ and $y=5$ when $x=0$

the antiderivative formula is

I did it ,
$\frac{dy}{dx}$=$e^{2x}-x$ and $y=5$ when $x=0$


but the right answer is $y=\frac{1}{2}(e^{2x}-x^2+9)$

can you help me out? thanks

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

You made two major errors. First, you found the antiderivative only of the exponential term and forgot all about the $-x$ term: you should have got $$y=\frac12e^{2x}-\frac{x^2}2+c\;.$$ Note that this is $y$, not $dy/dx$.

Secondly, you found all of the antiderivatives, but the problem requires you to find the specific antiderivative such that $y=5$ when $x=0$. Take the corrected general antiderivative,


and substitute $y=5$ and $x=0$ to get


clearly we must have $$c=5-\frac12=\frac92\;,$$ and the unique antiderivative that satisfies the extra condition is


share|improve this answer
+1 nice solution –  dato datuashvili Jun 26 '12 at 10:39
add comment

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.