Skip to main content
Contents
Search Book
Search Results:
No results.
Read aloud
Readability settings Prev Up Next
\(\newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 3.8 PD3: Partial Derivatives and the Tangent Plane
Objectives
In this lesson, youβll how to explain how to compute partial derivatives and use them to find the tangent plane to the graph of a function.
Handout PD3: Lecture Scaffold
Motivation From Single Variable Calculus.
Given a function \(y=f(x)\) on an interval \([a,b]\) and some point \(x=x_0\) inside the interval, the first derivative:
\begin{equation*}
f'(x_0)=\lim_{h\to 0}\frac{f(c+h)-f(c)}{h}
\end{equation*}
represented the rate of change of \(f\) at \(x=x_0\) (or, if preferred, the slope of the tangent line to the graph at \((x_0,f(x_0))\) ).
The tangent line was therefore given by:
\begin{equation*}
y-f(x_0)=f'(x_0)(x-x_0)
\end{equation*}
Further, the linear function \(L(x)\) defined by
\begin{equation*}
L(x)=f'(x_0)(x-x_0)+f(x_0)
\end{equation*}
was called the linear approximation of \(f\) at \(x=x_0\text{.}\) By design, it is a linear function that best approximates our original function \(f\text{.}\)
Definition 3.8.1 .
Let
\(f(x,y)\) be a function of two variables and
\((x_0,y_0)\) a point in its domain.
The partial derivative of \(f(x,y)\) with respect to \(x\) is:
\begin{equation*}
\frac{\partial f}{\partial x}\Big|_{(x_0,y_0)}=f_x\Big|_{(x_0,y_0)}=\lim_{h\to 0}\frac{f(x_0+h,y_0)-f(x_0,y_0)}{h}
\end{equation*}
The partial derivative of \(f(x,y)\) with respect to \(y\) is:
\begin{equation*}
\frac{\partial f}{\partial y}\Big|_{(x_0,y_0)}=f_y\Big|_{(x_0,y_0)}=\lim_{h\to 0}\frac{f(x_0,y_0+h)-f(x_0,y_0)}{h}
\end{equation*}
Likewise, we define
\(f_x,f_y,f_z\) for functions of three variables and so on.
Interpretation.
The partial derivative
\(\frac{\partial f}{\partial x}\) corresponds to the following rate of change: suppose that we look at
\(f(x,y)\) but treat
\(y=y_0\) as a constant. Then, the function
\(f(x,y_0)\) is a function of one variable
\(x\) and we can differentiate it like normal, remembering that
\(y=y_0\) is held constant.
This partial derivative
\(\frac{\partial f}{\partial x}\text{,}\) then, is the rate of change of
\(f\) in the direction of the
\(x\) -axis. Likewise for
\(y\text{.}\)
Example 3.8.2 .
Calculate the following partial derivatives:
\(f_x,f_y\) at
\((4,-5)\) where
\(f(x,y)=x^2+3xy+y-1\)
\(\frac{\partial f}{\partial y}\) where
\(f(x,y)=y\sin(xy)\)
\(f_z\) where
\(f(x,y,z)=x\sin(y+3z)\)
Interpretation: Two Distinguished Tangent Lines.
If \(z=f(x,y)\) is a function that has partial derivatives at \((x_0,y_0)\) then the partial derivatives help us write down two lines that are tangent to the surface at \((x_0,y_0,f(x_0,y_0))\text{:}\)
\begin{align*}
z-z_0 \amp =\frac{\partial z}{\partial x}\Big|_{(x_0,y_0)}(x-x_0),\ y=y_0\\
z-z_0 \amp =\frac{\partial z}{\partial y}\Big|_{(x_0,y_0)}(y-y_0),\ x=x_0
\end{align*}
These lines in fact lie on the tangent plane which is given by:
\begin{equation*}
z-f(x_0,y_0)=\frac{\partial z}{\partial x}\Big|_{(x_0,y_0)}(x-x_0)+\frac{\partial z}{\partial y}\Big|_{(x_0,y_0)}(y-y_0).
\end{equation*}
Example 3.8.3 .
Determine the tangent plane for the function
\(f(x,y)=x^2+3xy+y-1\) at the point corresponding to
\((x,y)=(4,-5).\)
Example 3.8.4 .
For a function of a single-variable, differentiability always implied continuity: if a function
\(f(x)\) was differentiable at
\(x=c\text{,}\) then it was necessarily continuous there.
Consider:
\(f(x,y) = \begin{cases}
0, & xy \neq 0 \\
1, & xy = 0
\end{cases}\) Then check: this function is not continuous, but it is partially differentiable in both
\(x\) and
\(y\text{.}\)
Higher Order Derivatives.
Of course, provided the partial derivatives are themselves reasonable functions, we can continue to take partial derivatives.
So-called second-order derivatives are:
\begin{align*}
\frac{\partial^2 f}{\partial x^2},\frac{\partial^2f}{\partial y\partial x},\frac{\partial^2f}{\partial x\partial y} ,\frac{\partial^2f}{\partial y^2}\amp
\end{align*}
Example 3.8.5 .
Let
\(f(x,y)=x\cos{y}+ye^x\text{.}\) Calculate all second-order partial derivatives.
Mixed Derivative Theorem.
Theorem 3.8.6 .
If \(f(x,y)\) and its partial derivatives are defined and continuous at the point \((a,b)\text{,}\) then:
\begin{equation*}
f_{xy}(a,b)=f_{yx}(a,b)
\end{equation*}
Problem 3.8.7 PD3 Representative Assessment.
Consider the function
\(f(x,y)=\sqrt{2x+3y-1}\text{.}\)
(a)
Explain and demonstrate how to calculate
\(\frac{\partial f}{\partial x}\) and
\(\frac{\partial f}{\partial y}\) as functions of
\((x,y)\text{.}\)
Solution .
We calculate the given partial derivatives by differentiating with respect to the indicated variables and holding the others constant:
\begin{align*}
f_x \amp =\frac{1}{2}(2x+3y-1)^{-\frac{1}{2}}(2) \\
f_y \amp =\frac{1}{2}(2x+3y-1)^{-\frac{1}{2}}(3)
\end{align*}
(b)
Explain and demonstrate how to calculate
\(\frac{\partial^2f}{\partial x^2}f,\frac{\partial^2f}{\partial y^2},\frac{\partial^2f}{\partial y\partial x},\frac{\partial^2f}{\partial x\partial y}\) as functions of
\((x,y)\text{.}\)
Solution .
We continue differentiating as indicated from the results above:
\begin{align*}
f_{xx} \amp =-\frac{1}{4}(2x+3y-1)^{-\frac{3}{2}}(2)(2)\\
f_{yy} \amp =-\frac{1}{4}(2x+3y-1)^{-\frac{3}{2}}(3)(3)\\
f_{yx} \amp =-\frac{1}{4}(2x+3y-1)^{-\frac{3}{2}}(2)(3)\\
f_{xy} \amp =-\frac{1}{4}(2x+3y-1)^{-\frac{3}{2}}(3)(2)
\end{align*}