| Line 157: |
Line 157: |
| | | | |
| | The answer is yes, ''if the derivatives are continuous''. In problems that arise in practice, the derivatives are always continuous, and switching derivative order is a staple of work in multivariate calculus. | | The answer is yes, ''if the derivatives are continuous''. In problems that arise in practice, the derivatives are always continuous, and switching derivative order is a staple of work in multivariate calculus. |
| | + | |
| | + | =More About Coordinate Systems= |
| | + | |
| | + | The study of various coordinate systems (they are sometimes called "curvilinear coordinate systems") is central to the subject of multivariable calculus. You are already familiar with some of the common coordinate systems such as polar coordinates in 2 dimensions and spherical or cylindrical coordinates in 3 dimensions. In this section we will examine the general topic of coordinate systems, and how one can perform calculations—involving vectors, surfaces, integrals, and so on— directly in specialized coordinate systems. Physical problems can often be solved more easily in a coordinate system that matches the symmetries of the problem. |
| | + | |
| | + | An extremely important consideration to be aware of is that geometrical or physical phenomena (points, vectors, regions, curves, surfaces, and integrals) have a fundamental existence and meaning that is independent of any coordinate system. Coordinate systems simply give us ways to attach numbers to it. Different coordinate systems will attach different numbers to a given vector field, for example, but the vector field has an underlying geometric meaning that does not change. The various vector field operations have an underlying geometrical or physical meaning, and coordinate systems simply let us perform mathematical calculations on them. |
| | + | |
| | + | For example, Stokes' theorem makes a very powerful geometric statement about integrals of various vector fields over very general surfaces and lines. The concepts appearing in the theorem are purely geometric, and therefore independent of the coordinate system. Once we know how to manipulate those concepts (vector fields, integrals, and the "curl" operator) in any coordinate system, we will be able to choose a coordinate system that makes the surface simple. Specifically, we will change from the usual x/y/z Cartesian system to a u/v/w system for which the surface is defined by holding w=0. (Another way of looking at this is that the surface has been "parameterized" in terms of parameters u and v.) Once this is done, we will be able to calculate the curl operator, perform the integration, and prove Stokes' theorem in the u/v/w system. |
| | + | |
| | + | As another example, Maxwell's equations make statements about the curl and divergence of the electric and magnetic field. While the formulas for curl and divergence are simpler in Cartesian coordinates than in spherical, some problems, such as the electric field in the vicinity of a point charge, have symmetry that makes spherical coordinates more natural. When we work out the divergence theorem in spherical coordinates, we will be able to solve problems of this sort. |
| | + | |
| | + | We will use "u" and "v" in many of our general examples of alternative coordinate systems in 2 dimensions, and u, v, and w in 3 dimensions. For the very common cases of polar coordinates in 2 dimensions and spherical in 3 dimensions, we will often use the more familiar r/<math>\theta</math> or r/<math>\theta</math>/<math>\phi</math>. |
| | + | |
| | + | We always have the coordinates of each system representable as functions of the other. For example, the transformation between polar coordinates and Cartesian coordinate is this: |
| | + | ::<math>x = r \cos \theta\,</math> |
| | + | ::<math>y = r \sin \theta\,</math> |
| | + | ::<math>r = \sqrt{x^2 + y^2}\,</math> |
| | + | ::<math>\theta = \tan^{-1} (y/x)\,</math> |
| | + | |
| | + | In spherical coordinates: |
| | + | ::<math>x = r \sin \theta \cos \phi\,</math> |
| | + | ::<math>y = r \sin \theta \sin \phi\,</math> |
| | + | ::<math>z = r \cos \theta\,</math> |
| | + | ::<math>r = \sqrt{x^2 + y^2 + z^2}\,</math> |
| | + | ::<math>\theta = \tan^{-1} (\sqrt{x^2 + y^2} / z)\,</math> |
| | + | ::<math>\phi = \tan^{-1} (y/x)\,</math> |
| | | | |
| | =The Jacobian= | | =The Jacobian= |
| | | | |
| − | Suppose you have a series of functions <math>f_1(x_1,...,x_n), f_2(x_1,...,x_n),..., f_n(x_1,...,x_n) \ </math>. We define the '''Jacobian''' of these functions to be
| + | Much of what happens in multivariable calculus involves the ''[[partial derivative]]s'' of the coordinates in one system with respect to the coordinates in the other:<math>\frac{\partial x}{\partial \theta}</math> for example. It is very useful to represent these as a matrix: |
| | + | ::<math>\begin{pmatrix} \frac{\partial x}{\partial r} & \frac{\partial x}{\partial \theta} \\ \frac{\partial y}{\partial r} & \frac{\partial y}{\partial \theta}\end{pmatrix}\,</math> |
| | + | Or, going in the other direction: |
| | + | ::<math>\begin{pmatrix} \frac{\partial r}{\partial x} & \frac{\partial r}{\partial y} \\ \frac{\partial \theta}{\partial x} & \frac{\partial \theta}{\partial y}\end{pmatrix}\,</math> |
| | + | |
| | + | This is the ''derivative matrix'' of the transformation from one coordinate system to the other. It is often called the '''Jacobian matrix''', though some authors use the term "Jacobian" specifically to refer to the matrix's determinant. This point is not important—it will not lead to confusion. |
| | + | |
| | + | The notation for the Jacobian matrix of u/v/w in terms of x/y/z is written: |
| | + | ::<math>J(u, v, w / x, y, z) = \frac{\partial(u, v, w)}{\partial(x, y, z)} = \begin{pmatrix} \frac{\partial u}{\partial x} & \frac{\partial u}{\partial y} & \frac{\partial u}{\partial z} \\ \frac{\partial v}{\partial x} & \frac{\partial v}{\partial y} & \frac{\partial v}{\partial z} \\ \frac{\partial w}{\partial x} & \frac{\partial w}{\partial y} & \frac{\partial w}{\partial z}\end{pmatrix} </math> |
| | | | |
| − | <math>\frac{\partial(f_1,f_2,...,f_n)}{\partial(x_1,x_2,...,x_n)} = \begin{vmatrix} \frac{\partial f_1}{\partial x_1} & ... & \frac{\partial f_1}{\partial x_n} \\ ... & & ... \\ \frac{\partial f_3}{\partial x_1} &...&\frac{\partial f_n}{\partial x_n}\end{vmatrix} </math> | + | More generally, it is: |
| | + | ::<math>\frac{\partial(f_1,f_2,...,f_n)}{\partial(x_1,x_2,...,x_n)} = \begin{pmatrix} \frac{\partial f_1}{\partial x_1} & ... & \frac{\partial f_1}{\partial x_n} \\ ... & & ... \\ \frac{\partial f_3}{\partial x_1} &...&\frac{\partial f_n}{\partial x_n}\end{pmatrix} </math> |
| | + | and the determinant is: |
| | + | ::<math>\begin{vmatrix} \frac{\partial f_1}{\partial x_1} & ... & \frac{\partial f_1}{\partial x_n} \\ ... & & ... \\ \frac{\partial f_3}{\partial x_1} &...&\frac{\partial f_n}{\partial x_n}\end{vmatrix} </math> |
| | | | |
| − | We'll be using Jacobians soon, so it was important to introduce them now. They are particuarly useful for describing changes in coordinate systems.
| + | For polar coordinates, the Jacobian matrices are: |
| | + | ::<math>J(r, \theta / x, y) = \frac{\partial(r, \theta)}{\partial(x, y)} = \begin{pmatrix} \frac{\partial r}{\partial x} & \frac{\partial r}{\partial y} \\ \frac{\partial \theta}{\partial x} & \frac{\partial \theta}{\partial y} \end{pmatrix}</math> |
| | + | and: |
| | + | ::<math>J(x, y / r, \theta) = \frac{\partial(x, y)}{\partial(r, \theta)} = \begin{pmatrix} \frac{\partial x}{\partial r} & \frac{\partial x}{\partial \theta} \\ \frac{\partial y}{\partial r} & \frac{\partial y}{\partial \theta} \end{pmatrix}</math> |
| | | | |
| | + | Working these out, we have |
| | + | ::<math>J(x, y / r, \theta) = \begin{pmatrix} \cos \theta & - r \sin \theta \\ \sin \theta & r \cos \theta \end{pmatrix}</math> |
| | + | with determinant r, and: |
| | + | ::<math>J(r, \theta / x, y) = \begin{pmatrix} \frac{x}{\sqrt{x^2 + y^2}} & \frac{y}{\sqrt{x^2 + y^2}} \\ \frac{- y}{x^2 + y^2} & \frac{x}{x^2 + y^2} \end{pmatrix} = \begin{pmatrix} \cos \theta & \sin \theta \\ \frac{- \sin \theta}{r} & \frac{\cos \theta}{r} \end{pmatrix}</math> |
| | + | with determinant 1/r. |
| | | | |
| − | :::::::::::::::''expand''
| + | An interesting theorem is that these matrices are inverses of each other. (It follows that their determinants are reciprocals of each other.) |
| | | | |
| | =Introduction to Integrals in Multivariable Calculus= | | =Introduction to Integrals in Multivariable Calculus= |