Partial derivative: Difference between revisions

From Calculus
Line 10: Line 10:


{| class="sortable" border="1"
{| class="sortable" border="1"
! Which partial derivative? !! Notation for partial derivative !! Definition as derivative !! Definition as limit
! Item !! For partial derivative with respect to <math>x</math> !! For partial derivative with respect to <math>y</math>
|-
|-
| Partial derivative with respect to <math>x</math> || <math>\frac{\partial f(x,y)}{\partial x}|_{(x,y) = (x_0,y_0)}</math><br>Also denoted <math>f_x(x_0,y_0</math> or <math>f_1(x_0,y_0)</math> || <math>\frac{d}{dx}f(x,y_0)|_{x = x_0}</math>. In other words, it is the derivative (at <math>x = x_0</math>) of the function <math>x \mapsto f(x,y_0)</math> || <math>\lim_{x \to x_0} \frac{f(x,y_0) - f(x_0,y_0)}{x - x_0}</math><br><math>\lim_{h \to 0} \frac{f(x_0 + h,y_0) - f(x_0,y_0)}{h}</math>
| Notation || <math>\frac{\partial f(x,y)}{\partial x}|_{(x,y) = (x_0,y_0)}</math><br>Also denoted <math>f_x(x_0,y_0</math> or <math>f_1(x_0,y_0)</math> || <math>\frac{\partial f(x,y)}{\partial y}|_{(x,y) = (x_0,y_0)}</math><br>Also denoted <math>f_y(x_0,y_0)</math> or <math>f_2(x_0,y_0)</math>
|-
|-
| Partial derivative with respect to <math>y</math> || <math>\frac{\partial f(x,y)}{\partial y}|_{(x,y) = (x_0,y_0)}</math><br>Also denoted <math>f_y(x_0,y_0)</math> or <math>f_2(x_0,y_0)</math> || <math>\frac{d}{dy}f(x_0,y)|_{y = y_0}</math>. In other words, it is the derivative (at <math>y = y_0</math>) of the function <math>y \mapsto f(x_0,y)</math>. || <math>\lim_{y \to y_0} \frac{f(x_0,y) - f(x_0,y_0)}{y - y_0}</math><br><math>\lim_{h \to 0} \frac{f(x_0,y_0 + h) - f(x_0,y_0)}{h}</math>
| Definition as [[derivative]] || <math>\frac{d}{dx}f(x,y_0)|_{x = x_0}</math>. In other words, it is the derivative (at <math>x = x_0</math>) of the function <math>x \mapsto f(x,y_0)</math> || <math>\frac{d}{dy}f(x_0,y)|_{y = y_0}</math>. In other words, it is the derivative (at <math>y = y_0</math>) of the function <math>y \mapsto f(x_0,y)</math>.
|-
| Definition as limit (using derivative as limit of difference quotient) || <math>\lim_{x \to x_0} \frac{f(x,y_0) - f(x_0,y_0)}{x - x_0}</math><br><math>\lim_{h \to 0} \frac{f(x_0 + h,y_0) - f(x_0,y_0)}{h}</math> || <math>\lim_{y \to y_0} \frac{f(x_0,y) - f(x_0,y_0)}{y - y_0}</math><br><math>\lim_{h \to 0} \frac{f(x_0,y_0 + h) - f(x_0,y_0)}{h}</math>
|-
| Definition as [[directional derivative]] || Directional derivative at <math>(x_0,y_0</math> with respect to a unit vector in the positive <math>x</math>-direction. || Directional derivative at <math>(x_0,y_0</math> with respect to a unit vector in the positive <math>y</math>-direction.
|}
|}



Revision as of 00:42, 2 April 2012

Definition at a point

Generic definition

Suppose f is a function of more than one variable, where x is one of the input variables to f. Fix a choice x=x0 and fix the values of all the other variables. The partial derivative of f with respect to x, denoted f/x, or fx, is defined as the derivative at x0 of the function that sends x to f at x for the same fixed choice of the other input variables.

For a function of two variables

Suppose f is a real-valued function of two variables x,y, i.e., the domain of f is a subset of R2. Suppose (x0,y0) is a point in the domain of f. We define the partial derivatives at (x0,y0) as follows:

Item For partial derivative with respect to x For partial derivative with respect to y
Notation f(x,y)x|(x,y)=(x0,y0)
Also denoted fx(x0,y0 or f1(x0,y0)
f(x,y)y|(x,y)=(x0,y0)
Also denoted fy(x0,y0) or f2(x0,y0)
Definition as derivative ddxf(x,y0)|x=x0. In other words, it is the derivative (at x=x0) of the function xf(x,y0) ddyf(x0,y)|y=y0. In other words, it is the derivative (at y=y0) of the function yf(x0,y).
Definition as limit (using derivative as limit of difference quotient) limxx0f(x,y0)f(x0,y0)xx0
limh0f(x0+h,y0)f(x0,y0)h
limyy0f(x0,y)f(x0,y0)yy0
limh0f(x0,y0+h)f(x0,y0)h
Definition as directional derivative Directional derivative at (x0,y0 with respect to a unit vector in the positive x-direction. Directional derivative at (x0,y0 with respect to a unit vector in the positive y-direction.

For a function of multiple variables

The notation here gets a little messy, so read it carefully. We consider a function f of n variables, which we generically denote (x1,x2,,xn) respectively. Consider a point (a1,a2,,an) in the domain of the function. In other words, this is a point where x1=a1,x2=a2,,xn=an.

Suppose i is a natural number in the set {1,2,3,,n}.

The partial derivative at this point (a1,a2,,an) with respect to the variable xi is defined as a derivative as given below.

This partial derivative is also denoted as fxi(a1,a2,,an) or fi(a1,a2,,an).

As a derivative:

xif(x1,x2,,xn)|(x1,x2,,xn)=(a1,a2,,an)=ddxif(a1,a2,,ai1,xi,ai+1,,an)|xi=ai

In other words, it is the derivative (evaluated at ai) of the function xf(x1,x2,,xi1,ai,xi+1,,xn) with respect to xi, evaluated at the point xi=ai.

As a limit: The partial derivative can be defined explicitly as a limit: