A progressive guide to defining derivatives, interpreting instantaneous change, and applying the main differentiation rules to explicit and implicit functions.
From Average Change to the
The central idea is instantaneous change. For a function f, the average rate of change from x=a to x=a+h is
hf(a+h)−f(a),h=0.
This is the slope of a secant line through two points on the graph. Letting h approach zero moves the second point toward the first and produces the slope of the :
f′(a)=h→0limhf(a+h)−f(a).
Replacing a with the variable x gives the function:
f′(x)=h→0limhf(x+h)−f(x).
A limit-based example
For f(x)=x2, simplify the before taking the limit:
Direct substitution into the unsimplified quotient would produce the indeterminate form 00, so algebraic simplification comes first.
Takeaway: The is the limit of average rates of change as the input interval shrinks to zero.
Meaning and Notation
The has both geometric and applied meanings. At the point (a,f(a)), f′(a) is the slope of the . A positive indicates that the function is increasing locally, a negative indicates local decrease, and a zero gives a horizontal tangent.
If y=f(x), common notations are f′(x), y′, dxdy, and dxd[f(x)]. The notation f′(a) means the value of the at one input, whereas f′(x) denotes the whole function.
Derivatives also describe rates with units. If s(t) is position as a function of time, then
v(t)=s′(t)
is instantaneous velocity. The units of a are output units divided by input units.
Differentiability is a stronger condition than continuity: differentiability at a point implies continuity there, but continuity does not always imply differentiability. The function f(x)=∣x∣ is continuous at x=0, yet it has different one-sided slopes and is not differentiable at that point.
Takeaway: Interpret a as a slope, an instantaneous rate, and a quantity whose units reflect the ratio of output change to input change.
Core Differentiation Rules
The basic rules turn limit definitions into efficient calculations.
Core algebraic rules
For a constant C,
dxd[C]=0.
For a constant multiple,
dxd[Cf(x)]=Cf′(x).
Sums and differences can be differentiated term by term:
dxd[f(x)+g(x)]=f′(x)+g′(x),
dxd[f(x)−g(x)]=f′(x)−g′(x).
The gives
dxd[xn]=nxn−1.
For instance,
dxd[3x4−2x+7]=12x3−2.
Products and quotients
Use the for a product:
dxd[f(x)g(x)]=f′(x)g(x)+f(x)g′(x).
Use the quotient rule for a quotient with g(x)=0:
dxd[g(x)f(x)]=[g(x)]2g(x)f′(x)−f(x)g′(x).
For example,
dxd[x−1x2+1]=(x−1)2(x−1)(2x)−(x2+1)(1).
Takeaway: First identify the outer algebraic structure—constant, sum, product, or quotient—then apply the matching rule carefully.
Common Formulas
Several formulas serve as a reference set:
dxd[ex]=ex
dxd[ax]=axlna, where a>0 and a=1
dxd[lnx]=x1
dxd[sinx]=cosx
dxd[cosx]=−sinx
dxd[tanx]=sec2x
dxd[cotx]=−[cscx]2
dxd[secx]=secxtanx
dxd[cscx]=−[cscx][cotx]
For logarithms with another base, use
logax=lnalnx,
which gives
dxd[logax]=xlna1.
Two useful inverse-trigonometric formulas are
dxd[arcsinx]=1−x21,dxd[arctanx]=1+x21.
Takeaway: Recognizing a function from a standard table reduces computation to selecting the correct formula and checking its domain.
Compositions and the
A composition has one function inside another, such as sin(x2), (3x−1)5, or e4x+2. The handles these nested structures. If h(x)=f(g(x)), then
h′(x)=f′(g(x))g′(x).
A reliable process is:
Identify the outer function and the inner function.
Differentiate the outer function while keeping the inner expression unchanged.
Multiply by the of the inner function.
For example,
dxd(3x2−5)4=4(3x2−5)3dxd(3x2−5)=24x(3x2−5)3.
For a trigonometric composition,
dxd[sin(5x3)]=cos(5x3)⋅15x2=15x2cos(5x3).
In Leibniz notation, if y=f(u) and u=g(x), then
dxdy=dudydxdu.
Takeaway: Nested functions require both the of the outside layer and the of the inside layer.
Implicit Relationships and Slopes
Use when an equation relates x and y without isolating y. Differentiate both sides with respect to x, treat y as a function of x, collect terms containing dxdy, and solve.
Circle example
For
x2+y2=25,
differentiate both sides:
2x+2ydxdy=0.
Solving gives
dxdy=−yx.
At (3,4), the slope is
dxdy(3,4)=−43.
The is therefore
y−4=−43(x−3).
Product involving the dependent variable
For
xy+y2=6,
differentiate using the and the :
xdxdy+y+2ydxdy=0.
Group the terms and solve:
(x+2y)dxdy=−y,
dxdy=−x+2yy.
Takeaway: Every occurrence of a dependent variable such as y contributes a factor of dxdy when differentiated with respect to x.