Misplaced Pages

Multivariable calculus

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Multi-variable calculus) Calculus of functions of several variables
This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.
Find sources: "Multivariable calculus" – news · newspapers · books · scholar · JSTOR (October 2015)
Part of a series of articles about
Calculus
a b f ( t ) d t = f ( b ) f ( a ) {\displaystyle \int _{a}^{b}f'(t)\,dt=f(b)-f(a)}
Differential
Definitions
Concepts
Rules and identities
Integral
Definitions
Integration by
Series
Convergence tests
Vector
Theorems
Multivariable
Formalisms
Definitions
Advanced
Specialized
Miscellanea

Multivariable calculus (also known as multivariate calculus) is the extension of calculus in one variable to calculus with functions of several variables: the differentiation and integration of functions involving multiple variables (multivariate), rather than just one.

Multivariable calculus may be thought of as an elementary part of calculus on Euclidean space. The special case of calculus in three dimensional space is often called vector calculus.

Introduction

In single-variable calculus, operations like differentiation and integration are made to functions of a single variable. In multivariate calculus, it is required to generalize these to multiple variables, and the domain is therefore multi-dimensional. Care is therefore required in these generalizations, because of two key differences between 1D and higher dimensional spaces:

  1. There are infinite ways to approach a single point in higher dimensions, as opposed to two (from the positive and negative direction) in 1D;
  2. There are multiple extended objects associated with the dimension; for example, for a 1D function, it must be represented as a curve on the 2D Cartesian plane, but a function with two variables is a surface in 3D, while curves can also live in 3D space.

The consequence of the first difference is the difference in the definition of the limit and differentiation. Directional limits and derivatives define the limit and differential along a 1D parametrized curve, reducing the problem to the 1D case. Further higher-dimensional objects can be constructed from these operators.

The consequence of the second difference is the existence of multiple types of integration, including line integrals, surface integrals and volume integrals. Due to the non-uniqueness of these integrals, an antiderivative or indefinite integral cannot be properly defined.

Limits

A study of limits and continuity in multivariable calculus yields many counterintuitive results not demonstrated by single-variable functions.

A limit along a path may be defined by considering a parametrised path s ( t ) : R R n {\displaystyle s(t):\mathbb {R} \to \mathbb {R} ^{n}} in n-dimensional Euclidean space. Any function f ( x ) : R n R m {\displaystyle f({\overrightarrow {x}}):\mathbb {R} ^{n}\to \mathbb {R} ^{m}} can then be projected on the path as a 1D function f ( s ( t ) ) {\displaystyle f(s(t))} . The limit of f {\displaystyle f} to the point s ( t 0 ) {\displaystyle s(t_{0})} along the path s ( t ) {\displaystyle s(t)} can hence be defined as

lim x s ( t 0 ) f ( x ) = lim t t 0 f ( s ( t ) ) {\displaystyle \lim _{{\overrightarrow {x}}\to s(t_{0})}f({\overrightarrow {x}})=\lim _{t\to t_{0}}f(s(t))} (1)

Note that the value of this limit can be dependent on the form of s ( t ) {\displaystyle s(t)} , i.e. the path chosen, not just the point which the limit approaches. For example, consider the function

f ( x , y ) = x 2 y x 4 + y 2 . {\displaystyle f(x,y)={\frac {x^{2}y}{x^{4}+y^{2}}}.}

If the point ( 0 , 0 ) {\displaystyle (0,0)} is approached through the line y = k x {\displaystyle y=kx} , or in parametric form:

Plot of the function f(x, y) = (x²y)/(x + y)
x ( t ) = t , y ( t ) = k t {\displaystyle x(t)=t,\,y(t)=kt} (2)

Then the limit along the path will be:

lim t 0 f ( x ( t ) , y ( t ) ) = lim t 0 k t 3 t 4 + k 2 t 2 = 0 {\displaystyle \lim _{t\to 0}f(x(t),y(t))=\lim _{t\to 0}{\frac {kt^{3}}{t^{4}+k^{2}t^{2}}}=0} (3)

On the other hand, if the path y = ± x 2 {\displaystyle y=\pm x^{2}} (or parametrically, x ( t ) = t , y ( t ) = ± t 2 {\displaystyle x(t)=t,\,y(t)=\pm t^{2}} ) is chosen, then the limit becomes:

lim t 0 f ( x ( t ) , y ( t ) ) = lim t 0 ± t 4 t 4 + t 4 = ± 1 2 {\displaystyle \lim _{t\to 0}f(x(t),y(t))=\lim _{t\to 0}{\frac {\pm t^{4}}{t^{4}+t^{4}}}=\pm {\frac {1}{2}}} (4)

Since taking different paths towards the same point yields different values, a general limit at the point ( 0 , 0 ) {\displaystyle (0,0)} cannot be defined for the function.

A general limit can be defined if the limits to a point along all possible paths converge to the same value, i.e. we say for a function f : R n R m {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} ^{m}} that the limit of f {\displaystyle f} to some point x 0 R n {\displaystyle x_{0}\in \mathbb {R} ^{n}} is L, if and only if

