One of the building blocks in differential calculus is the secant line to a curve. The only requirement for a line to be considered a secant line to a curve is that the line must intersect the curve in at least two points.
In FigureΒ 1.2.1, we see a secant line to the curve \(y = \fe{f}{x}\) through the points \(\point{0}{3}\) and \(\point{4}{-5}\text{.}\) Verify that the slope of this line is \(-2\text{.}\)
The formula for \(f\) is \(\fe{f}{x} = 3 + 2x - x^2\text{.}\) We can use this formula to come up with a generalized formula for the slope of secant lines to this curve. Specifically, the slope of the line connecting the point \(\point{x_0}{\fe{f}{x_0}}\) to the point \(\point{x_1}{\fe{f}{x_1}}\) is derived in the following example.
We can check our formula using the line in FigureΒ 1.2.1. If we let \(x_0 = 0\) and \(x_1 = 4\) then our simplified slope formula gives us: \(2 - x_1 - x_0 = 2 - 4 - 0\text{,}\) which simplifies to \(-2\) as we expected.
Following ExampleΒ 1.2.2, find a formula for the slope of the secant line connecting the points \(\point{x_0}{\fe{g}{x_0}}\) and \(\point{x_1}{\fe{g}{x_1}}\text{.}\)