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.
Contents
1. Differentiation
What is it about?
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.
Formally, the derivative is the limit of the slope over a small interval:
Key concepts and formulas
- Power rule: . Constant factors stay, constant terms vanish: .
- Standard derivatives: , , , , .
- Product rule: .
- Quotient rule: .
- Chain rule: – outer derivative times inner derivative.
- : is increasing. : is decreasing. : the graph is concave up. : concave down.
- Tangent line at : .
How to solve the problems
- Identify the outermost operation in the expression (sum, product, quotient or composition) and choose the rule accordingly.
- Differentiate piece by piece. Write out the intermediate steps, especially the inner derivative in the chain rule.
- Extreme points: solve . Check the sign of on each side, or the sign of at the point.
- On a closed interval you must also check the endpoints.
- Optimization with two unknowns: use the constraint to express everything in one variable before differentiating.
Example
Find the maximum of for .
- Product rule with the chain rule: .
- is never zero, so gives , i.e. .
- Signs: for and for . It is a maximum.
- The value: .
Answer: a maximum at , with a function value of about .
Common mistakes
- Forgetting the inner derivative: , not .
- Differentiating a product factor by factor: .
- Sign errors in the quotient rule: the numerator is , in that order.
- Believing that always means a maximum or minimum. has , but a horizontal inflection point.
- Forgetting the endpoints when looking for the largest and smallest value on an interval.
Concepts in this part
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 , the integral gives the distance traveled. If you know a force along a path, the integral gives the work. Geometrically, is the signed area between the graph and the -axis: area above the axis counts as positive, area below as negative.
Key concepts and formulas
- is an antiderivative of if . The indefinite integral is .
- Fundamental theorem of calculus: .
- Table: for , , , and .
- Substitution: with we have , and .
- Integration by parts: .
- Area between curves: when .
- Mean value: .
How to solve the problems
- Check the table first. Rewrite the expression (expand, split fractions) if that helps.
- If you see a composite function multiplied by (roughly) the derivative of the inner function, use substitution.
- A product such as a polynomial times , or : use integration by parts. Let be the factor that gets simpler when differentiated (but for : let ).
- Definite integral: insert the limits into the antiderivative. With substitution, the limits must be converted too.
- Check by differentiating your answer.
Example
Evaluate .
- Integration by parts with and . Then and .
- .
- Insert the limits: .
The answer is . Check: .
Common mistakes
- Forgetting in indefinite integrals.
- Applying the power rule to . It gives , which is meaningless. The correct result is .
- Forgetting the factor : .
- Keeping the old limits after a substitution.
- Interpreting the integral as the total area when the function changes sign. Then the interval must be split.
Concepts in this part
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
- Standard limit: . As , the highest powers determine the limit of a ratio of polynomials.
- L'Hôpital's rule: for the forms or , .
- Geometric series: when . Otherwise it diverges.
- Taylor polynomial about 0:
- Known series: , and
- Complex number: with . Modulus . The argument is the angle from the positive real axis.
- Polar form and Euler's formula: , and . In a multiplication the lengths are multiplied and the angles are added.
- Division: multiply by the conjugate of the denominator, . In electrical engineering is often written instead of .
How to solve the problems
- Limit: substitute the value first. If you get a number, you are done. If you get or , use factoring, L'Hôpital or Taylor.
- Series: identify the type and check the convergence condition before using a sum formula.
- Taylor: often you can just substitute into a known series, for example
- Complex numbers: use for addition and polar form for multiplication, division and powers. Sketch the number to get the right quadrant for the argument.
Example
a) Find . Substitution gives . Taylor: , so the fraction is , which tends to . Applying L'Hôpital twice gives the same result.
b) Find for . Here and . Then .
Common mistakes
- Using L'Hôpital when the expression is not of the form or .
- Using when .
- Forgetting the factorials in Taylor series.
- Computing the argument as without checking the quadrant: has argument , not .
- Multiplying out complex numbers without using .
Concepts in this part
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
- Critical point: where . The function may have a maximum or a minimum here.
- Second derivative test: gives a minimum (the graph smiles), gives a maximum (the graph frowns).
- On a closed interval you must check the critical points and the end points.
- Linear approximation near : replace the curve by its tangent line.
- Newton's method for solving : start with a guess and improve it again and again.
- Related rates: when two quantities are linked, their rates of change are linked too. Differentiate the relation with respect to time (chain rule).
How to solve the problems
- 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.
- Differentiate and set .
- Check that you have a maximum or minimum (sign chart or ), and check the end points.
- Answer what the problem actually asks for, for example the area and not just .
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?
- Call the sides perpendicular to the river (two of them) and the side along the river . Then , so .
- The area is .
- gives m. , so it is a maximum.
- Then m and m².
Common mistakes
- Forgetting the end points when the variable is limited to an interval.
- Differentiating before reducing to one variable.
- Answering with the -value when the problem asks for the area, or the other way round.
- In Newton's method: flipping the sign (), or starting at a point where .
Linear approximation: replace the curve by the tangent, .
Concepts in this part
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:
Answer:
Chain rule: the outer derivative times the inner derivative (2).
Integration:
Answer: 2
.
Limits, series and complex numbers:
Answer: 1
Can be shown with L'Hôpital or with for small .
Applications of derivatives: The function has and . What does have at ?
Answer: A minimum
means the tangent is horizontal, and means the graph curves upwards (smiles). So is a minimum.
Matches these university courses
The content covers the syllabus found in engineering degrees, for example:
- MEK1000 (OsloMet)
- TMA4401 (NTNU)
- MATH111 (NMBU)