The Derivative and the Tangent Line Problem Study Guide

Course Objectives

By the end of this section, students will be able to:

  1. Explain the connection between the secant line and the tangent line.

  2. State the limit definition of the derivative in both the hh-form and the xx-form.

  3. Compute derivatives using the limit (difference quotient) process.

  4. Find the equation of the tangent line to a curve at a given point.

  5. Identify all derivative notations: f′(x)f'(x), dydx\frac{dy}{dx}, y′y', ddx[f(x)]\frac{d}{dx}[f(x)], Dx[y]D_x[y].

  6. Determine where a function is differentiable and where it is not.

  7. State and apply the theorem: differentiability implies continuity.

  8. Recognize conditions under which a function fails to be differentiable.

From Secant Lines to Tangent Lines

The central geometric idea of differential calculus is that as a second point on a curve approaches a fixed first point, the secant line passing through both points approaches the tangent line at the fixed point.

Definition of the Slope of the Tangent Line

The slope of the tangent line to the graph of ff at the point (c,f(c))(c, f(c)) is defined as:

m=lim⁡x→cf(x)−f(c)x−cm = \lim_{x \rightarrow c} \frac{f(x) - f(c)}{x - c}

provided this limit exists. This value is also referred to as the slope of the curve at x=cx = c.

An equivalent form is derived by letting x=c+hx = c + h, which implies h=x−c→0h = x - c \rightarrow 0 as x→cx \rightarrow c:

m=lim⁡h→0f(c+h)−f(c)hm = \lim_{h \rightarrow 0} \frac{f(c + h) - f(c)}{h}

The Difference Quotient

The expression:

f(c+h)−f(c)h\frac{f(c + h) - f(c)}{h}

is called the difference quotient.

The difference quotient f(c+h)−f(c)h\frac{f(c + h) - f(c)}{h} gives the slope of the secant line passing through (c,f(c))(c, f(c)) and (c+h,f(c+h))(c + h, f(c + h)). Taking the limit as h→0h \rightarrow 0 yields the slope of the tangent line at x=cx = c.

Example 1: Slope of the Tangent Line Using the Limit Definition

Find the slope of the tangent line to f(x)=x2f(x) = x^2 at the point (2,4)(2, 4).

Use the hh-form with c=2c = 2:

m=lim⁡h→0f(2+h)−f(2)hm = \lim_{h \rightarrow 0} \frac{f(2 + h) - f(2)}{h}

m=lim⁡h→0(2+h)2−4hm = \lim_{h \rightarrow 0} \frac{(2 + h)^2 - 4}{h}

m=lim⁡h→04+4h+h2−4hm = \lim_{h \rightarrow 0} \frac{4 + 4h + h^2 - 4}{h}

m=lim⁡h→04h+h2hm = \lim_{h \rightarrow 0} \frac{4h + h^2}{h}

m=lim⁡h→0h(4+h)hm = \lim_{h \rightarrow 0} \frac{h(4 + h)}{h}

m=lim⁡h→0(4+h)=4m = \lim_{h \rightarrow 0} (4 + h) = 4

The slope of the tangent line at (2,4)(2, 4) is m=4m = 4.

Example 2: Equation of the Tangent Line

Find the equation of the tangent line to f(x)=x2−1f(x) = x^2 - 1 at the point (−1,0)(-1, 0).

Step 1 — Find the slope at c=−1c = -1:

m=lim⁡h→0f(−1+h)−f(−1)hm = \lim_{h \rightarrow 0} \frac{f(-1 + h) - f(-1)}{h}

m=lim⁡h→0[(−1+h)2−1]−[0]hm = \lim_{h \rightarrow 0} \frac{[(-1 + h)^2 - 1] - [0]}{h}

m=lim⁡h→01−2h+h2−1hm = \lim_{h \rightarrow 0} \frac{1 - 2h + h^2 - 1}{h}

m=lim⁡h→0−2h+h2hm = \lim_{h \rightarrow 0} \frac{-2h + h^2}{h}

m=lim⁡h→0(−2+h)=−2m = \lim_{h \rightarrow 0} (-2 + h) = -2

