Change of Variable for a Vector from Rectangular to Cylindrical

In summary, the person attempted to solve a homework problem but lost the work that they did. They are confused about how to represent position vectors in cylindrical coordinates and are not sure if the answer in the back of the book is correct.
  • #1
Joshuarr
23
1

Homework Statement


1.21 Express in cylindrical components: (a) the vector from C(3, 2,−7) to
D(−1, −4, 2); (b) a unit vector at D directed toward C; (c) a unit vector at D
directed toward the origin.

I just want to know (a).

And the solution from the book is attached, too.


Homework Equations


ρ = Sqrt(x^2+y^2)
φ = Atan(y/x)
z = z

[tex]J(r,\phi, z)=\begin{bmatrix} {dx\over dr} & {dx\over d\phi} &{dx\over dz} \\ {dy\over dr} & {dy\over d\phi} & {dy\over dz} \\ {dz\over dr} & {dz\over d\phi} & {dz\over dz}\end{bmatrix}
=\begin{bmatrix} {d(r\cos\phi)\over dr} & {d(r\cos\phi)\over d\phi} & {d(r\cos\phi)\over dz} \\ {d(r\sin\phi)\over dr} & {d(r\sin\phi)\over d\phi} & {d(r\sin\phi)\over dz} \\ {dz\over dr} & {dz\over d\phi} & {dz\over dz}\end{bmatrix}
=\begin{bmatrix} \cos\phi & -r\sin\phi & 0 \\ \sin\phi & r\cos\phi & 0 \\ 0 & 0 & 1 \end{bmatrix}[/tex]

The Attempt at a Solution


I posted a rather detailed account of what I did, but apparently I took longer than 15 mins or whatever, and it all got erased... I think the physics forum should look into away to prevent that!

Anyway, I tried solving it and I got that the vector from C to D is D-C = (-4,-6,9)

V_cd = -4 a_x - 6 a_y + 9 a_z

So I found ρ = Sqrt(6^2+4^2) = Sqrt(52) = 7.2111
And I found φ = Atan(-6/-4) = 56.3099
And we add 180 to this to get φ = 236.3099 degrees

When I tried finding each component, I got ρ = 7.2111, φ = 0, and z = 9

... In short, I'm very confused. I can't even get the component of ρ of V_cd, which I think should be rather easy.

Also, I'm not even sure how to describe a position vector in cylindrical coordinates.

Is it just r(ρ,φ,z) = ρ a_ρ + φ a_φ + z a_z, where φ is in radians?

In that case, I'd get: V_cd = 7.2111 a_ρ + 4.124 a_φ + 9 a_z

If I do it the other way, where I got each component by taking the dot product of V_cd with each unit vector in cylindrical coordinates (i.e. a_ρ, a_φ, a_z), I would get

V_cd = 7.2111 a_ρ + 9 a_z

