Secant Line Calculator

Type a function and two values of x to find the secant line.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

First xaa

A number such as 1, -1/2 or 0.5.

Second xbb

A different number from the first.

Try

Result

You enteredf(x)=x2,a=1,b=3f(x) = x^{2},\quad a = 1,\quad b = 3

y=4x−3\displaystyle y = 4x - 3
Show the work
  1. The two points on the curve

    A secant line cuts the curve at two points; find their heights.

    f(1)=1f(3)=9\begin{gathered} f(1) = 1 \\ f(3) = 9 \end{gathered}
  2. Slope of the secant

    The slope is the rise over the run between the two points: the average rate of change.

    m=f(b)−f(a)b−a=9−13−1=4\begin{aligned} m &= \frac{f(b) - f(a)}{b - a} \\ &= \frac{9 - 1}{3 - 1} \\ &= 4 \end{aligned}
  3. Point-slope form of a line

    Through (1,1)(1, 1) with slope 44, then solved for yy.

    Using y−y1=m(x−x1)y - y_1 = m(x - x_1)

    y−1=4(x−1)  ⇒  y=4x−3\begin{aligned} y - 1 &= 4\left(x - 1\right) \;\Rightarrow\; y \\ &= 4x - 3 \end{aligned}
  4. Result

    The secant line through the two points.

    y=4x−3y = 4x - 3
Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = x^2
  • y = 4x - 3

Points on the graph

  • y = x^2: zero (0, 0)
  • y = 4x - 3: zero (0.75, 0)
  • y = x^2 and y = 4x - 3: intersection (1, 1)
  • y = x^2 and y = 4x - 3: intersection (3, 9)

Worked examples