All courses › Mathematics R2

BETA Many questions in this subject are new and not yet reviewed by a teacher, so mistakes can occur · added 16.10.2026.

Mathematics R2: free practice, theory and problems

Integration is the opposite of differentiation. The definite integral gives the area between the graph and the -axis (with sign).

9 parts126 problems27 concepts explainedPractice examFree
Start practising for free →

Contents

  1. Integration
  2. Sequences and series
  3. Differential equations
  4. Trigonometric functions
  5. Vectors in space
  6. Integration techniques
  7. Area and volume with integrals
  8. Proof by induction
  9. Lines and planes in space

1. Integration

What is it about?

Integration is the opposite of differentiation. The definite integral gives the area between the graph and the xx-axis (with sign).

Concepts and formulas

Integration as the reverse of differentiation

An antiderivative of ff is a function FF with F′(x)=f(x)F'(x) = f(x). Since constants vanish on differentiation, there are infinitely many: the indefinite integral is

∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C

Basic integrals

Constants can be taken outside, and the integral of a sum is the sum of the integrals.

The definite integral and area

The definite integral ∫abf(x) dx\int_a^b f(x)\,dx is the limit of the sum of many thin rectangles under the graph (Riemann sums). The fundamental theorem of calculus links it to antiderivatives:

∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)

When f(x)≥0f(x) \ge 0, the integral is the area between the graph and the xx-axis. If the graph lies below the axis, the integral is negative – split it up and take absolute values to find area.

Worked example

∫02(3x2+1) dx=[x3+x]02=(8+2)−0=10\int_0^2 (3x^2 + 1)\,dx = \big[x^3 + x\big]_0^2 = (8 + 2) - 0 = 10.

The integral as 'total change'

If f(t)f(t) is a rate (change per time), ∫abf(t) dt\int_a^b f(t)\,dt is the total change from aa to bb:

Worked example

A car accelerates with velocity v(t)=3tv(t) = 3t m/s. How far does it go in the first 10 seconds? ∫0103t dt=[32t2]010=150\int_0^{10} 3t\,dt = \big[\tfrac32 t^2\big]_0^{10} = 150 m.

Area between two graphs

A=∫ab(f(x)−g(x)) dxA = \int_a^b \big(f(x) - g(x)\big)\,dx

where ff lies above gg on the interval. Find the intersections first – they're often the limits.

Common mistakes

Find an antiderivative FF, then calculate F(b)−F(a)F(b) - F(a).

Concepts in this part

Practise integration in the app →

2. Sequences and series

What is it about?

A sequence is a list of numbers. A series is the sum of the terms of a sequence.

Concepts and formulas

Sequences

A sequence is an ordered list of numbers: a1,a2,a3,…a_1, a_2, a_3, \dots. It can be described by an explicit formula (an=3n+1a_n = 3n + 1) or recursively (each term from the previous: an+1=an+3a_{n+1} = a_n + 3, a1=4a_1 = 4).

Arithmetic sequences and series

In an arithmetic sequence the difference dd between successive terms is constant: 4, 7, 10, 13, …

Sn=n(a1+an)2S_n = \frac{n(a_1 + a_n)}{2}

As a boy Gauss is said to have found 1+2+⋯+100=100⋅1012=50501 + 2 + \dots + 100 = \tfrac{100\cdot 101}{2} = 5050 by pairing first and last, second and second-last, and so on.

Geometric sequences and series

In a geometric sequence the ratio kk between successive terms is constant: 3, 6, 12, 24, …

Sn=a1⋅kn−1k−1S_n = a_1\cdot\frac{k^n - 1}{k - 1}

Infinite geometric series

If ∣k∣<1|k| < 1 the terms keep shrinking and the sum converges to

S=a11−kS = \frac{a_1}{1 - k}

Example: 1+12+14+18+⋯=11−1/2=21 + \tfrac12 + \tfrac14 + \tfrac18 + \dots = \tfrac{1}{1 - 1/2} = 2. If ∣k∣≥1|k| \ge 1 the series diverges.

Worked example: saving

You deposit 10,000 kr at the start of each year for 10 years at 4%. How much do you have just after the last deposit? The first deposit has grown for 9 years, the last for 0:

S=10,000 (1+1.04+⋯+1.049)=10,000⋅1.0410−10.04≈120,061 krS = 10,000\,(1 + 1.04 + \dots + 1.04^9) = 10,000\cdot\frac{1.04^{10} - 1}{0.04} \approx 120,061\ \text{kr}

Uses

Sequences and series are used for saving and loans (annuities), depreciation, drug concentration over time (repeated doses) and fractals. A spreadsheet is a good tool: one cell per term, summed with a formula.

Common mistakes

Constant difference: arithmetic. Constant factor: geometric. Convergence requires ∣k∣<1|k| < 1.

Concepts in this part

Practise sequences and series in the app →

3. Differential equations

What is it about?

A differential equation is an equation where the unknown is a function, and the equation contains the derivative. They describe growth, cooling, falling with air resistance and much more.

Concepts and formulas

What is a differential equation?

A differential equation is an equation where the unknown is a function and its derivative appears. It describes how something changes: 'growth is proportional to size' becomes y′=kyy' = ky. Solving it means finding the function y(x)y(x) (or y(t)y(t)). A general solution contains a constant CC; an initial condition (like y(0)=100y(0) = 100) gives the particular solution.

Separable differential equations

Can be written g(y) y′=h(x)g(y)\,y' = h(x). Method:

  1. Put everything with yy on one side and everything with xx on the other: g(y) dy=h(x) dxg(y)\,dy = h(x)\,dx.
  2. Integrate both sides.
  3. Solve for yy and apply the initial condition.

Worked example: exponential growth

y′=0.05yy' = 0.05y, y(0)=2000y(0) = 2000. 1ydy=0.05 dt\tfrac{1}{y}dy = 0.05\,dt gives ln⁡∣y∣=0.05t+C\ln|y| = 0.05t + C, so y=Ae0.05ty = Ae^{0.05t}. With y(0)=2000y(0) = 2000, y=2000e0.05ty = 2000e^{0.05t}.

Important models

Worked example: cooling

Coffee at 90 °C stands in a room at 20 °C. T′=−0.1(T−20)T' = -0.1(T - 20), T(0)=90T(0) = 90. Solution: T(t)=20+70e−0.1tT(t) = 20 + 70e^{-0.1t}. After 10 minutes: 20+70e−1≈4620 + 70e^{-1} \approx 46 °C.

First-order linear equations

y′+p(x) y=q(x)y' + p(x)\,y = q(x) is solved with an integrating factor e∫p dxe^{\int p\,dx}: multiply the whole equation by it, and the left side becomes the derivative of a product.

Second-order equations

y′′+by′+cy=0y'' + by' + cy = 0 describes oscillations among other things (springs, pendulums, electrical circuits). The characteristic equation r2+br+c=0r^2 + br + c = 0 decides the solution: two real roots give exponentials, complex roots give oscillations with sine and cosine.

Slope fields

A slope field shows small arrows with gradient y′y' at many points. Solution curves follow the arrows. It gives a good picture of solutions even without a formula.

y′=kyy' = ky gives exponential growth or decay: y=y0ekxy = y_0e^{kx}.

Concepts in this part

Practise differential equations in the app →

4. Trigonometric functions

What is it about?

Sine and cosine functions describe everything that oscillates: sound, tides, alternating current and day length.

Concepts and formulas

Radians

In R2 we measure angles in radians: an angle of 1 radian gives an arc as long as the radius. A full circle is 2π2\pi radians, so

180°=π rad,90°=π2,60°=π3,45°=π4,30°=π6180° = \pi\ \text{rad}, \qquad 90° = \tfrac{\pi}{2}, \qquad 60° = \tfrac{\pi}{3}, \qquad 45° = \tfrac{\pi}{4}, \qquad 30° = \tfrac{\pi}{6}

Radians make the derivative rules simple: (sin⁡x)′=cos⁡x(\sin x)' = \cos x only holds in radians.

The unit circle

For an angle xx (measured anticlockwise from the positive xx-axis) the point on the unit circle is (cos⁡x,sin⁡x)(\cos x, \sin x). It follows that:

The sine function

The general sine function is

f(x)=Asin⁡(cx+φ)+df(x) = A\sin(cx + \varphi) + d

