33 Anti-derivatives

We’ll see in a future chapter that we will need to be able to be able to undo a derivative. That is, given the answer of a derivative problem, what is the original question?

Given a function [latex]f(x)[/latex], [latex]F(x)[/latex] is the anti-derivative of [latex]f(x)[/latex] if [latex]F'(x) = f(x)[/latex]. We denote this by

[latex]\int f(x) \ dx = F(x).[/latex]

For now, just consider [latex]\int[/latex] and [latex]dx[/latex] to be notation that tells you to take an anti-derivative.

Let us look at some examples with the power rule. The following is a table of derivative problems.

[latex]\begin{array}{cc} F(x) & F'(x) = f(x) \\ \hline 1 & 0 \\ x & 1 \\ x^2 & 2x \\ x^3 & 3x^2 \\ x^4 & 4x^3 \end{array}[/latex]

Now let’s look at anti-derivatives. All we do is what was the original problem is now the answer, and what was the answer is now the original problem.

[latex]\begin{array}{cc} f(x) & \int f(x) \ dx = F(x) \\ \hline 0 & 1 \\ 1 & x \\ 2x & x^2 \\ 3x^2 & x^3 \\ 4x^3 & x^4 \end{array}[/latex]

There is one twist we have to watch out for: anti-derivatives are not unique. Consider the following derivatives:

[latex]\begin{array}{cc} F(x) & F'(x) = f(x) \\ \hline 7 & 0 \\ x + 7 & 1 \\ x^2 + 7 & 2x \\ x^3 + 7 & 3x^2 \\ x^4 + 7 & 4x^3 \end{array}[/latex]

This would lead us to the following anti-derivatives

[latex]\begin{array}{cc} f(x) & \int f(x) \ dx = F(x) \\ \hline 0 & 7 \\ 1 & x + 7 \\ 2x & x^2 + 7 \\ 3x^2 & x^3 + 7 \\ 4x^3 & x^4 + 7 \end{array}[/latex]

So, suppose I ask the question “what is the anti-derivative of [latex]2x[/latex]?” There are many possible solutions, including [latex]x^2[/latex], [latex]x^2 +7[/latex], [latex]x^2 + 42[/latex], etc. However, all of these solutions are basically the same thing. To get around this problem, we say often use the notation [latex]x^2 + C[/latex]. Here, [latex]C[/latex] is called the constant of integration. In this form, the antiderivative is called an indefinite integral.

If we are dealing with a polynomial, we know the derivative follows the power rule. With anti-derivatives, it follows the inverse power rule:

[latex]\boxed{\int x^m \ dx = \frac{x^{m + 1}}{m+1} + C}[/latex]

Note that this only works if [latex]m \neq -1[/latex]. Can you see what goes wrong in the formula if [latex]m = -1[/latex]?

We also have the rules of linearity work in reverse. So when taking anti-derivatives, you can just look at one term at a time, and the constant will stay during the anti-derivative process.

[latex]\boxed{\int c f \ dx = c \int f \ dx}[/latex]

[latex]\boxed{\int f + g \ dx = \int f \ dx + \int g \ dx}[/latex]

Here are some examples.

Antiderivative Examples

  • Find [latex]\int x^7 \ dx[/latex].

    Using the inverse power rule, we have [latex]\int x^7 \ dx = \boxed{\frac{x^8}{8} + C}[/latex].

  • Find [latex]\int 6x^2 \ dx[/latex].

    The constant will “come along for the ride”, or not be affected by the anti-derivative process. Hence we see
    \begin{align*}
    \int 6 x^2 \ dx & = 6 \int x^2 \ dx \\
    & = 6 \left( \frac{x^3}{3} + C \right) \\
    & = 6 \frac{x^3}{3} + 6C \\
    & = 2x^3 + 6C.
    \end{align*}
    Note that the [latex]6[/latex] in the [latex]6C[/latex] part of the answer is not really necessary. What is important is we are indicating that you can add any constant of integration we’d like. Therefore, we will often replace the [latex]6C = D[/latex], and we have the answer

    [latex]\int 6 x^2 \ dx = 2x^3 + D.[/latex]

    In fact, often we will just wait to add the [latex]C[/latex] until the end. In that case, we would arrive at an answer of [latex]2x^3[/latex], then we’d add the [latex]C[/latex] at that stage, and get an answer of

    [latex]\int 6 x^2 \ dx = \boxed{2x^3 + C}.[/latex]

  • Find [latex]\int \frac{1}{2} x^3 \ dx[/latex]

    The [latex]\frac{1}{2}[/latex] is a constant that does not affect the integration, so we see
    \begin{align*}
    \int \frac{1}{2} x^3 \ dx & = \frac{1}{2} \int x^3 \ dx \\
    & = \frac{1}{2} \left( \frac{x^4}{4} \right) \\
    & = \boxed{\frac{x^4}{8} + C}.
    \end{align*}
    Notice we didn’t add the constant of integration until the last step, and that’s perfectly okay.

  • Find [latex]\int 6x^5 + 6x \ dx[/latex]

    In a sum, we can just treat each term separately. And the constants come along for the ride.
    \begin{align*}
    \int 6x^5 + 6x \ dx & = 6 \int x^5 \ dx + 6 \int x \ dx \\
    & = 6 \left( \frac{x^6}{6} \right) + 6 \left(\frac{x^2}{2}\right) \\
    & = \boxed{x^6 + 3x^2 + C}.
    \end{align*}

  • Find [latex]\int 4 e^x + \frac{3}{x} + \frac{\sin(x)}{5} \ dx[/latex].

    We treat each term separately.

    • [latex]\int 4 e^x \ dx[/latex]. In this term, the [latex]4[/latex] is a constant multiple, and the [latex]e^x[/latex] doesn’t change, so we get

      [latex]\int 4 e^x \ dx = 4 e^x.[/latex]

    • [latex]\int \frac{3}{x} \ dx[/latex]. Okay, a bit harder now. Notice the [latex]3[/latex] is a constant multiple, so let’s take that out: [latex]3 \int \frac{1}{x} \ dx[/latex]. We recognize this as the derivative of [latex]\ln(x)[/latex], so the answer is

      [latex]\int \frac{3}{x} \ dx = 3 \ln(x).[/latex]

    • [latex]\int \frac{\sin(x)}{5} \ dx[/latex]. For this one, the division by [latex]5[/latex] is the same a constant multiple of [latex]\frac{1}{5}[/latex]. We bring this outside and get: [latex]\frac{1}{5} \int \sin(x) \ dx[/latex]. We know that [latex]\frac{d}{dx} \cos(x) = -\sin(x)[/latex], so we know [latex]\frac{d}{dx} -\cos(x) = \sin(x)[/latex]. This gives the final answer of

      [latex]\int \frac{\sin(x)}{5} \ dx = -\frac{1}{5} \cos(x).[/latex]

    Putting it altogether, we get a final answer of [latex]\boxed{4 e^x + 3 \ln(x) - \frac{1}{5} \cos(x) + C}[/latex]. Nice work!

License

Icon for the Creative Commons Attribution 4.0 International License

Informal Calculus Copyright © by Tyler Seacrest is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book