🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Home / Digital Garden / Difference Quotient

Difference Quotient

Core Definition

The difference quotient is the algebraic expression representing the average rate of change or secant slope of a function f(x)f(x) over an increment hh:

DQ=f(x+h)−f(x)h\text{DQ} = \frac{f(x+h) - f(x)}{h}
Taking the limit as h→0h \to 0 produces the instantaneous rate of change or derivative f′(x)f'(x):
f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

Concept Explanation

Resolving the 00\frac{0}{0} Indeterminate Form

Evaluating the difference quotient limit directly by substituting h=0h = 0 always results in the indeterminate form 00\frac{0}{0}. This occurs because the distance between the two secant points shrinks to zero.

To evaluate the limit, we must algebraically manipulate the numerator until every non-hh term cancels out, allowing us to factor out hh and cancel it with the denominator.

The Three Foundational Algebraic Paths

Depending on the function type, we use one of three core algebraic techniques:

  1. Polynomial Functions   ⟹  \implies Binomial Expansion: Replace xx with (x+h)(x+h) and expand using binomial expansions like (x+h)2=x2+2xh+h2(x+h)^2 = x^2 + 2xh + h^2 or (x+h)3=x3+3x2h+3xh2+h3(x+h)^3 = x^3 + 3x^2h + 3xh^2 + h^3. Opposing non-hh terms cancel out.
  2. Rational Functions   ⟹  \implies Common Denominators: Substituting (x+h)(x+h) creates a complex fraction Ax+h−Axh\frac{\frac{A}{x+h} - \frac{A}{x}}{h}. Multiply the terms in the numerator by a common denominator x(x+h)x(x+h) and simplify.
  3. Radical Functions   ⟹  \implies Conjugate Rationalization: Expressions involving square roots x+h−xh\frac{\sqrt{x+h} - \sqrt{x}}{h} cannot be factored directly. Multiply numerator and denominator by the algebraic conjugate (x+h+x)(\sqrt{x+h} + \sqrt{x}) using the difference of squares identity (a−b)(a+b)=a2−b2(a-b)(a+b) = a^2 - b^2.

Engineering Applications

  • Numerical Differentiation & Sensor Telemetry: Real-time embedded microcontrollers in autonomous drones and robotics estimate instantaneous velocities from discrete sensor pings using finite difference quotients (s(t+Δt)−s(t)Δt\frac{s(t+\Delta t) - s(t)}{\Delta t}).
  • Computational Fluid Dynamics (CFD): Finite difference methods replace differential equations with difference quotients across spatial mesh grids to simulate airflow over aircraft wings and thermal cooling in data centers.

Example Problems

Example 1: Rational Difference Quotient

Compute the derivative g′(x)g'(x) for g(x)=2x+1g(x) = \frac{2}{x+1} using the difference quotient limit.

Solution
  1. Set up the difference quotient:
    g′(x)=lim⁡h→02(x+h)+1−2x+1hg'(x) = \lim_{h \to 0} \frac{\frac{2}{(x+h)+1} - \frac{2}{x+1}}{h}
  2. Find a common denominator (x+h+1)(x+1)(x+h+1)(x+1) for the numerator:
    g′(x)=lim⁡h→02(x+1)−2(x+h+1)(x+h+1)(x+1)hg'(x) = \lim_{h \to 0} \frac{\frac{2(x+1) - 2(x+h+1)}{(x+h+1)(x+1)}}{h}
  3. Expand and simplify the numerator:
    g′(x)=lim⁡h→02x+2−2x−2h−2h(x+h+1)(x+1)=lim⁡h→0−2hh(x+h+1)(x+1)g'(x) = \lim_{h \to 0} \frac{2x + 2 - 2x - 2h - 2}{h(x+h+1)(x+1)} = \lim_{h \to 0} \frac{-2h}{h(x+h+1)(x+1)}
  4. Cancel hh and evaluate by direct substitution (h=0h = 0):
    g′(x)=lim⁡h→0−2(x+h+1)(x+1)=−2(x+1)2g'(x) = \lim_{h \to 0} \frac{-2}{(x+h+1)(x+1)} = \frac{-2}{(x+1)^2}

Example 2: Radical Difference Quotient

Compute f′(x)f'(x) for f(x)=3xf(x) = \sqrt{3x} using the limit definition.

Solution
  1. Set up the difference quotient:
    f′(x)=lim⁡h→03(x+h)−3xh=lim⁡h→03x+3h−3xhf'(x) = \lim_{h \to 0} \frac{\sqrt{3(x+h)} - \sqrt{3x}}{h} = \lim_{h \to 0} \frac{\sqrt{3x+3h} - \sqrt{3x}}{h}
  2. Multiply numerator and denominator by the conjugate (3x+3h+3x)(\sqrt{3x+3h} + \sqrt{3x}):
    f′(x)=lim⁡h→0(3x+3h−3x)(3x+3h+3x)h(3x+3h+3x)f'(x) = \lim_{h \to 0} \frac{(\sqrt{3x+3h} - \sqrt{3x})(\sqrt{3x+3h} + \sqrt{3x})}{h(\sqrt{3x+3h} + \sqrt{3x})}
  3. Simplify the numerator via (a−b)(a+b)=a2−b2(a-b)(a+b) = a^2 - b^2:
    f′(x)=lim⁡h→0(3x+3h)−(3x)h(3x+3h+3x)=lim⁡h→03hh(3x+3h+3x)f'(x) = \lim_{h \to 0} \frac{(3x+3h) - (3x)}{h(\sqrt{3x+3h} + \sqrt{3x})} = \lim_{h \to 0} \frac{3h}{h(\sqrt{3x+3h} + \sqrt{3x})}
  4. Cancel hh and evaluate as h→0h \to 0:
    f′(x)=33x+3x=323xf'(x) = \frac{3}{\sqrt{3x} + \sqrt{3x}} = \frac{3}{2\sqrt{3x}}

Connections & References