16

Day 16

Antiderivatives And Basic Integration


Basic Antiderivative Rules

An antiderivative of ff is any function FF with F′=fF' = f. Before Riemann sums, the FTC, or u-substitution, you need the reverse of every derivative rule at your fingertips — this is the vocabulary the whole integration unit is built on.

Core Theorem
Every antiderivative differs by a constant, so ∫f(x) dx=F(x)+C\displaystyle\int f(x)\,dx = F(x) + C.
Power rule:
∫xn dx=xn+1n+1+C\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C for n≠−1n \neq -1; ∫1x dx=ln⁡∣x∣+C\int \dfrac{1}{x}\,dx = \ln|x| + C.
Exponential:
∫ex dx=ex+C\int e^x\,dx = e^x + C; ∫ekx dx=1kekx+C\int e^{kx}\,dx = \dfrac{1}{k}e^{kx} + C; ∫ax dx=axln⁡a+C\int a^x\,dx = \dfrac{a^x}{\ln a} + C.
Trig:
∫sin⁡x dx=−cos⁡x+C\int \sin x\,dx = -\cos x + C; ∫cos⁡x dx=sin⁡x+C\int \cos x\,dx = \sin x + C; ∫sec⁡2x dx=tan⁡x+C\int \sec^2 x\,dx = \tan x + C; ∫csc⁡2x dx=−cot⁡x+C\int \csc^2 x\,dx = -\cot x + C; ∫sec⁡xtan⁡x dx=sec⁡x+C\int \sec x\tan x\,dx = \sec x + C; ∫csc⁡xcot⁡x dx=−csc⁡x+C\int \csc x\cot x\,dx = -\csc x + C.
Integration is linear:
∫[c f±g]=c∫f±∫g\int [c\,f \pm g] = c\int f \pm \int g.

Worked Examples

Read these first — the full solution is shown, with the reasoning behind each move.

Worked Example 01Easy
Find ∫(6x2−4x+5)dx\displaystyle\int \left(6x^2 - 4x + 5\right) dx.
How to think about it
Antidifferentiation is the power rule backwards: raise the exponent by one, divide by the new exponent. Do it term by term (integration is linear), treat the constant 55 as 5x0→5x5x^0 \to 5x, and never drop the +C+C.

Key idea: Apply the power rule term by term. The antiderivative of a constant 55 is 5x5x.

Full solution

1. Step 1: Antidifferentiate Each Term

6x33−4x22+5x=2x3−2x2+5x\dfrac{6x^3}{3} - \dfrac{4x^2}{2} + 5x = 2x^3 - 2x^2 + 5x.

2. Step 2: Add the Constant

∫(6x2−4x+5) dx=2x3−2x2+5x+C\displaystyle\int (6x^2 - 4x + 5)\,dx = 2x^3 - 2x^2 + 5x + C.
Worked Example 02Medium
Find ∫(x+3x2−2x)dx\displaystyle\int \left(\sqrt{x} + \dfrac{3}{x^2} - \dfrac{2}{x}\right) dx.
How to think about it
You can't use the power rule until each term is written as xpowerx^{\text{power}}, so first turn roots and fractions into exponents. The one exception is 2x=2x−1\dfrac{2}{x} = 2x^{-1}: the power rule would divide by zero, so its antiderivative is 2ln⁡∣x∣2\ln|x|.

Key idea: Rewrite every term as a power of xx first: x1/2x^{1/2}, 3x−23x^{-2}, and 2x\frac{2}{x} (which is the n=−1n = -1 case).

Full solution

1. Step 1: Rewrite as Powers

∫(x1/2+3x−2−2x)dx\displaystyle\int \left(x^{1/2} + 3x^{-2} - \dfrac{2}{x}\right) dx.

2. Step 2: Antidifferentiate

