Skip to main content

Watch on YouTube

Derivatives and Local Linear Approximation

  • Situation: The parabola x² near (1,1) and its tangent
  • Learning targets: Coordinates · Difference quotient · Derivative

Core concepts​

  • Coordinates: dimensionless real x horizontally, y vertically; fixed zoom center (1,1), equal enlargement factors on labeled axes
Equal-axis zoom around the parabola and tangent at (1,1)
Figure 1. Equal-axis zoom around the parabola and tangent at (1,1)
  • Difference quotient: [f(a+h)−f(a)]/h for h≠0; secant slope, finite-increment change rate

  • Derivative: finite two-sided limit at an interior point; f′(a) as one slope, f′ as the derivative function; no zero division

Two-sided secant slopes approaching two
Figure 2. Two-sided secant slopes approaching two
  • Tangent: L(x)=f(a)+f′(a)(x−a); line through the base point with limiting slope, not necessarily only one graph intersection

  • Linear estimate: predicted change f′(a)h; at a=1 for x², L(x)=2x−1 and predicted change 2h

  • Error: exact value minus estimate; this quadratic giving h²≥0, absolute error h² and normalized error |h|→0

Linear estimate 1.2 and exact value 1.21
Figure 3. Linear estimate 1.2 and exact value 1.21
  • Scope: h halved → error quartered only for this quadratic; differentiability alone requiring error negligible relative to |h|

  • Corner: |x| continuous at zero but left quotient −1 and right quotient +1; no derivative; differentiability implying continuity, not the converse

Continuous corner with unequal one-sided slopes
Figure 4. Continuous corner with unequal one-sided slopes

Worked example​

  • Negative increment: h=−0.02 → L(0.98)=0.96, exact 0.98²=0.9604, error 0.0004; h=0.1 → estimate 1.2, exact 1.21, error 0.01
(1+h)2−1h=2+h(h≠0),f′(1)=lim⁡h→0(2+h)=2\frac{(1+h)^2-1}{h}=2+h\quad(h\ne0),\qquad f'(1)=\lim_{h\to0}(2+h)=2 f′(a)=lim⁡h→0f(a+h)−f(a)h,L(x)=f(a)+f′(a)(x−a)f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}h,\qquad L(x)=f(a)+f'(a)(x-a) f(1+h)−L(1+h)=(1+2h+h2)−(1+2h)=h2f(1+h)-L(1+h)=(1+2h+h^2)-(1+2h)=h^2

Practice​

  • Preparation → prediction → calculation: Paper or calculator; predicted error under halving → separate estimate, exact value and error calculations → normalized-error comparison; table retained for the next approximation chapter
  • Record: Assumed inputs and calculated results; prediction before calculation; optional graph output recorded separately from physical measurements
CasePredictionCalculation and check
h=0.2h=0.2
h=0.1h=0.1
h=0.05h=0.05
  • Optional extension: First-order form: f(a+h)=f(a)+f′(a)h+r(h), |r(h)|/|h|→0; |x|³ᐟ² at zero as differentiable nonquadratic-error example

Exercises​

  1. Problem: a=1, h=0.2,−0.2: (f(1+h)−f(1))/ha=1,\ h=0.2,-0.2:\ (f(1+h)-f(1))/h
  2. Problem: Tangent estimate of 1.02², exact value and error
  3. Problem: f(x)=x2, a=2: f′(2), L(x)f(x)=x^2,\ a=2:\ f'(2),\ L(x)
  4. Problem: Continuity and derivative of |x| at zero
  5. Problem: Halved h: error ratio and general validity
Answers and worked solutions
  1. Answer: 2.2,1.8;lim⁡h→0(2+h)=22.2,1.8;\quad\lim_{h\to0}(2+h)=2
  2. Answer: L=1+2(0.02)=1.04;f=1.0404;∣f−L∣=0.0004L=1+2(0.02)=1.04;\quad f=1.0404;\quad |f-L|=0.0004
  3. Answer: [(2+h)2−4]/h=4+h→4;L(x)=4+4(x−2)=4x−4[(2+h)^2-4]/h=4+h\to4;\quad L(x)=4+4(x-2)=4x-4
  4. Answer: Continuous; derivative absent due to quotient limits −1 and +1
  5. Answer: 1/4 for x², from (h/2)²=h²/4; no universal ratio for all differentiable functions
  • Practice check: L=1.4,1.2,1.1;f=1.44,1.21,1.1025;∣f−L∣=0.04,0.01,0.0025L=1.4,1.2,1.1;\quad f=1.44,1.21,1.1025;\quad |f-L|=0.04,0.01,0.0025
Further concepts
  • Derivative rules: constant derivative 0; mx+b derivative m; x² derivative 2x from quotient 2a+h; output units divided by input units

  • Boundary and vertical tangent: endpoint derivatives explicitly one-sided; ∛x at zero with unbounded quotient, hence no finite derivative

  • Centered quotient: [f(a+h)−f(a−h)]/(2h); exact derivative for a quadratic in exact arithmetic, but zero for |x| at zero despite no derivative

  • Numerical caution: finite h as an estimate; subtraction of nearly equal floating-point values as a possible loss of accuracy

Connections​