Sine functions model anything that oscillates periodically: tides, temperature through the year, day length, sound and alternating current.

Worked example: tides

The water level is h(t)=1.2sin⁡(0.5t)+2h(t) = 1.2\sin(0.5t) + 2 metres, tt in hours. Amplitude 1.2 m, equilibrium 2 m, period 2π0.5≈12.6\tfrac{2\pi}{0.5} \approx 12.6 hours. The highest level is 3.2 m and the lowest 0.8 m.

Trigonometric equations

sin⁡x=0.5\sin x = 0.5 has infinitely many solutions: x=π6+k⋅2πx = \tfrac{\pi}{6} + k\cdot 2\pi and x=π−π6+k⋅2π=5π6+k⋅2πx = \pi - \tfrac{\pi}{6} + k\cdot 2\pi = \tfrac{5\pi}{6} + k\cdot 2\pi. Use the unit circle to find both solutions in one period and add whole periods. For cos⁡x=a\cos x = a the solutions are ±v+k⋅2π\pm v + k\cdot 2\pi. Equations like asin⁡x+bcos⁡x=ca\sin x + b\cos x = c are solved by rewriting the left side as one sine function.

Differentiation and integration

So y=Asin⁡(ωt)y = A\sin(\omega t) solves the oscillation equation y′′=−ω2yy'' = -\omega^2 y.

Common mistakes

Period =2π/c= 2\pi/c. Amplitude = half the distance between the top and bottom.

Concepts in this part

Practise trigonometric functions in the app →

5. Vectors in space

What is it about?

In space, vectors have three coordinates [x,y,z][x, y, z]. With the dot product and the cross product you find angles, areas, volumes and equations of planes.

Concepts and formulas

Three dimensions

In space we have three axes, xx, yy and zz, and vectors get three coordinates: a⃗=[a1,a2,a3]\vec a = [a_1, a_2, a_3]. Most things from the plane still hold:

The cross product

New in space is the cross product, which gives a vector:

a⃗×b⃗=[a2b3−a3b2, a3b1−a1b3, a1b2−a2b1]\vec a\times\vec b = [a_2b_3 - a_3b_2,\ a_3b_1 - a_1b_3,\ a_1b_2 - a_2b_1]

Properties:

Area and volume

Worked example

A(1,0,0)A(1, 0, 0), B(0,2,0)B(0, 2, 0) and C(0,0,3)C(0, 0, 3). AB→=[−1,2,0]\overrightarrow{AB} = [-1, 2, 0] and AC→=[−1,0,3]\overrightarrow{AC} = [-1, 0, 3].

AB→×AC→=[2⋅3−0, 0−(−1)⋅3, 0−2⋅(−1)]=[6,3,2]\overrightarrow{AB}\times\overrightarrow{AC} = [2\cdot 3 - 0,\ 0 - (-1)\cdot 3,\ 0 - 2\cdot(-1)] = [6, 3, 2]

The triangle's area is 1236+9+4=72=3.5\tfrac12\sqrt{36 + 9 + 4} = \tfrac72 = 3.5. The tetrahedron with the origin has volume 16∣[6,3,2]⋅[1,0,0]∣=1\tfrac16|[6, 3, 2]\cdot[1, 0, 0]| = 1.

Spheres

A sphere with centre S(a,b,c)S(a, b, c) and radius rr has the equation

(x−a)2+(y−b)2+(z−c)2=r2(x - a)^2 + (y - b)^2 + (z - c)^2 = r^2

Find the centre and radius by completing the square.

Common mistakes

Normal vector of a plane: the cross product of two vectors in the plane.

Concepts in this part

Practise vectors in space in the app →

6. Integration techniques

What is it about?

Many integrals cannot be read directly from the table. Then you need a technique: substitution (the chain rule backwards), integration by parts (the product rule backwards) or partial fractions.

Concepts and formulas

∫2x(x2+1)3 dx\int 2x(x^2 + 1)^3\,dx: with u=x2+1u = x^2 + 1 this becomes ∫u3 du=u44+C=(x2+1)44+C\int u^3\,du = \dfrac{u^4}{4} + C = \dfrac{(x^2 + 1)^4}{4} + C.

∫xex dx=xex−∫ex dx=(x−1)ex+C\int xe^x\,dx = xe^x - \int e^x\,dx = (x - 1)e^x + C.

When the basic rules aren't enough

Many integrals can't be done directly with the basic formulas. Then we use three main methods – and often have to experiment.

Substitution

Used when the integrand contains an inner function uu and (roughly) its derivative. It's the chain rule in reverse.

  1. Choose uu = the inner function.
  2. Compute du=u′ dxdu = u'\,dx.
  3. Write everything in terms of uu and integrate.
  4. Substitute back xx (or change the limits in definite integrals).

Example

∫2x (x2+1)4 dx\int 2x\,(x^2 + 1)^4\,dx. Let u=x2+1u = x^2 + 1, du=2x dxdu = 2x\,dx:

∫u4 du=u55+C=(x2+1)55+C\int u^4\,du = \frac{u^5}{5} + C = \frac{(x^2 + 1)^5}{5} + C

Another classic: ∫2xx2+1 dx=ln⁡(x2+1)+C\int \dfrac{2x}{x^2 + 1}\,dx = \ln(x^2 + 1) + C, because the numerator is the derivative of the denominator.

Integration by parts

The product rule in reverse:

∫u′v dx=uv−∫uv′ dx\int u'v\,dx = uv - \int uv'\,dx

Used on products like x exx\,e^x, xsin⁡xx\sin x and ln⁡x\ln x. Choose vv so that it becomes simpler when differentiated (often a polynomial or ln⁡x\ln x), and u′u' as something you can integrate.

Example

∫x ex dx\int x\,e^x\,dx: let v=xv = x and u′=exu' = e^x, so v′=1v' = 1 and u=exu = e^x.

∫xex dx=xex−∫ex dx=xex−ex+C=ex(x−1)+C\int xe^x\,dx = xe^x - \int e^x\,dx = xe^x - e^x + C = e^x(x - 1) + C

With ln⁡x\ln x: ∫ln⁡x dx=∫1⋅ln⁡x dx=xln⁡x−x+C\int \ln x\,dx = \int 1\cdot\ln x\,dx = x\ln x - x + C.

Partial fractions

For rational functions whose denominator factorises:

1x2−1=1(x−1)(x+1)=Ax−1+Bx+1\frac{1}{x^2 - 1} = \frac{1}{(x - 1)(x + 1)} = \frac{A}{x - 1} + \frac{B}{x + 1}

Find AA and BB (here A=12A = \tfrac12 and B=−12B = -\tfrac12) and integrate each part to logarithms:

∫dxx2−1=12ln⁡∣x−1∣−12ln⁡∣x+1∣+C\int \frac{dx}{x^2 - 1} = \tfrac12\ln|x - 1| - \tfrac12\ln|x + 1| + C

If the numerator's degree is equal to or higher than the denominator's, do polynomial division first.

Which method should I choose?

Always check your answer by differentiating it – you should get the integrand back.

Common mistakes

Example

∫1eln⁡x dx\int_1^e \ln x\,dx: by parts with u′=1u' = 1, v=ln⁡xv = \ln x gives [xln⁡x−x]1e=(e−e)−(0−1)=1[x\ln x - x]_1^e = (e - e) - (0 - 1) = 1.

Ask yourself: is there an inner function and its derivative (substitution), a product of different types (by parts) or a fraction with a factorisable denominator (partial fractions)?

Concepts in this part

Practise integration techniques in the app →

7. Area and volume with integrals

What is it about?

The integral calculates the area under graphs, the area between graphs and the volume of solids formed when a graph is rotated about the xx-axis.

Concepts and formulas

Area under and between graphs

Worked example

The area between f(x)=x2f(x) = x^2 and g(x)=x+2g(x) = x + 2. Intersection: x2=x+2x^2 = x + 2 gives x=−1x = -1 and x=2x = 2. The line is on top:

A=∫−12(x+2−x2) dx=[x22+2x−x33]−12=103−(−76)=4.5A = \int_{-1}^{2}(x + 2 - x^2)\,dx = \Big[\tfrac{x^2}{2} + 2x - \tfrac{x^3}{3}\Big]_{-1}^{2} = \tfrac{10}{3} - \left(-\tfrac{7}{6}\right) = 4.5

