CSCA MATHEMATICS · MODULE 02 · CALCULUS

02.12 · Tangent Lines and the Geometric Meaning of Derivatives

Understand secant and tangent slopes, find equations of tangent lines, and recognize stationary points from derivatives.

Concepts & graphical meaning10 worked examplesQuiz handled separately

1. From the slope of a line to the slope of a curve

For a straight line, the slope measures its steepness and direction. Given two points:

\[(x_1,y_1) \quad\text{and}\quad (x_2,y_2),\]

the slope is:

\[m=\frac{y_2-y_1}{x_2-x_1}, \qquad x_2\neq x_1.\]

We can describe this as:

\[\text{Slope}=\frac{\text{change in output}}{\text{change in input}}.\]

A straight line has the same slope everywhere. A curve can have different slopes at different points. For example, the graph of:

\[f(x)=x^2\]

falls on its left side, becomes horizontal at its lowest point, and rises on its right side. To describe a curve’s slope at a particular point, we use a tangent line . The central idea of this lesson is:

The derivative at a point gives the slope of the tangent line at that point, when the derivative exists.

2. Secant lines

A secant line is a straight line through two distinct points on a curve. Suppose the points are:

\[P=(a,f(a))\]

and:

\[Q=(b,f(b)), \qquad b\neq a.\]

The secant slope is:

\[m_{\text{secant}} =\frac{f(b)-f(a)}{b-a}.\]

This is the function’s average rate of change between the two inputs.

Worked example 1: A secant slope

For:

\[f(x)=x^2,\]

find the slope of the secant through the points with inputs \(1\) and \(3\) . First calculate the outputs:

\[f(1)=1, \qquad f(3)=9.\]

The points are:

\[P=(1,1), \qquad Q=(3,9).\]

Therefore:

\[m_{\text{secant}} =\frac{9-1}{3-1} =\frac82 =4.\]

The average rate of change from \(x=1\) to \(x=3\) is \(4\) . This does not mean that the curve has slope \(4\) at every point between those inputs.

3. Tangent lines

A tangent line represents the curve’s local direction at a point. For a differentiable function, if we zoom in sufficiently near that point, the curve becomes approximately straight and follows its tangent line.

From a secant to a tangent

Keep the point:

\[P=(a,f(a))\]

fixed. Choose a nearby point:

\[Q=(a+h,f(a+h)), \qquad h\neq0.\]

The secant slope is:

\[m_{\text{secant}} =\frac{f(a+h)-f(a)}{h}.\]

As \(h\) approaches zero, \(Q\) approaches \(P\) . If the secant slopes approach a finite value, that value is the tangent slope:

\[m_{\text{tangent}} = \lim_{h\to0} \frac{f(a+h)-f(a)}{h}.\]

This is the definition of the derivative at \(x=a\) :

\[f'(a) = \lim_{h\to0} \frac{f(a+h)-f(a)}{h}.\]

Important: We approach \(h=0\) . We do not substitute \(h=0\) into a fraction whose denominator is \(h\) .

A tangent can cross a curve

A tangent is not defined as a line that “touches the curve only once.” For example, the tangent to:

\[f(x)=x^3\]

at the origin is:

\[y=0.\]

The curve crosses this tangent at the origin. What matters is the tangent’s local direction, not the number of intersections.

Feature Secant line Tangent line
How it is determined Uses two distinct points on a curve. Uses the local direction at one point.
Slope \(\frac{f(b)-f(a)}{b-a}\) \(f'(a)\), when it exists
Interpretation Average rate of change over an interval. Instantaneous rate of change at a point.

4. Seeing a tangent slope emerge

Consider:

\[f(x)=x^2.\]

We will find the tangent slope at:

\[x=2.\]

The fixed point is:

\[P=(2,4).\]

A nearby point is:

\[Q=(2+h,(2+h)^2).\]

The secant slope is:

\[m_{\text{secant}} =\frac{(2+h)^2-4}{h}.\]

Expand:

\[(2+h)^2=4+4h+h^2.\]

Therefore:

\[m_{\text{secant}} =\frac{4h+h^2}{h}.\]

For \(h\neq0\) , simplify:

\[m_{\text{secant}}=4+h.\]

As \(h\) approaches zero:

\[4+h\rightarrow4.\]

Therefore:

\[f'(2)=4.\]
\(h\) Nearby input \(2+h\) Secant slope \(4+h\)
\(-0.1\) \(1.9\) \(3.9\)
\(-0.01\) \(1.99\) \(3.99\)
\(0.01\) \(2.01\) \(4.01\)
\(0.1\) \(2.1\) \(4.1\)

5. The derivative as a slope function

The notation:

\[f'(a)\]

represents the derivative at one particular input. The notation:

\[f'(x)\]

represents a function that gives the tangent slope at different inputs. For example:

\[f(x)=x^2\]

has derivative:

\[f'(x)=2x.\]

Therefore:

\[f'(-2)=-4,\]
\[f'(0)=0,\]
\[f'(3)=6.\]

These are slopes, not heights.

Function value versus derivative value

At \(x=3\) :

\[f(3)=9,\]

whereas:

\[f'(3)=6.\]

This means:

  • The point on the original curve is \((3,9)\).
  • The tangent slope there is \(6\).
  • The point on the derivative graph is \((3,6)\).

The function and its derivative describe different quantities.

Simple derivative rules used in this lesson

For a constant \(c\) :

\[\frac{d}{dx}(c)=0.\]

For a linear function:

\[\frac{d}{dx}(mx+b)=m.\]

For a positive integer power:

\[\frac{d}{dx}(x^n)=nx^{n-1}.\]

Differentiate polynomial terms separately. For example:

\[f(x)=3x^2-4x+7\]

gives:

\[f'(x)=6x-4.\]

6. Interpreting positive, negative, and zero derivatives

6.1 Positive derivative

If:

\[f'(a)>0,\]

the tangent line at \(x=a\) rises from left to right. At that point, the function has a positive instantaneous rate of change.

6.2 Negative derivative

If:

\[f'(a)<0,\]

the tangent line falls from left to right. The function has a negative instantaneous rate of change there.

6.3 Zero derivative

If:

\[f'(a)=0,\]

the tangent line is horizontal. The point is called a stationary point . A zero derivative does not, by itself, tell us whether the point is a maximum, minimum, or neither.

Derivative value Tangent direction Interpretation
\(f'(a)>0\) Rises from left to right. Positive instantaneous rate of change.
\(f'(a)<0\) Falls from left to right. Negative instantaneous rate of change.
\(f'(a)=0\) Horizontal. A stationary point; its type needs further checking.

Comparing steepness

On axes with the same scale, a larger absolute slope means a steeper tangent. For example:

\[|-5|>|2|.\]

A tangent with slope \(-5\) is steeper than one with slope \(2\) , although it slopes downward.

7. Finding tangent slopes

To find the tangent slope at \(x=a\) :

  1. Differentiate the function.
  2. Substitute \(x=a\) into the derivative.

Worked example 2: Positive slope

Find the tangent slope of:

\[f(x)=x^2+3x-1\]

at:

\[x=2.\]

Differentiate:

\[f'(x)=2x+3.\]

Evaluate:

\[f'(2)=2(2)+3=7.\]

The tangent slope is:

\[m=7.\]

Worked example 3: Negative slope

Find the tangent slope of:

\[g(x)=4-x^2\]

at:

\[x=1.\]

Differentiate:

\[g'(x)=-2x.\]

Evaluate:

\[g'(1)=-2.\]

The tangent slopes downward.

Worked example 4: Finding where a slope occurs

For:

\[f(x)=x^2,\]

find the point where the tangent slope is \(6\) . Since:

\[f'(x)=2x,\]

solve:

\[2x=6.\]

Therefore:

\[x=3.\]

Find the output:

\[f(3)=9.\]

The point is:

\[(3,9).\]

8. Equation of a tangent line

A straight line through \((x_0,y_0)\) with slope \(m\) has equation:

\[y-y_0=m(x-x_0).\]

At the point:

\[(a,f(a)),\]

the tangent slope is:

\[m=f'(a).\]

Therefore, the tangent equation is:

\[y-f(a)=f'(a)(x-a).\]

You need two pieces of information:

  • The point on the curve.
  • The derivative value at that point.

Worked example 5: Tangent to a quadratic

Find the tangent line to:

\[f(x)=x^2\]

at:

\[x=2.\]

Step 1: Find the point.

\[f(2)=4.\]

The point is:

\[(2,4).\]

Step 2: Find the derivative.

\[f'(x)=2x.\]

Step 3: Find the slope.

\[f'(2)=4.\]

Step 4: Write the line equation.

\[y-4=4(x-2).\]

Simplify:

\[y-4=4x-8.\]

Therefore:

\[y=4x-4.\]

Check: Substituting \(x=2\) gives \(y=4\) , so the tangent passes through the correct point.

Worked example 6: A negative tangent slope

Find the tangent line to:

\[g(x)=4-x^2\]

at:

\[x=1.\]

The point is:

\[g(1)=3.\]

The derivative is:

\[g'(x)=-2x.\]

The slope is:

\[g'(1)=-2.\]

Therefore:

\[y-3=-2(x-1).\]

Simplifying:

\[y=-2x+5.\]

Worked example 7: Tangent at a negative input

Find the tangent line to:

\[f(x)=x^2+1\]

at:

\[x=-1.\]

Find the point:

\[f(-1)=(-1)^2+1=2.\]

Find the slope:

\[f'(x)=2x,\]
\[f'(-1)=-2.\]

Use point-slope form:

\[y-2=-2(x-(-1)).\]

Therefore:

\[y-2=-2(x+1).\]

Simplifying:

\[y=-2x.\]

Be careful: subtracting a negative input produces a plus sign.

9. Horizontal tangents and stationary points

A horizontal line has slope zero. Therefore, horizontal tangents occur where:

\[f'(x)=0.\]

To find stationary points:

  1. Differentiate.
  2. Solve \(f'(x)=0\).
  3. Substitute each solution into the original function.
  4. Report the coordinates.

Worked example 8: A stationary minimum

Find the stationary point of:

\[f(x)=x^2-4x+7.\]

Differentiate:

\[f'(x)=2x-4.\]

Set the derivative equal to zero:

\[2x-4=0.\]

Therefore:

\[x=2.\]

Find the output:

\[f(2)=4-8+7=3.\]

The stationary point is:

\[(2,3).\]

Since:

\[f(x)=(x-2)^2+3,\]

the parabola opens upward and this point is a minimum. Its tangent line is:

\[y=3.\]

Worked example 9: A stationary maximum

Consider:

\[g(x)=-x^2+6x-5.\]

Differentiate:

\[g'(x)=-2x+6.\]

Solve:

\[-2x+6=0.\]

Thus:

\[x=3.\]

Find the output:

\[g(3)=-9+18-5=4.\]

The stationary point is:

\[(3,4).\]

The parabola opens downward, so this is a maximum. The tangent line is:

\[y=4.\]

A stationary point need not be a turning point

Consider:

\[f(x)=x^3.\]

Its derivative is:

\[f'(x)=3x^2.\]

At \(x=0\) :

\[f'(0)=0.\]

The tangent at the origin is horizontal:

\[y=0.\]

However, the function continues increasing through the origin. It does not change from increasing to decreasing or vice versa. Therefore, the origin is stationary but is neither a local maximum nor a local minimum.

10. Connecting the function graph and derivative graph

The derivative graph records the slopes of the original graph.

Reading the sign of a derivative graph

  • Where \(f'(x)\) is above the \(x\)-axis, the original graph has positive tangent slopes.
  • Where \(f'(x)\) is below the \(x\)-axis, the original graph has negative tangent slopes.
  • Where \(f'(x)=0\), the original graph has a horizontal tangent.

If \(f'(x)>0\) throughout an interval, \(f\) is strictly increasing there. If \(f'(x)<0\) throughout an interval, \(f\) is strictly decreasing there.

Worked example 10

Suppose:

\[f'(x)=2x-4.\]

For:

\[x<2,\]

we have:

\[f'(x)<0.\]

The original function decreases on:

\[(-\infty,2).\]

At:

\[x=2,\]

we have:

\[f'(2)=0.\]

The original graph has a horizontal tangent. For:

\[x>2,\]

we have:

\[f'(x)>0.\]

The original function increases on:

\[(2,\infty).\]

The change from negative to positive derivative indicates a local minimum at \(x=2\) .

Derivative sign change Function behavior Conclusion
Positive to negative Increasing, then decreasing Local maximum
Negative to positive Decreasing, then increasing Local minimum
Positive on both sides Increasing on both sides Neither a local maximum nor a local minimum
Negative on both sides Decreasing on both sides Neither a local maximum nor a local minimum

What a derivative graph does not tell you directly

Knowing tangent slopes does not determine the original graph’s vertical position. For example:

\[f(x)=x^2\]

and:

\[g(x)=x^2+5\]

both have derivative:

\[2x.\]

Their slopes match at every input, but one graph is five units above the other.

11. When a derivative does not exist

Not every point on a graph has a finite derivative.

Example: A sharp corner

Consider:

\[f(x)=|x|.\]

For negative inputs, the graph is a line with slope:

\[-1.\]

For positive inputs, it is a line with slope:

\[1.\]

At the origin, the left and right slopes disagree. Therefore:

\[f'(0)\]

does not exist. The origin is still a minimum point. This shows that:

  • A zero derivative does not always mean a turning point.
  • A turning point does not always have a derivative.

Other causes of a derivative failing to exist include discontinuities and vertical tangents. This lesson’s tangent-equation formula applies when the derivative is finite.

12. Common mistakes

Mistake 1: Using the function value as the slope

For:

\[f(x)=x^2\]

at \(x=3\) :

\[f(3)=9\]

is the height. The tangent slope is:

\[f'(3)=6.\]

Mistake 2: Writing a tangent equation without finding the point

A slope alone does not determine a unique line. Use both:

\[(a,f(a))\]

and:

\[f'(a).\]

Mistake 3: Assuming every horizontal tangent is a maximum or minimum

For:

\[f(x)=x^3,\]

the tangent at the origin is horizontal, but the function does not turn.

Mistake 4: Confusing a secant slope with a tangent slope

A secant uses two distinct curve points. A tangent slope comes from the derivative at one point.

Mistake 5: Using the sign of the function instead of the derivative

A graph can be below the \(x\) -axis and still have a positive slope. The sign of \(f(x)\) describes height. The sign of \(f'(x)\) describes tangent direction.

Mistake 6: Assuming a tangent cannot cross the curve

Tangency describes local slope agreement. Crossing is possible.

13. Lesson review

You should now be able to:

  • Calculate a secant slope as an average rate of change.
  • Interpret a tangent as the curve’s local direction.
  • Explain that \(f'(a)\) is the tangent slope at \(x=a\).
  • Distinguish the height \(f(a)\) from the slope \(f'(a)\).
  • Find tangent slopes by differentiating and substituting.
  • Write tangent equations using:
\[y-f(a)=f'(a)(x-a).\]
  • Locate horizontal tangents by solving:
\[f'(x)=0.\]
  • Interpret positive, negative, and zero derivative values.
  • Recognize that stationary points need not be turning points and that a derivative may fail to exist at a corner.

Ready for the next lesson?

Review the difference between a point on a curve and its tangent slope. Practice questions and answers will be provided in the separate assessment.