ACEpath
Select Subject
Select Unit

Difference Quotient

Average rate of change over [a, b]: f(b)f(a)ba\frac{f(b) - f(a)}{b - a}

Instantaneous Rate As Limit

Instantaneous rate of change at x = a: f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}

Alternative form: f(a)=limxaf(x)f(a)xaf'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}

Derivative Definition f(x)f'(x)

Derivative Definition f'(x)

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

Notation:

  • f'(x): Lagrange notation
  • y': Newton notation
  • dydx\frac{dy}{dx}: Leibniz notation
  • y˙\dot{y}: Newton's dot notation (for time derivatives)

Symmetric Difference Quotient

Numerical approximation: f(a)f(a+h)f(ah)2hf'(a) \approx \frac{f(a+h) - f(a-h)}{2h}

More accurate than one-sided difference quotient.

Estimation From Data

Given table of values, use average rate of change over smallest interval:

xf(x)
1.02.5
1.12.7
1.23.0

f'(1.1) ≈ (3.0 - 2.5) / (1.2 - 1.0) = 0.5 / 0.2 = 2.5

Corner/cusp/discontinuity

Non-differentiable points:

  • Corner: Different left/right derivatives
  • Cusp: Derivatives approach ±∞ from each side
  • Discontinuity: Jump, removable, or infinite
  • Vertical tangent: Derivative approaches infinity

Example: f(x) = |x| has a corner at x = 0 (not differentiable there, but continuous).

Power Rule Formula

ddx(xn)=nxn1\frac{d}{dx}(x^n) = nx^{n-1}

Derivative Of xnx^n

Derivative of x^n

Works for all real numbers n:

  • ddx(x5)=5x4\frac{d}{dx}(x^5) = 5x^4
  • ddx(x3)=3x4=3x4\frac{d}{dx}(x^{-3}) = -3x^{-4} = -\frac{3}{x^4}
  • ddx(x1/2)=12x1/2=12x\frac{d}{dx}(x^{1/2}) = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}
  • ddx(1)=0\frac{d}{dx}(1) = 0 (since 1 = x0)

Basic Rules

  • Constant: ddx(c)=0\frac{d}{dx}(c) = 0
  • Constant multiple: ddx[cf(x)]=cf(x)\frac{d}{dx}[cf(x)] = cf'(x)
  • Sum: ddx[f(x)+g(x)]=f(x)+g(x)\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)
  • Difference: ddx[f(x)g(x)]=f(x)g(x)\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)

Linearity Of Derivatives

Derivative is a linear operator: ddx[af(x)+bg(x)]=af(x)+bg(x)\frac{d}{dx}[af(x) + bg(x)] = af'(x) + bg'(x)

Derivatives Of Trigonometric And Exponential/log Functions

ddx(sinx)=cosx\frac{d}{dx}(\sin x) = \cos x ddx(cosx)=sinx\frac{d}{dx}(\cos x) = -\sin x ddx(ex)=ex\frac{d}{dx}(e^x) = e^x ddx(lnx)=1x,x>0\frac{d}{dx}(\ln x) = \frac{1}{x}, \quad x > 0

Special limits (used to derive these): limx0sinxx=1,limx01cosxx=0\lim_{x \to 0}\frac{\sin x}{x} = 1, \quad \lim_{x \to 0}\frac{1 - \cos x}{x} = 0

Product Rule Formula

ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)

Mnemonic: "first d-second plus second d-first"

Example: ddx(x2sinx)=2xsinx+x2cosx\frac{d}{dx}(x^2 \sin x) = 2x \cdot \sin x + x^2 \cdot \cos x

Quotient Rule Formula

ddx[f(x)g(x)]=f(x)g(x)f(x)g(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}

Mnemonic: "low d-high minus high d-low, over the square of what's below"

Example: ddx(xx+1)=1(x+1)x1(x+1)2=1(x+1)2\frac{d}{dx}\left(\frac{x}{x+1}\right) = \frac{1 \cdot (x+1) - x \cdot 1}{(x+1)^2} = \frac{1}{(x+1)^2}

Derivatives Of tanx\tan x, cotx\cot x, secx\sec x, cscx\csc x

Derivatives of tan x, cot x, sec x, csc x

ddx(tanx)=sec2x\frac{d}{dx}(\tan x) = \sec^2 x ddx(cotx)=csc2x\frac{d}{dx}(\cot x) = -\csc^2 x ddx(secx)=secxtanx\frac{d}{dx}(\sec x) = \sec x \tan x ddx(cscx)=cscxcotx\frac{d}{dx}(\csc x) = -\csc x \cot x

Derived using quotient rule on sin/cos.