# Partial Derivatives Examples 2

We will now look at even more examples of computing partial derivatives for functions of several variables. Be sure to review the Partial Derivatives page beforehand! More examples can be found on the Partial Derivatives Examples 1 page.

Before we look at the following examples, it will be important to recall the following differentiation rules for single variable real-valued functions:

**Rule for Power Functions:**$\frac{d}{dx} x^n = nx^{n-1}$.

**Rules for Trigonometric Functions:**$\frac{d}{dx} \sin x = \cos x$, $\frac{d}{dx} \cos x = - \sin x$, and $\frac{d}{Dx} \tan x = \sec ^2 x$.

**Rules for Exponential Functions:**$\frac{d}{dx} a^x = a^x \ln (a)$ and $\frac{d}{dx} e^x = e^x$.

**Rules for Logarithmic Functions:**$\frac{d}{dx} \log_a (x) = \frac{1}{x \ln a}$ and $\frac{d}{dx} \ln x = \frac{1}{x}$.

**The Chain Rule:**$\frac{d}{dx} f(g(x)) = f'(g(x)) g'(x)$.

**The Product Rule:**$\frac{d}{dx} (f(x)g(x)) = f'(x)g(x) + f(x)g'(x)$.

**The Quotient Rule:**$\frac{d}{dx} \left ( \frac{f(x)}{g(x)} \right ) = \frac{g(x)f'(x) - f(x)g'(x)}{[g(x)]^2}$ provided that $g(x) \neq 0$.

## Example 1

**Let $z = \ln (x^5e^x 2^y \cos y )$. Find $\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}$.**

To compute $\frac{\partial z}{\partial x}$ we will use the rule for logarithmic differentiation and the product rule:

(1)To compute $\frac{\partial z}{\partial y}$ we will also use the rule for logarithmic differentiation and the product rule:

(2)## Example 2

**Let $w = 2 \sin (xy) \cos (yz) \tan (xz)$. Find $\frac{\partial w}{\partial x}$, $\frac{\partial w}{\partial y}$, and $\frac{\partial w}{\partial z}$.**

To compute $\frac{\partial x}{\partial w}$ we will need to use the product rule:

(3)To compute $\frac{\partial y}{\partial w}$ we will also need to use the product rule:

(4)And lastly, to compute $\frac{\partial w}{\partial z}$ we will once again need to use the product rule:

(5)## Example 3

**Let $w = \cos ( \sin (x^2y^4z^5)) + \ln (xyz)$. Find $\frac{\partial w}{\partial x}$, $\frac{\partial w}{\partial y}$, and $\frac{\partial w}{\partial z}$.**

Applying the chain rule we obtain that:

(6)## Example 4

**Let $w = \frac{x^2y + y\cos z}{e^x + y^2e^z}$. Find $\frac{\partial w}{\partial x}$, $\frac{\partial w}{\partial y}$, and $\frac{\partial w}{\partial z}$.**

Applying the quotient rule and we get that:

(9)