Chapter 8 - Differentiation
Notes
This chapter is not complete and might remain so. In many applications of mathematics, it is very important to be able to calculate the gradient, or slope, of the graph of a function at a particular point.
This gradient is called the derivative of the function at the point and it measures the rate of change of the function at that point.
Derivatives of functions provide useful information about the graph of a function and also have important applications in many areas of science and economics.
In this section we will look at the definition of the derivative of a function and review some rules that allow us to calculate the derivatives of many functions.
We will apply our knowledge of derivatives to sketch the graphs of functions and to solve optimisation problems and problems involving rates of change.
Topics in this section are:
- Tangent Lines
- The derivative of a function
- Differentiation rules
- Critical points and curve sketching
- Applications of differentiation.
8.1 Tangent Lines
The slope of a line describes the rate of change of with respect to .
A secant line is a line that passes through two points on a curve.
For a curve , we can use the slope of a secant line to describe the average rate of change of with respect to over a given interval of values for .
The slope of the secant line passing through the points and is .
Another way of writing the slope of the tangent line to at is to let . Then is equivalent to and the slope of the tangent line to at is
8.2 The Derivative of a Function
The derivative of a function at the number , denoted by is
if this limit exists.
Thus the tangent line to the curve at is the line through whose slope is equal to , the derivative of at .
The derivative is the instantaneous rate of change of with respect to when .
Given a function , we can define a new function, called the derivative of , and denoted , by the rule that
The domain of is the set of all in the domain of such that exists.
The derivative of is also called the derived function of . The process of determining the derivative of a function is called differentiation.
If , then other notation commonly used for the derivative includes:
A function is said to be differentiable at if exists.
8.3 Differentiation Rules
Determining derivatives from the definition can be time-consuming. Luckily there are some rules for differentiation that speed up the process. The proofs of these rules can be found in most calculus textbooks, but you do not need to know the proofs for this course.
The derivative of a constant function is zero.
If , then for .
Constant Multiple Rule
If is a constant and is a differentiable function, then
Sum Rule
If and are both differentiable functions, then
This rule can also be written as .
Product Rule
If and are both differentiable functions, then
Chain Rule (Composite Function Rule)
If and are both differentiable functions, then
If and , then this rule can be written as
To apply the chain rule, think about starting with the outside function and working your way in.
So far we have only looked at deriving relations where or is defined explicitly as a relation of . What happens if is defined implicitly as a relation of , such as or ? We can use a technique called implicit differentiation which is based on the chain rule.
Let’s look at the derivative of (Circle, radius 5, centred at the origin). We differentiate both sides with respect to ,
We can easily work out , but how can we do ?
This is where the chain rule comes in.
So we now have
So the derivative of with respect to , where is defined in terms of implicitly by the equation , is .
Derivatives of Trigonometric Functions
Note that when we use the trigonometric functions, such as , all angles are measured in radians.
To determine the derivative of we require two special limits:
The proofs of these limits can be found in most calculus textbooks, but we won’t worry about the proofs in this course.
If then .
Proof
Using a similar method to the previous page, we can show that if then .
The derivatives of the trigonometric functions are summarised below:
If , then . Note: Another way of writing is .
Thus, on the graph of , the slope of the tangent line at each point is equal to the function value at that point.
If , then . Note that here since the domain of is .
8.4 Critical Points and Curve Sketching
A function has a global maximum at if for all in the domain of . The number is called the maximum value of on its domain. A global maximum is also called an absolute maximum.
A function has a global minimum at if if for all in the domain of . The number is called the minimum value of on its domain. A global minimum is also called an absolute minimum.
A function has a local maximum at if for all near .
A function has a local minimum at if for all near .
If has a local maximum or minimum at , and if exists, then . The point is a critical point of the function if or if does not exists (but does).
Thus, all local maxima and minima are critical points. Note however, that not all critical points are local maxima or minima.
To find any local maximum or minimum of a function , we solve the equation . We can then classify any critical points we find using the information about the function near the critical point.
A function is strictly increasing on an interval if for all and in whenever .
If on an interval, then is strictly increasing on that interval. If on an interval, then is strictly decreasing on that interval. If on an interval, then is constant on that interval.
First Derivative Test
Suppose that the function has a critical point at . Then
If changes sign from positive to negative at , then has a local maximum at . If changes sign from negative to positive at , then has a local minimum at . If does not change sign at , then has neither a local maximum nor a local minimum at .
The Second Derivative
The second derivative of a function is the derivative of the derived function . The second derivative of is denoted .
The second derivative provides information about the concavity of the graph of a function.
If the graph of lies above all of its tangent lines on an interval, then it is concave up on that interval. If the graph of lies below all of its tangent lines on an interval, then it is concave down on that interval.
If for all in an interval, then the graph of is concave up on that interval. If for all in an interval, then the graph of is concave down on that interval.
Second Derivative Test
Suppose is a continuous function near a point .
If and , then has a local minimum (concave up) at . If and , then has a local maximum (concave down) at . If , then this test is inconclusive.
Curve Sketching
To sketch the curve of a function :
- Determine the domain of .
- Determine the -intercept of the graph by evaluating .
- If it is possible to solve the equation , find the -intercepts of the graph.
- Determine and identify the intervals of which is increasing and the intervals on which is decreasing.
- Find the critical points of . Determine which critical points are local maxima or local minima (use first or second derivative test).
- Determine and identify the intervals on which is concave up and the intervals on which is concave down.
- Sketch the graph.
8.5 Applications of Differentiation
Rates of Change
Rates of change have important applications in many areas. The derivative of a function with respect to a variable gives the rate of change of with respect to .
If is a function of displacement with respect to time, then the derivative gives the velocity, since velocity is the rate of change of displace with respect to time.
Similarly, gives the acceleration, since acceleration is the rate of change of velocity with respect to time.
In economics it is often important to study the functions that describe the cost of producing various quantities of a given product.
In economics marginal cost is defined as the cost of producing one more unit of product.
Let be the total cost to produce unites of a certain commodity. The marginal cost is the rate of change of the cost function with respect to the number of units produced.