# The Tangent Line Problem

- Author:
- Ken Schwartz

Differential Calculus us concerned with finding out how fast a function's value is changing as changes. We call this the Rate of Change of the function. For linear functions, this is the slope of the line. For non-linear (curved) functions, we can find the Rate of Change in two forms. We can calculate the slope of the line passing through two distinct points on the curve, called a secant line. The slope of the secant line is called the

**Average Rate of Change**(AROC). We can also find the slope of the line tangent to the function at a single point, which turns out to be equal to the function's**Instantaneous Rate of Change**(IROC) at that point. The slope of the tangent line can be found as the limit of the slope of the secant line, as the distance between the two points on the secant line goes to zero.At the start of the app, we see our function in blue. If we check the "Point P" box, the point

**P**appears (red), which is the point at which we want the IROC. Check the "Tangent Line" box to see the**tangent line to f**at P. Notice how the tangent line's slope matches the direction of at the point of tangency. This is the slope we want to find. The -coordinate of**P**will be called , so that the y-coordinate is . If we now check the "Point Q" box, a second point**Q**appears.**Q**'s -coordinate is units away from . So**Q**'s -coordinate is , and therefore**Q**'s -coordinate is . Checking the "Secant Line" box shows the**secant line**through both**P**and**Q**. The slope of this line is the AROC of on the interval . Drag the point**Q**closer and closer to**P**, and notice how the slope of the**secant line**becomes closer and closer to the slope of the**tangent line**. We can easily calculate the**secant line**slope as "rise over run", or . is the difference between the -coordinates of**P**and**Q**, and is calculated as . Thus, the**secant line**'s slope is calculated as . We have seen that moving**Q**closer to**P**makes the secant line's slope closer to the**tangent line**'s slope. The distance between**P**and**Q**can be anything**zero. If***EXCEPT***P**and**Q**are the same point, then and , and the**secant line**'s slope is suddenly undefined. In essence, the graph of the difference quotient is a continuous, well-behaved function everywhere__for a "hole" where . We know that we can determine what the value of the quotient "should be" in such a case, by__*except*__. This limit of the difference quotient is called the function's__*taking the limit of the difference quotient as approaches zero***, , and gives the IROC of at :***derivative*