Step 2 — Write the tangent line equation using point-slope form y−y1=m(x−x1)y - y_1 = m(x - x_1):

y−0=−2(x−(−1))y - 0 = -2(x - (-1))

y=−2x−2y = -2x - 2

Tangent line equation: y=−2x−2y = -2x - 2.

Example 3: Tangent Line to a Square Root Function

Find the equation of the tangent line to f(x)=x+4f(x) = \sqrt{x + 4} at the point (5,3)(5, 3).

Step 1 — Slope at c=5c = 5:

m=lim⁡h→0(5+h)+4−9h=lim⁡h→0h+9−3hm = \lim_{h \rightarrow 0} \frac{\sqrt{(5 + h) + 4} - \sqrt{9}}{h} = \lim_{h \rightarrow 0} \frac{\sqrt{h + 9} - 3}{h}

Rationalize the numerator by multiplying by h+9+3h+9+3\frac{\sqrt{h + 9} + 3}{\sqrt{h + 9} + 3}:

m=lim⁡h→0(h+9)−9h(h+9+3)m = \lim_{h \rightarrow 0} \frac{(h + 9) - 9}{h(\sqrt{h + 9} + 3)}

m=lim⁡h→0hh(h+9+3)m = \lim_{h \rightarrow 0} \frac{h}{h(\sqrt{h + 9} + 3)}

m=lim⁡h→01h+9+3m = \lim_{h \rightarrow 0} \frac{1}{\sqrt{h + 9} + 3}

m=19+3=16m = \frac{1}{\sqrt{9} + 3} = \frac{1}{6}

Step 2 — Tangent line equation:

y−3=16(x−5)y - 3 = \frac{1}{6}(x - 5)

y=16x+136y = \frac{1}{6}x + \frac{13}{6}

Example 4: Tangent Line to a Rational Function

Find the equation of the tangent line to f(x)=1xf(x) = \frac{1}{x} at the point (1,1)(1, 1).

Slope at c=1c = 1:

m=lim⁡h→011+h−1hm = \lim_{h \rightarrow 0} \frac{\frac{1}{1 + h} - 1}{h}

m=lim⁡h→01−(1+h)1+hhm = \lim_{h \rightarrow 0} \frac{\frac{1 - (1 + h)}{1 + h}}{h}

m=lim⁡h→0−hh(1+h)m = \lim_{h \rightarrow 0} \frac{-h}{h(1 + h)}

m=lim⁡h→0−11+h=−1m = \lim_{h \rightarrow 0} \frac{-1}{1 + h} = -1

Tangent line equation:

y−1=−1(x−1)y - 1 = -1(x - 1)

y=−x+2y = -x + 2

The Derivative Function

Definition of the Derivative of a Function

The derivative of ff with respect to xx is the function f′f' defined by:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \rightarrow 0} \frac{f(x + h) - f(x)}{h}

provided the limit exists. The process of finding f′(x)f'(x) is called differentiation.

Alternative (two-point) form:

f′(c)=lim⁡x→cf(x)−f(c)x−cf'(c) = \lim_{x \rightarrow c} \frac{f(x) - f(c)}{x - c}

This form is particularly useful when identifying a given limit as a derivative evaluated at a point c$.\n\n## Derivative Notation\n\nAll of the following notations represent the derivative of y = f(x):|\n\n| Notation | Read as |\n| :--- | :--- |\n| f'(x)∣"| "fprimeofprime ofx" |\n| \frac{dy}{dx}∣"| "dybybydx" |\n| y'∣"| "y prime" |\n| \frac{d}{dx}[f(x)]∣"| "dbybydxofoff" |\n| D_x[y]∣"Derivativewithrespectto| "Derivative with respect toxofofy" |\n\nTo denote the derivative evaluated at a specific point x = c,write, writef'(c)oror\left. \frac{dy}{dx} \right|{x=c}.\n\n## Example 5: Finding the Derivative Function — Polynomial\n\nFind f'(x)forforf(x) = 3x^2 - 5x + 2 using the limit definition.\n\nf'(x) = \lim{h \rightarrow 0} \frac{f(x + h) - f(x)}{h}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{3(x + h)^2 - 5(x + h) + 2 - (3x^2 - 5x + 2)}{h}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{3x^2 + 6xh + 3h^2 - 5x - 5h + 2 - 3x^2 + 5x - 2}{h}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{6xh + 3h^2 - 5h}{h}\n\nf'(x) = \lim_{h \rightarrow 0} (6x + 3h - 5) = 6x - 5\n\n## Example 6: Finding the Derivative — Square Root Function\n\nFind f'(x)forforf(x) = \sqrt{x}.\n\nf'(x) = \lim_{h \rightarrow 0} \frac{\sqrt{x + h} - \sqrt{x}}{h}\n\nMultiply by the conjugate \frac{\sqrt{x + h} + \sqrt{x}}{\sqrt{x + h} + \sqrt{x}}:\n\nf'(x) = \lim_{h \rightarrow 0} \frac{(x + h) - x}{h(\sqrt{x + h} + \sqrt{x})}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{h}{h(\sqrt{x + h} + \sqrt{x})}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{1}{\sqrt{x + h} + \sqrt{x}}\n\nf'(x) = \frac{1}{\sqrt{x} + \sqrt{x}} = \frac{1}{2\sqrt{x}}\n\n## Example 7: Derivative of a Rational Function\n\nFind f'(x)forforf(x) = \frac{1}{x + 2}.\n\nf'(x) = \lim_{h \rightarrow 0} \frac{\frac{1}{x + h + 2} - \frac{1}{x + 2}}{h}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{\frac{(x + 2) - (x + h + 2)}{(x + h + 2)(x + 2)}}{h}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{-h}{h(x + h + 2)(x + 2)}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{-1}{(x + h + 2)(x + 2)}\n\nf'(x) = \frac{-1}{(x + 2)^2}\n\n## Example 8: Identifying a Limit as a Derivative\n\nEach limit represents f'(c)forsomefunctionfor some functionfandnumberand numberc.Identify. Identifyfandandc$.

(a) lim⁡h→0(5+h)3−125h\lim_{h \rightarrow 0} \frac{(5 + h)^3 - 125}{h}

(b) lim⁡h→0(−2+h)2+8h\lim_{h \rightarrow 0} \frac{(-2 + h)^2 + 8}{h}

(c) lim⁡x→3x−3x−3\lim_{x \rightarrow 3} \frac{\sqrt{x} - \sqrt{3}}{x - 3}

Solutions:

(a) Compare with lim⁡h→0f(c+h)−f(c)h\lim_{h \rightarrow 0} \frac{f(c + h) - f(c)}{h}. Here f(c)=125=53f(c) = 125 = 5^3 and c+h=5+h⇒c=5c + h = 5 + h \Rightarrow c = 5. So f(x)=x3f(x) = x^3, c=5c = 5, and f′(5)=3(5)2=75f'(5) = 3(5)^2 = 75.

(b) f(c)=(−2)2=4f(c) = (-2)^2 = 4; but the term in the limit shows 88. Note that (−2+h)2=4−4h+h2(-2 + h)^2 = 4 - 4h + h^2, so (−2+h)2+8=h2−4h+12(-2 + h)^2 + 8 = h^2 - 4h + 12. Rewrite: f(x)=x2+4f(x) = x^2 + 4, c=−2c = -2, which gives f(c)=(−2)2+4=8f(c) = (-2)^2 + 4 = 8. Thus f(x)=x2+4f(x) = x^2 + 4, c=−2c = -2, and f′(−2)=2(−2)=−4f'(-2) = 2(-2) = -4.

(c) Use the two-point form: lim⁡x→cf(x)−f(c)x−c\lim_{x \rightarrow c} \frac{f(x) - f(c)}{x - c}. Here f(x)=xf(x) = \sqrt{x} and c=3c = 3. Thus f′(3)=123=36f'(3) = \frac{1}{2\sqrt{3}} = \frac{\sqrt{3}}{6}.

Differentiability and Continuity

Differentiability at a Point and on an Interval

  • A function ff is differentiable at cc if f′(c)f'(c) exists.

  • ff is differentiable on an open interval (a,b)(a, b) if it is differentiable at every point in (a,b)(a, b).

