Step 4 of 6 in Mathematics
Calculus
Limits, derivatives, integrals — the mathematics of continuous change. Citation needed
The whole, before the parts
Calculus is the mathematics of change, built on one idea applied twice. The derivative asks how fast a quantity is changing right now, by taking the average rate over an interval and shrinking the interval to nothing. The integral asks how much has accumulated, by adding up many small contributions and letting them get small without end. The fundamental theorem says these two questions are inverse to each other — which is the result the whole subject exists to deliver, and the reason differentiation is worth learning before integration. Citation needed
Terminology and core concepts
-
Limits
A limit says what a function approaches, which is a different question from what it does at the point — and the difference is the whole reason limits exist. Citation needed
- What does lim f(x) = L as x → a claim?
- f(x) can be kept as close to L as you like by keeping x sufficiently near, but unequal to, a Reference: OpenStax: The Limit of a Function
- Must f be defined at a for the limit at a to exist?
- no Reference: OpenStax: The Limit of a Function
- If both finite one-sided limits exist, when does the two-sided limit fail to exist?
- when the one-sided limits disagree Reference: OpenStax: The Limit of a Function
- What is lim (sin x)/x as x → 0?
- 1 Citation needed
- What does the squeeze theorem let you do?
- pin a limit between two functions sharing it Reference: OpenStax: The Limit Laws
-
Continuity
Continuity is the limit agreeing with the value; the big existence theorems all need it, and they are what make continuity worth naming. Citation needed
- Continuity at a requires the limit to equal […].
- f(a) Reference: OpenStax: Continuity
- Can a function be continuous at a if f(a) is undefined?
- no Reference: OpenStax: Continuity
- Can a function be continuous at a if its limit there does not exist?
- no Reference: OpenStax: Continuity
- What does the intermediate value theorem guarantee?
- a function continuous on [a,b] takes every value between f(a) and f(b) Reference: OpenStax: Continuity
- What does the extreme value theorem guarantee?
- a continuous function on a closed bounded interval attains a maximum and minimum Citation needed
- Does differentiability imply continuity, or the reverse?
- differentiability implies continuity, not the reverse Citation needed
- What function is continuous at 0 but not differentiable there?
- |x| at 0 Citation needed
-
The derivative
The derivative is the limit of the difference quotient, which means it is simultaneously a slope, an instantaneous rate, and the best linear approximation nearby. Citation needed
- What is the definition of f′(x)?
- lim [f(x+h) - f(x)]/h as h → 0 Reference: OpenStax: Defining the Derivative
- What does the derivative mean geometrically?
- the slope of the tangent line Reference: OpenStax: Defining the Derivative
- What does the derivative of position with respect to time give?
- velocity Reference: OpenStax: Defining the Derivative
- What does a second derivative measure?
- the rate of change of the rate — concavity Citation needed
- What is the linear approximation of f near a?
- f(a) + f′(a)(x - a) Citation needed
-
Differentiation rules
The power, product, quotient, and chain rules help differentiate functions built from simpler ones. Citation needed
- What is the derivative of xⁿ?
- nxn-1 Citation needed
- For differentiable f and g, what is the derivative of fg?
- f′g + fg′ Reference: OpenStax: Differentiation Rules
- For differentiable f and g with g ≠ 0, what is the derivative of f/g?
- (f′g - fg′)/g² Reference: OpenStax: Differentiation Rules
- What is the chain rule?
- f′(g(x)) · g′(x) Citation needed
- What is the derivative of eₓ?
- eₓ Citation needed
- What is the derivative of ln x?
- 1/x Citation needed
- What is the derivative of sin x?
- cos x Citation needed
- What is the derivative of cos x?
- -sin x Citation needed
-
Using derivatives: extrema and shape
At an interior maximum or minimum of a differentiable function the derivative is zero, which converts optimisation into equation-solving. Citation needed
- What is a critical point?
- where the derivative is zero or undefined Citation needed
- Does a zero derivative guarantee an extremum?
- no — consider x³ at 0 Citation needed
- What does a positive second derivative indicate?
- concave up, so a local minimum at a critical point Citation needed
- For f continuous on [a,b] and differentiable on (a,b), what does the mean value theorem assert?
- some interior point's slope equals the average slope Citation needed
- What must also be checked in a closed-interval optimisation?
- the endpoints Citation needed
-
The integral as accumulation
A definite integral is the limit of Riemann sums: the total of many small products, which is why it measures area, distance, mass, and work with one piece of machinery. Citation needed
- What is a Riemann sum?
- a sum of function values times subinterval widths Citation needed
- What does a definite integral of velocity give?
- displacement Citation needed
- What does the integral sign's dx stand for?
- the width of the vanishing slice Citation needed
- What does a negative definite integral mean for signed area?
- area below the axis outweighs area above it Citation needed
- What kind of result does a definite integral give?
- a number Citation needed
- What kind of result does an indefinite integral give?
- a family of antiderivatives Citation needed
-
The fundamental theorem of calculus
Differentiation and integration are inverse operations; this is the result that makes integrals computable instead of merely definable. Citation needed
- For continuous f, what is the derivative of F(x) = ∫ₐˣ f(t) dt?
- f(x) Reference: OpenStax: The Fundamental Theorem of Calculus
- If f is continuous on [a,b] and F is an antiderivative of f, how is ∫ₐᵇ f(x) dx evaluated?
- a definite integral as F(b) - F(a) Reference: OpenStax: The Fundamental Theorem of Calculus
- What is an antiderivative?
- a function whose derivative is the given one Citation needed
- Why does an indefinite integral carry + C?
- constants differentiate to zero, so antiderivatives are a family Citation needed
-
Techniques of integration
Substitution and integration by parts reverse differentiation rules. These methods can simplify integrals, although not every elementary integrand has an elementary antiderivative. Citation needed
- Which differentiation rule does u-substitution reverse?
- the chain rule Citation needed
- Which rule does integration by parts reverse?
- the product rule Citation needed
- What is the integration by parts formula?
- ∫u dv = uv - ∫v du Citation needed
- What is ∫1/x dx?
- ln|x| + C Citation needed
- What must change when substituting in a definite integral?
- the limits, or convert back before evaluating Citation needed
-
Series and Taylor approximation
Taylor polynomials use derivatives at one point to approximate a function. A Taylor series equals that function only where its remainder tends to zero; smoothness alone does not guarantee this. Citation needed
- What does a Taylor series expand a function in terms of?
- its derivatives at one point Citation needed
- What is the Taylor series of eₓ about 0?
- 1 + x + x²/2! + x³/3! + … Citation needed
- What is the first-order Taylor approximation also called?
- the linearisation, or tangent line Citation needed
- What does a geometric series Σrⁿ converge to for |r| < 1?
- 1/(1-r) Citation needed
- What does the radius of convergence specify for a power series?
- the distance from its center inside which it converges; check endpoints separately Citation needed
-
Several variables, in outline
With more than one input, the derivative becomes a vector of partial derivatives pointing uphill; this is the form calculus takes in physics, statistics, and machine learning. Citation needed
- What is a partial derivative?
- the derivative in one variable, holding the others fixed Citation needed
- What does the gradient point toward?
- the direction of steepest increase Citation needed
- For a differentiable function, what is true of the gradient at an interior local extremum?
- it is the zero vector Citation needed
- What does a double integral accumulate?
- a quantity over a region of the plane Citation needed
Problems that prove it
-
Compute the derivative of f(x) = x² from the definition.
Drills: the difference quotient, which every later rule abbreviates.
Derivation steps
- Form the quotient: [(x+h)² - x²]/h.
- Expand: [x² + 2xh + h² - x²]/h = [2xh + h²]/h.
- Cancel h (legal, since h ≠ 0 in the limit process): 2x + h.
- Let h → 0: f′(x) = 2x.
-
Differentiate y = sin(3x² + 1).
Drills: identifying the inner function before applying the chain rule.
Derivation steps
- Outer function sin, inner function u = 3x² + 1.
- Derivative of outer at inner: cos(3x² + 1).
- Derivative of inner: 6x.
- Multiply: y′ = 6x cos(3x² + 1).
Method: OpenStax: The Chain Rule
-
A ladder 5 m long leans on a wall and its foot slides out at 0.5 m/s. How fast is the top falling when the foot is 3 m from the wall?
Drills: related rates — differentiating a constraint with respect to time.
Derivation steps
- Constraint: x² + y² = 25.
- Differentiate with respect to t: 2x(dx/dt) + 2y(dy/dt) = 0.
- At x = 3: y = 4, and dx/dt = 0.5.
- dy/dt = -x(dx/dt)/y = -(3)(0.5)/4 = -0.375 m/s.
- Negative, so the top is falling — at 0.375 m/s.
Citation needed
-
Of all rectangles with perimeter 40 m, find the one of greatest area.
Drills: optimisation — constraint, one variable, critical point, endpoints.
Derivation steps
- Constraint: 2w + 2h = 40, so h = 20 - w.
- Objective: A(w) = w(20 - w) = 20w - w², for 0 < w < 20.
- A′(w) = 20 - 2w = 0 gives w = 10.
- A″ = -2 < 0, so it is a maximum; endpoints give area 0.
- The square, 10 × 10, area 100 m².
Citation needed
-
Evaluate ∫₀¹ x² dx as a limit of Riemann sums, then again by the FTC.
Drills: the definition and the shortcut, in that order, so the shortcut means something.
Derivation steps
- Partition [0,1] into n equal pieces of width 1/n, using right endpoints i/n.
- Sum: Σ (i/n)² (1/n) = (1/n³) Σ i².
- Use Σ i² = n(n+1)(2n+1)/6, giving (2n³ + 3n² + n)/6n³.
- As n → ∞ this tends to 2/6 = 1/3.
- By the FTC: antiderivative x³/3, so the integral is 1/3 - 0 = 1/3. ✓
Citation needed
-
Compute ∫ 2x(x² + 5)³ dx.
Drills: spotting that the integrand already contains the inner derivative.
Derivation steps
- Let u = x² + 5, so du = 2x dx — present in the integrand.
- Rewrite: ∫ u³ du.
- = u⁴/4 + C.
- Back-substitute: (x² + 5)⁴/4 + C.
Citation needed
Sources
- Michael Spivak, Calculus — the standard if you want the theorems proved.
- Silvanus P. Thompson, Calculus Made Easy — the intuition, written in 1910 and still the best first pass.
- Gilbert Strang, Calculus (MIT OpenCourseWare) — freely available, strong on applications.
- Grant Sanderson, Essence of Calculus (3Blue1Brown) — the visual derivation of the FTC.
Learning path
Continue through Mathematics in order, using the concepts above to connect this topic to the next.