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
- Four standard integrals: β«sin x dx, β«cos x dx, β«ex dx, β«(1/x) dx.
- For each one, the linear (ax + b) version exists β just divide by a.
- Trig integrals only work in radians. Always check your GDC’s mode.
- The 1/x integral gives ln|x|, not ln(x). The bars matter.
- All of these are in the formula booklet β you don’t need to memorise them, just spot when to use them.
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 “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
- Spot the function shape. Is it sin, cos, e to a power, or 1 over something? That tells you which standard.
- Identify the linear bit (ax + b). Read off a β the coefficient of x.
- Apply the standard, then divide by a. Don’t forget + c (it’s an indefinite integral).
Worked examples
WE 1The 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 2Linear 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 3Combined 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 4The 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 5Find 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
- Check the formula booklet β all four standards (and their linear versions) are in there. No need to memorise.
- Always divide by a when the function is linear (ax + b). Forgetting this is the #1 mistake.
- Differentiate to check. If you get back to the original, your integral is correct.
- Pull out constants first: β«3 sin(2x) dx = 3 β«sin(2x) dx β much cleaner.
- Modulus bars on ln β every single time. “ln|…|” never “ln(…)”.
- Radians for trig β check your GDC mode.
β Common mistakes
- Forgetting the negative on β«sin x dx = βcos x + c. (β«cos x dx = +sin x β no minus.)
- Not dividing by a in the linear version. β«sin(2x) dx is not βcos(2x) + c β it’s βΒ½ cos(2x) + c.
- Writing ln(x) instead of ln|x|. The bars are not optional.
- Negative coefficient: β«e4 β x dx has a = β1, so divide by β1 β answer has a minus sign.
- Forgetting + c on indefinite integrals. Easy mark to lose.
- GDC in degrees for trig β you’ll get a totally wrong answer.
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 β