x3/23/2+3x−1−1−2ln⁡∣x∣=23x3/2−3x−2ln⁡∣x∣+C\dfrac{x^{3/2}}{3/2} + \dfrac{3x^{-1}}{-1} - 2\ln|x| = \dfrac{2}{3}x^{3/2} - \dfrac{3}{x} - 2\ln|x| + C.
Step-by-Step SOP
  1. 1

    Rewrite Before Integrating

    Turn roots, fractions, and quotients into sums of powers of xx (with negative or fractional exponents).
  2. 2

    Reverse the Matching Derivative Rule

    Power rule up by one; 1x→ln⁡∣x∣\frac{1}{x} \to \ln|x|; each trig and exponential reversal from the table.
  3. 3

    Always Write + C

    An indefinite integral without the constant of integration loses a point.
  4. 4

    Check by Differentiating

    The derivative of your answer must return the original integrand.

Practice — Your Turn

Try each one before opening the hint or the solution.

Practice 01Medium
Find ∫(4e2x+sec⁡2x−sin⁡x)dx\displaystyle\int \left(4e^{2x} + \sec^2 x - \sin x\right) dx.
Need a hint?
∫ekx dx=1kekx\int e^{kx}\,dx = \frac{1}{k}e^{kx}. The other two are direct trig reversals.
Show solution

1. Step 1: Antidifferentiate Each Term

4⋅12e2x+tan⁡x−(−cos⁡x)=2e2x+tan⁡x+cos⁡x4 \cdot \dfrac{1}{2}e^{2x} + \tan x - (-\cos x) = 2e^{2x} + \tan x + \cos x.

2. Step 2: Add C

2e2x+tan⁡x+cos⁡x+C2e^{2x} + \tan x + \cos x + C.
Practice 02Medium
Find ∫x3−2x+1x dx\displaystyle\int \dfrac{x^3 - 2x + 1}{x}\,dx.
Need a hint?
Divide each term of the numerator by xx first — do not try to integrate a quotient directly.
Show solution

1. Step 1: Split the Fraction

x3x−2xx+1x=x2−2+1x\dfrac{x^3}{x} - \dfrac{2x}{x} + \dfrac{1}{x} = x^2 - 2 + \dfrac{1}{x}.

2. Step 2: Antidifferentiate

x33−2x+ln⁡∣x∣+C\dfrac{x^3}{3} - 2x + \ln|x| + C.
Common Pitfalls
  • ⚠
    Using the Power Rule on 1/x∫x−1 dx\int x^{-1}\,dx is the one exception — it is ln⁡∣x∣+C\ln|x| + C, not x00\frac{x^0}{0}.
  • ⚠
    Forgetting the 1/k on e^{kx}∫e3x dx=13e3x+C\int e^{3x}\,dx = \frac{1}{3}e^{3x} + C. Dropping the 13\frac{1}{3} is the most common exponential slip.

Antiderivatives Giving Arctangent and Arcsine

Two derivative rules run in reverse to give inverse-trig antiderivatives: ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1+x^2} and ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1-x^2}}. Recognizing an integrand as one of these forms — sometimes after completing the square — is a tested AB skill.

Core Theorem
∫dxx2+a2=1atan⁡−1 ⁣(xa)+C\displaystyle\int \dfrac{dx}{x^2 + a^2} = \dfrac{1}{a}\tan^{-1}\!\left(\dfrac{x}{a}\right) + C
∫dxa2−x2=sin⁡−1 ⁣(xa)+C\displaystyle\int \dfrac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\!\left(\dfrac{x}{a}\right) + C
The special cases
a=1a = 1 give ∫dx1+x2=tan⁡−1x+C\int \frac{dx}{1+x^2} = \tan^{-1}x + C and ∫dx1−x2=sin⁡−1x+C\int \frac{dx}{\sqrt{1-x^2}} = \sin^{-1}x + C. If the denominator is a general quadratic, complete the square to force it into x2+a2x^2 + a^2 or a2−x2a^2 - x^2 form.

Worked Examples

Read these first — the full solution is shown, with the reasoning behind each move.

Worked Example 01Easy
Find ∫dxx2+9\displaystyle\int \dfrac{dx}{x^2 + 9}.
How to think about it

Key idea: This is the arctangent form with a2=9a^2 = 9, so a=3a = 3.

Full solution

1. Step 1: Identify a

x2+9=x2+32x^2 + 9 = x^2 + 3^2, so a=3a = 3.

2. Step 2: Apply the Formula

