2K

Primitive functions

Reversing differentiation: primitives of powers of x including negative and fractional powers, the arbitrary constant, finding a particular primitive from an initial condition, and working back from a second derivative.

So far we have started with a function and found its derivative. Often the derivative is what we know: a rate of flow, a velocity, a gradient. Going backwards from the derivative to the function is called finding a primitive, and it is the starting point for integration in the next chapter.

Reversing differentiation

$F(x)$ is a primitive of $f(x)$ if $F'(x) = f(x)$. Since $\dfrac{d}{dx}(x^2) = 2x$, one primitive of $2x$ is $x^2$. But $x^2 + 5$ and $x^2 - 3$ also differentiate to $2x$, because a constant differentiates to $0$. So every primitive of $2x$ has the form $x^2 + C$, where $C$ is a constant.

A family of primitives of 2x

Every curve y = x² + C has gradient 2x. Changing C slides the curve up or down without changing any gradient.

Try this

Find the value of $C$ that makes the curve pass through $(2, 1)$. This is exactly what an initial condition does.

To reverse "bring down the power and subtract one", do the opposite in reverse order: add one to the power, then divide by the new power.

Primitive of a power
$$\text{If } \frac{dy}{dx} = x^n, \text{ then } y = \frac{x^{n+1}}{n + 1} + C, \quad n \ne -1$$

The rule fails for $n = -1$ because it would divide by zero. The primitive of $\dfrac1x$ needs logarithms (Chapter 5).

Example 1●

Find $y$ if $\dfrac{dy}{dx} = 6x^2 - 4x + 3$.

$y = 2x^3 - 2x^2 + 3x + C$
Do each term separately. 6x² → 6x³/3, −4x → −4x²/2, 3 = 3x⁰ → 3x.
Check: $\dfrac{d}{dx}(2x^3 - 2x^2 + 3x + C) = 6x^2 - 4x + 3$. ✓
Check by differentiating back.
Example 2: negative and fractional powers●●

Find primitives of (a) $\dfrac{1}{x^3}$ (b) $\sqrt{x}$.

(a) $x^{-3} \to \dfrac{x^{-2}}{-2} + C = -\dfrac{1}{2x^2} + C$
Rewrite as a power first. Adding 1 to −3 gives −2.
(b) $x^{\frac12} \to \dfrac{x^{\frac32}}{\frac32} + C = \dfrac23 x^{\frac32} + C$
√x = x^½. Adding 1 gives 3/2, and dividing by 3/2 is multiplying by 2/3.

Powers of a linear function

Differentiating $(ax + b)^{n+1}$ with the chain rule gives $(n + 1)(ax + b)^n \times a$. So to reverse it, divide by both the new power and $a$:

Primitive of a power of a linear function
$$\text{If } \frac{dy}{dx} = (ax + b)^n, \text{ then } y = \frac{(ax + b)^{n+1}}{a(n + 1)} + C, \quad n \ne -1$$
Example 3●●

Find a primitive of $(2x + 1)^4$.

$\dfrac{(2x + 1)^5}{10} + C$
New power 5, and a = 2. Divide by 5 × 2.

Using an initial condition

A known point on the curve, called an initial condition, picks out one member of the family, as in the graph above.

Example 4●●

$f'(x) = 3x^2 - 2$ and $f(1) = 4$. Find $f(x)$.

$f(x) = x^3 - 2x + C$
$1 - 2 + C = 4$, so $C = 5$ and $f(x) = x^3 - 2x + 5$.
Substitute x = 1, f(x) = 4.
Example 5: from the second derivative●●●

$f''(x) = 6x - 4$, $f'(2) = 5$ and $f(0) = 1$. Find $f(x)$.

$f'(x) = 3x^2 - 4x + C$. Then $12 - 8 + C = 5$, so $C = 1$.
Take a primitive once to get f′, with its own constant.
$f(x) = x^3 - 2x^2 + x + D$. Then $f(0) = D = 1$.
Take a primitive again, with a new constant D.
$f(x) = x^3 - 2x^2 + x + 1$.

Your turn

A curve has gradient $\dfrac{dy}{dx} = 4x - 3$ and passes through $(2, 5)$. Find $y$ when $x = 3$.

Show the working

$y = 2x^2 - 3x + C$. At $(2, 5)$: $8 - 6 + C = 5$, so $C = 3$. Then at $x = 3$: $y = 18 - 9 + 3 = 12$.

Flashcards
Primitive of $x^n$ ($n e -1$)
$\dfrac{x^{n+1}}{n + 1} + C$
Primitive of $(ax + b)^n$ ($n e -1$)
$\dfrac{(ax + b)^{n+1}}{a(n + 1)} + C$
Practice
  1. A primitive of $6x^2$ is:

  2. $\dfrac{dy}{dx} = 6x^2 - 4x + 3$. Find the coefficient of $x^2$ in $y$.

  3. A primitive of $\dfrac{1}{x^3}$ is:

  4. A primitive of $3\sqrt{x}$ is $kx^{\frac32} + C$. Find $k$.

  5. A primitive of $(2x + 1)^4$ is:

  6. $f'(x) = 3x^2 - 2$ and $f(1) = 4$. Find the constant $C$ in $f(x) = x^3 - 2x + C$.

  7. For the same function, find $f(2)$.

  8. $f''(x) = 6x - 4$, $f'(2) = 5$ and $f(0) = 1$. Find $f(2)$.

  9. Exam style: a curve has gradient $\dfrac{dy}{dx} = 6x + 1$ and passes through $(1, 3)$. Find $y$ when $x = 2$.

  10. Exam style: $f'(x) = (3x - 2)^3$ and $f(1) = 2$. Find $f(0)$.

Formula sheet