n-Dimensional Polar Coordinates
📂Vector Analysisn-Dimensional Polar Coordinates
Definition
Let’s say the Cartesian coordinates of point x∈Rn are x1,…,xn. Then, the relationship with its polar coordinates r,φ1,…,φn−1 is as follows.
xnxn−1xn−2⋮x4x3x2x1=rcosφ1=rsinφ1sinφ2=rsinφ1cosφ2=rsinφ1sinφ2⋯sinφn−3sinφn−2=rsinφ1sinφ2⋯sinφn−3cosφn−2=rsinφ1sinφ2⋯sinφn−2sinφn−1=rsinφ1sinφ2⋯sinφn−2cosφn−1
Here,
0≤φi≤π (1≤i≤n−2),0≤φn−1≤2π
Explanation
The formula mentioned above can be confusing, but first, you set xn as rcosφ1 and take the other values according to the formula for x1,x2,… from below. For more detail, see the example below. It explains that in two dimensions, it’s called polar coordinates, and in three dimensions, it’s called spherical coordinates, but you don’t have to call them that way. Physics typically does not deal with dimensions beyond n, so this distinction is important, and the names actually signify the 2D and 3D nature. However, in mathematics, the terms polar coordinates or spherical coordinates feel much less restricted by dimension. It seems like a matter of preference how one uses them.
n=2
This case is particularly referred to as polar coordinates, commonly denoted by θ=φ1. Then x2 is
x2=xn=rcosφ1=rcosθ
x1, when substituting n=2, becomes
x1=rsinφ1⋯sinφn−2cosφn−1=rsinφ1=rsinθ
Therefore,
x2x1=y=rcosθ=x=rsinθ
∣x∣=r2cos2θ+r2sin2θ=r2=∣r∣
n=3
This case is particularly referred to as spherical coordinates, commonly expressed by θ=φ1, ϕ=φ2. x3 is
x3=xn=rcosφ1=rcosθ
x2, when substituting n=3, becomes
x2=rsinφ1⋯sinφn−2sinφn−1=rsinφ1sinφ2=rsinθsinφ
x1, when substituting n=3, becomes
x1=rsinφ1⋯sinφn−2cosφn−1=rsinφ1cosφ2=rsinθcosφ

Therefore,
x3x2x1=z=rcosθ=y=rsinθsinφ=x=rsinθcosφ
∣x∣=x12+x22+x32=r2sin2θcos2φ+r2sin2θsin2φ+r2cos2θ=r2sin2θ+r2cos2θ=r2=∣r∣
n=4
Let’s just go up to n=4. x4 is,
x4=xn=rcosφ1
x3, when substituting n=4, becomes
x3=rsinφ1⋯sinφn−3cosφn−2=rsinφ1cosφ2
x2, when substituting n=4, becomes
x2=rsinφ1⋯sinφn−2sinφn−1=rsinφ1sinφ2sinφ3
x1, when substituting n=4, becomes
x1=rsinφ1⋯sinφn−2cosφn−1=rsinφ1sinφ2cosφ3
Therefore,
x4x3x2x1=rcosφ1=rsinφ1cosφ2=rsinφ1sinφ2sinφ3=rsinφ1sinφ2cosφ3
∣x∣=x12+x22+x32+x42=(rsinφ1sinφ2cosφ3)+rsinφ1sinφ2sinφ3=(r2sin2φ1sin2φ2cos2φ3)+(r2sin2φ1sin2φ2sin2φ3)+(r2sin2φ1cos2φ2)+(r2cos2φ1)=(r2sin2φ1sin2φ2)+(r2sin2φ1cos2φ2)+(r2cos2φ1)=(r2sin2φ1)+(r2cos2φ1)=r2=∣r∣
x=0 allows us to obtain the following.
θ=∣x∣x∈Sn−1,x=rθ,r=∣x∣>0
Note that θ here is not an angle. The Cartesian coordinates θ1,…,θn are expressed by the following formula.
cosφk−1=rkθk,sinφk−1=rk−2rk−1,rk=(θ12,…,θk2)1/2
Furthermore, the mapping from Rn∖{0} to R+×Sn−1 x↦(r,θ) is continuous and bijective.
Properties
The following integral holds. For f∈L1(Rn),
∫Rxf(x)dx=Sn−1∫0∫∞f(rθ)rn−1drdθ