Why do we need a plus C after indefinite integrals?

For example, think of the following function

$$\begin{align} f(x) = 2x + 4 \end{align}$$

We can take the derivative of this function

$$\begin{align} f'(x) = 2 \end{align}$$

If we take the anti-derivative of this function

$$\begin{align} F(x) = 2x \end{align}$$

We took the derivative, then we took the anti-derivative, but we don't end up back at the original function

This is because when we took the derivative, the constant term (the plus 4) gets turned into 0

When you take the anti-derivative of 0, it becomes 0, because $\frac{d}{dx} 0 = 0$

This happens with any constant term being added, the derivative of it turns to 0 and the anti-derivative can't get it back

This is why we need the plus C, it represents an arbitrary constant to account for all possible anti-derivatives

The plus C stands for the Constant Of Integration

This means the indefinite integral is just an anti-derivative with the constant of integration

$$\begin{align} \int{f(x) \ dx} = F(x) + C \end{align}$$

Also, the integral of 0 is $C$

$$\begin{align} \int{0 \ dx} = C \end{align}$$


Another Example

If you try to find the following indefinite integral

$$\begin{align} \int{2 \sin(x) \cos(x) \ dx} \end{align}$$

There are 2 ways you can solve this, by using trig properties or U-sub

$$\begin{align} \int{\sin(2x) \ dx} = -\frac{1}{2}\cos(2x) + C \end{align}$$

$$\begin{align} \int{2u \ du} = 2\frac{u^2}{2} + C = \sin^2(x) + C &&\text{$u = \sin(x)$} \end{align}$$

These 2 anti-derivatives are different, but they have the same derivative, this is because of the $+ C$

If you solve for $C$ you get a value of $\pm \frac{1}{2}$


Combining Multiple $+C$

A lot of the time, you solve multiple integrals that are being added or subtracted

Each of these integrals results in it's own $+C$ term

But since each of the $C$ are constant, and they are only being added or subtracted, this means you can combine them together

This is because a constant plus another constant is also a constant

For example:

$$\begin{align} \int{f(x) \ dx} + \int{g(x) \ dx} + \int{h(x) \ dx} &= F(x) + C_1 + G(x) + C_2 + H(x) + C_3 \\ &= F(x) + G(x) + H(x) + C \end{align}$$

Because of this, I like to wait until the end to account for the $+C$


Finding The Value of $C$

Even though $C$ is an arbitrary constant, we can find the value of it given a point on the original function

For example

Given:

$$\begin{align} f'(x) &= 4x \\ f(2) &= 10 \\ \end{align}$$

Find the Original Function $f(x)$

First, we need to find the integral in order to get from the derivative to the original function

$$\begin{align} f(x) = \int{f'(x) \ dx} &= \int{4x} = 2x^2 + C \end{align}$$

We can plug 1 in for $x$ and set it equal to 8 to find C

$$\begin{align} 2(2)^2 + C &= 10 \\ 8 + C &= 10 \\ C &= 2 \\ \end{align}$$

We can combine this with our anti-derivative and get:

$$\begin{align} f(x) = 2x^2 + 2 \end{align}$$


Practice Problems