Volume by slicing

Imagine a solid cut into thin slices perpendicular to the xx-axis. If the cross-sectional area is A(x)A(x), the volume is

V=∫abA(x) dxV = \int_a^b A(x)\,dx

This is how we find the volume of pyramids and cones, among others.

Solids of revolution

When the graph of ff is **rotated about the xx-axis, each slice becomes a circle** of radius f(x)f(x) and area πf(x)2\pi f(x)^2:

V=π∫abf(x)2 dxV = \pi\int_a^b f(x)^2\,dx

Worked example 1: Cone

The line f(x)=rhxf(x) = \tfrac{r}{h}x from 0 to hh rotated about the xx-axis:

V=π∫0hr2h2x2 dx=πr2h2⋅h33=13πr2hV = \pi\int_0^h \frac{r^2}{h^2}x^2\,dx = \pi\frac{r^2}{h^2}\cdot\frac{h^3}{3} = \frac13\pi r^2h

– the familiar cone formula.

Worked example 2: Sphere

The semicircle f(x)=r2−x2f(x) = \sqrt{r^2 - x^2} from −r-r to rr rotated:

V=π∫−rr(r2−x2) dx=π[r2x−x33]−rr=43πr3V = \pi\int_{-r}^{r}(r^2 - x^2)\,dx = \pi\Big[r^2x - \tfrac{x^3}{3}\Big]_{-r}^{r} = \frac43\pi r^3

Other applications

Common mistakes

Example: area between graphs

y=xy = x and y=x2y = x^2 intersect at x=0x = 0 and x=1x = 1. On [0,1][0, 1], x≥x2x \ge x^2, so A=∫01(x−x2) dx=12−13=16A = \int_0^1 (x - x^2)\,dx = \tfrac12 - \tfrac13 = \tfrac16.

Example: cone

Rotate y=rhxy = \dfrac{r}{h}x from 0 to hh: V=π∫0hr2h2x2 dx=πr2h3V = \pi\int_0^h \dfrac{r^2}{h^2}x^2\,dx = \dfrac{\pi r^2 h}{3}, the familiar cone formula.

Area: top minus bottom. Volume: π\pi times the integral of the radius squared.

Concepts in this part

Practise area and volume with integrals in the app →

8. Proof by induction

What is it about?

Induction is a proof technique for claims about all natural numbers nn. Think of dominoes: if the first one falls, and each one knocks over the next, then all fall.

Method

  1. Base case: show that the claim P(1)P(1) is true.
  2. Induction step: assume that P(k)P(k) is true (the induction hypothesis), and show that then P(k+1)P(k + 1) is also true.
  3. Conclusion: the claim holds for all n≥1n \ge 1.

Known sums

The idea – dominoes

Mathematical induction is used to prove that a claim P(n)P(n) holds for all natural numbers n≥n0n \ge n_0. Think of an endless row of dominoes: if the first falls, and each domino always knocks over the next, they all fall.

The two steps

  1. Base case: show that P(n0)P(n_0) is true – often P(1)P(1).
  2. Inductive step: assume P(k)P(k) is true for an arbitrary kk (the induction hypothesis), and show that P(k+1)P(k + 1) is then true too.

It follows that P(n)P(n) holds for all n≥n0n \ge n_0.

Example 1: a sum formula

Claim: 1+2+3+⋯+n=n(n+1)21 + 2 + 3 + \dots + n = \dfrac{n(n + 1)}{2}.

1+⋯+k+(k+1)=k(k+1)2+(k+1)=(k+1)(k+2)21 + \dots + k + (k + 1) = \frac{k(k+1)}{2} + (k + 1) = \frac{(k+1)(k + 2)}{2}

which is the formula with n=k+1n = k + 1 ✓. ∎

Example 2: divisibility

Claim: 5n−15^n - 1 is divisible by 4 for all n≥1n \ge 1.

5k+1−1=5⋅5k−1=5(4m+1)−1=20m+4=4(5m+1)5^{k+1} - 1 = 5\cdot 5^k - 1 = 5(4m + 1) - 1 = 20m + 4 = 4(5m + 1)

which is divisible by 4 ✓. ∎

Succeeding with the inductive step

Other uses

