Basic Concepts of the Derivative

The derivative measures an instantaneous rate of change—how fast f(x)f(x) moves when xx moves by a tiny amount.

Average vs. instantaneous rate

Average rate on [x0,x0+Δx][x_0, x_0+\Delta x]:

ΔyΔx=f(x0+Δx)−f(x0)Δx.\frac{\Delta y}{\Delta x} = \frac{f(x_0+\Delta x) - f(x_0)}{\Delta x}.

Instantaneous rate (the derivative):

f′(x0)=lim⁡Δx→0f(x0+Δx)−f(x0)Δx.f'(x_0) = \lim_{\Delta x \to 0} \frac{f(x_0+\Delta x) - f(x_0)}{\Delta x}.

Geometric picture

Average rate = secant slope; instantaneous rate = tangent slope. Explore this with f(x)=x2f(x)=x^2:

x = 1.0

Function value

f(1.0) = 1.00

Instantaneous rate (derivative)

f'(1.0) = 2.00

Formal definition

Derivative at a point

If

lim⁡Δx→0f(x0+Δx)−f(x0)Δx\lim_{\Delta x \to 0} \frac{f(x_0+\Delta x) - f(x_0)}{\Delta x}

exists, ff is differentiable at x0x_0, and the limit is f′(x0)f'(x_0) (also written dydx∣x0\dfrac{dy}{dx}\big|_{x_0}).

Why dydx\dfrac{dy}{dx}?

  • ΔyΔx\dfrac{\Delta y}{\Delta x}: slope of a secant (finite increments).
  • dydx\dfrac{dy}{dx}: slope of the tangent (infinitesimal increments).
Δx = 1.00

Equivalent forms

f′(x0)=lim⁡h→0f(x0+h)−f(x0)horf′(x0)=lim⁡x→x0f(x)−f(x0)x−x0.f'(x_0) = \lim_{h\to 0} \frac{f(x_0+h)-f(x_0)}{h} \quad\text{or}\quad f'(x_0) = \lim_{x\to x_0} \frac{f(x)-f(x_0)}{x-x_0}.

One-sided derivatives

  • Left: f−′(x0)=lim⁡h→0−f(x0+h)−f(x0)hf'_-(x_0) = \lim_{h\to 0^-} \dfrac{f(x_0+h)-f(x_0)}{h}
  • Right: f+′(x0)=lim⁡h→0+f(x0+h)−f(x0)hf'_+(x_0) = \lim_{h\to 0^+} \dfrac{f(x_0+h)-f(x_0)}{h}

Differentiable at x0x_0 ⇔ both exist and are equal.

Differentiability vs. continuity

Theorem

If ff is differentiable at x0x_0, then ff is continuous at x0x_0.

Proof
  1. Differentiability gives the limit of the difference quotient.
  2. Multiply by hh and send h→0h\to 0 to see f(x0+h)→f(x0)f(x_0+h)\to f(x_0).
  3. Continuity does not imply differentiability (e.g., ∣x∣|x| at 0).

Examples and practice

Example: f(x)=x2f(x)=x^2

f′(x0)=lim⁡Δx→0(x0+Δx)2−x02Δx=2x0.f'(x_0) = \lim_{\Delta x\to 0} \frac{(x_0+\Delta x)^2 - x_0^2}{\Delta x} = 2x_0.

Exercise 1

Differentiate f(x)=1xf(x) = \dfrac{1}{x} at x0x_0 using the definition.

derivative definitiondifference quotientreciprocal function

Approach

This exercise asks for the derivative of f(x)=1xf(x) = \dfrac{1}{x} at a general point x0x_0, computed from the limit definition of the derivative instead of from a memorized rule. The plan is to build the difference quotient, put the two fractions over a common denominator, cancel the factor Δx\Delta x, and then let Δx→0\Delta x \to 0.

