🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Core Definition

The derivative of a function f(x)f(x) represents the exact instantaneous rate of change of f(x)f(x) with respect to xx. Geometrically, it is the slope of the tangent line to the graph y=f(x)y = f(x) at any given point. Formally, it is defined by the limit of the difference quotient:

fβ€²(x)=lim⁑hβ†’0f(x+h)βˆ’f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}
provided this limit exists. If the limit exists at x=ax = a, we say f(x)f(x) is differentiable at aa.

Concept Explanation

From Average Rates to Instantaneous Rates

In algebra, the rate of change between two distinct points (a,f(a))(a, f(a)) and (a+h,f(a+h))(a+h, f(a+h)) is given by the slope of the secant line:

AverageΒ RateΒ ofΒ Change=Ξ”yΞ”x=f(a+h)βˆ’f(a)h\text{Average Rate of Change} = \frac{\Delta y}{\Delta x} = \frac{f(a+h) - f(a)}{h}

In calculus, we examine what occurs as the interval distance hh shrinks toward zero (h→0h \to 0). As the second point slides along the curve toward the first, the secant line rotates and collapses into the tangent line at x=ax = a. The limiting slope of this secant line is the instantaneous rate of change—the derivative f′(a)f'(a):

fβ€²(a)=lim⁑hβ†’0f(a+h)βˆ’f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}

The Derivative as a Function ("Slope Machine")

When evaluated using the independent variable xx rather than a fixed scalar aa, the limit generates a new function fβ€²(x)f'(x). This function acts as a universal "slope machine": input any xx-value in the domain, and fβ€²(x)f'(x) outputs the precise tangent slope of the original curve at that coordinate.

Common Notations

  • Leibniz Notation: dfdx\frac{df}{dx} or dydx\frac{dy}{dx} (emphasizes the limit of finite differences Ξ”yΞ”x\frac{\Delta y}{\Delta x}).
  • Lagrange (Prime) Notation: fβ€²(x)f'(x) or yβ€²y' (emphasizes functional transformation).
  • Euler / Operator Notation: Dx[f(x)]D_x[f(x)] or ddx[f(x)]\frac{d}{dx}[f(x)].

Engineering Applications

Derivatives provide the fundamental language for dynamic physical systems across all engineering disciplines:

  • Aerospace & Mechanical Engineering: Velocity is the instantaneous time rate of change of position (v(t)=dsdtv(t) = \frac{ds}{dt}), acceleration is the rate of change of velocity (a(t)=dvdta(t) = \frac{dv}{dt}), and mass flow rate tracks propellant combustion (mΛ™=dmdt\dot{m} = \frac{dm}{dt}).
  • Electrical Engineering: The current through a circuit is the rate of charge transfer (i(t)=dqdti(t) = \frac{dq}{dt}), and the voltage across an inductor depends on the time derivative of current (VL(t)=LdidtV_L(t) = L \frac{di}{dt}).
  • Civil & Structural Engineering: The slope of an elastic beam deflection curve y(x)y(x) is given by dydx\frac{dy}{dx}, while shear force V(x)V(x) is the spatial derivative of bending moment (V(x)=dMdxV(x) = \frac{dM}{dx}).

Example Problems

Example 1: Polynomial Derivative via Limit Definition

Use the limit definition of the derivative to compute fβ€²(x)f'(x) for f(x)=x2βˆ’4xf(x) = x^2 - 4x.

Solution
  1. Set up the difference quotient:
    fβ€²(x)=lim⁑hβ†’0[(x+h)2βˆ’4(x+h)]βˆ’(x2βˆ’4x)hf'(x) = \lim_{h \to 0} \frac{[(x+h)^2 - 4(x+h)] - (x^2 - 4x)}{h}
  2. Expand the numerator:
    fβ€²(x)=lim⁑hβ†’0(x2+2xh+h2βˆ’4xβˆ’4h)βˆ’x2+4xhf'(x) = \lim_{h \to 0} \frac{(x^2 + 2xh + h^2 - 4x - 4h) - x^2 + 4x}{h}
  3. Cancel opposing non-hh terms:
    fβ€²(x)=lim⁑hβ†’02xh+h2βˆ’4hhf'(x) = \lim_{h \to 0} \frac{2xh + h^2 - 4h}{h}
  4. Factor out and cancel hh:
    fβ€²(x)=lim⁑hβ†’0h(2x+hβˆ’4)h=lim⁑hβ†’0(2x+hβˆ’4)f'(x) = \lim_{h \to 0} \frac{h(2x + h - 4)}{h} = \lim_{h \to 0} (2x + h - 4)
  5. Evaluate the limit by direct substitution (h=0h = 0):
    fβ€²(x)=2xβˆ’4f'(x) = 2x - 4

Example 2: Tangent Line Slope Evaluation

For f(x)=x2βˆ’4xf(x) = x^2 - 4x, find the instantaneous slope and the tangent line equation at x=3x = 3.

Solution
  1. Evaluate the point of tangency:
    y1=f(3)=(3)2βˆ’4(3)=9βˆ’12=βˆ’3β€…β€ŠβŸΉβ€…β€Š(3,βˆ’3)y_1 = f(3) = (3)^2 - 4(3) = 9 - 12 = -3 \implies (3, -3)
  2. Evaluate the slope using the derivative function:
    m=fβ€²(3)=2(3)βˆ’4=6βˆ’4=2m = f'(3) = 2(3) - 4 = 6 - 4 = 2
  3. Construct the tangent line using point-slope form:
    yβˆ’y1=m(xβˆ’x1)β€…β€ŠβŸΉβ€…β€Šyβˆ’(βˆ’3)=2(xβˆ’3)y - y_1 = m(x - x_1) \implies y - (-3) = 2(x - 3)
    y+3=2xβˆ’6β€…β€ŠβŸΉβ€…β€Šy=2xβˆ’9y + 3 = 2x - 6 \implies y = 2x - 9

Connections & References