13tan⁡−1 ⁣(x3)+C\dfrac{1}{3}\tan^{-1}\!\left(\dfrac{x}{3}\right) + C.
Worked Example 02Easy
Find ∫dx4−x2\displaystyle\int \dfrac{dx}{\sqrt{4 - x^2}}.
How to think about it

Key idea: Arcsine form with a2=4a^2 = 4.

Full solution

1. Step 1: Identify a

4−x2=22−x24 - x^2 = 2^2 - x^2, so a=2a = 2.

2. Step 2: Apply the Formula

sin⁡−1 ⁣(x2)+C\sin^{-1}\!\left(\dfrac{x}{2}\right) + C.
Step-by-Step SOP
  1. 1

    Match the Shape

    1quadratic⇒\frac{1}{\text{quadratic}} \Rightarrow arctangent; 1quadratic⇒\frac{1}{\sqrt{\text{quadratic}}} \Rightarrow arcsine.
  2. 2

    Read Off a

    Write the constant as a2a^2; then aa appears both inside the inverse trig and (for arctangent) as a 1a\frac{1}{a} out front.
  3. 3

    Complete the Square If Needed

    A denominator like x2+bx+cx^2 + bx + c becomes (x+b/2)2+(constant)(x + b/2)^2 + (\text{constant}) — then it is a shifted standard form.

Practice — Your Turn

Try each one before opening the hint or the solution.

Practice 01Medium
Evaluate ∫01dx1+x2\displaystyle\int_0^1 \dfrac{dx}{1 + x^2}.
Need a hint?
The antiderivative is tan⁡−1x\tan^{-1}x; evaluate from 0 to 1.
Show solution

1. Step 1: Antiderivative

∫01dx1+x2=[tan⁡−1x]01\displaystyle\int_0^1 \dfrac{dx}{1+x^2} = \Big[\tan^{-1}x\Big]_0^1.

2. Step 2: Evaluate

tan⁡−1(1)−tan⁡−1(0)=π4−0=π4\tan^{-1}(1) - \tan^{-1}(0) = \dfrac{\pi}{4} - 0 = \dfrac{\pi}{4}.
Practice 02Hard
Find ∫dxx2−6x+13\displaystyle\int \dfrac{dx}{x^2 - 6x + 13}.
Need a hint?
The denominator does not factor over the reals. Complete the square: x2−6x+13=(x−3)2+4x^2 - 6x + 13 = (x-3)^2 + 4.
Show solution

1. Step 1: Complete the Square

x2−6x+13=(x2−6x+9)+4=(x−3)2+4x^2 - 6x + 13 = (x^2 - 6x + 9) + 4 = (x - 3)^2 + 4.

2. Step 2: Recognize the Arctangent Form

∫dx(x−3)2+22\displaystyle\int \dfrac{dx}{(x-3)^2 + 2^2} — the shifted arctangent form with a=2a = 2.

3. Step 3: Apply the Formula

12tan⁡−1 ⁣(x−32)+C\dfrac{1}{2}\tan^{-1}\!\left(\dfrac{x - 3}{2}\right) + C.
Common Pitfalls
  • ⚠
    Dropping the 1/a on the Arctangent∫dxx2+a2\int \frac{dx}{x^2 + a^2} has a 1a\frac{1}{a} factor. The arcsine form does not — do not add one there.
  • ⚠
    Trying to Factor a Sum of Squaresx2+9x^2 + 9 does not factor over the reals. If a quadratic denominator has no real roots, it is an inverse-trig integral, not a partial-fractions one.

Indefinite Integrals and Initial-Value Problems

The +C+C in an antiderivative is not a formality — it is a free parameter. One extra piece of information (a point on the curve, a starting position) pins it down and turns a family of curves into a single function. This is exactly how you recover position from acceleration.

Core Theorem
If dydx=f(x)\dfrac{dy}{dx} = f(x) and y=y0y = y_0 when x=x0x = x_0, then y=∫f(x) dx=F(x)+Cy = \displaystyle\int f(x)\,dx = F(x) + C, and CC is found by substituting the point: y0=F(x0)+Cy_0 = F(x_0) + C.
For motion:
v(t)=∫a(t) dtv(t) = \int a(t)\,dt (with CC from a known velocity), then s(t)=∫v(t) dts(t) = \int v(t)\,dt (with CC from a known position).

Worked Examples

Read these first — the full solution is shown, with the reasoning behind each move.

Worked Example 01Easy
Find f(x)f(x) if f′(x)=6x2−4f'(x) = 6x^2 - 4 and f(1)=5f(1) = 5.
How to think about it

Key idea: Antidifferentiate to get f(x)+Cf(x) + C, then use f(1)=5f(1) = 5 to solve for CC.

Full solution

1. Step 1: Antidifferentiate

f(x)=2x3−4x+Cf(x) = 2x^3 - 4x + C.

2. Step 2: Apply the Initial Condition

f(1)=2−4+C=5  ⟹  C=7f(1) = 2 - 4 + C = 5 \implies C = 7.

3. Step 3: Write the Solution

f(x)=2x3−4x+7f(x) = 2x^3 - 4x + 7.
Step-by-Step SOP
  1. 1

    Antidifferentiate the Right-Hand Side

    Get the general antiderivative F(x)+CF(x) + C.
  2. 2

    Substitute the Known Point

    Replace xx and yy with the given values and solve the resulting equation for CC.
  3. 3

    Repeat for Second-Order Problems

    f′′→f′f'' \to f' (find C1C_1 from f′(x0)f'(x_0)), then f′→ff' \to f (find C2C_2 from f(x0)f(x_0)).

Practice — Your Turn

Try each one before opening the hint or the solution.

Practice 01Medium
A function satisfies f′′(x)=12xf''(x) = 12x, with f′(0)=2f'(0) = 2 and f(0)=−1f(0) = -1. Find f(x)f(x).
Need a hint?
Antidifferentiate twice, finding a constant after each step.
Show solution

1. Step 1: First Antiderivative

f′(x)=6x2+C1f'(x) = 6x^2 + C_1. Since f′(0)=2f'(0) = 2, C1=2C_1 = 2, so f′(x)=6x2+2f'(x) = 6x^2 + 2.

2. Step 2: Second Antiderivative

f(x)=2x3+2x+C2f(x) = 2x^3 + 2x + C_2. Since f(0)=−1f(0) = -1, C2=−1C_2 = -1.

3. Step 3: Solution

f(x)=2x3+2x−1f(x) = 2x^3 + 2x - 1.
Practice 02Hard
A particle moving along a line has acceleration a(t)=6t−2a(t) = 6t - 2 (m/s²). At t=0t = 0, its velocity is v(0)=3v(0) = 3 m/s and its position is s(0)=1s(0) = 1 m. Find s(t)s(t).
Need a hint?
Integrate aa for vv (constant from v(0)v(0)), then integrate vv for ss (constant from s(0)s(0)).
Show solution

1. Step 1: Velocity from Acceleration

v(t)=∫(6t−2) dt=3t2−2t+C1v(t) = \int (6t - 2)\,dt = 3t^2 - 2t + C_1. v(0)=3  ⟹  C1=3v(0) = 3 \implies C_1 = 3, so v(t)=3t2−2t+3v(t) = 3t^2 - 2t + 3.

2. Step 2: Position from Velocity

s(t)=∫(3t2−2t+3) dt=t3−t2+3t+C2s(t) = \int (3t^2 - 2t + 3)\,dt = t^3 - t^2 + 3t + C_2. s(0)=1  ⟹  C2=1s(0) = 1 \implies C_2 = 1.

3. Step 3: Solution

s(t)=t3−t2+3t+1s(t) = t^3 - t^2 + 3t + 1.
Common Pitfalls
  • ⚠
    Applying Both Conditions to the Same AntiderivativeIn a second-order problem, f′(0)f'(0) pins the constant on f′f', and f(0)f(0) pins the constant on ff — one condition per integration step, in order.
  • ⚠
    Solving for C Before Antidifferentiating FullyFinish the whole antiderivative (all terms) before plugging in the point, or the value of CC will be wrong.
Gary Chang

Gary Chang

Calculus Educator

5+ Years of Calculus Teaching Experience | AP Calculus Specialist. Dedicated to helping students master calculus through step-by-step logic and clear visualizations.