Steps

  1. Start from the definition: f′(x0)=lim⁡Δx→0f(x0+Δx)−f(x0)Δx=lim⁡Δx→01x0+Δx−1x0Δxf'(x_0) = \lim_{\Delta x \to 0} \dfrac{f(x_0+\Delta x) - f(x_0)}{\Delta x} = \lim_{\Delta x \to 0} \dfrac{\frac{1}{x_0+\Delta x} - \frac{1}{x_0}}{\Delta x}.
  2. Combine the numerator over the common denominator x0(x0+Δx)x_0(x_0+\Delta x): 1x0+Δx−1x0Δx=x0−(x0+Δx)x0(x0+Δx) Δx=−Δxx0(x0+Δx) Δx\dfrac{\frac{1}{x_0+\Delta x} - \frac{1}{x_0}}{\Delta x} = \dfrac{x_0 - (x_0+\Delta x)}{x_0(x_0+\Delta x)\,\Delta x} = \dfrac{-\Delta x}{x_0(x_0+\Delta x)\,\Delta x}.
  3. Cancel one factor Δx\Delta x, which is allowed since Δx≠0\Delta x \neq 0 inside the limit: −1x0(x0+Δx)-\dfrac{1}{x_0(x_0+\Delta x)}.
  4. Let Δx→0\Delta x \to 0: f′(x0)=−1x0⋅x0=−1x02f'(x_0) = -\dfrac{1}{x_0 \cdot x_0} = -\dfrac{1}{x_0^2}, which agrees with the quotient rule (1x)′=−1x2\left(\dfrac{1}{x}\right)' = -\dfrac{1}{x^2}.

Answer

f′(x0)=lim⁡Δx→01x0+Δx−1x0Δx=−1x02.f'(x_0) = \lim_{\Delta x\to 0} \frac{\frac{1}{x_0+\Delta x}-\frac{1}{x_0}}{\Delta x} = -\frac{1}{x_0^2}.

Exercise 2

Find the equation of the tangent line to the curve y=x2y = x^2 at the point (2,4)(2, 4).

tangent linepoint-slope formderivative at a point

Approach

The slope of a tangent line is the derivative of the function at the point of tangency. The plan is to differentiate y=x2y = x^2, evaluate the derivative at x=2x = 2 to obtain the slope, and then write the line through (2,4)(2, 4) in point-slope form.

Steps

  1. Differentiate f(x)=x2f(x) = x^2: By the power rule, f′(x)=2xf'(x) = 2x.
  2. Evaluate the slope at the point of tangency: k=f′(2)=2×2=4k = f'(2) = 2 \times 2 = 4.
  3. Write the tangent line in point-slope form y−y0=k(x−x0)y - y_0 = k(x - x_0), with (x0,y0)=(2,4)(x_0, y_0) = (2, 4) and k=4k = 4: y−4=4(x−2)y - 4 = 4(x - 2) y−4=4x−8y - 4 = 4x - 8 y=4x−4y = 4x - 4

Answer

The tangent line at (2,4)(2, 4) is y=4x−4y = 4x - 4.

Exercise 3

Is f(x)=∣x∣f(x)=|x| differentiable at 00?

one-sided derivativesdifferentiabilitycontinuity

Approach

This exercise separates two ideas that are easy to confuse: continuity at a point and differentiability at a point. The plan is to check the limit of ∣x∣|x| against f(0)f(0), then compute the left and right derivatives separately, because a corner makes the two one-sided derivatives disagree.

Steps

  1. Continuity: lim⁡x→0∣x∣=0\lim_{x \to 0} |x| = 0 and f(0)=∣0∣=0f(0) = |0| = 0, so the limit exists and equals the function value; ff is continuous at 00.
  2. Left derivative: f−′(0)=lim⁡h→0−∣h∣h=lim⁡h→0−−hh=−1f'_-(0) = \lim_{h \to 0^-} \dfrac{|h|}{h} = \lim_{h \to 0^-} \dfrac{-h}{h} = -1.
  3. Right derivative: f+′(0)=lim⁡h→0+∣h∣h=lim⁡h→0+hh=1f'_+(0) = \lim_{h \to 0^+} \dfrac{|h|}{h} = \lim_{h \to 0^+} \dfrac{h}{h} = 1.
  4. The two one-sided derivatives differ, so the derivative at 00 does not exist; the graph has a corner (cusp) there.
  5. Conclusion: ff is continuous but not differentiable at 00 — differentiability implies continuity, but the converse fails.

Answer

f−′(0)=−1, f+′(0)=1f'_-(0) = -1,\ f'_+(0)=1 ⇒ not differentiable at 00.


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
Δx\Delta xMathematical symbolDelta xA finite increment of the independent variable
dxdxMathematical symbol“dee x”An infinitesimal increment of the independent variable
dydyMathematical symbol“dee y”An infinitesimal increment of the dependent variable

Found an issue with this content?

Tell us what could be improved.