Differentiability Implies Continuity

If ff is differentiable at cc, then ff is continuous at cc

Contrapositive (equally important): If ff is not continuous at cc, then ff is not differentiable at c$.\n\nWarning: The converse is FALSE. A function can be continuous at c but not differentiable there (e.g., at a sharp corner or cusp).\n\n## Three Ways a Function Fails to be Differentiable at c\n\n| Condition | Description | Graph Feature |\n| :--- | :--- | :--- |\n| Not continuous | fhasadiscontinuityathas a discontinuity atc | Hole, jump, or asymptote |\n| Corner (kink) | One-sided derivatives exist but differ | Sharp corner |\n| Vertical tangent | \mid f'(x) \mid \rightarrow \inftyasasx \rightarrow c | Vertical tangent line |\n\n## Example 9: Differentiability of Absolute Value Function\n\nDetermine whether f(x) = \mid x \midisdifferentiableatis differentiable atx = 0\n\nCompute the one-sided derivatives at x = 0:\n\n\lim_{h \rightarrow 0^+} \frac{\mid 0 + h \mid - \mid 0 \mid}{h} = \lim_{h \rightarrow 0^+} \frac{h}{h} = 1\n\n\lim_{h \rightarrow 0^-} \frac{\mid 0 + h \mid - \mid 0 \mid}{h} = \lim_{h \rightarrow 0^-} \frac{-h}{h} = -1\n\nSince the left and right limits differ, \lim_{h \rightarrow 0} \frac{\mid h \mid}{h} does not exist.\nTherefore, f(x) = \mid x \midisNOTdifferentiableatis NOT differentiable atx = 0 (sharp corner). It is continuous there.\n\n## Example 10: Differentiability of a Piecewise Function\n\nLet f(x) = \begin{cases} x^2 + 1, & x \le 1 \ 2x, & x > 1 \end{cases}.Is. Isfdifferentiableatdifferentiable atx = 1?\n\nStep 1 — Continuity at x = 1:\n\nf(1) = 1 + 1 = 2\n\n\lim_{x \rightarrow 1^-} (x^2 + 1) = 2\n\n\lim_{x \rightarrow 1^+} (2x) = 2\n\nSince f(1) = \lim_{x \rightarrow 1} f(x) = 2,,fiscontinuousatis continuous atx = 1\n\nStep 2 — One-sided derivatives:\n\n\lim_{h \rightarrow 0^-} \frac{f(1 + h) - f(1)}{h} = \lim_{h \rightarrow 0^-} \frac{(1 + h)^2 + 1 - 2}{h} = \lim_{h \rightarrow 0^-} \frac{2h + h^2}{h} = 2\n\n\lim_{h \rightarrow 0^+} \frac{f(1 + h) - f(1)}{h} = \lim_{h \rightarrow 0^+} \frac{2(1 + h) - 2}{h} = \lim_{h \rightarrow 0^+} \frac{2h}{h} = 2\n\nBoth one-sided derivatives equal 2.Therefore,. Therefore,f'(1) = 2andandfisdifferentiableatis differentiable atx = 1\n\n## Example 11: Finding the Derivative and Tangent Line — Cubic\n\nFind f'(x)forforf(x) = x^3andthenfindtheequationofthetangentlineatand then find the equation of the tangent line at(1, 1).\n\nDerivative:\n\nf'(x) = \lim_{h \rightarrow 0} \frac{(x + h)^3 - x^3}{h}\n\nf'(x) = \lim_{h \rightarrow 0} \frac{x^3 + 3x^2h + 3xh^2 + h^3 - x^3}{h}\n\nf'(x) = \lim_{h \rightarrow 0} (3x^2 + 3xh + h^2) = 3x^2\n\nSlope at x = 1:\n\nf'(1) = 3(1)^2 = 3\n\nTangent line:\n\ny - 1 = 3(x - 1) \Rightarrow y = 3x - 2\n\n## Example 12: Tangent Line to f(x) = \sqrt{x}\n\nFind the equation of the tangent line to f(x) = \sqrt{x}atthepointat the point(4, 2).\n\nFrom Example 6, f'(x) = \frac{1}{2\sqrt{x}}.\n\nAt x = 4:\n\nf'(4) = \frac{1}{2\sqrt{4}} = \frac{1}{4}\n\nTangent line:\n\ny - 2 = \frac{1}{4}(x - 4) \Rightarrow y = \frac{1}{4}x + 1\n\n# Summary and Key Concepts\n\n## Key Concepts at a Glance\n\n| Concept | Key Takeaway |\n| :--- | :--- |\n| Tangent slope | m = \lim_{h \rightarrow 0} \frac{f(c + h) - f(c)}{h}; limit of the difference quotient. |\n| Derivative function | f'(x) = \lim_{h \rightarrow 0} \frac{f(x + h) - f(x)}{h};givesslopeatevery; gives slope at everyx. |\n| Tangent line | Point (c, f(c))+slope+ slopef'(c);usepoint−slopeform; use point-slope formy - f(c) = f'(c)(x - c). |\n| Differentiability | f'(c) exists; fails at discontinuities, corners, or vertical tangents. |\n| Diff. \RightarrowCont.∣DifferentiableatCont. | Differentiable atc \Rightarrowcontinuousatcontinuous atc. Converse is false. |\n| Notation | f'(x) = y' = \frac{dy}{dx} = \frac{d}{dx}[f(x)] = D_x[y]. All equivalent. |\n\n## Common Errors to Avoid\n\n- Not simplifying the difference quotient before taking the limit: You must cancel the hinthedenominatoralgebraicallybeforesubstitutingin the denominator algebraically before substitutingh = 0\n- Forgetting to expand (x + h)^nfully:Incompleteexpansionleadstoincorrectcancellation.Forfully: Incomplete expansion leads to incorrect cancellation. For(x + h)^2,expandto, expand tox^2 + 2xh + h^2.For. For(x + h)^3,expandto, expand tox^3 + 3x^2h + 3xh^2 + h^3\n- Confusing differentiability with continuity: Differentiable \Rightarrowcontinuous,butcontinuouscontinuous, but continuous Rightarrow differentiable. A corner or vertical tangent breaks differentiability.\n- Applying shortcut derivative rules here: This section requires the limit definition. Save power rules for subsequent sections.\n- Using the wrong form of the tangent line: Use point-slope form y - f(c) = f'(c)(x - c), not slope-intercept, as the starting equation.\n- Sign errors with the difference quotient: When distributing a negative into f(x), carefully distribute to every term.\n\n# Practice Problems & Solutions\n\n## Practice Problems\n\n- P1. (Slope of Tangent Line) Use the limit definition to find the slope of the tangent line to f(x) = 4x - x^2atthepointat the point(1, 3).\n- P2. (Tangent Line Equation) Find the equation of the tangent line to f(x) = x^2 + 3xatthepointat the point(2, 10).\n- P3. (Derivative Function) Use the limit definition to find f'(x) for each function.\n - (a) f(x) = 5x - 3\n - (b) f(x) = x^2 - 4x\n - (c) f(x) = \frac{1}{x - 1}\n- P4. (Derivative Function) Find f'(x)forforf(x) = \sqrt{2x + 1} using the limit definition.\n- P5. (Identifying a Limit as a Derivative) The following limits represent f'(c).Identify. Identifyf(x)andandc, then evaluate.\n - (a) \lim_{h \rightarrow 0} \frac{(3 + h)^2 - 9}{h}\n - (b) \lim_{x \rightarrow 2} \frac{x^3 - 8}{x - 2}\n- P6. (Tangent Line Equation) Find the equation of the tangent line to f(x) = \frac{1}{x^2}atthepointat the point(1, 1).\n- P7. (Tangent Line Equation) Find the equation of the tangent line to f(x) = \sqrt{x}atthepointat the point(9, 3).\n- P8. (Differentiability — Piecewise) Let f(x) = \begin{cases} 2x + 3, & x < 1 \ x^2 + 4, & x \ge 1 \end{cases}.Is. Isfcontinuousatcontinuous atx = 1?Is? Isfdifferentiableatdifferentiable atx = 1? Justify.\n- P9. (Differentiability — Absolute Value) Determine whether f(x) = \mid x - 3 \midisdifferentiableatis differentiable atx = 3. Explain.\n- P10. (Conceptual) Give an example of a function that is continuous everywhere but not differentiable at exactly one point. Justify your answer.\n\n## Answer Key & Explanations\n\n- P1 Answer:\n\nm = \lim_{h \rightarrow 0} \frac{[4(1 + h) - (1 + h)^2] - 3}{h} = \lim_{h \rightarrow 0} \frac{2h - h^2}{h} = \lim_{h \rightarrow 0} (2 - h) = 2\n\n- P2 Answer:\n\nSlope: f'(x) = 2x + 3,so, sof'(2) = 7.Tangentline:. Tangent line:y - 10 = 7(x - 2) \Rightarrow y = 7x - 4\n\n- P3a Answer:\n\n\lim_{h \rightarrow 0} \frac{5(x + h) - 3 - (5x - 3)}{h} = \lim_{h \rightarrow 0} 5 = 5\n\n- P3b Answer:\n\n\lim_{h \rightarrow 0} \frac{(x + h)^2 - 4(x + h) - (x^2 - 4x)}{h} = \lim_{h \rightarrow 0} (2x + h - 4) = 2x - 4\n\n- P3c Answer:\n\n\lim_{h \rightarrow 0} \frac{\frac{1}{x + h - 1} - \frac{1}{x - 1}}{h} = \lim_{h \rightarrow 0} \frac{-1}{(x + h - 1)(x - 1)} = \frac{-1}{(x - 1)^2}\n\n- P4 Answer:\n\nMultiply by conjugate:\n\n\lim_{h \rightarrow 0} \frac{(2x + 2h + 1) - (2x + 1)}{h(\sqrt{2x + 2h + 1} + \sqrt{2x + 1})} = \lim_{h \rightarrow 0} \frac{2}{\sqrt{2x + 2h + 1} + \sqrt{2x + 1}} = \frac{1}{\sqrt{2x + 1}}\n\n- P5a Answer:\n\nf(x) = x^2,,c = 3..f'(3) = 2(3) = 6\n\n- P5b Answer:\n\nTwo-point form: f(x) = x^3,,c = 2..f'(2) = 3(2)^2 = 12\n\n- P6 Answer:\n\nf'(x) = \lim_{h \rightarrow 0} \frac{\frac{1}{(x + h)^2} - \frac{1}{x^2}}{h} = \frac{-2}{x^3}.At. Atx = 1::f'(1) = -2.Tangent:. Tangent:y = -2x + 3\n\n- P7 Answer:\n\nFrom the derivative formula f'(x) = \frac{1}{2\sqrt{x}},,f'(9) = \frac{1}{6}.Tangent:. Tangent:y - 3 = \frac{1}{6}(x - 9) \Rightarrow y = \frac{1}{6}x + \frac{3}{2}\n\n- P8 Answer:\n\nContinuity: f(1) = 1 + 4 = 5(rightbranch);(right branch);\lim_{x \rightarrow 1^-} (2x + 3) = 5. Continuous.\nLeft derivative: \lim_{h \rightarrow 0^-} \frac{2(1 + h) + 3 - 5}{h} = 2.Rightderivative:. Right derivative:\lim_{h \rightarrow 0^+} \frac{(1 + h)^2 + 4 - 5}{h} = 2.Bothequal. Both equal2.Differentiableat. Differentiable atx = 1\n\n- P9 Answer:\n\nLeft derivative at 3::\lim_{h \rightarrow 0^-} \frac{\mid h \mid}{h} = -1.Rightderivative:. Right derivative:\lim_{h \rightarrow 0^+} \frac{\mid h \mid}{h} = 1.Differ,sonotdifferentiableat. Differ, so not differentiable atx = 3 (continuous, but sharp corner).\n\n- P10 Answer:\n\nExample: f(x) = \mid x \mid.Itiscontinuouseverywherebuthasasharpcornerat. It is continuous everywhere but has a sharp corner atx = 0,wheretheleft−handandright−handderivativesare, where the left-hand and right-hand derivatives are -1andand 1respectively,sorespectively, sof'(0)$$ does not exist.