Skip to content
IB Diploma ProgrammeSL & HL

Integration of standard functions

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Integration of standard functions notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Integration of standard functions notes as text: skim, search, and jump between subtopics.

~12 min read

1. Integrals of standard functions

Integration reverses differentiation. An indefinite integral always carries the constant of integration, +C.

For a power, add 1 to the power, then divide by the new power. This works for every rational n except n = -1. The integral of 1/x is a logarithm, written with a modulus.

In IB, find asks for the integral with its working. The markscheme gives one mark for each correct term.

int xⁿ dx = (xⁿ⁺¹)/(n+1) + C, n ∈ Q, n ≠ -1

int 1/x dx = ln|x| + C int e^(x) dx = e^(x) + C

int sin x dx = -cos x + C int cos x dx = sin x + C

Worked example 13 marks

Find int (4x³ + 2e^(x) - 5/x) dx.

  1. 1

    int 4x³ dx = 4x⁴/4 = x⁴ A1 [1]

  2. 2

    int 2e^(x) dx = 2e^(x) A1 [1]

  3. 3

    int -5/x dx = -5ln|x| A1, so the integral is x⁴ + 2e^(x) - 5ln|x| + C, with the constant of integration [1]

2. Rewrite before you integrate

The power rule needs a single power of x in each term. Write √x as x^(1/2) and a/(x^(k)) as ax^(-k) first.

A fraction with one term on the bottom is split into separate terms. A bracket is expanded first. Then integrate term by term.

A negative power goes up by one, so x⁻² becomes (x⁻¹)/(-1). Take care with the sign.

√x = x^(1/2) a/(x^(k)) = ax^(-k)

int x⁻² dx = -x⁻¹ + C = -1/x + C

Worked example 15 marks

Consider the function f(x) = ((x - 1)²)/x, where x ∈ R, x ≠ 0.(a) Show that ((x - 1)²)/x = x - 2 + 1/x.(b) Hence, find int f(x) dx.

  1. 1

    (a)

  2. 2

    attempt to expand brackets on the numerator: (x-1)² = x² - 2x + 1 M1 [1]

  3. 3

    (x² - 2x + 1)/x = x²/x - 2x/x + 1/x A1 [1]

  4. 4

    = x - 2 + 1/x (AG)

  5. 5

    (b)

  6. 6

    x²/2 A1 [1]

  7. 7

    -2x A1 [1]

  8. 8

    ln|x|, so int f(x) dx = x²/2 - 2x + ln|x| + C A1 [1]

3. Composites with a linear function

When the inside is a linear function ax + b, integrate as if the inside were x, then divide by a. This is the chain rule in reverse.

For example, d/dx[1/2sin(2x+3)] = cos(2x+3), so int cos(2x+3) dx = 1/2sin(2x+3) + C.

The same rule holds for e^(ax+b), for 1/(ax+b) and for (ax+b)ⁿ. When a is negative, the division keeps the sign. The integral of e^(-t) is -e^(-t).

int f(ax+b) dx = 1/aF(ax+b) + C, F' = f

int e^(ax+b) dx = 1/ae^(ax+b) + C int 1/(ax+b) dx = 1/aln|ax+b| + C

int sin(ax+b) dx = -1/acos(ax+b) + C int cos(ax+b) dx = 1/asin(ax+b) + C

int (ax+b)ⁿ dx = ((ax+b)ⁿ⁺¹)/(a(n+1)) + C, n ≠ -1

Worked example 15 marks

A particle P is travelling along a straight line, with displacement measured relative to a point O on the line. The velocity, v m s⁻¹, of the particle at time t seconds is given by v = 1/(t + 1) + e^(-t), where t ≥ 0.(a) Find int (1/(t + 1) + e^(-t)) dt. Initially the particle is at O.(b) Find an expression for the displacement, s metres, in terms of t.

  1. 1

    (a)

  2. 2

    int 1/(t+1) dt = ln(t+1) A1 [1]

  3. 3

    int e^(-t) dt = -e^(-t), so the integral is ln(t+1) - e^(-t) + c A1 [1]

  4. 4

    (b)

  5. 5

    recognition that s = int v dt (M1) [1]

  6. 6

    attempt to substitute t = 0 and s = 0 to find c: 0 = ln 1 - e⁰ + c, so c = 1 M1 [1]

  7. 7

    s = ln(t+1) - e^(-t) + 1 A1 [1]

