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

I evaluate the following integral with pen and paper:

$$\int y'(x) \cdot (y(x) +1)^2 \cdot dx$$

And I get to the following result:

$$\frac{(y(x) + 1)^3}{3}+C$$

However, after that I went to WolframAlpha to check if my answer was right, I got the following result:

enter image description here

Which is pretty much what I got, but where does $\dots +y(x)^2+y(x)$ come from?

I do not understand that. I would appreciate it if somebody explains that to me.

share|cite|improve this question
up vote 2 down vote accepted

It comes from expanding the cube $(y(x)+1)^3$ with the binomial formula: $(y(x)+1)^3=y(x)^3+3y(x)^2+3y(x)+1$; multiplying that by 1/3 gives the other answer, and the +1/3 added on at the end is swallowed up in the constant.

share|cite|improve this answer


share|cite|improve this answer
It's getting late, I should go to bed... – Dimme Jan 17 '12 at 23:58
Not to worry; happens to the best of us. – Gerry Myerson Jan 18 '12 at 0:33

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.