01 / 21

Cartesian to
Cylindrical Coordinates

Master the conversion between \((x, y, z)\) and \((r, \theta, z)\) coordinate systems for multivariable calculus.

Multivariable Calculus

What Are Coordinate Systems?

A coordinate system is a method for describing the location of any point in space using an ordered set of numbers. Different systems are suited to different geometries.

Cartesian
Uses \((x, y, z)\): three perpendicular distances from the origin.
Cylindrical
Uses \((r, \theta, z)\): radial distance, angle, and height.
Spherical
Uses \((\rho, \theta, \phi)\): distance from origin, two angles.

Visualizing Cylindrical Coordinates

\(x\) \(z\) \(y\) \(r\) \(\theta\) \(z\) \(P(r, \theta, z)\)

Why Use Cylindrical Coordinates?

Many real-world objects and mathematical surfaces have circular symmetry around a central axis. Cylindrical coordinates exploit this symmetry to simplify equations and integrals.

Simpler Equations
A cylinder \(x^2 + y^2 = 9\) becomes simply \(r = 3\).
Easier Integrals
Volume integrals over cylindrical regions factor cleanly with \(r\,dr\,d\theta\,dz\).

Cartesian → Cylindrical Formulas

\(r\)
$$r = \sqrt{x^2 + y^2}$$
\(\theta\)
$$\theta = \arctan\!\left(\frac{y}{x}\right)$$
\(z\)
$$z = z$$

Cylindrical → Cartesian Formulas

\(x\)
$$x = r\cos\theta$$
\(y\)
$$y = r\sin\theta$$
\(z\)
$$z = z$$

The Right Triangle Connection

\(x\) \(y\) \(x = r\cos\theta\) \(y = r\sin\theta\) \(r\) \(\theta\) \((x, y)\)

The \(\theta\) Subtlety: Quadrant Awareness

The formula \(\theta = \arctan(y/x)\) only gives angles in \((-\pi/2, \pi/2)\). You must adjust \(\theta\) based on which quadrant the point \((x,y)\) lies in.

Quadrant Signs of \((x, y)\) \(\theta\) Adjustment
I \((+, +)\) \(\theta = \arctan(y/x)\)
II \((-, +)\) \(\theta = \arctan(y/x) + \pi\)
III \((-, -)\) \(\theta = \arctan(y/x) + \pi\)
IV \((+, -)\) \(\theta = \arctan(y/x) + 2\pi\)

How to Convert Step by Step

1
Identify \((x, y, z)\). Write down the Cartesian coordinates of the point.
2
Compute \(r = \sqrt{x^2 + y^2}\). This is the radial distance from the \(z\)-axis.
3
Compute \(\theta = \arctan(y/x)\). Then adjust for the correct quadrant using the sign of \(x\) and \(y\).
4
Keep \(z\) the same. The height coordinate is unchanged.
5
Write the result as \((r, \theta, z)\). Express \(\theta\) in radians (or degrees if specified).

Example 1: Quadrant I Point

Convert \((3, 3, 5)\) to cylindrical coordinates.

1
Find \(r\): \(r = \sqrt{3^2 + 3^2} = \sqrt{9 + 9} = \sqrt{18} = 3\sqrt{2}\)
2
Find \(\theta\): \(\theta = \arctan(3/3) = \arctan(1) = \frac{\pi}{4}\). Both \(x\) and \(y\) are positive (Quadrant I), so no adjustment needed.
3
Keep \(z\): \(z = 5\).

Example 2: Quadrant II Point

Convert \((-1, \sqrt{3}, 2)\) to cylindrical coordinates.

1
Find \(r\): \(r = \sqrt{(-1)^2 + (\sqrt{3})^2} = \sqrt{1 + 3} = 2\)
2
Find \(\theta\): \(\arctan(\frac{\sqrt{3}}{-1}) = \arctan(-\sqrt{3}) = -\frac{\pi}{3}\). Since \(x < 0\) (Quadrant II), add \(\pi\): \(\theta = -\frac{\pi}{3} + \pi = \frac{2\pi}{3}\).
3
Keep \(z\): \(z = 2\).

Example 3: Cylindrical → Cartesian

Convert \((4, \frac{\pi}{6}, -3)\) from cylindrical to Cartesian.

1
Find \(x\): \(x = r\cos\theta = 4\cos(\frac{\pi}{6}) = 4 \cdot \frac{\sqrt{3}}{2} = 2\sqrt{3}\)
2
Find \(y\): \(y = r\sin\theta = 4\sin(\frac{\pi}{6}) = 4 \cdot \frac{1}{2} = 2\)
3
Keep \(z\): \(z = -3\).

Converting Equations

You can also convert entire equations between coordinate systems. The key identity is:

Cartesian Form
\(x^2 + y^2 = 16\)
Cylindrical Form
\(r = 4\)

Equation Conversion Examples

Cartesian Cylindrical Surface
\(x^2 + y^2 = 9\) \(r = 3\) Cylinder
\(x^2 + y^2 + z^2 = 25\) \(r^2 + z^2 = 25\) Sphere
\(z = x^2 + y^2\) \(z = r^2\) Paraboloid
\(x^2 + y^2 = z^2\) \(r = |z|\) Cone

Common Mistakes

✕ Wrong Quadrant for \(\theta\)
Using \(\arctan(y/x)\) without adjusting for the quadrant. The point \((-1, 1)\) has \(\theta = \frac{3\pi}{4}\), not \(-\frac{\pi}{4}\).
✕ Confusing \(r\) with \(\rho\)
In cylindrical, \(r = \sqrt{x^2 + y^2}\) (distance from \(z\)-axis). In spherical, \(\rho = \sqrt{x^2 + y^2 + z^2}\) (distance from origin).
✕ Mixing up \(x\) and \(y\)
Calculating \(\theta\) using \(\arctan(\frac{x}{y})\) instead of \(\arctan(\frac{y}{x})\). For \((1, \sqrt{3})\), the correct angle is \(\theta = \arctan(\frac{\sqrt{3}}{1}) = \frac{\pi}{3}\), not \(\arctan(\frac{1}{\sqrt{3}}) = \frac{\pi}{6}\).

Summary: All Formulas

Direction Formula Note
\(r\) \(\sqrt{x^2 + y^2}\) Always \(\geq 0\)
\(\theta\) \(\arctan(y/x)\) Check quadrant
\(z\) \(z\) Unchanged
\(x\) \(r\cos\theta\) Reverse direction
\(y\) \(r\sin\theta\) Reverse direction
Key identity \(x^2 + y^2 = r^2\) For equations

Question 1 of 5

Convert the Cartesian point \((0, 5, 7)\) to cylindrical coordinates.

Question 2 of 5

What is the cylindrical coordinate \(r\) for the point \((-3, 4, 1)\)?

Question 3 of 5

Convert the cylindrical point \(\left(6,\;\frac{5\pi}{6},\;-2\right)\) to Cartesian. What is \(x\)?

Question 4 of 5

The Cartesian equation \(x^2 + y^2 + z^2 = 49\) in cylindrical coordinates is:

Question 5 of 5

Convert \((-2, -2, 0)\) to cylindrical. What is \(\theta\)?