Learning Outcomes
- Apply basic derivative rules
- Use the product rule for finding the derivative of a product of functions
- Use the quotient rule for finding the derivative of a quotient of functions
- Apply the chain rule together with the power and product rule
- Evaluate indefinite integrals
In the Calculus of Vector-Valued Functions section, we will learn how to differentiate and integrate vector-valued functions. Here we will review various derivative rules and integration techniques.
Basic Derivative Rules
We first apply the limit definition of the derivative to find the derivative of the constant function, [latex]f(x)=c[/latex]. For this function, both [latex]f(x)=c[/latex] and [latex]f(x+h)=c[/latex], so we obtain the following result:
The rule for differentiating constant functions is called the constant rule. It states that the derivative of a constant function is zero; that is, since a constant function is a horizontal line, the slope, or the rate of change, of a constant function is 0. We restate this rule in the following theorem.
The Constant Rule
Let [latex]c[/latex] be a constant.
If [latex]f(x)=c[/latex], then [latex]f^{\prime}(c)=0[/latex]
Alternatively, we may express this rule as
[latex]\dfrac{d}{dx}(c)=0[/latex]
Example: Applying the Constant Rule
Find the derivative of [latex]f(x)=8[/latex].
Try It
Find the derivative of [latex]g(x)=-3[/latex].
We have shown that
At this point, you might see a pattern beginning to develop for derivatives of the form [latex]\frac{d}{dx}(x^n)[/latex]. We continue our examination of derivative formulas by differentiating power functions of the form [latex]f(x)=x^n[/latex] where [latex]n[/latex] is a positive integer. We develop formulas for derivatives of this type of function in stages, beginning with positive integer powers. Before stating and proving the general rule for derivatives of functions of this form, we take a look at a specific case, [latex]\frac{d}{dx}(x^3)[/latex].
As we shall see, the procedure for finding the derivative of the general form [latex]f(x)=x^n[/latex] is very similar. Although it is often unwise to draw general conclusions from specific examples, we note that when we differentiate [latex]f(x)=x^3[/latex], the power on [latex]x[/latex] becomes the coefficient of [latex]x^2[/latex] in the derivative and the power on [latex]x[/latex] in the derivative decreases by 1. The following theorem states that this power rule holds for all positive integer powers of [latex]x[/latex]. We will eventually extend this result to negative integer powers. Later, we will see that this rule may also be extended first to rational powers of [latex]x[/latex] and then to arbitrary powers of [latex]x[/latex]. Be aware, however, that this rule does not apply to functions in which a constant is raised to a variable power, such as [latex]f(x)=3^x[/latex].
The Power Rule
Let [latex]n[/latex] be a positive integer. If [latex]f(x)=x^n[/latex], then
Alternatively, we may express this rule as
Example: Applying the Power Rule
Find the derivative of the function [latex]f(x)=x^{10}[/latex] by applying the power rule.
Try It
Find the derivative of [latex]f(x)=x^7[/latex].
We find our next differentiation rules by looking at derivatives of sums, differences, and constant multiples of functions. Just as when we work with functions, there are rules that make it easier to find derivatives of functions that we add, subtract, or multiply by a constant. These rules are summarized in the following theorem.
Sum, Difference, and Constant Multiple Rules
Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be differentiable functions and [latex]k[/latex] be a constant. Then each of the following equations holds.
Sum Rule: The derivative of the sum of a function [latex]f[/latex] and a function [latex]g[/latex] is the same as the sum of the derivative of [latex]f[/latex] and the derivative of [latex]g[/latex].
that is,
Difference Rule: The derivative of the difference of a function [latex]f[/latex] and a function [latex]g[/latex] is the same as the difference of the derivative of [latex]f[/latex] and the derivative of [latex]g[/latex].
that is,
Constant Multiple Rule: The derivative of a constant [latex]k[/latex] multiplied by a function [latex]f[/latex] is the same as the constant multiplied by the derivative:
that is,
Example: Applying Basic Derivative Rules
Find the derivative of [latex]f(x)=2x^5+7[/latex].
Try It
Find the derivative of [latex]f(x)=2x^3-6x^2+3[/latex].
The Product Rule
Although it might be tempting to assume that the derivative of the product is the product of the derivatives, similar to the sum and difference rules, the product rule does not follow this pattern. To see why we cannot use this pattern, consider the function [latex]f(x)=x^2[/latex], whose derivative is [latex]f^{\prime}(x)=2x[/latex] and not [latex]\frac{d}{dx}(x)\cdot \frac{d}{dx}(x)=1\cdot 1=1[/latex].
Product Rule
Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be differentiable functions. Then
That is,
This means that the derivative of a product of two functions is the derivative of the first function times the second function plus the derivative of the second function times the first function.
Example: Applying the Product Rule to Binomials
For [latex]j(x)=(x^2+2)(3x^3-5x)[/latex], find [latex]j^{\prime}(x)[/latex] by applying the product rule.
Try It
Use the product rule to obtain the derivative of [latex]j(x)=2x^5(4x^2+x)[/latex].
The Quotient Rule
Having developed and practiced the product rule, we now consider differentiating quotients of functions. As we see in the following theorem, the derivative of the quotient is not the quotient of the derivatives; rather, it is the derivative of the function in the numerator times the function in the denominator minus the derivative of the function in the denominator times the function in the numerator, all divided by the square of the function in the denominator. In order to better grasp why we cannot simply take the quotient of the derivatives, keep in mind that
The Quotient Rule
Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be differentiable functions. Then
That is,
Example: Applying the Quotient Rule
Use the quotient rule to find the derivative of [latex]k(x)=\dfrac{5x^2}{4x+3}[/latex]
Try It
Find the derivative of [latex]h(x)=\dfrac{3x+1}{4x-3}[/latex]
The Chain Rule
The Chain Rule
Let [latex]f[/latex] and [latex]g[/latex] be functions. For all [latex]x[/latex] in the domain of [latex]g[/latex] for which [latex]g[/latex] is differentiable at [latex]x[/latex] and [latex]f[/latex] is differentiable at [latex]g(x)[/latex], the derivative of the composite function
is given by
Alternatively, if [latex]y[/latex] is a function of [latex]u[/latex], and [latex]u[/latex] is a function of [latex]x[/latex], then
Note that we often need to use the chain rule with other rules. For example, to find derivatives of functions of the form [latex]h(x)=(g(x))^n[/latex], we need to use the chain rule combined with the power rule. To do so, we can think of [latex]h(x)=(g(x))^n[/latex] as [latex]f(g(x))[/latex] where [latex]f(x)=x^n[/latex]. Then [latex]f^{\prime}(x)=nx^{n-1}[/latex]. Thus, [latex]f^{\prime}(g(x))=n(g(x))^{n-1}[/latex]. This leads us to the derivative of a power function using the chain rule,
Power Rule for Composition of Functions
For all values of [latex]x[/latex] for which the derivative is defined, if
Then
Example: Using the Chain and Power Rules
Find the derivative of [latex]h(x)=\dfrac{1}{(3x^2+1)^2}[/latex]
Try It
Find the derivative of [latex]h(x)=(2x^3+2x-1)^4[/latex]
Example: Using the Chain and Power Rules with a Trigonometric Function
Find the derivative of [latex]h(x)=\sin^3 x[/latex]
Now that we can combine the chain rule and the power rule, we examine how to combine the chain rule with the other rules we have learned. In particular, we can use it with the formulas for the derivatives of trigonometric functions or with the product rule.
Example: Using the Chain Rule on a Cosine Function
Find the derivative of [latex]h(x)= \cos (5x^2)[/latex].
Example: Using the Chain Rule on Another Trigonometric Function
Find the derivative of [latex]h(x)= \sec (4x^5+2x)[/latex].
Try It
Find the derivative of [latex]h(x)= \sin (7x+2)[/latex].
We now provide a list of derivative formulas that may be obtained by applying the chain rule in conjunction with the formulas for derivatives of trigonometric functions.
Using the Chain Rule with Trigonometric Functions
For all values of [latex]x[/latex] for which the derivative is defined,
[latex]\begin{array}{llll}\frac{d}{dx}(\sin (g(x)))= \cos (g(x))g^{\prime}(x) & & & \frac{d}{dx} \sin u= \cos u\frac{du}{dx} \\ \frac{d}{dx}(\cos (g(x)))=−\sin (g(x))g^{\prime}(x) & & & \frac{d}{dx} \cos u=−\sin u\frac{du}{dx} \\ \frac{d}{dx}(\tan (g(x)))= \sec^2 (g(x))g^{\prime}(x) & & & \frac{d}{dx} \tan u=\sec^2 u\frac{du}{dx} \\ \frac{d}{dx}(\cot (g(x)))=−\csc^2 (g(x))g^{\prime}(x) & & & \frac{d}{dx} \cot u=−\csc^2 u\frac{du}{dx} \\ \frac{d}{dx}(\sec (g(x)))= \sec (g(x)) \tan (g(x))g^{\prime}(x) & & & \frac{d}{dx} \sec u= \sec u \tan u\frac{du}{dx} \\ \frac{d}{dx}(\csc (g(x)))=−\csc (g(x)) \cot (g(x))g^{\prime}(x) & & & \frac{d}{dx} \csc u=−\csc u \cot u\frac{du}{dx} \end{array}[/latex]
Indefinite Integrals
Power Rule for Integrals
For [latex]n \ne −1[/latex],
Evaluating indefinite integrals for some other functions is also a straightforward calculation. The following table lists the indefinite integrals for several common functions. A more complete list appears in Appendix B: Table of Derivatives.
Differentiation Formula | Indefinite Integral |
---|---|
[latex]\frac{d}{dx}(k)=0[/latex] | [latex]\displaystyle\int kdx=\displaystyle\int kx^0 dx=kx+C[/latex] |
[latex]\frac{d}{dx}(x^n)=nx^{n-1}[/latex] | [latex]\displaystyle\int x^n dx=\frac{x^{n+1}}{n+1}+C[/latex] for [latex]n\ne −1[/latex] |
[latex]\frac{d}{dx}(\ln |x|)=\frac{1}{x}[/latex] | [latex]\displaystyle\int \frac{1}{x}dx=\ln |x|+C[/latex] |
[latex]\frac{d}{dx}(e^x)=e^x[/latex] | [latex]\displaystyle\int e^x dx=e^x+C[/latex] |
[latex]\frac{d}{dx}(\sin x)= \cos x[/latex] | [latex]\displaystyle\int \cos x dx= \sin x+C[/latex] |
[latex]\frac{d}{dx}(\cos x)=− \sin x[/latex] | [latex]\displaystyle\int \sin x dx=− \cos x+C[/latex] |
[latex]\frac{d}{dx}(\tan x)= \sec^2 x[/latex] | [latex]\displaystyle\int \sec^2 x dx= \tan x+C[/latex] |
[latex]\frac{d}{dx}(\csc x)=−\csc x \cot x[/latex] | [latex]\displaystyle\int \csc x \cot x dx=−\csc x+C[/latex] |
[latex]\frac{d}{dx}(\sec x)= \sec x \tan x[/latex] | [latex]\displaystyle\int \sec x \tan x dx= \sec x+C[/latex] |
[latex]\frac{d}{dx}(\cot x)=−\csc^2 x[/latex] | [latex]\displaystyle\int \csc^2 x dx=−\cot x+C[/latex] |
[latex]\frac{d}{dx}( \sin^{-1} x)=\frac{1}{\sqrt{1-x^2}}[/latex] | [latex]\displaystyle\int \frac{1}{\sqrt{1-x^2}} dx= \sin^{-1} x+C[/latex] |
[latex]\frac{d}{dx}(\tan^{-1} x)=\frac{1}{1+x^2}[/latex] | [latex]\displaystyle\int \frac{1}{1+x^2} dx= \tan^{-1} x+C[/latex] |
[latex]\frac{d}{dx}(\sec^{-1} |x|)=\frac{1}{x\sqrt{x^2-1}}[/latex] | [latex]\displaystyle\int \frac{1}{x\sqrt{x^2-1}} dx= \sec^{-1} |x|+C[/latex] |
Example: Evaluating Indefinite Integrals
Evaluate each of the following indefinite integrals:
- [latex]\displaystyle\int (5x^3-7x^2+3x+4) dx[/latex]
- [latex]\displaystyle\int \frac{x^2+4\sqrt[3]{x}}{x} dx[/latex]
- [latex]\displaystyle\int \frac{4}{1+x^2} dx[/latex]
- [latex]\displaystyle\int \tan x \cos x dx[/latex]
Try It
Evaluate [latex]\displaystyle\int (4x^3-5x^2+x-7) dx[/latex]
Hint
Use the previous example with [latex]g(x)=2x^3+2x-1[/latex]