4. Finding the constant of integration

An indefinite integral is a family of functions. A given value fixes C: integrate first, then substitute the condition to find the constant.

Keep C in the working. In the particle question above, the markscheme gives the method mark for this substitution only if the constant of integration is present.

Keep exact values until the last line. Round once, at the end, to three significant figures.

P = int dP/dt dt ⇒ substitute the given (t, P) to find C

Worked example 16 marks

A population, P, has a rate of change modelled by dP/dt = -104000e^(-0.0145t), where t is the time measured in years since the start of 2022. At the start of 2022, the population was 6.78 × 10⁶. Based on this model, find the predicted population at the start of 2026.

  1. 1

    attempt to find population using an indefinite integral: P = int -104000e^(-0.0145t) dt (M1) [1]

  2. 2

    P = (-104000e^(-0.0145t))/(-0.0145) + c = 7172413.7...e^(-0.0145t) + c (A1) [1]

  3. 3

    attempt to substitute t = 0, P = 6.78 × 10⁶: 6.78 × 10⁶ = 7172413.7... + c (M1) [1]

  4. 4

    c = -392413.7..., so P = 7172413.7...e^(-0.0145t) - 392413.7... (A1) [1]

  5. 5

    t = 4 at the start of 2026 (A1) [1]

  6. 6

    P = 7172413.7...e^(-0.0145(4)) - 392413.7... = 6375834.1... = 6380000 A1 [1]

5. Integration by inspection

Look for a function g(x) and its derivative g'(x) in the same integrand: int k g'(x) f(g(x)) dx. This is the chain rule in reverse.

Write the integral of the outer function with g(x) inside. Differentiate your guess with the chain rule. Then fix any constant that is missing, by multiplying by its reciprocal.

The markscheme names two routes, integrating by inspection and integrating by substitution. Either one earns the method mark.

int k g'(x) f(g(x)) dx = k F(g(x)) + C, F' = f

int 2x(x²+1)⁴ dx = ((x²+1)⁵)/5 + C

Worked example 15 marks

Let y = x⁴ - sin 4x.(a) Find dy/dx.(b) Hence, or otherwise, find int (x⁴ - sin 4x)⁷ (x³ - cos 4x) dx.

  1. 1

    (a)

  2. 2

    dy/dx = 4x³ A1 [1]

  3. 3

    -4cos 4x A1 [1]

  4. 4

    (b)

  5. 5

    integrating by inspection (M1) [1]

  6. 6

    1/4int (x⁴ - sin 4x)⁷(4x³ - 4cos 4x) dx or ((x⁴ - sin 4x)⁸)/8 (A1) [1]

  7. 7

    correct integrated expression in terms of x: 1/32(x⁴ - sin 4x)⁸ + c A1 [1]

6. Integration by substitution

Choose u = g(x), usually the inside of the composite or the bracket that is raised to a power. Find du/dx.

Replace every x and the dx with u and du. Nothing in x may be left. Integrate in u, then put g(x) back so that the answer is in terms of x.

A constant left over from du/dx moves outside the integral, as a reciprocal factor.

u = g(x), du/dx = g'(x) ⇒ int k g'(x) f(g(x)) dx = kint f(u) du

Worked example 13 marks

Find int 6x(x² + 1)⁴ dx.

  1. 1

    let u = x² + 1, so du/dx = 2x and 6x dx = 3 du (M1) [1]

  2. 2

    int 6x(x²+1)⁴ dx = 3int u⁴ du = 3u⁵/5 (A1) [1]

  3. 3

    correct integrated expression in terms of x: 3/5(x²+1)⁵ + C (A1) [1]

7. The ln pattern: derivative on top

When the numerator is the derivative of the denominator, the integral is a logarithm: int (g'(x))/(g(x)) dx = ln|g(x)| + C.

In int (sin x)/(cosx) dx, the derivative of cos x is -sin x. The sign is opposite, so the answer has a minus sign: -ln|cos x| + C.

If g(x) is always positive, as in x² + 4, the modulus is not needed.

int (g'(x))/(g(x)) dx = ln|g(x)| + C

int (sin x)/(cos x) dx = -ln|cos x| + C

Worked example 13 marks

Find int (sin x)/(cosx) dx.

  1. 1

    let u = cos x, so du/dx = -sin x and sin x dx = -du (M1) [1]

  2. 2

    int (sin x)/(cosx) dx = -int 1/u du = -ln|u| (A1) [1]

  3. 3

    = -ln|cos x| + C, in terms of x (A1) [1]

Recap

  • int xⁿ dx = (xⁿ⁺¹)/(n+1) + C for rational n ≠ -1. Add 1 to the power, then divide by the new power.
  • int 1/x dx = ln|x| + C, int e^(x) dx = e^(x) + C, int sin x dx = -cos x + C, int cos x dx = sin x + C.
  • Rewrite roots, reciprocals and brackets as separate powers of x before integrating.
  • For f(ax+b), integrate as usual and divide by a.
  • To find C, integrate first and then substitute the given condition. Keep C in the working.
  • For k g'(x) f(g(x)), use inspection or the substitution u = g(x), and give the answer in terms of x.
  • int (g'(x))/(g(x)) dx = ln|g(x)| + C. Check any answer by differentiating it.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Write down int cos x dx.1 mark
    Answer
    1. sin x + C (A1)

    Trap: Leaving out +C, or writing -sin x, which is the derivative of cos x.

  2. Find int (6x² - 4) dx.2 marks
    Answer
    1. int 6x² dx = 2x³ (A1)
    2. int -4 dx = -4x, so the integral is 2x³ - 4x + C (A1)

    Trap: Treating the constant -4 as if it disappears, as it does when differentiating.

  3. Do not use a calculator. Find int 5/x dx, x > 0.2 marks
    Answer
    1. 5int 1/x dx (M1)
    2. 5ln x + C (A1)

    Trap: Writing 5x⁻¹ and using the power rule, which divides by zero.

  4. Do not use a calculator. Find int (√x + 4/x²) dx, x > 0.4 marks
    Answer
    1. Rewrite as x^(1/2) + 4x⁻² (M1)
    2. int x^(1/2) dx = 2/3x^(3/2) (A1)
    3. int 4x⁻² dx = (4x⁻¹)/(-1) = -4/x (A1)
    4. 2/3x^(3/2) - 4/x + C (A1)

    Trap: Dividing x^(1/2) by 1/2 instead of by the new power 3/2, or losing the minus sign on -4/x.

  5. Do not use a calculator. Find int (e^(3x-1) + 1/(2x+5)) dx, x > 0.2 marks
    Answer
    1. int e^(3x-1) dx = 1/3e^(3x-1) (A1)
    2. int 1/(2x+5) dx = 1/2ln|2x+5|, so the integral is 1/3e^(3x-1) + 1/2ln|2x+5| + C (A1)

    Trap: Multiplying by the coefficient instead of dividing, which gives 3e^(3x-1) and 2ln|2x+5|.

  6. Do not use a calculator. A curve passes through the point (0, 1) and has gradient dy/dx = 12e^(2x). Find an expression for y in terms of x.4 marks
    Answer
    1. y = int 12e^(2x) dx (M1)
    2. y = 6e^(2x) + C (A1)
    3. Substitute x = 0, y = 1: 1 = 6 + C (M1)
    4. C = -5, so y = 6e^(2x) - 5 (A1)

    Trap: Forgetting to divide by 2, which gives y = 12e^(2x) - 11.

  7. Do not use a calculator. Find int x²(x³ - 2)⁵ dx.3 marks
    Answer
    1. Let u = x³ - 2, so du/dx = 3x² and x² dx = 1/3 du (M1)
    2. 1/3int u⁵ du = u⁶/18 (A1)
    3. ((x³-2)⁶)/18 + C (A1)

    Trap: Dividing by 6 only, and not by the extra 3 from du/dx.

  8. Do not use a calculator. Which of the following is int 4xsin(x²) dx? A. 2cos(x²) + C B. -2cos(x²) + C C. -4cos(x²) + C D. -4xcos(x²) + C1 mark
    Answer
    1. Let u = x², so 4x dx = 2 du and the integral is 2int sin u du = -2cos(x²) + C. Answer B (A1)
    2. A loses the sign: the integral of sin u is -cos u. C does not adjust for du/dx = 2x. D treats 4x as a constant and leaves x outside.

    Trap: Writing +2cos(x²), or keeping the 4 without dividing by the 2 from du/dx = 2x.

  9. Do not use a calculator. The function f has derivative f'(x) = (sin x)/((3 + cos x)²). The graph of f passes through the point (π, 1). Determine the exact value of f(0).6 marks
    Answer
    1. Let u = 3 + cos x, so du/dx = -sin x and sin x dx = -du (M1)
    2. f(x) = -int u⁻² du (A1)
    3. = -(u⁻¹)/(-1) = 1/(3 + cos x) + C (A1)
    4. Substitute x = π, f = 1, with C present: 1 = 1/(3 - 1) + C (M1)
    5. C = 1/2 (A1)
    6. f(0) = 1/(3 + 1) + 1/2 = 3/4 (A1)

    Trap: Two minus signs, one from du/dx = -sin x and one from integrating u⁻², must both be kept; dropping one gives -1/(3 + cos x) and f(0) = 5/4.

  10. The depth, h cm, of liquid in a tank changes at a rate modelled by dh/dt = -6t/(t² + 9) cm min⁻¹, where t is the time in minutes after a valve is opened. At t = 0 the depth is 50 cm. Determine the time at which the depth is 40 cm. Give your answer correct to three significant figures.6 marks
    Answer
    1. h = int -6t/(t² + 9) dt = -3int 2t/(t² + 9) dt (M1)
    2. h = -3ln(t² + 9) + C (A1)
    3. Substitute t = 0, h = 50, with C present: 50 = -3ln 9 + C (M1)
    4. C = 50 + 3ln 9 = 56.591... (A1)
    5. Set h = 40: -3ln(t² + 9) + 56.591... = 40, so t² + 9 = 9e^(10/3) (M1)
    6. t = 15.597... = 15.6 minutes (A1)

    Trap: Taking C = 50 because the depth is 50 cm at t = 0; ln 9 ≠ 0, and that slip gives t = 4.36 minutes.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
int x⁻¹ dx = x⁰/0int 1/x dx = ln|x| + C: the power rule fails for n = -1.
int e^(3x) dx = e^(3x) + Cint e^(3x) dx = 1/3e^(3x) + C: divide by the coefficient of x.
int sin x dx = cos x + Cint sin x dx = -cos x + C: the sign changes.
int x(x²+1)⁴ dx = ((x²+1)⁵)/5 + C((x²+1)⁵)/10 + C: the derivative of x² + 1 is 2x, so adjust the constant.

Frequently asked questions

What is the integral of 1/x?
The integral of 1/x is ln|x| + C. The power rule fails for n = -1, because it would divide by zero. The integral of 1/x is a logarithm, written with a modulus. Include the constant of integration +C.
How do I integrate a function with a linear inside, such as e to the power 3x?
Integrate as if the inside were x, then divide by the coefficient a. So int e^(3x) dx = 1/3e^(3x) + C, not e^(3x) + C. The same rule holds for e^(ax+b), 1/(ax+b), sin(ax+b), cos(ax+b) and (ax+b)ⁿ.
What is the method for integrating by substitution?
Let u equal the inside of the composite function and find du/dx. Replace every x and dx with u and du, so nothing in x is left. Integrate in u, then put the function back so the answer is in terms of x. For int 6x(x² + 1)⁴ dx, let u = x² + 1, and the answer is 3/5(x² + 1)⁵ + C.
How do I integrate a fraction whose numerator is the derivative of the denominator?
When the numerator is the derivative of the denominator, the integral is a logarithm: int (g'(x))/(g(x)) dx = ln|g(x)| + C. For (sin x)/(cos x), the derivative of cos x is -sin x, so the answer is -ln|cos x| + C. If g(x) is always positive, the modulus is not needed.
How do I find the constant of integration C from a given condition?
Integrate first and keep C in the working. Then substitute the given condition into the integral to find C. For a particle at s = 0 when t = 0, 0 = ln 1 - e⁰ + c gives c = 1, so s = ln(t+1) - e^(-t) + 1. The method mark needs the constant present. Round only once, at the end.
What is a common mistake when integrating sine and cosine?
Students write int sin x dx = cos x + C, which misses the sign change. The integral of sin x is -cos x + C, and the integral of cos x is sin x + C. Check any answer by differentiating it back.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters