Clastify logo
Clastify logo
Exam prep
Exemplars
Review
HOT

Differentiation

Master IB Math AI Differentiation with notes created by examiners and strictly aligned with the syllabus.

IB Syllabus Requirements for Differentiation

5.1

Limits and the derivative as a rate of change

5.2

Increasing and decreasing functions

5.3

Differentiation of integer powers and polynomials

5.4

Tangents and normals

5.1

LIMITS AND THE DERIVATIVE AS A RATE OF CHANGE

Approaching a value

A limit is a value approached by a function as its input approaches a specified value, even if the function doesn’t actually take that value there. We write

limxcf(x)=L\lim_{x\to c}f(x)=L

To find the limit, look at how the function behaves near x=cx=c, rather than just at the plotted point when x=cx=c. The graph might have a hole or a filled point somewhere else, yet the nearby values can still approach one common number. When the values from the left and right approach different numbers, the two-sided limit does not exist.

For a numerical estimate, draw up a table using inputs that get successively closer to cc from both sides. For a graphical estimate, follow the curve towards cc from the left, then from the right. Spreadsheets, graphing software and a GDC can help form and check a conjecture. Be careful with very large zoom factors, though, as they may reveal rounding or pixel limitations. Formal algebraic limit calculations are not required here.

Image

From secants to a tangent

For y=f(x)y=f(x), where yy is the output (measured in the relevant SI output unit), the gradient between two nearby points is

f(x+h)f(x)h\frac{f(x+h)-f(x)}{h}

This gives the gradient of a secant line. As hh approaches zero, the second point moves towards the first. The secant gradients may then approach a limiting value.

A derivative is a function or value that gives the instantaneous rate at which one variable changes with respect to another. Informally,

f(x)=limh0f(x+h)f(x)hf'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

The notation f(x)f'(x) represents the derivative function. When y=f(x)y=f(x), the same derivative can be written as dydx\frac{dy}{dx}. Its unit is the unit of yy per unit of xx. The limit definition explains the underlying idea; formal analytic manipulation of limits is not required.

Image

Gradient and rate interpretations

Geometrically, f(x)f'(x) gives the gradient of the tangent to the graph at input xx. In context, it represents an instantaneous rate of change. Both its sign and unit matter. A rate of 4 m s1-4\ \text{m s}^{-1} describes a decrease of four metres per second, not simply the number 4-4.

Match the notation to the variables used in the problem. For instance,

dVdr\frac{dV}{dr}

is the rate of change of volume with radius

Similarly,

dsdt\frac{ds}{dt}

is the rate of change of displacement with time

The units of these derivatives are therefore m2\text{m}^2 and m s1\text{m s}^{-1} respectively.

This interpretation also applies to marginal cost, revenue and profit in economics; motion, induced emf and oscillation models in physics; and gradients of experimental curves in chemistry.

Perspective

Calculus developed from attempts to reason about quantities becoming arbitrarily small. Centuries before European calculus, Indian mathematicians investigated zero and division by zero. Ancient Greek discomfort with zero, by contrast, limited the development of related geometric work. Newton and Leibniz later created different methods and notations, which led to a long priority dispute rather than a simple account of one isolated discoverer.

Limits turn intuitive ideas such as “instantaneous” and “arbitrarily close” into usable mathematics. Even so, the model remains an idealisation: no physical measurement observes an infinitely small interval. This raises a useful knowledge question—when does mathematically disciplined intuition count as justification, and when must it be replaced by proof or evidence?

5.2

INCREASING AND DECREASING FUNCTIONS

Reading change from the derivative

An increasing function on an interval is a function whose output rises as the input moves from left to right throughout that interval. A decreasing function on an interval is a function whose output falls as the input moves from left to right throughout that interval.

The derivative shows the function’s local direction:

  • f(x)>0f'(x)>0: the tangent slopes upwards, so ff is increasing;
  • f(x)<0f'(x)<0: the tangent slopes downwards, so ff is decreasing;
  • f(x)=0f'(x)=0: the tangent is horizontal at that input.

A derivative of zero only describes what is happening at one point, not across an entire interval. It also doesn’t prove that the function turns there. The derivative can be zero even when the function keeps increasing on both sides.

Image

To find the intervals, use the derivative graph or solve for its zeros, then check its sign between them. Write the answers as intervals and respect the stated domain. On a GDC, graph f(x)f'(x) and identify where it lies above or below the horizontal axis. Don’t confuse these regions with where the original graph f(x)f(x) lies above or below its axis.

5.3

DIFFERENTIATION OF INTEGER POWERS AND POLYNOMIALS

The integer power rule

For a power function,

f(x)=axnf(x)=anxn1f(x)=ax^n \quad\Longrightarrow\quad f'(x)=anx^{n-1}

Put simply: multiply by the exponent, then reduce the exponent by one.

This rule works for positive, zero and negative integer exponents. The derivative of a constant is zero. With negative powers, any original domain restrictions still apply. For example,

ddx(7x43x2+5)=28x3+6x3\frac{d}{dx}\left(7x^4-3x^{-2}+5\right)=28x^3+6x^{-3}

Polynomial and term-by-term differentiation

A polynomial is a finite sum of constant multiples of non-negative integer powers of a variable. The syllabus rule also applies term by term to more general expressions of the form

f(x)=axn+bxn1+f(x)=ax^n+bx^{n-1}+\cdots

Addition and subtraction don’t change the process. Differentiate each term, keep its sign, then simplify.

Technology offers a useful check: graph the original function alongside the derivative you generated. The derivative should be positive where the original graph rises and negative where it falls. Technology can verify a derivative, but the power rule shows why the algebraic form makes sense.

Models and reality

Integer-power models can represent trajectories, changing costs and engineered systems accurately enough to support achievements such as spaceflight. Even so, the model isn’t identical to reality. It isolates selected variables and assumptions, and remains useful only while those choices are adequate over the domain in question.

5.4

TANGENTS AND NORMALS

Tangent equations

A tangent is a line whose gradient at a point on a curve equals the derivative of the curve at that point. Suppose the point has input x0x_0 and output y0=f(x0)y_0=f(x_0), with x0x_0 in the same unit as xx and y0y_0 in the same unit as yy. The gradient is

mt=f(x0)m_t=f'(x_0)

The tangent equation is

yy0=mt(xx0)y-y_0=m_t(x-x_0)

A reliable method is to find the point first. Then differentiate, evaluate the derivative at that point, and substitute into the line equation. The derivative expression by itself is not a tangent equation.

Normal equations

A normal is a line through a point on a curve that is perpendicular to the tangent there. If mt0m_t\ne 0 on an equally scaled Cartesian plane, the normal gradient is

mn=1mtm_n=-\frac{1}{m_t}

Its equation is

yy0=mn(xx0)y-y_0=m_n(x-x_0)

When the tangent is horizontal, the normal is the vertical line x=x0x=x_0; a finite normal gradient cannot be used. A vertical tangent also needs separate geometric interpretation.

Image

Graphing technology can draw a tangent directly or estimate its gradient numerically. Check that the line goes through the stated point and has the expected orientation. Analytic differentiation still matters because it gives the exact gradient and makes any assumptions visible.

Tangents can model instantaneous velocity and price elasticity. Normals occur in ray optics and in directions perpendicular to equipotential curves. Technology has made both easier to generate and share, but an automatically drawn tangent isn’t self-justifying knowledge. Its mathematical meaning comes from the derivative and the assumptions behind the display.

5.6

STATIONARY POINTS AND LOCAL EXTREMA

Finding zero-gradient points

A stationary point is a point on a differentiable curve at which the first derivative is zero. Its input must satisfy

f(x)=0f'(x)=0

Find f(x)f'(x) algebraically, or use a GDC or graphing package to generate it. Next, solve f(x)=0f'(x)=0. Substitute every solution into ff to get the full coordinates; giving only the input leaves out the point’s output.

A local maximum is a point whose function value is at least as large as nearby function values. By contrast, a local minimum is a point whose function value is at most as large as nearby function values. At a differentiable turning point, look at how the derivative changes sign:

  • positive to negative gives a local maximum;
  • negative to positive gives a local minimum;
  • no sign change means the stationary point is not a local extremum.

Sign chart for local and global extrema.

Locationf(x)f'(x) signBehaviourInterpretation
x=3x=-3endpointleft endpoint, value 189189global maximum
(3,2)(-3,-2)-decreasingno extremum
x=2x=-2changes +- \to +turning point, value 64-64local minimum, not global
(2,0)(-2,0)++increasingno extremum
x=0x=0stays ++flat point, value 00stationary point, not extremum
(0,2)(0,2)++increasingno extremum
x=2x=2changes ++ \to -turning point, value 6464local maximum, not global
(2,3)(2,3)-decreasingno extremum
x=3x=3endpointright endpoint, value 189-189global minimum

Local is not global

A local extremum is compared only with nearby points. A global maximum is a point attaining the greatest function value over the entire stated domain, whereas a global minimum is a point attaining the least function value over that domain. An endpoint or a different part of the graph may beat a local turning point.

In an application, a stationary point might represent maximum profit, minimum cost, or an extreme area or volume. Zero-gradient and turning-point ideas also describe physical changes on displacement–time and velocity–time graphs, including oscillatory motion.

The graphing window can change what seems to be the “whole” behaviour of a model. A local maximum, for example, may appear global until the domain is widened. This raises a broader knowledge issue: mathematical descriptions don’t simply record the world. Our choices of variables, scales and domains shape the description we obtain.

5.7

OPTIMISATION IN CONTEXT

Building an optimisation model

Optimisation is a modelling process that finds the greatest or least feasible value of a chosen quantity. That quantity is the objective, while the restrictions given by the context become the constraints.

A reliable method is:

  1. Define the variables and give their units.
  2. Write a formula for the quantity being maximised or minimised.
  3. Apply the constraint to rewrite that quantity as a function of one variable.
  4. Use the context to state the feasible domain.
  5. Differentiate, then solve f(x)=0f'(x)=0 to find feasible stationary values.
  6. Compare the relevant stationary values with the domain boundaries.
  7. State the requested dimensions or quantities, including units and a conclusion that fits the context.

Context affects the mathematics directly. Lengths must be positive. Production may have to be an integer, and any stationary solution outside the feasible domain must be rejected.

Image

Common applications include maximising profit or minimising cost. Optimisation can also maximise the capacity of packaging made from a fixed amount of material, or reduce material while preserving a required capacity. Kinematic optimisation provides a useful physical connection, but it is not assessed in standard-level examinations under this statement.

Interpreting the optimum

Solving f(x)=0f'(x)=0 gives candidates; it does not automatically give the answer. Check that the required maximum or minimum has been found by considering the derivative’s sign, the graph, or a comparison of feasible values. For a closed domain, check the endpoints too.

Optimisation can reveal value judgements. For example, a tax on disposable containers may change the cost function, making low-material or reusable designs economically preferable. Mathematics identifies the optimum under the assumptions given. It cannot decide whether the objective should be profit, resource use, access or environmental damage. Similar tensions appear in allocative efficiency in economics.

5.9

FURTHER DERIVATIVES, DIFFERENTIATION RULES AND RELATED RATES

HL

Standard derivatives

Trigonometric derivatives require angles to be measured in radians. The results you need are

ddx(sinx)=cosx\frac{d}{dx}(\sin x)=\cos x ddx(cosx)=sinx\frac{d}{dx}(\cos x)=-\sin x ddx(tanx)=sec2x\frac{d}{dx}(\tan x)=\sec^2 x

where secx=1cosx\sec x=\frac{1}{\cos x}. Both the inputs and outputs of these trigonometric functions are dimensionless.

For exponential and logarithmic functions, use

ddx(ex)=ex,ddx(lnx)=1x\frac{d}{dx}(e^x)=e^x, \qquad \frac{d}{dx}(\ln x)=\frac{1}{x}

where ee is the dimensionless natural exponential base. For the real logarithmic formula, x>0x>0 is required. Rational powers follow the rule

ddx(xn)=nxn1,nQ\frac{d}{dx}(x^n)=nx^{n-1},\qquad n\in\mathbb{Q}

where Q\mathbb{Q} is the set of rational numbers. Always respect the real domain of the original power function, particularly when roots or negative exponents are involved.

Chain rule

The chain rule is a differentiation rule that differentiates a composite function by multiplying the outer derivative by the inner derivative. Suppose y=f(u)y=f(u) and u=g(x)u=g(x), with uu as an intermediate quantity measured in the unit required by the composite model and gg as the inner function. Then

dydx=dydududx\frac{dy}{dx}=\frac{dy}{du}\frac{du}{dx}

The equivalent function notation is

ddxf(g(x))=f(g(x))g(x)\frac{d}{dx}f(g(x))=f'(g(x))g'(x)

The factor g(x)g'(x) is often missed. For example,

