Basic Integration (AA HL)

Integration reverses differentiation, so ∫f(x)dx\int f(x)\,dx is a function whose derivative is f(x)f(x), plus a constant CC. Rewrite roots and fractions as powers, then use ∫xndx=xn+1n+1+C\int x^n\,dx=\dfrac{x^{n+1}}{n+1}+C for n≠−1n\ne-1 and the standard results for sin⁡x\sin x, cos⁡x\cos x, exe^x and 1x\dfrac1x. It also covers linear composites and finding a function from its gradient. It's part of the broader Integration topic.

32 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL5.10Indefinite integral of xnx^n (n≠−1n\neq-1), sin⁡x\sin x, cos⁡x\cos x, exe^x and 1x\dfrac1x. The composites of any of these with the linear function ax+bax+b. Integration by inspection (reverse chain rule) or by substitution for expressions of the form ∫kg′(x)f(g(x))dx.\int kg'(x)f(g(x))\,dx.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

Key formulas

Power rule

∫xndx=xn+1n+1+C, n≠−1\displaystyle\int x^n\,dx = \dfrac{x^{n+1}}{n+1}+C,\ n\neq-1

In the formula booklet

Reverse chain rule / substitution

Replace part of the integrand with a new variable uu to turn an awkward integral into a standard one. For a straightforward linear composite like cos⁡(ax+b)\cos(ax+b), it's usually faster to integrate directly and divide by aa.

Not a listed formula - technique

Integration by parts

∫udvdxdx=uv−∫vdudxdx\displaystyle\int u\,\dfrac{dv}{dx}\,dx = uv - \int v\,\dfrac{du}{dx}\,dx

Needed for products where one factor simplifies on differentiating, such as xln⁡xx\ln x or xe2xxe^{2x}. Covered in full on the Integration by Parts page.

In the formula booklet

Need the full syllabus wording and formula-booklet reference table, or a GDC walkthrough? See Integration.

Key terms

What is the constant of integration?

The constant CC stands for any constant, because constants differentiate to zero. It can be found if a point on the curve is known.

e.g. ∫2xdx=x2+C\int 2x\,dx=x^2+C, and if the curve passes through (1,5)(1,5), then 5=1+C5=1+C, so C=4C=4.

What is the power rule for integration?

Add 11 to the power, then divide by the new power. It does not work for n=−1n=-1.

e.g. ∫6x2dx=6x33+C=2x3+C\int 6x^2\,dx=\dfrac{6x^3}{3}+C=2x^3+C.

What is the integral of 1x\dfrac1x?

∫1xdx=ln⁡|x|+C\int\dfrac1x\,dx=\ln|x|+C. This is the case n=−1n=-1, which the power rule cannot handle.

e.g. ∫5xdx=5ln⁡|x|+C\int\dfrac5x\,dx=5\ln|x|+C.

How do you integrate eax+be^{ax+b} or sin⁡(ax+b)\sin(ax+b)?

Integrate the outer function as normal, then divide by aa, the coefficient of xx.

e.g. ∫e4x−1dx=14e4x−1+C\int e^{4x-1}\,dx=\dfrac14e^{4x-1}+C.

Worked examples

1
Easy
No calc
[3 marks]

Find ∫(3x2+x)dx.\displaystyle\int\left(\dfrac{3}{x^2}+\sqrt{x}\right)dx.

Worked solution

Rewrite: 3x−2+x1/2.3x^{-2}+x^{1/2}. M1
∫=−3x−1+23x3/2+C\int = -3x^{-1}+\tfrac{2}{3}x^{3/2}+C M1
∫=−3x+23x3/2+C.\int = -\dfrac{3}{x}+\dfrac{2}{3}x^{3/2}+C. A1

M1 Rewrite as powers M1 Integrating each power to obtain −3x−1+23x3/2-3x^{-1}+\tfrac23 x^{3/2} A1 Correct answer of −3x+23x3/2-\frac{3}{x}+\frac{2}{3}x^{3/2}
2
Medium
No calc
[5 marks]

Find ∫sin2⁡xdx.\displaystyle\int \sin^2 x\,dx.

Worked solution

sin2⁡x=1−cos⁡2x2.\sin^2 x = \dfrac{1 - \cos 2x}{2}. M1 A1
∫1−cos⁡2x2dx\int \dfrac{1 - \cos 2x}{2}\,dx M1 =12x−14sin⁡2x+C.= \tfrac12 x - \tfrac14\sin 2x + C. A1 A1

M1 Double-angle identity A1 Correct form M1 Integrating 1−cos⁡2x2\dfrac{1 - \cos 2x}{2} term by term A1 12x\tfrac12 x term A1 −14sin⁡2x-\tfrac14\sin 2x
3
Medium
No calc
[5 marks]

Solve d2ydx2=12x\dfrac{d^2y}{dx^2}=12x given y(0)=1y(0)=1 and y′(0)=0.y'(0)=0.

Worked solution

y′=6x2+C1y' = 6x^2 + C_1; y′(0)=0⇒C1y'(0)=0 \Rightarrow C_1 M1
C1=0.C_1 = 0. A1
y=2x3+C2y = 2x^3 + C_2; y(0)=1⇒C2y(0)=1 \Rightarrow C_2 M1
C2=1.C_2 = 1. A1
y=2x3+1.y = 2x^3 + 1. A1

M1 Integrate once A1 C1=0C_1=0 M1 Integrate again A1 C2=1C_2=1 A1 Correct answer of 2x3+12x^3+1
4
Medium
No calc
[5 marks]

A curve has gradient dydx=3x2−6x\dfrac{dy}{dx} = 3x^2 - 6x and passes through (2,1).(2, 1).

(a) Find yy in terms of x.x.

(b) Find yy when x=0.x = 0.

Worked solution

(a) y=∫(3x2−6x)dxy = \int (3x^2 - 6x)\,dx M1
y=x3−3x2+C.y = x^3 - 3x^2 + C. A1
Using (2,1)(2,1): 1=8−12+C⇒C=5.1 = 8 - 12 + C \Rightarrow C = 5. M1
y=x3−3x2+5.y = x^3 - 3x^2 + 5. A1

(b) y(0)=5.y(0) = 5. A1

M1 Integrating 3x2−6x3x^2 - 6x with respect to xx A1 Antiderivative M1 Substituting (2,1)(2,1) into the antiderivative to find C=5C = 5 A1 y(x)y(x) A1 Correct answer of 55
5
Hard
GDC
[6 marks]

Evaluate ∫0π/2cos2⁡xdx.\displaystyle\int_0^{\pi/2} \cos^2 x\,dx.

Worked solution

cos2⁡x=1+cos⁡2x2.\cos^2 x = \dfrac{1 + \cos 2x}{2}. M1 A1
∫0π/21+cos⁡2x2dx\int_0^{\pi/2}\dfrac{1 + \cos 2x}{2}\,dx M1 =[x2+14sin⁡2x]0π/2.= \left[\tfrac{x}{2} + \tfrac14\sin 2x\right]_0^{\pi/2}. A1
∫0π/21+cos⁡2x2dx=π4≈0.785.\int_0^{\pi/2}\dfrac{1 + \cos 2x}{2}\,dx = \tfrac{\pi}{4} \approx 0.785. M1 A1On the GDC. Find the definite integral of (cos⁡(x))2(\cos(x))^{2} from x=0x=0 to x=π/2x=\pi /2. The calculator shows about 0.785398163397448.

TI-84 Plus CE: first set radian mode math 9 function (cos(x))^2 lower 0 upper π/2 enterCasio fx-CG50: first set radian mode MENU 1 OPTN F4 F4 function (cos(x))^2 lower 0 upper π/2 EXECasio fx-CG100: first set radian mode HOME Calculate CATALOG Function Analysis Integration type (cos(x))^2,0,π/2) EXETI-Nspire CX: first set radian mode menu Calculus Numeric Integral function (cos(x))^2 lower 0 upper π/2 variable x enterFull GDC guide: Definite integral Topic page

M1 Identity A1 Correct form M1 Integrating 1+cos⁡2x2\dfrac{1 + \cos 2x}{2} term by term A1 Antiderivative M1 Limits A1 π4\tfrac{\pi}{4}

Common mistakes

  • Choosing uu and dvdv poorly in integration by parts. Pick uu to be the factor that gets simpler when differentiated (like xx or ln⁡x\ln x) - the other way round usually makes the resulting integral harder, not easier.
  • Forgetting to divide by the coefficient in a linear composite. ∫cos⁡(3x+1)dx=13sin⁡(3x+1)+C\displaystyle\int \cos(3x+1)\,dx = \dfrac13\sin(3x+1)+C, not sin⁡(3x+1)+C\sin(3x+1)+C - the reverse chain rule always needs that extra division.
  • Leaving a root or fraction unconverted to power form. x\sqrt{x} and 1x2\dfrac{1}{x^2} need to become x1/2x^{1/2} and x−2x^{-2} before the power rule can be applied - trying to integrate them in their original form leads nowhere.

Quick questions

What is the reverse chain rule in integration?

It integrates a composite function of the form ax+bax+b by inspection: integrate as normal, then divide by the coefficient of xx. For example, ∫cos⁡(3x+1)dx=13sin⁡(3x+1)+C\int\cos(3x+1)\,dx = \tfrac13\sin(3x+1)+C.

When do I use integration by parts instead of a simple rule?

Use integration by parts when integrating a product of two functions where one factor gets simpler when differentiated, such as xln⁡xx\ln x or xe2xxe^{2x}. Pick uu to be that simplifying factor.

How do I integrate a fraction like 3 over x squared?

Write it as a power first: 3x2=3x−2\dfrac{3}{x^2}=3x^{-2}. Then ∫3x−2dx=3x−1−1+C=−3x+C\int3x^{-2}\,dx=\dfrac{3x^{-1}}{-1}+C=-\dfrac3x+C.

How do I find y when I am given dy/dx and a point on the curve?

Integrate to find yy, then substitute the point to find CC. If dydx=4x\dfrac{dy}{dx}=4x and the curve passes through (1,3)(1,3), then y=2x2+Cy=2x^2+C, so 3=2+C3=2+C, C=1C=1, and y=2x2+1y=2x^2+1.

Is the integral of sin x positive or negative cos x?

∫sin⁡xdx=−cos⁡x+C\int\sin x\,dx=-\cos x+C and ∫cos⁡xdx=sin⁡x+C\int\cos x\,dx=\sin x+C. Check by differentiating: ddx(−cos⁡x)=sin⁡x\dfrac{d}{dx}(-\cos x)=\sin x.

Ready to practise properly?

32 basic integration questions, marked instantly like the real exam.