This website uses cookies to ensure you get the best experience on our website. Learn more

Natural Sciences Notes Mathematics for Natural Sciences Notes

Multivariable Functions Notes

Updated Multivariable Functions Notes

Mathematics for Natural Sciences Notes

Mathematics for Natural Sciences

Approximately 176 pages

Notes for every topic covered in Mathematics for Natural Sciences, Part IA. The notes emphasise the most important aspects of each topic - specifically the material which is commonly addressed in examination questions.

Where lecture notes have been vague, I have provided further explanation and insight, and have organised the material in a logical fashion.

I have also tried to avoid long and laborious algebraic explanations, instead opting for a more intuitive/physical approach (since this ...

The following is a more accessible plain text extract of the PDF sample above, taken from our Mathematics for Natural Sciences Notes. Due to the challenges of extracting text from PDFs, it will have odd formatting:

Notes for Multivariable Functions

Functions of more than one variable are frequently encountered in scientific applications, when thinking about quantities which vary in more than one direction in space, or which vary in space and time.

Functions of two variables:

Functions of two variables have the form f(x,y). A new variable z can be introduced to visualise the function as a surface in the xyz plane, such that z=f(x,y). The variables x and y are independent, thus the behaviour of f in any direction can be formed from separate components in the x and y directions.

Partial derivatives:

Partial derivatives represent the rate of change of a multivariable function with respect to one of its variables. Geometrically, this corresponds to the function’s rate of change in the direction of one of its basis vectors. For a two-variable function:

$$\left( \frac{\partial f}{\partial x} \right)_{y} = \frac{\partial f}{\partial x} = f_{x} = \lim_{h \rightarrow 0}\frac{f(x + h,y) - f(x,y)}{h}$$ $$\left( \frac{\partial f}{\partial y} \right)_{x} = \frac{\partial f}{\partial y} = f_{y} = \lim_{k \rightarrow 0}\frac{f(x,y + k) - f(x,y)}{h}$$

Where $\left( \frac{\partial f}{\partial x} \right)_{y}$ is obtained by differentiating f with respect to x with y held constant, and $\left( \frac{\partial f}{\partial y} \right)_{x}$ is obtained by differentiating f with respect to y with x held constant.

The gradient vector (f):

At a given point in the plane defined by z=f(x,y), one can travel in any direction relative to the x and y axes. Thus, the gradient varies with direction – it is a directional, vector quantity. It is denoted grad(f) or f, where is the vector differential operator, defined in n dimensions as:

$$\boxed{\mathbf{\nabla}\mathbf{=}\left( \frac{\mathbf{\partial}}{\mathbf{\partial}\mathbf{x}_{\mathbf{1}}}\mathbf{,}\frac{\mathbf{\partial}}{\mathbf{\partial}\mathbf{x}_{\mathbf{2}}}\mathbf{,}\frac{\mathbf{\partial}}{\mathbf{\partial}\mathbf{x}_{\mathbf{3}}}\mathbf{,\ldots,}\frac{\mathbf{\partial}}{\mathbf{\partial}\mathbf{x}_{\mathbf{n}}} \right)}$$

Two dimensions: Three dimensions:
$$grad(f) = \nabla f = \widehat{\mathbf{i}}\left( \frac{\partial f}{\partial x} \right) + \widehat{\mathbf{j}}\left( \frac{\partial f}{\partial y} \right) = \left( \frac{\partial f}{\partial x},\frac{\partial f}{\partial y} \right)$$ $$grad(f) = \nabla f = \widehat{\mathbf{i}}\left( \frac{\partial f}{\partial x} \right) + \widehat{\mathbf{j}}\left( \frac{\partial f}{\partial y} \right) + \widehat{\mathbf{k}}\left( \frac{\partial f}{\partial z} \right) = \left( \frac{\partial f}{\partial x},\frac{\partial f}{\partial y},\frac{\partial f}{\partial z} \right)$$

Direction is perpendicular to the contours of f(x,y).

Magnitude is the rate of change perpendicular to the contours (maximum rate of change).

Direction is perpendicular to the equipotential surfaces of f(x,y,z).

Magnitude is the rate of change perpendicular to the equipotentials (maximum rate of change).

Directional derivatives:

The gradient vector f points in the direction of steepest ascent on the surface f. The gradient in any direction at a given point (x,y) can be obtained by taking the projection of f onto a unit vector in that direction, using the scalar product. Such a derivative is called a directional derivative, and is defined by:

$$\boxed{\nabla f \bullet \widehat{\mathbf{u}}}$$

Where $\widehat{\mathbf{u}}$ is the unit vector in the appropriate direction.

Second and higher-order partial derivatives:

Higher-order partial derivatives are obtained in the same way as higher-order ordinary derivatives; by repeated differentiation:

$$\frac{\partial^{2}f}{\partial x^{2}} = f_{xx} = \frac{\partial}{\partial x}\left( \frac{\partial f}{\partial x} \right)$$ $$\frac{\partial^{2}f}{\partial y^{2}} = f_{yy} = \frac{\partial}{\partial y}\left( \frac{\partial f}{\partial y} \right)$$
$$\frac{\partial^{2}f}{\partial x\partial y} = f_{xy} = \frac{\partial}{\partial x}\left( \frac{\partial f}{\partial y} \right)$$ $$\frac{\partial^{2}f}{\partial y\partial x} = f_{yx} = \frac{\partial}{\partial y}\left( \frac{\partial f}{\partial x} \right)$$

The derivatives $\frac{\partial^{2}f}{\partial x\partial y}$ and $\frac{\partial^{2}f}{\partial y\partial x}$ are known as ‘mixed partial derivatives’. In general, mixed partial derivatives in the nth dimension commute if:

  • They are taken with respect to independent variables in the same co-ordinate system

  • The function f(x1,x2,…xn) is continuous and differentiable in all its variables

In such a case:

$$\frac{\partial^{n}f}{\partial x_{1}\partial x_{2}\ldots\partial x_{n}} \equiv \ldots \equiv \frac{\partial^{n}f}{\partial x_{n}\partial x_{n - 1}\ldots\partial x_{1}}$$

Proof of commutivity for continuous, differentiable functions of two variables:

Let a=f(x,y),b=f(x+h,y),c=f(x,y+k),d=f(x+h,y+k):

$$\frac{\partial^{2}f}{\partial x\partial y} = \frac{\partial}{\partial x}\left( \frac{\partial f}{\partial y} \right) = \lim_{h \rightarrow 0}\frac{\lim_{k \rightarrow 0}\left( \frac{d - b}{k} \right) - \lim_{k \rightarrow 0}\left( \frac{c - a}{k} \right)}{h}$$

$$\frac{\partial^{2}f}{\partial y\partial x} = \frac{\partial}{\partial y}\left( \frac{\partial f}{\partial x} \right) = \lim_{k \rightarrow 0}\frac{\lim_{h \rightarrow 0}\left( \frac{d - c}{h} \right) - \lim_{h \rightarrow 0}\left( \frac{b - a}{h} \right)}{k}$$

So long as h,k0 is equivalent to k,h0 (the function f(x,y) is continuous with respect to both x and y):

$$\mathbf{\therefore}\frac{\mathbf{\partial}^{\mathbf{2}}\mathbf{f}}{\mathbf{\partial x\partial y}}\mathbf{=}\frac{\mathbf{\partial}^{\mathbf{2}}\mathbf{f}}{\mathbf{\partial y\partial x}}\mathbf{=}\underset{\mathbf{h,k \rightarrow 0}}{\mathbf{\lim}}{\frac{\mathbf{1}}{\mathbf{hk}}\mathbf{(d - c - b + a)}}$$

Integration of partial derivatives:

Integration of multivariable functions is carried out by the same principle as partial differentiation: the function is integrated with...

Buy the full version of these notes or essay plans and more in our Mathematics for Natural Sciences Notes.