Definition of Derivative

Consider finding a line tangent to a function f ( x ) that is not a straight line. Specifically, suppose that f ( x ) = x 2 , and we want to find an equation of the tangent line to the function at a . 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 x and a such that x a . Then we have:

m = f ( x ) f ( a ) x a

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

Figure 5.1: Graph of m = f ( x ) f ( a ) x a

We can find the tangent line to f ( x ) at the point ( a , f ( a ) ) as we find the limit of m as x approaches a . Formally, the tangent line to a continuous function f ( x ) at the point ( a , f ( a ) ) is the line through ( a , f ( a ) ) with the slope

m = lim x a f ( x ) f ( a ) x a

For example, let’s say we have f ( x ) = x 2 , and the tangent line goes through the point (2, 4). Then, the slope of the tangent line is

m = lim x 2 f ( x ) f ( 2 ) x 2 = lim x 2 x 2 2 2 x 2 = lim x 2 ( x + 2 ) ( x 2 ) x 2 = lim x 2 ( x + 2 ) = 4

Now the equation of tangent line, given that the slope is m = 4 and the line passes through (2, 4), is

y 4 = 4 ( x 2 )

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

y = 4 x 4

Figure 5.2: Graph of f ( x ) = x 2 and Tangent Line y = 4 x 4

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

m = lim h 0 f ( a + h ) f ( a ) h

This is because as x approaches a , h approaches 0. Also, h = x a means that x = h + a .

Suppose f ( x ) = 1 x  , and we are looking for the tangent line that goes through (1, 1). Then,

m = lim h 0 f ( 1 + h ) f ( 1 ) h = lim h 0 1 1 + h 1 h = lim h 0 1 ( 1 + h ) 1 + h h = lim h 0 h h ( 1 + h ) = lim h 0 1 1 + 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:

Figure 5.3: Graph of f ( x ) = 1 x 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 ) = lim x a f ( x ) f ( a ) x a = lim h 0 f ( 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 d f ( x ) d x   next to f ( a ) . We can also write d d x   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 ) = lim h 0 f ( x + h ) f ( x ) h

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

f ( x ) = lim h 0 f ( x + h ) f ( x ) h = lim h 0 1 x + h 1 x h = lim h 0 x ( x + h ) x ( x + h ) h = lim h 0 h h x ( x + h ) = lim h 0 1 x ( x + h ) = 1 x 2

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.