Skills Review for Partial Derivatives and Tangent Planes and Linear Approximations

Learning Outcomes

  • Apply basic derivative rules
  • Apply the chain rule together with the power and product rule
  • Evaluate trigonometric functions using the unit circle

In the Partial Derivatives section, we will learn how to take derivatives of functions containing several variables and then use these partial derivatives for various applications in the Tangent Planes and Linear Approximations section. Here we will review how to apply basic differentiation techniques, use the chain rule to take a derivative, and evaluate trigonometric functions at specific angle measures.

Basic Derivative Rules

(also in Module 3, Skills Review for Calculus of Vector-Valued Functions)

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:

[latex]\begin{array}{ll}f^{\prime}(x) & =\underset{h\to 0}{\lim}\dfrac{f(x+h)-f(x)}{h} \\ & =\underset{h\to 0}{\lim}\dfrac{c-c}{h} \\ & =\underset{h\to 0}{\lim}\dfrac{0}{h} \\ & =\underset{h\to 0}{\lim}0=0 \end{array}[/latex]

 

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

[latex]\dfrac{d}{dx}\left(x^2\right)=2x[/latex]   and   [latex]\dfrac{d}{dx}\left(x^{\frac{1}{2}}\right)=\dfrac{1}{2}x^{−\frac{1}{2}}[/latex]

 

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

[latex]f^{\prime}(x)=nx^{n-1}[/latex]

 

Alternatively, we may express this rule as

[latex]\dfrac{d}{dx}(x^n)=nx^{n-1}[/latex]

 

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].

[latex]\frac{d}{dx}(f(x)+g(x))=\frac{d}{dx}(f(x))+\frac{d}{dx}(g(x))[/latex];

 

that is,

for [latex]j(x)=f(x)+g(x), \, j^{\prime}(x)=f^{\prime}(x)+g^{\prime}(x)[/latex]

 

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].

[latex]\frac{d}{dx}(f(x)-g(x))=\frac{d}{dx}(f(x))-\frac{d}{dx}(g(x))[/latex];

 

that is,

for [latex]j(x)=f(x)-g(x), \, j^{\prime}(x)=f^{\prime}(x)-g^{\prime}(x)[/latex]

 

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:

[latex]\frac{d}{dx}(kf(x))=k\frac{d}{dx}(f(x))[/latex];

 

that is,

for [latex]j(x)=kf(x), \, j^{\prime}(x)=kf^{\prime}(x)[/latex]

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 Chain Rule

(also in Module 3, Skills Review for Calculus of Vector-Valued Functions)

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

[latex]h(x)=(f\circ g)(x)=f(g(x))[/latex]

 

is given by

[latex]h^{\prime}(x)=f^{\prime}(g(x))g^{\prime}(x)[/latex]

 

Alternatively, if [latex]y[/latex] is a function of [latex]u[/latex], and [latex]u[/latex] is a function of [latex]x[/latex], then

[latex]\frac{dy}{dx}=\frac{dy}{du} \cdot \frac{du}{dx}[/latex]

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,

[latex]h^{\prime}(x)=n(g(x))^{n-1}g^{\prime}(x)[/latex]

Power Rule for Composition of Functions


For all values of [latex]x[/latex] for which the derivative is defined, if

[latex]h(x)=(g(x))^n[/latex]

 

Then

[latex]h^{\prime}(x)=n(g(x))^{n-1}g^{\prime}(x)[/latex]

 

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]

Evaluate Trigonometric Functions Using the Unit Circle

(See Module 4, Skills Review for Functions of Several Variables and Limits and Continuity)