Skip Ahead:
Main Coordinates Page |
x, y, z Spherical Coordinates |
r, θ, φ Spherical Coordinates
Spherical Coordinates
r, θ, φ Spherical Coordinates
In the simulation below you can see the spherical coordinate system which measures the distance between the head of the arrow and its ending point, starting at the origin (0, 0, 0). Notice how in this simulation you input the r, θ, and φ values to create the vector. This is one way of plotting a point using spherical coordinates. The other way is by finding the vector components, x, y, and z. These inputs will be explained in the x, y, z section of spherical coordinates. Usually the r, θ, and φ values are given and the x, y, and z components are figured out using the r, θ, φ values. Here however, the r, θ, and φ values are provided and converting them to x, y, and z components will be discussed as well.
Spherical coordinates are a coordinate system that uses the radius r, and two angles θ, and φ in three dimensions. Spherical coordinates are best used to measure where something is on a spherical surface. For example, spherical coordinates can be used to measure the longitude and latitude of a certain city or place on Earth. Spherical coordinates measure where an object is located on the surface of the sphere through measuring the distance between the origin and the radius of the sphere as well as knowing the angles at which an object is oriented in. For example, you can measure points away from the origin (0, 0, 0) and with given angles, you can know which direction an object is pointing towards. It is worth noting that in spherical coordinates, the radius r, ranges from 0 to infinity, in any direction. The angles however have a limited range. The angle θ for example ranges from 0 to 2π, whereas the angle φ ranges from 0 to π. The spherical coordinate system differs from the three dimensional cartesian coordinate system in that the distance and two angles are provided, and the components are left to be calculated.
The simulation above shows the spherical coordinate system in three dimensions, over the x, y, and z axes. Here however you input the radius r, and the angles θ and φ, which, you can notice, produces a black line (representing a vector) plotted and pointing to a specific point on the sphere. The r, θ, and φ that you input, when written inside parentheses, these are the coordinates of the point on the sphere's surface that the vector is pointing to. For example if you input the r, θ, and φ to be: 21, 53.97, and 40.37, in parentheses, this is written as (21, 53.97, 40.37). These values now face a single point that is defined at (21, 53.97, 40.37) from the origin (0, 0, 0). If you want to convert these coordinate points to figure out the x, y, and z components of the vector facing this point, these values can be calculated using a few of the formulas mentioned below.
Spherical coordinates can be converted to three dimensional cartesian coordinates using the following formulas:
\[ x = r \cos(\theta) \sin(\phi) \]
\[ y = r \sin(\theta) \sin(\phi) \]
\[ z = r \cos(\phi) \]
Converting to three dimensional cartesian coordinates with the values given:
\[ x = r \cos(\theta) \sin(\phi) \]
\[ x = 21 \cos(53.97) \sin(40.37) \]
\[ x = 8 \]
\[ y = r \sin(\theta) \sin(\phi) \]
\[ y = 21 \sin(53.97) \sin(40.37) \]
\[ y = 11 \]
\[ z = r \cos(\theta) \]
\[ z = 21 \cos(40.37) \]
\[ z = 16 \]
Go Back to x, y, z Spherical Coordinates Go Back to Coordinates Page