ddx(e3x2)=6xe3x2\frac{d}{dx}\left(e^{3x^2}\right)=6xe^{3x^2}

Product and quotient rules

The product rule is a differentiation rule that finds the derivative of two multiplied differentiable functions. Let u=u(x)u=u(x) and v=v(x)v=v(x), where vv is a second differentiable quantity with context-dependent SI units. The rule is

ddx(uv)=udvdx+vdudx\frac{d}{dx}(uv)=u\frac{dv}{dx}+v\frac{du}{dx}

You need both terms. Simply differentiating each factor and multiplying the two answers is incorrect.

The quotient rule is a differentiation rule that finds the derivative of one differentiable function divided by another non-zero differentiable function:

ddx(uv)=vdudxudvdxv2,v0\frac{d}{dx}\left(\frac{u}{v}\right) =\frac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2}, \qquad v\ne 0

Keep the numerator in the correct order: denominator times the derivative of the numerator, minus numerator times the derivative of the denominator.

You can combine these rules. First identify the outermost structure. A product, for instance, may include a composite factor; a quotient may involve trigonometric or exponential functions. A symbolic differentiator can check the final expression, but simplify with care because equivalent derivatives may look very different.

Related rates

A related-rates problem is a rate-of-change problem in which an equation links quantities that vary with the same independent variable. Usually, the independent variable is time. Begin with the equation linking the quantities. Differentiate the entire equation with respect to time before substituting the instantaneous measurements.

For a circular area,

A=πr2A=\pi r^2

where AA is area (m2\text{m}^2) and π\pi is the dimensionless circle constant. Differentiating with respect to time gives

dAdt=2πrdrdt\frac{dA}{dt}=2\pi r\frac{dr}{dt}

Here dAdt\frac{dA}{dt} is the area rate (m2 s1\text{m}^2\text{ s}^{-1}), while drdt\frac{dr}{dt} is the radial rate (m s1\text{m s}^{-1}). The signs matter: when the radius is shrinking, its radial rate is negative.

Image

These techniques build on earlier work with extrema and optimisation. They also support models such as uniform circular motion and induced emf. Historically, powerful calculations sometimes came before a fully rigorous foundation. Euler achieved major results before the later formal work associated with Cauchy. Mathematical progress can move between productive intuition and symbolic technique, with justification following later, rather than developing in one fixed sequence.

5.10

SECOND DERIVATIVES, CONCAVITY AND POINTS OF INFLEXION

HL

The second derivative

A second derivative is the derivative of the first derivative and therefore measures how the first rate of change itself changes. It has two standard notations:

f(x)=d2ydx2f''(x)=\frac{d^2y}{dx^2}

When xx and yy have units, the second derivative’s units are the output unit divided by the square of the input unit. Take a displacement model: its first derivative gives velocity, while its second derivative gives acceleration. This connects second derivatives to kinematics, simple harmonic motion and second-order differential equations, though those later topics aren’t needed here.

The second derivative test

At a stationary input where f(x)=0f'(x)=0:

  • if f(x)>0f''(x)>0, the point is a local minimum;
  • if f(x)<0f''(x)<0, the point is a local maximum;
  • if f(x)=0f''(x)=0, the test is inconclusive.

The geometry helps explain these signs. A positive second derivative shows that the gradient is increasing, which produces a bowl-like shape. A negative second derivative shows that the gradient is decreasing, giving a cap-like shape.

Concavity and inflexion

A function is concave-up on an interval when its gradients increase throughout that interval, corresponding to f(x)>0f''(x)>0. It is concave-down on an interval when its gradients decrease throughout that interval, corresponding to f(x)<0f''(x)<0.

A point of inflexion is a point on a curve at which the concavity changes. Confirm this by checking whether ff'' changes sign across the point. Solving f(x)=0f''(x)=0 only identifies candidates; it doesn’t prove there is an inflexion, since the second derivative may touch zero without changing sign.

Image

In context, an inflexion shows a change in how a rate develops. Growth, for example, may continue but shift from accelerating to decelerating. The output doesn’t need to have a maximum or minimum at that point.

Mathematics can describe features of oscillations and even musical waveforms. Still, representing music mathematically doesn’t make the lived experience of music identical to an equation. A model records selected structures, such as frequency, amplitude or change. Whether this makes music “mathematical” depends on what we mean by expressing and explaining a phenomenon.

Were those notes helpful?

differential-equations Differential Equations

integration Integration