<?xml version="1.0" encoding="UTF-8"?>

<record version="9" id="4491">
 <title>spherical coordinates</title>
 <name>SphericalCoordinates</name>
 <created>2003-07-22 11:53:40</created>
 <modified>2007-05-05 05:45:39</modified>
 <type>Definition</type>
 <creator id="2760" name="yark"/>
 <author id="2760" name="yark"/>
 <author id="2727" name="mathcam"/>
 <classification>
	<category scheme="msc" code="51M05"/>
 </classification>
 <defines>
	<concept>hyperspherical coordinates</concept>
	<concept>azimuthal angle</concept>
	<concept>polar angle</concept>
 </defines>
 <related>
	<object name="Sphere"/>
	<object name="CylindricalCoordinates"/>
 </related>
 <keywords>
	<term>sphere</term>
 </keywords>
 <preamble>\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}

\newcommand{\mc}{\mathcal}
\newcommand{\mb}{\mathbb}
\newcommand{\mf}{\mathfrak}
\newcommand{\ol}{\overline}
\newcommand{\ra}{\rightarrow}
\newcommand{\la}{\leftarrow}
\newcommand{\La}{\Leftarrow}
\newcommand{\Ra}{\Rightarrow}
\newcommand{\nor}{\vartriangleleft}
\newcommand{\Gal}{\text{Gal}}
\newcommand{\GL}{\text{GL}}
\newcommand{\Z}{\mb{Z}}
\newcommand{\R}{\mb{R}}
\newcommand{\Q}{\mb{Q}}
\newcommand{\C}{\mb{C}}
\newcommand{\&lt;}{\langle}
\renewcommand{\&gt;}{\rangle}</preamble>
 <content>\PMlinkescapeword{bottom}
\PMlinkescapeword{polar}
\PMlinkescapeword{top}

\emph{Spherical coordinates} are a system of coordinates for $\R^3$,
or more generally $\R^n$.
One coordinate is the distance from the origin,
which can be thought of as
the radius of the sphere centred at the origin on which the point lies.
The other coordinates are angles that specify the position of the point on this sphere.

In $\R^3$ the coordinates are given by
\begin{align*}
\left(
\begin{tabular}{c}
$x$\\
$y$\\
$z$
\end{tabular}\right)&amp;=
\left(
\begin{tabular}{c}
$r\sin\phi\cos\theta$\\
$r\sin\phi\sin\theta$\\
$r\cos\phi$
\end{tabular}
\right),
\end{align*}
where $r$ is the distance from the origin,
$\theta$ is the \emph{azimuthal angle} defined for $\theta\in[0,2\pi)$,
and $\phi\in[0,\pi]$ is the \emph{polar angle}.
Note that $\phi=0$ corresponds to the top of the sphere and $\phi=\pi$ corresponds to the bottom of the sphere.
There is a clash between the mathematicians' and the physicists' definition of spherical coordinates, interchanging both the direction of $\phi$ and the choice of names for the two angles (physicists often use $\theta$ as the azimuthal angle and $\phi$ as the polar one).

Spherical coordinates are a generalization of polar coordinates,
and can be further generalized to $\R^n$,
with $n-2$ polar angles $\phi_1,\ldots,\phi_{n-2}$ and one azimuthal angle $\theta$:
\begin{align*}
\left(
\begin{tabular}{c}
$x_1$\\
$x_2$\\
$\vdots$\\
$x_k$\\
$\vdots$\\
$x_{n-1}$\\
$x_n$
\end{tabular}\right)&amp;=
\left(
\begin{tabular}{c}
$r\cos\phi_1$\\
$r\sin\phi_1\cos\phi_2$\\
$\vdots$\\
$r\left(\prod_{i=1}^{k-1}\sin\phi_i\right)\cos\phi_k$\\
$\vdots$\\
$r\sin\phi_1\sin\phi_2\cdots\cos\theta$\\
$r\sin\phi_1\sin\phi_2\cdots\sin\phi_{n-2}\sin\theta$.
\end{tabular}
\right).
\end{align*}

These are sometimes called \emph{hyperspherical coordinates} if $n&gt;3$.</content>
</record>
