# Spherical to Cartesian coordinates – Formulas and Examples

Spherical coordinates have the form (ρ, θ, φ), where, ρ is the distance from the origin to the point, θ is the angle in the xy plane with respect to the x-axis and φ is the angle with respect to the z-axis. These coordinates can be transformed to Cartesian coordinates using right triangles and trigonometry. We use the sine and cosine functions to find the vertical and horizontal components and obtain expressions for x, y, z in terms of ρ, θ, φ.

Here, we will derive the formulas that we can use to transform from spherical to Cartesian coordinates. Then, we will apply these formulas by solving some practice problems.

##### TRIGONOMETRY

Relevant for

Learning to transform from spherical to Cartesian coordinates.

See examples

##### TRIGONOMETRY

Relevant for

Learning to transform from spherical to Cartesian coordinates.

See examples

## How to transform from spherical coordinates to Cartesian coordinates?

Spherical coordinates have the form (ρ, θ, φ). In this form, ρ represents the distance from the origin to the point, θ represents the angle in the xy plane with respect to the x-axis and φ represents the angle with respect to the z-axis.

On the other hand, three-dimensional Cartesian coordinates have the form (x, y, z).

To transform from spherical to Cartesian coordinates, we have to use right triangles and trigonometry. To facilitate the derivation of the transformation formulas, we can start by transforming from spherical to cylindrical coordinates, and then, we can transform from cylindrical to Cartesian coordinates.

Therefore, we use the following diagram:

We know that the angle between the z-axis and ρ is equal to φ. Using a bit of geometry, we also know that φ is the angle between ρ and the vertical side of the triangle. Then, using trigonometry, we have:

We also have . These are the formulas that allow us to convert from spherical to cylindrical coordinates. Now, we can use the cylindrical to Cartesian coordinate transformation formulas:

Using these two sets of equations, we can obtain the transformation formulas from spherical to Cartesian coordinates:

## Spherical to Cartesian coordinates – Examples with answers

The following exercises are solved using the formulas for converting spherical to Cartesian coordinates. Each example has its respective solution, but it is recommended that you try to solve the problems yourself before looking at the answer.

### EXAMPLE 1

We have the point in spherical coordinates. What is its equivalence in Cartesian coordinates?

We have the values . Now, we use these values in conjunction with the formulas seen above to find the values of x and y. Therefore, the value of x is:

The value of y is:

The value of z is:

The Cartesian coordinates of the point are (14.14, 14.14, 7.07).

### EXAMPLE 2

The point is in spherical coordinates. What is its equivalence in Cartesian coordinates?

We have the values . We find the values of x, y and z using the formulas seen above. We start with the value of x:

The value of y is:

The value of z is:

The Cartesian coordinates of the point are (0, -4.33, 5).

### EXAMPLE 3

If we have the spherical coordinates , what is their Cartesian coordinate equivalence?

We have the values . We find the values of x, y, z using the transformation formulas. Therefore, the value of x is:

The y component is:

The z component is:

The Cartesian coordinates of the point are (1.45, 4.47, 6.47).

### EXAMPLE 4

We have the point in spherical coordinates. What is its equivalence in Cartesian coordinates?

We have the values . Using these values along with the conversion formulas, we are going to find the components x, y and z. Therefore, the x component is:

The y component is:

The z component is:

The Cartesian coordinates of the point are (-6.12, -6.12, -5).

## Spherical to Cartesian coordinates – Practice problems

Use the transformation formulas seen above to solve the following exercises and convert the spherical coordinates to Cartesian coordinates. If you need help with this, you can look at the solved examples above.

Choose an answer

Choose an answer

Choose an answer

Choose an answer

## See also

Interested in learning more about spherical coordinates? Take a look at these pages:

LEARN MORE