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 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|cite|improve this question
up vote 8 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|cite|improve this answer
+1 nice solution – dato datuashvili Jun 26 '12 at 10:39

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.