AP Calculus AB and BC

Tangent Line Activity: Secants, Slopes and Limits

This 40-minute lesson connects a two-point secant slope to a tangent slope through a limit. Students use x squared at x = 1, repair six common mistakes, then distinguish a horizontal tangent from a corner. A complete teacher key and graph-paper version are included.

Objective and materials

Students will calculate a secant slope, explain why its limit can exist when the quotient is undefined at zero, and write a tangent line through the correct point. They will also separate function height from slope and use one-sided slopes to recognize a corner.

Use a projector, paper, and a whiteboard. Student devices are optional. Students need coordinate slope, expanding a square, and the idea of a two-sided limit. The final comparison supplies the derivative of a cubic, so it does not depend on prior mastery of differentiation rules.

Open Secant to Tangent and the Tangent Line Tracer in separate tabs. Keep the teacher key off the projector until students have written their predictions.

Set the two tools to the same point

The tools do not start at the same anchor

Both tools start with f(x)=x2f(x)=x^2, but the secant explorer starts at a=0a=0, h=1h=1, while the tangent tracer starts at a=1a=1. For this worksheet, move the secant explorer's anchor to a=1a=1 before collecting values. Focus the anchor and press the right arrow ten times from its initial position, or drag it and check the displayed coordinate. Leave the tangent tracer at its initial point.

In the secant explorer, change hh with the slider or the second point. The slider moves in increments of 0.010.01. The Halve h button rounds to this grid, so repeated halving will not reproduce an exact sequence of powers of one half. Use the specified values in the worksheet rather than assuming each button press produces an exact fraction.

The explorer keeps ∣h∣≥0.01|h|\ge 0.01 and never sets h=0h=0. It illustrates finite secant slopes; the algebra below establishes the limit. Reset returns the secant anchor to a=0a=0, so move it back to 11 if you reset during this lesson.

The tangent tracer's upper panel shows (a,f(a))(a,f(a)) and its tangent. The lower panel shows (a,f′(a))(a,f'(a)) and traces the derivative only across the interval you have visited. Reset trace removes that accumulated interval; an empty part of the lower graph is not evidence that the derivative fails to exist there. Dragging need not land on an exact integer, so use the paper values for exact answers and the readouts for a visual check.

A 40-minute sequence

MinutesTeacher moveStudent evidence
0 to 4Sketch a smooth hill with a flat top. Ask whether a high point means a large slope.A prediction that distinguishes height from steepness.
4 to 13Set f(x)=x2f(x)=x^2, a=1a=1 in the secant explorer. Assign prompts 1 and 2 before revealing the slopes.A completed two-sided table and a limit explanation.
13 to 21Use the tangent tracer at a=1a=1, then move toward a=−1a=-1. Assign prompts 3 and 4.A point-slope equation and three correctly labeled derivative points.
21 to 30Switch the tracer to x3−3xx^3-3x. Assign prompt 5, using the supplied derivative to justify signs.A sign chart and classification, not a guess from height.
30 to 36Draw ∣x−1∣|x-1| and x3x^3 on the board. Assign prompt 6.One-sided quotient calculations and a counterexample.
36 to 40Collect the exit check before reviewing the key.An independent explanation using a new parabola.

For each prompt, ask partners to identify the first incorrect step, then write a correction. A matching screen number is not enough: keep the coordinate calculation, limit argument, or sign explanation beside it.

Student worksheet: six mistakes to repair

