5.2 Definition of Derivative
Consider finding a line tangent to a function f(x)f(x) that is not a straight line. Specifically, suppose that f(x)=x2f(x)=x2, and we want to find an equation of the tangent line to the function at aa. How can we obtain such a function? Suppose we want to change the average rate of change (which is the slope of a line) between some arbitrary value xx and aa such that x≠ax≠a. Then we have:
m=f(x)−f(a)x−am=f(x)−f(a)x−a
The graph of this function is shown below, where the orange line is the average rate of change mm:
We can find the tangent line to f(x)f(x) at the point (aa, f(a)f(a)) as we find the limit of mm as xx approaches aa. Formally, the tangent line to a continuous function f(x)f(x) at the point (aa, f(a)f(a)) is the line through (aa, f(a)f(a)) with the slope
m=limx→af(x)−f(a)x−am=limx→af(x)−f(a)x−a
For example, let’s say we have f(x)=x2f(x)=x2, and the tangent line goes through the point (2, 4). Then, the slope of the tangent line is
m=limx→2f(x)−f(2)x−2=limx→2x2−22x−2=limx→2(x+2)(x−2)x−2=limx→2(x+2)=4m=limx→2f(x)−f(2)x−2=limx→2x2−22x−2=limx→2(x+2)(x−2)x−2=limx→2(x+2)=4
Now the equation of tangent line, given that the slope is m=4m=4 and the line passes through (2, 4), is
y−4=4(x−2)y−4=4(x−2)
We can rewrite this in slope-intercept form as follows:
y=4x−4y=4x−4
There is another way to express the slope of a tangent line. Let h=x−ah=x−a. We can rewrite the equation of the slope of the tangent line as follows:
m=limh→0f(a+h)−f(a)hm=limh→0f(a+h)−f(a)h
This is because as xx approaches aa, hh approaches 0. Also, h=x−ah=x−a means that x=h+ax=h+a.
Suppose f(x)=1xf(x)=1x , and we are looking for the tangent line that goes through (1, 1). Then,
m=limh→0f(1+h)−f(1)h=limh→011+h−1h=limh→01−(1+h)1+hh=limh→0−hh(1+h)=limh→0−11+h=−1m=limh→0f(1+h)−f(1)h=limh→011+h−1h=limh→01−(1+h)1+hh=limh→0−hh(1+h)=limh→0−11+h=−1
Given that the slope is m=−1, and the line passes through (1, 1), the equation of the tangent line is
y−1=−1(x−1)
Therefore, in slope-intercept form, we have
y=−x+2
The graph of f(x) and its tangent line looks like this:
You may be wondering, “So what is a derivative?” The derivative is a way to show the rate of change of a function f(x). It is the slope of a line that lies tangent to f(x) at a specific point. Formally, the derivative of a function f(x) at a constant a that is denoted by f′(a) is
f′(a)=limx→af(x)−f(a)x−a=limh→0f(a+h)−f(a)h
A function f(x) is differentiable at a if f′(a) exists. If f(x) is a function, then the function g(x)=f′(x) is called the derivative of f(x). The derivative of a function f(x) is sometimes denoted as df(x)dx next to f′(a). We can also write ddx followed by some formula involving x instead of explicitly naming a function f(x). Mathematically, the definition of the derivative is or we calculate the derivative of a function with the limit by
f′(x)=limh→0f(x+h)−f(x)h
Let's find the derivative of f(x)=1x .
f′(x)=limh→0f(x+h)−f(x)h=limh→01x+h−1xh=limh→0x−(x+h)x(x+h)h=limh→0−hhx(x+h)=limh→0−1x(x+h)=−1x2
Since we have formally defined a derivative, here is the formal definition of a tangent line. The tangent line to f(x) at a point (a, f(a)) is the line through (a, f(a)) whose slope is f′(a).
Want to try our built-in assessments?
Use the Request Full Access button to gain access to this assessment.