[Math] Cartesian vector to Cylindrical components

coordinate systemsvector-spaces

I recently started EE 1, and was confused by the jump from cylindrical coordinates to cylindrical vectors

In the past, I've just converted between cartesian and cylindrical via:

\begin{align}
p &= \sqrt{x^2 + y^2}
\\
\theta &= \arctan{(y/x)}
\\
z &= z
\end{align}

and so on.

I don't understand why you can't apply these equations to a Cartesian vector in order to get a cylindrical vector. How exactly does a cylindrical vector work? My EE textbook is a piece of crap in terms of explaining math theory and we never learned cylindrical vectors in previous classes. I assumed they were pretty similar to Cartesian vectors.

Here's the question I'm referring to:

"Express in cylindrical components the vector from $C$ to $D$, where $C=(3, 2, -)$ and $D = (-1, -4, 2)$."

I've tried finding the Cartesian vector in between the two and converting to cylindrical (by formulas given above).

Here is the answer given:

-6.66ap – 2.77aphi + 9az

can someone please either explain or suggest a better resource for figuring this out?

Best Answer

The cylindrical coordinates don't form a vector. They're just a triple of numbers that you can use to describe a point; they don't have properties of vectors such as linearity, e.g. the cylindrical coordinates of the midpoint between two points aren't the average of the cylindrical coordinates of the two points.

What your text is likely referring to by "cylindrical vector" is a representation of a vector in terms of the orthogonal basis given by the unit vectors along $\partial\vec r/\rho$, $\partial\vec r/\phi$ and $\partial\vec r/z$. This is a local basis that depends on $\vec r$, so you're right in saying that your book does a bad job explaining these things; it's ambiguous to ask you to express a vector in this way without specifying the point whose basis is to be used. I'll assume that they mean "express the vector from $C(3,2,-7)$ to $D(-1,-4,2)$ in cylindrical components at $C$". (You omitted the $7$, but it can be reconstructed from the lengths of the vectors.)

Since $\partial\vec r/\partial z$ is just the canonical unit vector in the $z$ direction, the component in that direction is just $2-(-7)=9$. To find the other two components, note that $\partial\vec r/\partial\rho$ points in the direction from the $z$ axis to the point, so the corresponding component is given by

$$ \left(\pmatrix{-1\\-4}-\pmatrix{3\\2}\right)\cdot\pmatrix{3\\2}\Big/\left|\pmatrix{3\\2}\right|=\frac{-24}{\sqrt{13}}\approx-6.66\;. $$

Then the remaining component along $\partial\vec r/\partial \phi$ is determined up to a sign from the length to be

$$ \pm\sqrt{4^2+6^2-\frac{24^2}{13}}\approx\pm2.77\;, $$

and the sign is determined by your convention for $\phi$.

Related Question