Use f(x)=x2f(x)=x^2 and a=1a=1 for prompts 1 through 4. The anchor is A=(1,1)A=(1,1), and the second point is B=(1+h,(1+h)2)B=(1+h,(1+h)^2). Record exact paper calculations before checking the tool.

  1. Height or slope? A student says, 'The point is (1,1)(1,1), so the tangent slope is 11. At h=0.5h=0.5, the slope is 2.25−11.5=56\frac{2.25-1}{1.5}=\frac{5}{6}.' Identify the two different mistakes. Calculate the correct secant slope for h=0.5h=0.5 and explain what the denominator measures.
  2. Undefined quotient or missing limit? Complete the table below. A student substitutes h=0h=0, gets 00\frac{0}{0}, and concludes that f′(1)f'(1) does not exist. Simplify (1+h)2−1h\frac{(1+h)^2-1}{h} for h≠0h\ne0, then use both sides of the table and the simplified expression to correct the conclusion. Explain why the tool's smallest available hh is not a proof.
  3. Right slope, wrong line? Using the slope found in prompt 2, a student writes y=2xy=2x. Test that line at the anchor. Write the actual tangent in point-slope form and simplify it. State which two pieces of information determine this line.
  4. Same height, same derivative? A student notices f(−1)=f(1)=1f(-1)=f(1)=1 and draws both lower-panel points at height 11. Given f′(x)=2xf'(x)=2x, write the correct lower-panel points for a=−1,0,1a=-1,0,1. Explain why the top graph can be above the horizontal axis while its derivative is below it.
  5. Does zero slope always mean a minimum? Switch to g(x)=x3−3xg(x)=x^3-3x, with g′(x)=3x2−3g'(x)=3x^2-3. A student labels both zeros of g′g' as minima. Find the zeros, determine the sign of g′g' on each interval they divide, and classify each point. Give both coordinates and justify the classification from the sign change, not from comparing their heights.
  6. Corner, flat point, or crossing tangent? On paper, let r(x)=∣x−1∣r(x)=|x-1| and s(x)=x3s(x)=x^3. A student claims, 'Both are continuous, so both have derivatives everywhere. Also, an increasing curve must have a strictly positive slope, and a tangent cannot cross its curve.' At x=1x=1, calculate r(1+h)−r(1)h\frac{r(1+h)-r(1)}{h} separately for negative and positive hh. At x=0x=0, calculate the difference quotient for ss, its limit, and its tangent line. Use these two examples to correct all three claims.
hhSecond input 1+h1+hSecond output (1+h)2(1+h)^2Secant slope
11
0.50.5
0.10.1
−0.1-0.1
−0.5-0.5
−1-1

The absolute-value function and x3x^3 in prompt 6 are paper examples, not function choices in the two interactives used here. Do not substitute the x3−3xx^3-3x preset for x3x^3.

Teacher key: calculations and reasoning

1. The height f(1)=1f(1)=1 is not a slope. A secant slope divides the change in output by the change in input, not by the second input alone. Here the rise is 2.25−1=1.252.25-1=1.25 and the run is 1.5−1=0.51.5-1=0.5, giving 2.52.5. This is an average rate between two points, not yet the tangent slope at 11.

hh1+h1+h(1+h)2(1+h)^2Secant slope 2+h2+h
11224433
0.50.51.51.52.252.252.52.5
0.10.11.11.11.211.212.12.1
−0.1-0.10.90.90.810.811.91.9
−0.5-0.50.50.50.250.251.51.5
−1-1000011

2. Expand the numerator to 2h+h2=h(2+h)2h+h^2=h(2+h). For h≠0h\ne0, cancellation gives 2+h2+h. The original quotient remains undefined at h=0h=0, but 2+h2+h approaches 22 from either side, so f′(1)=2f'(1)=2. For this quadratic, the error from the tangent slope is exactly hh, with absolute error ∣h∣|h|. Thus the screen values at h=0.01h=0.01 and h=−0.01h=-0.01 are 2.012.01 and 1.991.99, not the limit itself. A finite table supports the conjecture; the algebra gives the limit.

f′(1)=lim⁡h→0(1+h)2−1h=lim⁡h→0(2+h)=2f'(1)=\lim_{h\to0}\frac{(1+h)^2-1}{h}=\lim_{h\to0}(2+h)=2

3. The proposed y=2xy=2x gives y=2y=2 at x=1x=1, so it misses (1,1)(1,1). The correct tangent is y−1=2(x−1)y-1=2(x-1), or y=2x−1y=2x-1. A point and a slope determine the line. Its slope is 22, and substituting x=1x=1 gives the required height 11.

4. The lower points are (−1,−2)(-1,-2), (0,0)(0,0), and (1,2)(1,2). Their heights are slopes, not the upper graph's outputs. At a=−1a=-1, the upper point has positive height 11 but the function is decreasing as xx increases nearby, so the tangent slope is negative. At 00, the upper and lower points both happen to be (0,0)(0,0), but they represent different quantities.

5. Solving 3x2−3=03x^2-3=0 gives x=−1x=-1 and x=1x=1. Factoring g′(x)=3(x−1)(x+1)g'(x)=3(x-1)(x+1) gives a positive derivative on (−∞,−1)(-\infty,-1), negative on (−1,1)(-1,1), and positive on (1,∞)(1,\infty). At (−1,2)(-1,2), increasing changes to decreasing, so there is a local maximum. At (1,−2)(1,-2), decreasing changes to increasing, so there is a local minimum. Zero slope alone would not establish either classification.

6. For rr, the quotient is ∣h∣h=−1\frac{|h|}{h}=-1 when h<0h<0 and 11 when h>0h>0. The one-sided limits disagree, so r′(1)r'(1) does not exist even though rr is continuous at 11. For ss, the quotient at 00 is h3h=h2\frac{h^3}{h}=h^2 for h≠0h\ne0, whose limit is 00. Thus s′(0)=0s'(0)=0 and the tangent is y=0y=0. The function x3x^3 is strictly increasing, yet has zero derivative at 00: strictly increasing does not imply strictly positive derivative at every point. Finally, x3x^3 is negative to the left of 00 and positive to the right, so its graph crosses its tangent there. A tangent is defined by the local slope, not by a rule forbidding crossings.

Exit check and response to errors

Without the tool, use q(x)=−(x−3)2+4q(x)=-(x-3)^2+4 and q′(x)=−2(x−3)q'(x)=-2(x-3). Find the tangent line at x=2x=2. State where the derivative is positive, zero, and negative. Explain whether the horizontal tangent at x=3x=3 is a local maximum or a local minimum.

Key: q(2)=3q(2)=3 and q′(2)=2q'(2)=2, so y−3=2(x−2)y-3=2(x-2), giving y=2x−1y=2x-1. The derivative is positive for x<3x<3, zero at 33, and negative for x>3x>3. The point (3,4)(3,4) is a local maximum because the derivative changes from positive to negative.

  • If height and slope are still mixed up, label (a,f(a))(a,f(a)) and (a,f′(a))(a,f'(a)) separately, then revisit prompt 4.
  • If the limit is rejected because of division by zero, revisit the cancellation condition h≠0h\ne0 and distinguish the original expression from its limit.
  • If the equation has the right slope but misses the point, substitute the anchor into the proposed line before simplifying anything.
  • If every zero slope is called an extremum, compare prompt 5 with the x3x^3 counterexample in prompt 6.

Optional preset checks: steep is not undefined

For a follow-up demonstration, choose ex2e^{\frac{x}{2}} in the tangent tracer. Its derivative 12ex2\frac{1}{2}e^{\frac{x}{2}} stays positive: at x=−3x=-3 it is approximately 0.1120.112, and at x=3x=3 approximately 2.2412.241. This preset has no horizontal tangent.

The x\sqrt{x} preset starts at a=2.5a=2.5, where the output is approximately 1.5811.581 and the slope approximately 0.3160.316. Moving toward the leftmost reachable point makes the tangent steep, but the tracer does not reach x=0x=0. Every displayed point in that reachable positive interval has finite slope 12x\frac{1}{2\sqrt{x}}. Do not use the screen's edge as evidence for what happens at the endpoint or as an example of a corner.

For the cubic preset, the initial anchor is a=0a=0, with slope −3-3. Predict the two zero-slope locations before moving to a=−1a=-1 and a=1a=1. Keep the derivative's sign changes, not the relative heights of the two points, as the reason for the classifications.

No-tech version and next practice

Use the same six prompts and timing without a device. Plot y=x2y=x^2 from x=−2x=-2 to x=2x=2 on graph paper. Mark (1,1)(1,1) and the six second points in the worksheet table. Draw several secants, then draw y=2x−1y=2x-1 through the anchor and compare slopes. Small separations are difficult to measure on paper, so use the calculated table rather than a ruler to establish the decimal slopes.

On a second set of axes, plot (−1,−2)(-1,-2), (0,0)(0,0), and (1,2)(1,2) for the derivative. Sketch x3−3xx^3-3x with its two stationary points, then use the supplied derivative to complete the sign chart. Draw ∣x−1∣|x-1| and x3x^3 for the final comparison. The optional exponential and square-root demonstrations can be omitted; the paper worksheet still covers all six core prompts.

Students who need another explanation can read the limit definition of the derivative. For equation-building practice, use the Tangent and Normal Line Finder after solving the point-slope equation on paper. Its custom mode uses a numerical slope estimate, so use the exact algebra in this lesson as the justification. Students ready to practice differentiation rules can continue to the Derivative Practice Checker.

Worked examples

Worked example

From a secant quotient to the tangent at x = 1

Find the tangent line to f(x)=x2f(x)=x^2 at x=1x=1 using the limit definition.

  1. The point is (1,f(1))=(1,1)(1,f(1))=(1,1). For h≠0h\ne0, the secant slope is (1+h)2−1h\frac{(1+h)^2-1}{h}.
  2. Expand and factor the numerator: 2h+h2=h(2+h)2h+h^2=h(2+h). Cancel hh only while h≠0h\ne0, obtaining 2+h2+h.
  3. As h→0h\to0 from either side, 2+h→22+h\to2. Hence f′(1)=2f'(1)=2.
  4. Use the point and slope: y−1=2(x−1)y-1=2(x-1), which simplifies to y=2x−1y=2x-1.

The tangent line is y=2x−1y=2x-1.

Worked example

Classifying the two flat points of the cubic preset

For g(x)=x3−3xg(x)=x^3-3x, locate and classify its horizontal tangents.

  1. The derivative is g′(x)=3x2−3=3(x−1)(x+1)g'(x)=3x^2-3=3(x-1)(x+1), so its zeros are −1-1 and 11.
  2. The factors give derivative signs positive, negative, positive on the three intervals separated by −1-1 and 11.
  3. At x=−1x=-1, the sign changes from positive to negative, giving a local maximum with g(−1)=2g(-1)=2. At x=1x=1, it changes from negative to positive, giving a local minimum with g(1)=−2g(1)=-2.

The horizontal tangents occur at the local maximum (−1,2)(-1,2) and local minimum (1,−2)(1,-2).

Frequently asked questions

What should students know before this lesson?

They should be able to calculate coordinate slope, expand a square, and interpret a two-sided limit. The worksheet supplies the derivatives needed for the graph comparisons.

Can I run it with one projector?

Yes. Have students calculate and predict on paper before one person operates the two tools. Individual devices are optional, and the no-tech version uses the same six prompts.

Why do my secant values differ from the worksheet?

Check that the function is x2x^2, the anchor is a=1a=1, and hh matches the table. The secant explorer starts and resets at a=0a=0, unlike the tangent tracer. Its values are rounded, and Halve h snaps to the 0.010.01 grid.

Does a horizontal tangent always indicate a maximum or minimum?

No. For s(x)=x3s(x)=x^3, the derivative is zero at 00 but the function keeps increasing through that point. Use a sign change or another valid argument to classify a stationary point.

How can I check students' explanations?

Use the teacher key to look for the correct change in input, a justified limit, a line that passes through its anchor, and sign-based classifications. Ask students to revise the first incorrect step rather than accepting a screen value without reasoning.