lim t t 0 f ( s ( t ) ) = L {\displaystyle \lim _{t\to t_{0}}f(s(t))=L} (5)

for all continuous functions s ( t ) : R R n {\displaystyle s(t):\mathbb {R} \to \mathbb {R} ^{n}} such that s ( t 0 ) = x 0 {\displaystyle s(t_{0})=x_{0}} .

Continuity

From the concept of limit along a path, we can then derive the definition for multivariate continuity in the same manner, that is: we say for a function f : R n R m {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} ^{m}} that f {\displaystyle f} is continuous at the point x 0 {\displaystyle x_{0}} , if and only if

lim t t 0 f ( s ( t ) ) = f ( x 0 ) {\displaystyle \lim _{t\to t_{0}}f(s(t))=f(x_{0})} (5)

for all continuous functions s ( t ) : R R n {\displaystyle s(t):\mathbb {R} \to \mathbb {R} ^{n}} such that s ( t 0 ) = x 0 {\displaystyle s(t_{0})=x_{0}} .

As with limits, being continuous along one path s ( t ) {\displaystyle s(t)} does not imply multivariate continuity.

Continuity in each argument not being sufficient for multivariate continuity can also be seen from the following example. For example, for a real-valued function f : R 2 R {\displaystyle f:\mathbb {R} ^{2}\to \mathbb {R} } with two real-valued parameters, f ( x , y ) {\displaystyle f(x,y)} , continuity of f {\displaystyle f} in x {\displaystyle x} for fixed y {\displaystyle y} and continuity of f {\displaystyle f} in y {\displaystyle y} for fixed x {\displaystyle x} does not imply continuity of f {\displaystyle f} .

Consider

f ( x , y ) = { y x y if 0 y < x 1 x y x if 0 x < y 1 1 x if 0 < x = y 0 everywhere else . {\displaystyle f(x,y)={\begin{cases}{\frac {y}{x}}-y&{\text{if}}\quad 0\leq y<x\leq 1\\{\frac {x}{y}}-x&{\text{if}}\quad 0\leq x<y\leq 1\\1-x&{\text{if}}\quad 0<x=y\\0&{\text{everywhere else}}.\end{cases}}}

It is easy to verify that this function is zero by definition on the boundary and outside of the quadrangle ( 0 , 1 ) × ( 0 , 1 ) {\displaystyle (0,1)\times (0,1)} . Furthermore, the functions defined for constant x {\displaystyle x} and y {\displaystyle y} and 0 a 1 {\displaystyle 0\leq a\leq 1} by

g a ( x ) = f ( x , a ) {\displaystyle g_{a}(x)=f(x,a)\quad } and h a ( y ) = f ( a , y ) {\displaystyle \quad h_{a}(y)=f(a,y)\quad }

are continuous. Specifically,

g 0 ( x ) = f ( x , 0 ) = h 0 ( 0 , y ) = f ( 0 , y ) = 0 {\displaystyle g_{0}(x)=f(x,0)=h_{0}(0,y)=f(0,y)=0} for all x and y. Therefore, f ( 0 , 0 ) = 0 {\displaystyle f(0,0)=0} and moreover, along the coordinate axes, lim x 0 f ( x , 0 ) = 0 {\displaystyle \lim _{x\to 0}f(x,0)=0} and lim y 0 f ( 0 , y ) = 0 {\displaystyle \lim _{y\to 0}f(0,y)=0} . Therefore the function is continuous along both individual arguments.

However, consider the parametric path x ( t ) = t , y ( t ) = t {\displaystyle x(t)=t,\,y(t)=t} . The parametric function becomes

f ( x ( t ) , y ( t ) ) = { 1 t if t > 0 0 everywhere else . {\displaystyle f(x(t),y(t))={\begin{cases}1-t&{\text{if}}\quad t>0\\0&{\text{everywhere else}}.\end{cases}}} (6)

Therefore,

lim t 0 + f ( x ( t ) , y ( t ) ) = 1 f ( 0 , 0 ) = 0 {\displaystyle \lim _{t\to 0^{+}}f(x(t),y(t))=1\neq f(0,0)=0} (7)

It is hence clear that the function is not multivariate continuous, despite being continuous in both coordinates.

Theorems regarding multivariate limits and continuity

  • All properties of linearity and superposition from single-variable calculus carry over to multivariate calculus.
  • Composition: If f : R n R m {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} ^{m}} and g : R m R p {\displaystyle g:\mathbb {R} ^{m}\to \mathbb {R} ^{p}} are both multivariate continuous functions at the points x 0 R n {\displaystyle x_{0}\in \mathbb {R} ^{n}} and f ( x 0 ) R m {\displaystyle f(x_{0})\in \mathbb {R} ^{m}} respectively, then g f : R n R p {\displaystyle g\circ f:\mathbb {R} ^{n}\to \mathbb {R} ^{p}} is also a multivariate continuous function at the point x 0 {\displaystyle x_{0}} .
  • Multiplication: If f : R n R {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } and g : R n R {\displaystyle g:\mathbb {R} ^{n}\to \mathbb {R} } are both continuous functions at the point x 0 R n {\displaystyle x_{0}\in \mathbb {R} ^{n}} , then f g : R n R {\displaystyle fg:\mathbb {R} ^{n}\to \mathbb {R} } is continuous at x 0 {\displaystyle x_{0}} , and f / g : R n R {\displaystyle f/g:\mathbb {R} ^{n}\to \mathbb {R} } is also continuous at x 0 {\displaystyle x_{0}} provided that g ( x 0 ) 0 {\displaystyle g(x_{0})\neq 0} .
  • If f : R n R {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } is a continuous function at point x 0 R n {\displaystyle x_{0}\in \mathbb {R} ^{n}} , then | f | {\displaystyle |f|} is also continuous at the same point.
  • If f : R n R m {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} ^{m}} is Lipschitz continuous (with the appropriate normed spaces as needed) in the neighbourhood of the point x 0 R n {\displaystyle x_{0}\in \mathbb {R} ^{n}} , then f {\displaystyle f} is multivariate continuous at x 0 {\displaystyle x_{0}} .
