IB Maths AA SL Topic 5 β€” Calculus Paper 1 & 2 ~7 min read

Integrating Special Functions

Once you know differentiation, the integrals of sin, cos, ex and 1/x almost write themselves β€” they’re just differentiation in reverse. The trick is the linear (ax + b) version, where you have to remember to divide by a. All four are in your formula booklet, so this is one of the easiest topics to bank marks on.

πŸ“˜ What you need to know

The four standard integrals

These four are the building blocks. Each one is just the reverse of a derivative you already know.

The four standards β€” all in your formula booklet

trig
∫sin x dx = βˆ’cos x + c
⚠ note the minus sign
trig
∫cos x dx = sin x + c
no minus sign here
exp
∫ex dx = ex + c
stays the same β€” easy
log
∫1x dx = ln|x| + c
use modulus bars
Compare these with the derivatives you already know: differentiating sin gives cos, differentiating cos gives negative sin. Reverse it, and the negative jumps onto sin. That’s why ∫sin x dx = βˆ’cos x + c.

The linear (ax + b) shortcut

If the function inside is linear β€” like sin(2x + 3) or e5x βˆ’ 1 β€” you use the same standard, then divide by a (the coefficient of x).

The four linear versions
∫sin(ax + b) dx = βˆ’1a cos(ax + b) + c ∫cos(ax + b) dx = 1a sin(ax + b) + c ∫eax + b dx = 1a eax + b + c ∫1ax + b dx = 1a ln|ax + b| + c
βœ“ in formula booklet

The “divide by a” idea

∫sin(3x + 1) dx β†’ βˆ’13 cos(3x + 1) + c
apply the standard, then divide by the coefficient of x (here, 3)
🧠

“Same shape, divide by a”

The integral looks identical to the standard one β€” the (ax + b) sticks together. The only extra step is to divide by a (the coefficient of x) at the front. That’s it.

Trig integrals: always radians

πŸ“

Radians, not degrees

Calculus with sin and cos only works in radians. If your GDC is in degree mode, the answers will be wrong. Check the mode setting before you start any trig calculus problem.

Why is it ln|x| and not ln(x)?

The function 1/x is defined for negative x too, but ln(x) only exists for positive x. The modulus bars |x| let the integral work for all x β‰  0.

In an exam, you’ll lose marks for writing ln(x) instead of ln|x|. It’s a tiny detail with a big cost β€” train yourself to put the bars in every time.

Three-step method

Spot Β· adjust Β· integrate

  1. Spot the function shape. Is it sin, cos, e to a power, or 1 over something? That tells you which standard.
  2. Identify the linear bit (ax + b). Read off a β€” the coefficient of x.
  3. Apply the standard, then divide by a. Don’t forget + c (it’s an indefinite integral).

Worked examples

WE 1

The basic standard β€” straight from the booklet

Find ∫cos x dx.

apply the standard ∫cos x dx is one of the four standards ∫cos x dx = sin x + c no minus sign β€” only sin’s integral has the minus!
WE 2

Linear sin β€” divide by a

Find ∫ 3 sin(2x + Ο€/3) dx.

step 1 β€” pull constant out I = 3 ∫sin(2x + Ο€/3) dxstep 2 β€” apply standard, divide by a = 2 a = 2, so multiply by βˆ’Β½ I = 3 Γ— [βˆ’Β½ cos(2x + Ο€/3)] + cstep 3 β€” simplify I = βˆ’3/2 cos(2x + Ο€/3) + c always check by differentiating β€” you should get back to 3 sin(2x + Ο€/3) βœ“
WE 3

Combined trig β€” integrate term by term

Find ∫ (2 sin(4x) βˆ’ 3 cos(2x)) dx.

step 1 β€” split the integral I = 2 ∫sin(4x) dx βˆ’ 3 ∫cos(2x) dxstep 2 β€” apply each standard first: a = 4, sin β†’ βˆ’cos, divide by 4 2 Γ— [βˆ’ΒΌ cos(4x)] = βˆ’Β½ cos(4x) second: a = 2, cos β†’ sin, divide by 2 βˆ’3 Γ— [Β½ sin(2x)] = βˆ’3/2 sin(2x)step 3 β€” combine I = βˆ’Β½ cos(4x) βˆ’ 3/2 sin(2x) + c treat each term separately β€” it’s much cleaner than doing it all at once!
WE 4

The 1/(ax + b) type β€” gives ln

Find ∫ 12x + 5 dx.

spot the standard it’s the 1/(ax + b) shape β†’ ln|…|apply with a = 2 I = Β½ ln|2x + 5| + c I = Β½ ln|2x + 5| + c don’t forget the modulus bars! “ln(2x + 5)” loses marks.
WE 5

Find f(x) given f'(x) and a known point

A curve has gradient function f'(x) = 33x + 2 + e4 βˆ’ x. Given f(1) = ln 10 βˆ’ e3, find f(x).

step 1 β€” integrate term by term first term: ∫3/(3x + 2) dx pull the 3 out: 3 ∫1/(3x + 2) dx = 3 Γ— β…“ ln|3x + 2| = ln|3x + 2| second term: ∫e^(4 βˆ’ x) dx, here a = βˆ’1 = βˆ’e^(4 βˆ’ x)step 2 β€” combine f(x) = ln|3x + 2| βˆ’ e^(4 βˆ’ x) + cstep 3 β€” use f(1) = ln 10 βˆ’ eΒ³ sub x = 1: ln|5| βˆ’ eΒ³ + c = ln 10 βˆ’ eΒ³ c = ln 10 βˆ’ ln 5 = ln 2f(x) = ln|3x + 2| βˆ’ e^(4 βˆ’ x) + ln 2 tidy form: ln|2(3x + 2)| βˆ’ e^(4 βˆ’ x), using log laws

πŸ’‘ Top tips

⚠ Common mistakes

Next up: Reverse Chain Rule β€” what happens when the inside isn’t just (ax + b) but a more complex function. Same idea, just with a sharper eye for spotting patterns.

Need help with Integrating Special Functions?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session β†’