When we’re integrating sometimes it seems we need to do the +c thing and sometimes we don’t. What’s the story? Do we need it or not?
So the short answer is: Yes, you need it.
The slightly longer answer is: Yes, you need it for the indefinite integral but you can safely ignore it if you are working on a definite integral.
Ok, but why?
Good question. So let’s look at why we need it in the first place by going back and differentiating a few functions:
So all of these different functions have the same derivative (). The derivative of a constant, remember, is 0. So no matter what constant I add or subtract from
the derivative of that constant will always be 0, and so the derivative of the entire function will always be
.
So there are, in fact, an infinite number of functions that have a derivative of .
If I’m now going to go back in the opposite direction and integrate , how do I know which one of that infinite number of functions is the one I’m looking for? The answer is: I don’t.
And so I include a Constant of Integration, which is commonly written asĀ .
I know there is some constant there, some number, but I don’t know what it is. It could be 0 or -37 or 892000000 or any of an infinite number of other possibilities. Without more information, I simply don’t know.
What we just did was an indefinite integral and the constant of integration is essential in representing it as what it is: not just a single function, but an infinite set of possible functions.
When it comes to calculating a definite integral what we are doing is evaluating an indefinite integral between a given set of limits. For example:
You’ve probably been told that you can just ignore the constant now, you don’t need it. That’s true, but let’s leave it in there for now and step through the calculation to see why it is that we can ignore it.
The two ‘s end up cancelling each other out because you’re adding one and subtracting the other.
No matter which of our infinite possibilities that actually represents, it ends up being immaterial when calculating a definite integral because it will always cancel itself out.
So we take a little shortcut, and just leave it out altogether.