Proof

From the Lipschitz continuity condition for f {\displaystyle f} we have

| f ( s ( t ) ) f ( s ( t 0 ) ) | K | s ( t ) s ( t 0 ) | {\displaystyle |f(s(t))-f(s(t_{0}))|\leq K|s(t)-s(t_{0})|} (8)

where K {\displaystyle K} is the Lipschitz constant. Note also that, as s ( t ) {\displaystyle s(t)} is continuous at t 0 {\displaystyle t_{0}} , for every δ > 0 {\displaystyle \delta >0} there exists a ϵ > 0 {\displaystyle \epsilon >0} such that | s ( t ) s ( t 0 ) | < δ {\displaystyle |s(t)-s(t_{0})|<\delta } | t t 0 | < ϵ {\displaystyle \forall |t-t_{0}|<\epsilon } .

Hence, for every α > 0 {\displaystyle \alpha >0} , choose δ = α K {\displaystyle \delta ={\frac {\alpha }{K}}} ; there exists an ϵ > 0 {\displaystyle \epsilon >0} such that for all t {\displaystyle t} satisfying | t t 0 | < ϵ {\displaystyle |t-t_{0}|<\epsilon } , | s ( t ) s ( t 0 ) | < δ {\displaystyle |s(t)-s(t_{0})|<\delta } , and | f ( s ( t ) ) f ( s ( t 0 ) ) | K | s ( t ) s ( t 0 ) | < K δ = α {\displaystyle |f(s(t))-f(s(t_{0}))|\leq K|s(t)-s(t_{0})|<K\delta =\alpha } . Hence lim t t 0 f ( s ( t ) ) {\displaystyle \lim _{t\to t_{0}}f(s(t))} converges to f ( s ( t 0 ) ) {\displaystyle f(s(t_{0}))} regardless of the precise form of s ( t ) {\displaystyle s(t)} .

Differentiation

Main articles: Partial derivative and Directional derivative

Directional derivative

The derivative of a single-variable function is defined as

d f d x = lim h 0 f ( x + h ) f ( x ) h {\displaystyle {\frac {df}{dx}}=\lim _{h\to 0}{\frac {f(x+h)-f(x)}{h}}} (9)

