Partial Derivatives Linear Algebra and Vector...
Transcript of Partial Derivatives Linear Algebra and Vector...
![Page 1: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/1.jpg)
Partial Derivatives
Linear Algebra and Vector Analysis
![Page 2: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/2.jpg)
Introduction
If f is a function of two variables x and y,
suppose we let only x vary while keeping
y fixed, say y = b, where b is a constant.
Then we are really considering a function
of a single variable x, namely, g(x) = f(x, b).
If g has a derivative at a, then we call it the
partial derivative of f with respect to x at (a, b)
and denote it by fx(a, b).
![Page 3: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/3.jpg)
Notations
There are many alternate notations for
partial derivatives:
![Page 4: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/4.jpg)
Finding Partial Derivatives
The partial derivative with respect to x is
just the ordinary derivative of the function
g of a single variable that we get by
keeping y fixed:
![Page 5: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/5.jpg)
Example
If f(x, y) = x3 + x2y3 – 2y2, find fx(2, 1) and
fy(2, 1).
Solution Holding y constant and
differentiating with respect to x, we get
fx(x, y) = 3x2 + 2xy3
and so
fx(2, 1) = 3 · 22 + 2 · 2 · 13 = 16
![Page 6: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/6.jpg)
Solution (cont’d)
Holding x constant and differentiating
with respect to y, we get
fx(x, y) = 3x2y2 – 4y
and so
fx(2, 1) = 3 · 22 · 12 – 4 · 1 = 8
![Page 7: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/7.jpg)
Example
If f(x, y) = 4 – x2 – 2y2, find fx(1, 1) and
fy(1, 1).
Solution We have
![Page 8: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/8.jpg)
Example
If
Solution Using the Chain Rule for
functions of one variable, we have
. and calculate ,1
sin,y
f
x
f
y
xyxf
![Page 9: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/9.jpg)
Example
Find fx , fy , and fz if f(x, y, z) = exy ln z.
Solution Holding y and z constant and
differentiating with respect to x, we have
fx = yexy ln z
Similarly,
fy = xexy ln z and fz = exy/z
![Page 10: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/10.jpg)
Higher Derivatives
If f is a function of two variables, then its
partial derivatives fx and fy are also
functions of two variables, so we can
consider their partial derivatives
(fx)x , (fx)y , (fy)x , and (fy)y ,
which are called the second partial
derivatives of f.
![Page 11: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/11.jpg)
Higher Derivatives (cont’d)
If z = f(x, y), we use the following notation:
![Page 12: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/12.jpg)
Mixed Partial Derivatives
Note that fxy = fyx in the preceding
example, which is not just a coincidence.
It turns out that fxy = fyx for most functions
that one meets in practice:
![Page 13: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/13.jpg)
Example
Find the second partial derivatives of
f(x, y) = x3 + x2y3 – 2y2
Solution Earlier we found that
fx(x, y) = 3x2 + 2xy3 fy(x, y) = 3x2y2 – 4y
Therefore
![Page 14: Partial Derivatives Linear Algebra and Vector Analysisfac.ksu.edu.sa/sites/default/files/partial_derivatives_0.pdfIntroduction If f is a function of two variables x and y, suppose](https://reader033.fdocuments.net/reader033/viewer/2022041519/5e2cffca5b87c22fc8333042/html5/thumbnails/14.jpg)
Example
Calculate fxxyz if f(x, y, z) = sin(3x + yz).
Solution