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 xaxa. Then we have:

m=f(x)f(a)xam=f(x)f(a)xa

The graph of this function is shown below, where the orange line is the average rate of change mm:

The graph of m = [f(x) - f(a)]/(x-a), a parabola with its vertex at (0, 0). An straight orange line shows the rate of change, passing through (a, f(a)) and (x, f(x)).
Figure 5.1: Graph of m=f(x)f(a)xam=f(x)f(a)xa

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=limxaf(x)f(a)xam=limxaf(x)f(a)xa

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=limx2f(x)f(2)x2=limx2x222x2=limx2(x+2)(x2)x2=limx2(x+2)=4m=limx2f(x)f(2)x2=limx2x222x2=limx2(x+2)(x2)x2=limx2(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

y4=4(x2)y4=4(x2)

We can rewrite this in slope-intercept form as follows:

y=4x4y=4x4

Figure 5.2: Graph of f(x)=x2f(x)=x2 and Tangent Line y=4x4y=4x4

There is another way to express the slope of a tangent line. Let h=xah=xa. We can rewrite the equation of the slope of the tangent line as follows:

m=limh0f(a+h)f(a)hm=limh0f(a+h)f(a)h

This is because as xx approaches aa, hh approaches 0. Also, h=xah=xa 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=limh0f(1+h)f(1)h=limh011+h1h=limh01(1+h)1+hh=limh0hh(1+h)=limh011+h=1m=limh0f(1+h)f(1)h=limh011+h1h=limh01(1+h)1+hh=limh0hh(1+h)=limh011+h=1

Given that the slope is m=1, and the line passes through (1, 1), the equation of the tangent line is

y1=1(x1)

Therefore, in slope-intercept form, we have

y=x+2

The graph of f(x) and its tangent line looks like this:

Figure 5.3: Graph of f(x)=1x and Tangent Line y=x+2

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)=limxaf(x)f(a)xa=limh0f(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)=limh0f(x+h)f(x)h

Let's find the derivative of f(x)=1x .

f(x)=limh0f(x+h)f(x)h=limh01x+h1xh=limh0x(x+h)x(x+h)h=limh0hhx(x+h)=limh01x(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.