Using the extension of limits discussed above, one can then extend the definition of the derivative to a scalar-valued function f : R n R {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } along some path s ( t ) : R R n {\displaystyle s(t):\mathbb {R} \to \mathbb {R} ^{n}} :

d f d x | s ( t ) , t = t 0 = lim h 0 f ( s ( t 0 + h ) ) f ( s ( t 0 ) ) | s ( t 0 + h ) s ( t 0 ) | {\displaystyle \left.{\frac {df}{dx}}\right|_{s(t),t=t_{0}}=\lim _{h\to 0}{\frac {f(s(t_{0}+h))-f(s(t_{0}))}{|s(t_{0}+h)-s(t_{0})|}}} (10)

Unlike limits, for which the value depends on the exact form of the path s ( t ) {\displaystyle s(t)} , it can be shown that the derivative along the path depends only on the tangent vector of the path at s ( t 0 ) {\displaystyle s(t_{0})} , i.e. s ( t 0 ) {\displaystyle s'(t_{0})} , provided that f {\displaystyle f} is Lipschitz continuous at s ( t 0 ) {\displaystyle s(t_{0})} , and that the limit exits for at least one such path.

Proof

For s ( t ) {\displaystyle s(t)} continuous up to the first derivative (this statement is well defined as s {\displaystyle s} is a function of one variable), we can write the Taylor expansion of s {\displaystyle s} around t 0 {\displaystyle t_{0}} using Taylor's theorem to construct the remainder:

s ( t ) = s ( t 0 ) + s ( τ ) ( t t 0 ) {\displaystyle s(t)=s(t_{0})+s'(\tau )(t-t_{0})} (11)

where τ [ t 0 , t ] {\displaystyle \tau \in } .

Substituting this into 10,

d f d x | s ( t ) , t = t 0 = lim h 0 f ( s ( t 0 ) + s ( τ ) h ) f ( s ( t 0 ) ) | s ( τ ) h | {\displaystyle \left.{\frac {df}{dx}}\right|_{s(t),t=t_{0}}=\lim _{h\to 0}{\frac {f(s(t_{0})+s'(\tau )h)-f(s(t_{0}))}{|s'(\tau )h|}}} (12)

where τ ( h ) [ t 0 , t 0 + h ] {\displaystyle \tau (h)\in } .

Lipschitz continuity gives us | f ( x ) f ( y ) | K | x y | {\displaystyle |f(x)-f(y)|\leq K|x-y|} for some finite K {\displaystyle K} , x , y R n {\displaystyle \forall x,y\in \mathbb {R} ^{n}} . It follows that | f ( x + O ( h ) ) f ( x ) | O ( h ) {\displaystyle |f(x+O(h))-f(x)|\sim O(h)} .

Note also that given the continuity of s ( t ) {\displaystyle s'(t)} , s ( τ ) = s ( t 0 ) + O ( h ) {\displaystyle s'(\tau )=s'(t_{0})+O(h)} as h 0 {\displaystyle h\to 0} .

Substituting these two conditions into 12,

d f d x | s ( t ) , t = t 0 = lim h 0 f ( s ( t 0 ) + s ( t 0 ) h ) f ( s ( t 0 ) ) + O ( h 2 ) | s ( t 0 ) h | + O ( h 2 ) {\displaystyle \left.{\frac {df}{dx}}\right|_{s(t),t=t_{0}}=\lim _{h\to 0}{\frac {f(s(t_{0})+s'(t_{0})h)-f(s(t_{0}))+O(h^{2})}{|s'(t_{0})h|+O(h^{2})}}} (13)

whose limit depends only on s ( t 0 ) {\displaystyle s'(t_{0})} as the dominant term.

It is therefore possible to generate the definition of the directional derivative as follows: The directional derivative of a scalar-valued function f : R n R {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } along the unit vector u ^ {\displaystyle {\hat {\mathbf {u}}}} at some point x 0 R n {\displaystyle x_{0}\in \mathbb {R} ^{n}} is

u ^ f ( x 0 ) = lim t 0 f ( x 0 + u ^ t ) f ( x 0 ) t {\displaystyle \nabla _{\hat {\mathbf {u}}}f(x_{0})=\lim _{t\to 0}{\frac {f(x_{0}+{\hat {\mathbf {u}}}t)-f(x_{0})}{t}}} (14)

or, when expressed in terms of ordinary differentiation,

u ^ f ( x 0 ) = d f ( x 0 + u ^ t ) d t | t = 0 {\displaystyle \nabla _{\hat {\mathbf {u}}}f(x_{0})=\left.{\frac {df(x_{0}+{\hat {\mathbf {u}}}t)}{dt}}\right|_{t=0}} (15)

which is a well defined expression because f ( x 0 + u ^ t ) {\displaystyle f(x_{0}+{\hat {\mathbf {u}}}t)} is a scalar function with one variable in t {\displaystyle t} .

It is not possible to define a unique scalar derivative without a direction; it is clear for example that u ^ f ( x 0 ) = u ^ f ( x 0 ) {\displaystyle \nabla _{\hat {\mathbf {u}}}f(x_{0})=-\nabla _{-{\hat {\mathbf {u}}}}f(x_{0})} . It is also possible for directional derivatives to exist for some directions but not for others.

Partial derivative

The partial derivative generalizes the notion of the derivative to higher dimensions. A partial derivative of a multivariable function is a derivative with respect to one variable with all other variables held constant.

A partial derivative may be thought of as the directional derivative of the function along a coordinate axis.

Partial derivatives may be combined in interesting ways to create more complicated expressions of the derivative. In vector calculus, the del operator ( {\displaystyle \nabla } ) is used to define the concepts of gradient, divergence, and curl in terms of partial derivatives. A matrix of partial derivatives, the Jacobian matrix, may be used to represent the derivative of a function between two spaces of arbitrary dimension. The derivative can thus be understood as a linear transformation which directly varies from point to point in the domain of the function.

Differential equations containing partial derivatives are called partial differential equations or PDEs. These equations are generally more difficult to solve than ordinary differential equations, which contain derivatives with respect to only one variable.

Multiple integration

Main article: Multiple integral

The multiple integral extends the concept of the integral to functions of any number of variables. Double and triple integrals may be used to calculate areas and volumes of regions in the plane and in space. Fubini's theorem guarantees that a multiple integral may be evaluated as a repeated integral or iterated integral as long as the integrand is continuous throughout the domain of integration.

The surface integral and the line integral are used to integrate over curved manifolds such as surfaces and curves.

Fundamental theorem of calculus in multiple dimensions

In single-variable calculus, the fundamental theorem of calculus establishes a link between the derivative and the integral. The link between the derivative and the integral in multivariable calculus is embodied by the integral theorems of vector calculus:

In a more advanced study of multivariable calculus, it is seen that these four theorems are specific incarnations of a more general theorem, the generalized Stokes' theorem, which applies to the integration of differential forms over manifolds.

Applications and uses

Techniques of multivariable calculus are used to study many objects of interest in the material world. In particular,

Type of functions Applicable techniques
Curves f : R R n {\displaystyle f:\mathbb {R} \to \mathbb {R} ^{n}}
for n > 1 {\displaystyle n>1}
Lengths of curves, line integrals, and curvature.
Surfaces f : R 2 R n {\displaystyle f:\mathbb {R} ^{2}\to \mathbb {R} ^{n}}
for n > 2 {\displaystyle n>2}
Areas of surfaces, surface integrals, flux through surfaces, and curvature.
Scalar fields f : R n R {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } Maxima and minima, Lagrange multipliers, directional derivatives, level sets.
Vector fields f : R m R n {\displaystyle f:\mathbb {R} ^{m}\to \mathbb {R} ^{n}} Any of the operations of vector calculus including gradient, divergence, and curl.

Multivariable calculus can be applied to analyze deterministic systems that have multiple degrees of freedom. Functions with independent variables corresponding to each of the degrees of freedom are often used to model these systems, and multivariable calculus provides tools for characterizing the system dynamics.

Multivariate calculus is used in the optimal control of continuous time dynamic systems. It is used in regression analysis to derive formulas for estimating relationships among various sets of empirical data.

Multivariable calculus is used in many fields of natural and social science and engineering to model and study high-dimensional systems that exhibit deterministic behavior. In economics, for example, consumer choice over a variety of goods, and producer choice over various inputs to use and outputs to produce, are modeled with multivariate calculus.

Non-deterministic, or stochastic systems can be studied using a different kind of mathematics, such as stochastic calculus.

See also

References

  1. ^ Richard Courant; Fritz John (14 December 1999). Introduction to Calculus and Analysis Volume II/2. Springer Science & Business Media. ISBN 978-3-540-66570-0.
  2. Spivak, Michael (1965). Calculus on Manifolds. New York: W. A. Benjamin, Inc. ISBN 9780805390216.

External links

Industrial and applied mathematics
Computational
Mathematical software
Discrete
Analysis
Probability theory
Mathematical
physics
Algebraic structures
Decision sciences
Other applications
Related
Organizations
Category: