To determine how a function of several variables behaves when we change only one variable, we assign finite values to the other variables and allow only this variable to vary. In this case, the function becomes a function of a single variable. For example, consider a function $z=f(x,y)$, and assign to $y$ a (finite) fixed value of $y=y_0$. The result, $z=f(x,y_0)$, is a function of only $x$. The curve formed by the intersection of the surface $z=f(x,y)$ and the plane $y=y_0$ represents the graph of $z=f(x,y_0)$ (see Fig. 1). Now we can differentiate $z=f(x,y_0)$ like a function of a single variable. What we obtain is called the partial derivative of $f(x,y)$ with respect to $x$ at $(x_0,y_0)$:

$$\lim_{h\rightarrow 0}\frac{f(x_0+h,y_0)-f(x_0,y_0)}{h}.$$

To emphasize that we first held $y$ fixed at $y_0$ and then we differentiated with respect to $x$ at $x=x_0$, we use a “curved dee” $\partial$ instead of the regular letter $\text{d}$, and denote the above limit by $\dfrac{\partial f}{\partial x}(x_0,y_0)$.

Figure 1: section of $z=f(x,y)$. |

From single variable calculus, we remember that the derivative is the slope of the tangent line. Here, the partial derivative of $f(x,y)$ with respect to $x$ is the tangent of the angle between the curve $z=f(x,y_0)$ and a line parallel to the $x$-axis at the point $\left(x_0,y_0,f(x_0,y_0)\right)$. That is, $\dfrac{\partial f}{\partial x}(x_0,y_0)$ is the slope of the surface $z=f(x,y)$ at $\big(x_0,y_0,f(x_0,y_0)\big)$ in the $x$ direction.

In a similar way, we can hold $x$ constant at $x_0$ and make $f$ a function of $y$ alone, the derivative of which is the partial derivative of $z=f(x,y)$ with respect to $y$ at $(x_0,y_0)$ and is given by:

$$\frac{\partial f}{\partial y}(x_0,y_0)=\lim_{k\rightarrow 0}\frac{f(x_0,y_0+k)-f(x_0,y_0)}{k}.$$

$ \dfrac{\partial f}{\partial x}(x_0,y_0)$ is slope the slope of the surface $z=f(x,y)$ at $\big(x_0,y_0,f(x_0,y_0)\big)$ in the $x$ direction. See Fig. 2.

If we let $(x_0,y_0)$ vary in the domain of $f(x,y)$ and find the partial derivatives at all points, the partial derivatives become two functions of $x$ and $y$:

$$f_x(x,y)=\frac{\partial f(x,y)}{\partial x},\quad f_y(x,y)=\frac{\partial f(x,y)}{\partial y}$$

**Definition 1:**If $z=f(x,y)$, the first partial derivatives of $f$ with respect to the variables $x$ and $y$ are two functions $f_x(x,y)$ and $f_y(x,y)$ given by:

$$f_x(x,y)=\lim_{h\rightarrow 0}\frac{f(x+h,y)-f(x,y)}{h}$$

$$f_y(x,y)=\lim_{k\rightarrow 0}\frac{f(x,y+k)-f(x,y)}{k}$$

provided the limits exist.

- Other common notations of partial derivatives are

\begin{align*}

\frac{\partial f(x,y)}{\partial x}=&\frac{\partial}{\partial x}f(x,y)=\left(\frac{\partial f}{\partial x}\right)_y=f_x(x,y)=f_1(x,y)=D_x f(x,y)=D_1 f(x,y)\\

=&\frac{\partial z}{\partial x}=z_x(x,y)=\partial_x f(x,y)=\partial_x z,\\

\frac{\partial f(x,y)}{\partial y}=&\frac{\partial}{\partial y}f(x,y)=\left(\frac{\partial f}{\partial x}\right)_x=f_y(x,y)=f_2(x,y)=D_y f(x,y)=D_2 f(x,y)\\

=&\frac{\partial z}{\partial y}=z_y(x,y)=\partial_y f(x,y)=\partial_y z

\end{align*}

- Other common notations, specially in physics and mechanics, are $f’_x(x,y)$ or $f_{,x}(x,y)$. Comma or prime is used to emphasize that $x$ is not a subscript.

- If $u=f(x,y,z)$ is a function of $x,y$ and $z$, the first partial derivatives of $f$ with respect to $x, y$, and $z$ are:

\[ \bbox[#F2F2F2,5px,border:2px solid black]{\dfrac{\partial f}{\partial x}=\lim_{h\to 0} \dfrac{f(x+h,y,z)-f(x,y,z)}{h}}\] \[ \bbox[#F2F2F2,5px,border:2px solid black]{\dfrac{\partial f}{\partial y}=\lim_{k\to 0}\dfrac{f(x,y+k,z)-f(x,y,z)}{k}}\] \[ \bbox[#F2F2F2,5px,border:2px solid black]{\dfrac{\partial f}{\partial z}=\lim_{p \to 0}\dfrac{f(x,y,z+p)-f(x,y,z)}{p}}\] - In general, if $u=f(x_1,x_2,\cdots,x_n)$ is a function of several variables, we can similarly define its partial derivatives by:

\[ \bbox[#F2F2F2,5px,border:2px solid black]{\dfrac{\partial f}{\partial x_k}=\displaystyle{\lim_{h\rightarrow 0}}\dfrac{f(x_1,\cdots,x_{k-1},x_k+h,x_{k+1},\cdots,x_n)-f(x_1,\cdots,x_k,\cdots,x_n)}{h}}\]

- To calculate $\partial f/\partial x_k$, we differentiate with respect to $x_k$ in a regular way and deal with the other variables as if they are constants.

- To indicate that a partial derivative of $z=f(x,y)$ has been evaluated at $(x_0,y_0)$, we write:

$$\frac{\partial f}{\partial x}(x_0,y_0)\quad\text{or}\quad \left.\frac{\partial f}{\partial x}\right|_{(x_0,y_0)}\quad\text{or}\quad \left.\frac{\partial f}{\partial x}\right|_{{x=x_0} \atop {y=y_0}}\quad \text{or}\quad f_x(x_0,y_0) \quad \text{or}\quad z_x(x_0,y_0).$$

In the above notations we can replace $\partial f/\partial x$ with $\partial z/\partial x$.