Illustrated · 2 min
Curve Approximations
We often learn about slope by studying linear functions. Early in algebra, you learn how to graph lines using slope-intercept form and point-slope form.
But linear functions are not the only ones that have slope. In fact, all functions have slope.
Linear functions have a constant slope, which means the slope stays the same everywhere. Nonlinear functions are different. Their slope can change from point to point on the graph.
In higher-level math, you use a derivative to find the slope at any point on a curve. For now, we can use linear approximation to estimate the slope of a curve near a point.
Let's take a look at the graph of the function when . The domain is the set of real numbers greater than zero.

Made with Demos
This function is made up of a smooth curve.
To study it, we will create a linear piecewise function by connecting points along the graph. This will help us find the average slope between each pair of points.
We’ll start by placing a point every units along the -axis.

Made with Desmos
Now we can connect these points. We have the points , , and . Let's find the slopes between the points. We can use the slopes to find the equations of each line in our piecewise model. This will be the equation for the line between and . This will be the equation for the line between and . The entire piecewise function will be: Let's take a look at this on the graph.

Made with Desmos
The slope of the first line, , is the average slope of the function over . The slope of the second line, , is the average slope of the function over . We can make these estimations more accurate to the true values of the curve by making the gaps in between the points. Here is this same process done for a point every unit on the -axis.

Made with Desmos
The more frequent steps give us a better fitting piecewise function. Let's zoom in one more time with a point every units on the -axis.

Made with Desmos
This gives us an even closer fit to the curve.
We could keep breaking the curve into smaller and smaller pieces. Eventually, the pieces would be so small that they would look almost the same as the original curve.
At that point, the linear pieces closely match the shape of the curve.
Useful Equations
You need to remember that you are just working with linear equations you are used to.
Slope:
Point-Slope Form:
Wrap-Up
We can use small line segments in a piecewise function to estimate the average slope of a curve.
The smaller the line segments are, the more accurate the estimate becomes. This is because the lines match the curve more closely.
This idea leads into calculus, where we learn about derivatives. Derivatives help us find the exact slope of a curve at a single point.