Induction is also used to prove inequalities (like 2n>n22^n > n^2 for n≥5n \ge 5), formulas for recursive sequences and properties of algorithms in computer science. Strong induction assumes the claim holds for all numbers up to kk.

Common mistakes

Example

Claim: 1+3+⋯+(2n−1)=n21 + 3 + \dots + (2n - 1) = n^2. Base case: n=1n = 1 gives 1=121 = 1^2. ✓ Step: assume 1+3+⋯+(2k−1)=k21 + 3 + \dots + (2k - 1) = k^2. Add the next term 2(k+1)−1=2k+12(k + 1) - 1 = 2k + 1: k2+2k+1=(k+1)2k^2 + 2k + 1 = (k + 1)^2. ✓ The claim then also holds for k+1k + 1. ■\blacksquare

In the induction step you must use the hypothesis. If you don't use it, you haven't written an induction proof.

Concepts in this part

Practise proof by induction in the app →

9. Lines and planes in space

What is it about?

In space, lines are described with parametric equations and planes with an equation. With normal vectors and the dot product you find intersection points, angles and distances.

Concepts and formulas

Lines in space

A line through P(x0,y0,z0)P(x_0, y_0, z_0) with direction vector r⃗=[a,b,c]\vec r = [a, b, c] has the parametric form

ℓ:{x=x0+aty=y0+btz=z0+ct\ell: \begin{cases} x = x_0 + at \\ y = y_0 + bt \\ z = z_0 + ct \end{cases}

In space two lines can be parallel, intersect or be skew (neither parallel nor intersecting – like two roads at different levels at a flyover).

Planes

A plane is determined by a point P(x0,y0,z0)P(x_0, y_0, z_0) and a normal vector n⃗=[a,b,c]\vec n = [a, b, c] perpendicular to it:

a(x−x0)+b(y−y0)+c(z−z0)=0orax+by+cz+d=0a(x - x_0) + b(y - y_0) + c(z - z_0) = 0 \quad\text{or}\quad ax + by + cz + d = 0

The plane through three points AA, BB, CC: the normal is n⃗=AB→×AC→\vec n = \overrightarrow{AB}\times\overrightarrow{AC}; then substitute one of the points.

Worked example

A(1,0,0)A(1, 0, 0), B(0,2,0)B(0, 2, 0) and C(0,0,3)C(0, 0, 3) give n⃗=[6,3,2]\vec n = [6, 3, 2] (see the cross product). The plane: 6(x−1)+3y+2z=06(x - 1) + 3y + 2z = 0, i.e. 6x+3y+2z=66x + 3y + 2z = 6.

Intersections

Distances

d=∣ax1+by1+cz1+d∣a2+b2+c2d = \frac{|ax_1 + by_1 + cz_1 + d|}{\sqrt{a^2 + b^2 + c^2}}

Angles

Common mistakes

Example

The line [1+t,2−t,3t][1 + t, 2 - t, 3t] and the plane x+y+z=6x + y + z = 6: (1+t)+(2−t)+3t=6(1 + t) + (2 - t) + 3t = 6 gives t=1t = 1, i.e. the point (2,1,3)(2, 1, 3).

The normal vector can be read straight from the coefficients of xx, yy and zz.

Concepts in this part

Practise lines and planes in space in the app →

Example problems with solutions

Here are some of the problems in mathematics R2. In the app, calculation problems get new numbers every time, so you can practise until it sticks – and take a practice exam with an indicative grade as you prepare for the exam.

Integration: What is ∫3x2 dx\int 3x^2\,dx?

Answer: x3+Cx^3 + C

3⋅x33=x33 \cdot \dfrac{x^3}{3} = x^3.

Sequences and series: When does an infinite geometric series converge?

Answer: When ∣k∣<1|k| < 1

Then the terms get smaller and smaller, and the sum approaches a1/(1−k)a_1/(1-k).

Differential equations: What is the general solution of y′=3yy' = 3y?

Answer: y=Ce3xy = Ce^{3x}

y′=kyy' = ky gives y=Cekxy = Ce^{kx}.

Trigonometric functions: What is (cos⁡x)′(\cos x)'?

Answer: −sin⁡x-\sin x

Cosine differentiates to minus sine.

Practise all the problems →