And as you may note, neither is like the back of the book. :(
 

Attachments

  • 1.21.png
    1.21.png
    12.7 KB · Views: 787
  • AnswerTo1.21.png
    AnswerTo1.21.png
    4.7 KB · Views: 782
Last edited:
Physics news on Phys.org
  • #2
The two of the unit vectors in cylindrical coordinates aren't constant, so you have a set of unit vectors ##\hat{a}_\rho##, ##\hat{a}_\phi##, and ##\hat{a}_z## for the point C, and another set for the point D. The vector ##\vec{V}_\text{CD}## has its tail at C and tip at D, so you want to express it in terms of the unit vectors for point C.

What you found was how to write ##\vec{V}_\text{CD}## in terms of the unit vectors for (-4, -6, 9).
 
  • #3
I'm not sure what you're telling me. If I want the position vectors associated with C and D in terms of constant unit vectors, then I can only represent that in terms of a_x, a_y, and a_z. I can't make a_ρ, a_φ constant, because they're not -- by definition.

So the only way to express the position vectors C and D (with no ambiguity) is in terms of a_x, a_y, a_z... or am I missing something?

I managed to find the vector V_cd in rectangular coordinates. I'm pretty sure that one's correct, and I can find ρ, φ, and z, too. What doesn't make sense to me is how to get it in the form of the bases (the unit vectors). Say, I know ρ, φ, z - what do I do next?

I'm beginning to think the answer in the back of the book is wrong. I've worked on this problem in multiple ways and have not been able to get what they got.

Also, I now know (after reading online) that r(ρ,φ,z) = ρ a_ρ + φ a_φ + z a_z is incorrect because φ is an angle, which is not in units of length.

The ρ component should definitely be ρ = Sqrt(4^2 + 6^2) = Sqrt(52), but they didn't even get that part right.
 
  • #4
I've attached a picture for an example in two dimensions using polar coordinates.

The vector r goes from the origin to some point in the plane. The vector ar is the unit radial vector. In terms of ar, you always have r=r ar, where r=|r|. There's never a component in the aθ direction because that unit vector is always perpendicular to r.

The vector V, the way I drew it here, is equal to V=ar+aθ.

In your problem, VCD should be in the role of V in my example. (The point C would be the green dot, and the point D would be at the tip of the blue vector.) But you're calculating its components as if it were in the role of r. When you do that, you always get that it's just some multiple of ar, which is essentially what you're finding (if we neglect the z-component).
 

Attachments

  • Untitled.png
    Untitled.png
    3.3 KB · Views: 879
  • #5
Wow. Thanks a lot! I finally get it.

So my biggest problem was φ, because this determined a different a_ρ and a_φ.

The value of φ associated with point C is φ_c = Atan(2/3) = 33.69 degrees

Thus,
ρ component of V_cd = (-4 a_x -6 a_y + 9 a_z) dot a_ρ
= -4*cos(φ_c) - 6*sin(φ_c) + 9*0
= -6.6564
φ component of V_cd = (-4 a_x -6 a_y + 9 a_z) dot a_φ
=4*sin(φ_c) - 6*cos(φ_c) + 9*0
=-2.7735
z component of V_cd = z = 9

So the final answer is V_cd = -6.6564 a_ρ - 2.7735 a_φ + 9 a_z.
Just like the book said!

haha. I've spent so many hours on this one problem, but I'm sure it'll help me with future ones.

Thanks for your help again, Vela!
 
  • Like
Likes balsagaur97
  • #6
You're welcome. This is one of those things that makes perfect sense once you get it, but until then, it can be terribly confusing.
 
  • Like
Likes balsagaur97

1. What is a change of variable for a vector from rectangular to cylindrical?

A change of variable for a vector from rectangular to cylindrical is a mathematical transformation that converts the coordinates of a vector from the rectangular coordinate system to the cylindrical coordinate system. This allows for easier calculations and representations of vectors in curved surfaces or systems.

2. How is the change of variable for a vector from rectangular to cylindrical represented mathematically?

The change of variable can be represented using the following equations:

x = r*cos(θ)

y = r*sin(θ)

z = z

where x, y, and z are the rectangular coordinates and r, θ, and z are the cylindrical coordinates.

3. What are the advantages of using cylindrical coordinates for vector analysis?

There are several advantages of using cylindrical coordinates for vector analysis. One advantage is that it simplifies calculations for vectors in curved surfaces or systems. Additionally, cylindrical coordinates are useful for problems involving circular symmetry, such as in the fields of electromagnetism and fluid dynamics.

4. Can the change of variable for a vector from rectangular to cylindrical be reversed?

Yes, the change of variable can be reversed by using the inverse equations:

r = √(x^2 + y^2)

θ = tan^-1(y/x)

z = z

This will convert the vector back to its original rectangular coordinates.

5. How is the change of variable for a vector from rectangular to cylindrical used in real-world applications?

The change of variable for a vector from rectangular to cylindrical is used in many real-world applications, such as in physics, engineering, and computer graphics. It is particularly useful in problems involving cylindrical structures, such as cylinders, pipes, and motors, where calculations can be simplified by using cylindrical coordinates.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
657
  • Calculus and Beyond Homework Help
Replies
3
Views
563
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
897
  • Calculus and Beyond Homework Help
Replies
5
Views
972
  • Calculus and Beyond Homework Help
Replies
4
Views
958
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Advanced Physics Homework Help
Replies
3
Views
687
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
Back
Top