All courses › Calculus

Calculus: free practice, theory and problems

The derivative measures how fast a quantity changes. Geometrically, it is the slope of the tangent line at a point. For an engineer it is everywhere: velocity is the derivative of position, current is the derivative of charge, and power is the derivative of energy. Whenever you look for an optimum – least material, highest power, lowest cost – you set the derivative equal to zero.

4 parts74 problems12 concepts explainedPractice examFree
Start practising for free →

Contents

  1. Differentiation
  2. Integration
  3. Limits, series and complex numbers
  4. Applications of derivatives

1. Differentiation

What is it about?

The derivative f′(x)f'(x) measures how fast a quantity changes. Geometrically, it is the slope of the tangent line at a point. For an engineer it is everywhere: velocity is the derivative of position, current is the derivative of charge, and power is the derivative of energy. Whenever you look for an optimum – least material, highest power, lowest cost – you set the derivative equal to zero.

Formally, the derivative is the limit of the slope over a small interval:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h\to 0}\frac{f(x+h) - f(x)}{h}

Key concepts and formulas

How to solve the problems

  1. Identify the outermost operation in the expression (sum, product, quotient or composition) and choose the rule accordingly.
  2. Differentiate piece by piece. Write out the intermediate steps, especially the inner derivative in the chain rule.
  3. Extreme points: solve f′(x)=0f'(x) = 0. Check the sign of f′f' on each side, or the sign of f′′f'' at the point.
  4. On a closed interval [a,b][a, b] you must also check the endpoints.
  5. Optimization with two unknowns: use the constraint to express everything in one variable before differentiating.

Example

Find the maximum of f(x)=x e−2xf(x) = x\,e^{-2x} for x≥0x \ge 0.

  1. Product rule with the chain rule: f′(x)=1⋅e−2x+x⋅(−2)e−2x=e−2x(1−2x)f'(x) = 1\cdot e^{-2x} + x\cdot(-2)e^{-2x} = e^{-2x}(1 - 2x).
  2. e−2xe^{-2x} is never zero, so f′(x)=0f'(x) = 0 gives 1−2x=01 - 2x = 0, i.e. x=12x = \frac12.
  3. Signs: f′>0f' > 0 for x<12x < \frac12 and f′<0f' < 0 for x>12x > \frac12. It is a maximum.
  4. The value: f(12)=12e−1≈0.184f\left(\frac12\right) = \frac12e^{-1} \approx 0.184.

Answer: a maximum at x=0.5x = 0.5, with a function value of about 0.1840.184.

Common mistakes

Differentiate from the outside in: outer derivative times inner derivative. An optimum is found where f′=0f' = 0 – but always check that it really is a maximum or minimum.

Concepts in this part

Practise differentiation in the app →

2. Integration

What is it about?

Integration is the reverse of differentiation, and it is the tool for adding up something that changes. If you know the velocity v(t)v(t), the integral gives the distance traveled. If you know a force F(x)F(x) along a path, the integral gives the work. Geometrically, ∫abf(x) dx\int_a^b f(x)\,dx is the signed area between the graph and the xx-axis: area above the axis counts as positive, area below as negative.

Key concepts and formulas

How to solve the problems

  1. Check the table first. Rewrite the expression (expand, split fractions) if that helps.
  2. If you see a composite function multiplied by (roughly) the derivative of the inner function, use substitution.
  3. A product such as a polynomial times exe^x, sin⁡x\sin x or ln⁡x\ln x: use integration by parts. Let uu be the factor that gets simpler when differentiated (but for ln⁡x\ln x: let u=ln⁡xu = \ln x).
  4. Definite integral: insert the limits into the antiderivative. With substitution, the limits must be converted too.
  5. Check by differentiating your answer.

Example

Evaluate ∫0πxsin⁡x dx\int_0^{\pi} x\sin x\,dx.

  1. Integration by parts with u=xu = x and v′=sin⁡xv' = \sin x. Then u′=1u' = 1 and v=−cos⁡xv = -\cos x.
  2. ∫xsin⁡x dx=−xcos⁡x+∫cos⁡x dx=−xcos⁡x+sin⁡x+C\int x\sin x\,dx = -x\cos x + \int \cos x\,dx = -x\cos x + \sin x + C.
  3. Insert the limits: [−xcos⁡x+sin⁡x]0π=(−π⋅(−1)+0)−(0+0)=π\big[-x\cos x + \sin x\big]_0^{\pi} = \big(-\pi\cdot(-1) + 0\big) - (0 + 0) = \pi.

The answer is π≈3.14\pi \approx 3.14. Check: (−xcos⁡x+sin⁡x)′=−cos⁡x+xsin⁡x+cos⁡x=xsin⁡x(-x\cos x + \sin x)' = -\cos x + x\sin x + \cos x = x\sin x.

Common mistakes

The integral adds things up: area, distance, work. Always check your answer by differentiating the antiderivative.

Concepts in this part

Practise integration in the app →

3. Limits, series and complex numbers

What is it about?

This unit collects three tools that come back throughout your studies. Limits describe what a function approaches, for example the value a signal settles at. Series and Taylor polynomials replace a difficult function with a polynomial that is easy to compute with – which is how calculators and simulation software actually work. Complex numbers make oscillations and AC circuits simple: a rotation becomes a multiplication.

Key concepts and formulas

How to solve the problems

  1. Limit: substitute the value first. If you get a number, you are done. If you get 00\frac00 or ∞∞\frac\infty\infty, use factoring, L'Hôpital or Taylor.
  2. Series: identify the type and check the convergence condition before using a sum formula.
  3. Taylor: often you can just substitute into a known series, for example e2x=1+2x+2x2+…e^{2x} = 1 + 2x + 2x^2 + \dots
  4. Complex numbers: use a+bia + bi for addition and polar form for multiplication, division and powers. Sketch the number to get the right quadrant for the argument.

Example

a) Find lim⁡x→01−cos⁡xx2\lim_{x\to 0}\frac{1 - \cos x}{x^2}. Substitution gives 00\frac00. Taylor: 1−cos⁡x=x22−x424+…1 - \cos x = \frac{x^2}{2} - \frac{x^4}{24} + \dots, so the fraction is 12−x224+…\frac12 - \frac{x^2}{24} + \dots, which tends to 12\frac12. Applying L'Hôpital twice gives the same result.

b) Find z6z^6 for z=1+i3z = 1 + i\sqrt3. Here ∣z∣=1+3=2|z| = \sqrt{1 + 3} = 2 and θ=arctan⁡3=60∘\theta = \arctan\sqrt3 = 60^\circ. Then z6=26ei⋅360∘=64z^6 = 2^6e^{i\cdot 360^\circ} = 64.

Common mistakes

Limits: substitute first. Series: check convergence. Complex numbers: think length and angle – multiplication multiplies the lengths and adds the angles.

Concepts in this part

Practise limits, series and complex numbers in the app →

4. Applications of derivatives

What is it about?

The derivative tells you how fast something changes. Engineers use this for three things all the time: finding the largest or smallest value (optimization), estimating a value quickly (linear approximation) and solving equations numerically (Newton's method).

Concepts and formulas

f(x)≈f(a)+f′(a) (x−a)f(x) \approx f(a) + f'(a)\,(x - a)
xn+1=xn−f(xn)f′(xn)x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}

How to solve the problems

  1. Write the quantity you want to maximize or minimize as a function of one variable. Use the condition in the problem to eliminate the others.
  2. Differentiate and set f′(x)=0f'(x) = 0.
  3. Check that you have a maximum or minimum (sign chart or f′′f''), and check the end points.
  4. Answer what the problem actually asks for, for example the area and not just xx.

Example

A rectangular area along a river is to be fenced in. No fence is needed along the river, so you need fence on three sides. You have 100 m of fence. How large can the area be?

  1. Call the sides perpendicular to the river xx (two of them) and the side along the river yy. Then 2x+y=1002x + y = 100, so y=100−2xy = 100 - 2x.
  2. The area is A(x)=x(100−2x)=100x−2x2A(x) = x(100 - 2x) = 100x - 2x^2.
  3. A′(x)=100−4x=0A'(x) = 100 - 4x = 0 gives x=25x = 25 m. A′′(x)=−4<0A''(x) = -4 < 0, so it is a maximum.
  4. Then y=50y = 50 m and A=25⋅50=1250A = 25\cdot 50 = 1250 m².

Common mistakes

Optimization: one variable → differentiate → set to zero → check max/min and end points.
Linear approximation: replace the curve by the tangent, f(a)+f′(a)(x−a)f(a) + f'(a)(x - a).

Concepts in this part

Practise applications of derivatives in the app →

Example problems with solutions

Here are some of the problems in calculus. In the app, calculation problems get new numbers every time, so you can practise until it sticks – and take a graded practice exam before the real one.

Differentiation: ddxsin⁡(2x)=\dfrac{d}{dx}\sin(2x) =

Answer: 2cos⁡(2x)2\cos(2x)

Chain rule: the outer derivative times the inner derivative (2).

Integration: ∫0πsin⁡x dx=\displaystyle\int_0^{\pi}\sin x\,dx =

Answer: 2

[−cos⁡x]0π=1−(−1)=2[-\cos x]_0^{\pi} = 1 - (-1) = 2.

Limits, series and complex numbers: lim⁡x→0sin⁡xx=\displaystyle\lim_{x\to0}\frac{\sin x}{x} =

Answer: 1

Can be shown with L'Hôpital or with sin⁡x≈x\sin x \approx x for small xx.

Applications of derivatives: The function ff has f′(2)=0f'(2) = 0 and f′′(2)=5f''(2) = 5. What does ff have at x=2x = 2?

Answer: A minimum

f′(2)=0f'(2) = 0 means the tangent is horizontal, and f′′(2)>0f''(2) > 0 means the graph curves upwards (smiles). So x=2x = 2 is a minimum.

Practise all the problems →

Matches these university courses

The content covers the syllabus found in engineering degrees, for example: