Indefinite Integrals - which method is preferred?

1MileCrash
Messages
1,338
Reaction score
41

Homework Statement



\int (x+1)^2 dx

Homework Equations





The Attempt at a Solution



I am just getting into this, and this is a simple problem, but my book and I took two separate routes. My question, essentially, is does any constant you get just "combine" with the "any constant" C?

I went with:

\int (x+1)^2 dx = \int x^2+2x+1 dx

Which yields
\frac{1}{3}x^3+x^2+x+C

Now, my textbook took a wildly different method, with u substitution and arrived at:
\frac{(x+1)^3}{3}+C

These equations are not identical, but their derivatives are. So, they are both solutions and they are both the same. My gripe with the textbook solution is that, their answer can be brought to mine but with another constant. Why would they do that?

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

=\frac{x^3+x^2+3x+1}{3}+C

\frac{1}{3}x^3+x^2+x + \frac{1}{3} + C

Why would they give that as a final result? Their answer is just mine with another constant hidden in. Is there are reason for them to do that?
 
Physics news on Phys.org
Their method can easily solve the integral of (x+1)^100 as (x+1)^101/101+C. There's really no profit in expanding the polynomial. Yours would do it too, but it would be painful. That's why they are doing it that way.
 
Last edited:
Dick said:
Their method can easily solve the integral of (x+1)^100. Yours would do it too, but it would be painful. That's why they are doing it that way.

I would use their method in that case, though.

Or are you suggesting that they just did it that way to show the process?
 
1MileCrash said:
I would use their method in that case, though.

Or are you suggesting that they just did it that way to show the process?

If they expanded the final polynomial, which they didn't need to do, then it was probably just to make it clear that the results are the same as the way you did it, just with a modified constant. If you just write the answer as (x+1)^3/3+C, that's already easier than expanding and integrating term by term, isn't it? In general, I prefer to do things the easiest way, even though I know harder ways will work as well.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top