Math ClubMath Club
v1 · padrão canônico

Lesson 51 — Derivative: definition via limit

Derivative as the limit of the average rate of change. Tangent line. Differentiability implies continuity, but not vice-versa. Calculation by definition for elementary functions.

Used in: 2nd year of High School (16–17 years) · Equiv. Japanese Math II (微分) · Equiv. German Klasse 11 (Analysis)

f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}
Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous Definition and Theorems

Definition of the Derivative

"We say that a function ff is differentiable at x=ax = a whenever f(a)f'(a) exists. […] The derivative measures the instantaneous rate of change of the function, as well as the slope of the tangent line to the function at the given point." — Boelkins, Active Calculus §1.3

"The derivative of a function f(x)f(x) at a point aa in its domain, if it exists, is f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0}\frac{f(a+h)-f(a)}{h}." — OpenStax Calculus Vol. 1, §3.1

Equivalent Notations

f(x)  =  dfdx  =  dydx  =  Df(x)  =  f˙(x)f'(x) \;=\; \frac{df}{dx} \;=\; \frac{dy}{dx} \;=\; Df(x) \;=\; \dot{f}(x)
what this means · All the notations below represent the same object — the derivative of f. Leibniz (dy/dx), Lagrange (f'), Newton (f with dot) and the operator D are the most commonly used.

The expression dfdxx=a\frac{df}{dx}\Big|_{x=a} denotes the derivative evaluated at point aa.

From Secant to Tangent — Geometry of the Limit

xyy = f(x)(a, f(a))(a+h, f(a+h))secanttangent (h→0)hf(a+h)−f(a)

The secant line (orange) passes through points * (a, f(a)) * and * (a+h, f(a+h)) *. As * h → 0 *, the secant rotates until it coincides with the tangent line (gold). The derivative is the slope of this limit.

Tangent Line and Normal Line

Given ff is differentiable at aa:

  • Tangent line at (a,f(a))(a, f(a)): yf(a)=f(a)(xa)\quad y - f(a) = f'(a)(x - a)
  • Normal line at (a,f(a))(a, f(a)) (perpendicular to the tangent, if f(a)0f'(a) \neq 0): yf(a)=1f(a)(xa)\quad y - f(a) = -\dfrac{1}{f'(a)}(x - a)

Fundamental Theorem of Differentiability

"If ff is differentiable at aa, then ff is continuous at aa. […] The converse is not true, and a function can be continuous but fail to be differentiable at a point." — OpenStax Calculus Vol. 1, §3.2

Points of Non-Differentiability

Fundamental Derivatives via Definition

Function f(x)f(x)f(x)f'(x)
cc (constant)00
xx11
x2x^22x2x
x3x^33x23x^2
xnx^n (nZn \in \mathbb{Z})nxn1n x^{n-1}
1x\dfrac{1}{x}1x2-\dfrac{1}{x^2}
x\sqrt{x}12x\dfrac{1}{2\sqrt{x}}

Solved Examples

Exercise list

40 exercises · 10 with worked solution (25%)

Application 20Understanding 10Modeling 7Challenge 2Proof 1
  1. Ex. 51.1Application

    Calculate f(3)f'(3) for f(x)=x2f(x) = x^2 using the definition of the derivative. (Ans: 66.)

  2. Ex. 51.2Application

    Calculate f(a)f'(a) for f(x)=x3f(x) = x^3 using the definition. (Ans: 3a23a^2.)

  3. Ex. 51.3Application

    Calculate f(a)f'(a) for f(x)=cf(x) = c (real constant) by definition. (Ans: 00.)

  4. Ex. 51.4ApplicationAnswer key

    Calculate f(a)f'(a) for f(x)=mx+bf(x) = mx + b (affine function) by definition. (Ans: mm.)

  5. Ex. 51.5Application

    Calculate f(2)f'(2) for f(x)=2x2+3xf(x) = 2x^2 + 3x via definition. (Ans: 1111.)

  6. Ex. 51.6Application

    Calculate f(1)f'(1) for f(x)=2x25x+1f(x) = 2x^2 - 5x + 1 via definition. (Ans: 1-1.)

  7. Ex. 51.7Application

    Calculate the derivative function f(x)f'(x) for f(x)=2x2x+3f(x) = 2x^2 - x + 3 via definition. (Ans: 4x14x - 1.)

  8. Ex. 51.8Application

    Use the definition to calculate f(a)f'(a) for f(x)=x4f(x) = x^4. (Ans: 4a34a^3.)

  9. Ex. 51.9ApplicationAnswer key

    Calculate f(0)f'(0) for f(x)=x2xf(x) = x^2 - x via definition. (Ans: 1-1.)

  10. Ex. 51.10ApplicationAnswer key

    Calculate f(a)f'(a) for f(x)=2x32xf(x) = 2x^3 - 2x via definition. (Ans: 6a226a^2 - 2.)

  11. Ex. 51.11Application

    Calculate f(2)f'(2) for f(x)=1/xf(x) = 1/x via definition. (Ans: 1/4-1/4.)

  12. Ex. 51.12ApplicationAnswer key

    Calculate f(4)f'(4) for f(x)=xf(x) = \sqrt{x} via definition. (Ans: 1/41/4.)

  13. Ex. 51.13ApplicationAnswer key

    Calculate f(1)f'(1) for f(x)=1/xf(x) = 1/x via definition and write the equation of the tangent line at x=1x = 1. (Ans: f(1)=1f'(1) = -1; tangent y=x+2y = -x + 2.)

  14. Ex. 51.14Application

    Determine the equation of the tangent line to y=x2y = x^2 at the point x=2x = 2.

  15. Ex. 51.15ApplicationAnswer key

    Determine the equation of the tangent line to y=1/xy = 1/x at the point x=1x = 1.

  16. Ex. 51.16Application

    For f(x)=x24xf(x) = x^2 - 4x, at what value of xx is the tangent line horizontal? Also determine the point on the graph. (Ans: x=2x = 2; point (2,4)(2, -4).)

  17. Ex. 51.17Application

    Calculate f(9)f'(9) for f(x)=xf(x) = \sqrt{x} via definition. (Ans: 1/61/6.)

  18. Ex. 51.18Application

    Calculate f(a)f'(a) for f(x)=1/x2f(x) = 1/x^2 via definition. (Ans: 2/a3-2/a^3.)

  19. Ex. 51.19Application

    Equation of the tangent line to y=x3y = x^3 at x=2x = 2.

  20. Ex. 51.20ApplicationAnswer key

    Determine the equation of the normal line to y=x2y = x^2 at the point x=1x = 1. (Ans: y=12x+32y = -\frac{1}{2}x + \frac{3}{2}.)

  21. Ex. 51.21Understanding

    Is the function f(x)=xf(x) = |x| differentiable at x=0x = 0? Justify by calculating the one-sided derivatives.

  22. Ex. 51.22Understanding

    Is the function f(x)=xxf(x) = x|x| differentiable at x=0x = 0? (Ans: yes, f(0)=0f'(0) = 0.)

  23. Ex. 51.23Understanding

    Analyze f(x)=x3f(x) = \sqrt[3]{x} at x=0x = 0. Does the limit of the incremental quotient exist? (Ans: ++\infty — vertical tangent.)

  24. Ex. 51.24UnderstandingAnswer key

    Let f(x)={x2x13x2x>1f(x) = \begin{cases} x^2 & x \leq 1 \\ 3x - 2 & x > 1 \end{cases}. Is ff differentiable at x=1x = 1? Calculate the one-sided derivatives. (Ans: not differentiable; f(1)=23=f+(1)f'_-(1) = 2 \neq 3 = f'_+(1).)

  25. Ex. 51.25Understanding

    Let f(x)=x2sin(1/x)f(x) = x^2\sin(1/x) for x0x \neq 0 and f(0)=0f(0) = 0. Show that f(0)=0f'(0) = 0. (Ans: use the Squeeze Theorem — hsin(1/h)h0|h\sin(1/h)| \leq |h| \to 0.)

  26. Ex. 51.26Understanding

    Let f(x)=xsin(1/x)f(x) = x\sin(1/x) for x0x \neq 0 and f(0)=0f(0) = 0. Is the function differentiable at x=0x = 0?

  27. Ex. 51.27Understanding

    Let f(x)={x2x0x2x<0f(x) = \begin{cases} x^2 & x \geq 0 \\ -x^2 & x < 0 \end{cases}. Calculate f(0)f'(0) using one-sided derivatives. (Ans: f(0)=0f'(0) = 0.)

  28. Ex. 51.28Understanding

    Interpret geometrically: what do f(a)>0f'(a) > 0, f(a)<0f'(a) < 0, and f(a)=0f'(a) = 0 mean?

  29. Ex. 51.29Understanding

    What is the correct relationship between differentiability and continuity?

  30. Ex. 51.30Understanding

    Explain, with a numerical example, why the central difference f(a+h)f(ah)2h\frac{f(a+h)-f(a-h)}{2h} is numerically more accurate than the forward difference f(a+h)f(a)h\frac{f(a+h)-f(a)}{h}.

  31. Ex. 51.31ModelingAnswer key

    An object moves with position s(t)=2t2s(t) = 2t^2 meters. What is its instantaneous velocity at t=2t = 2 s?

  32. Ex. 51.32Modeling

    Position s(t)=t2+5ts(t) = t^2 + 5t meters. Calculate the instantaneous velocity at t=3t = 3 s by the definition of the derivative. (Ans: 1111 m/s.)

  33. Ex. 51.33Modeling

    Cost C(q)=q2+30q+500C(q) = q^2 + 30q + 500 R.Whatisthemarginalcostat. What is the marginal cost at q = 50$ units?

  34. Ex. 51.34Modeling

    Population P(t)=100+5t2P(t) = 100 + 5t^2 individuals. Calculate the growth rate at t=4t = 4 years by the definition of the derivative. (Ans: 4040 individuals/year.)

  35. Ex. 51.35Modeling

    In machine learning, the loss function is L(θ)=(θ3)2L(\theta) = (\theta - 3)^2. Calculate L(θ)L'(\theta) via definition and find the θ\theta that minimizes LL. (Ans: L(θ)=2θ6L'(\theta) = 2\theta - 6; minimum at θ=3\theta = 3.)

  36. Ex. 51.36Modeling

    Electric charge q(t)=t2+2tq(t) = t^2 + 2t coulombs. The current i(t)=q(t)i(t) = q'(t). Calculate i(2)i(2).

  37. Ex. 51.37Modeling

    Volume of a sphere V(r)=43πr3V(r) = \frac{4}{3}\pi r^3. Calculate the rate of change of volume with respect to the radius at r=2r = 2 cm. (Ans: 16π16\pi cm³/cm. Bonus: relate the result to the surface area.)

  38. Ex. 51.38Challenge

    Determine kk such that f(x)=x2+kxf(x) = x^2 + kx has a horizontal tangent line at the point x=3/2x = -3/2. (Ans: k=3k = 3.)

  39. Ex. 51.39ChallengeAnswer key

    Prove that if ff is an even function and differentiable at x=0x = 0, then f(0)=0f'(0) = 0. (Hint: use the definition of one-sided derivatives and the property f(x)=f(x)f(-x) = f(x).)

  40. Ex. 51.40Proof

    Let h(x)=f(x)+g(x)h(x) = f(x) + g(x), with ff and gg differentiable at aa. Use the definition of the derivative to demonstrate that h(a)=f(a)+g(a)h'(a) = f'(a) + g'(a) (sum rule).

Sources

  • Active Calculus 2.0 — Boelkins · 2024 · CC-BY-SA 4.0. Chapters §1.1 (instantaneous velocity), §1.3 (derivative at a point), §1.4 (derivative as a function), §1.7 (limits, continuity, and differentiability). Primary source. Guided activities on secant→tangent, graphical interpretation, and absolute value cusps.
  • Calculus, Volume 1 — OpenStax · Herman, Strang et al. · CC-BY-NC-SA 4.0. Chapters §3.1 (Defining the Derivative), §3.2 (The Derivative as a Function). Extensive exercises with calculation by definition and applications in physics, economics, and biology.
  • APEX Calculus — Hartman et al. · 5th ed. · CC-BY-NC 4.0. Chapter §2.1 (Instantaneous Rates of Change). Formal treatment with examples of tangent and normal lines, table of fundamental derivatives via definition.

Updated on 2024-05-15 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.