I was solving problem 1.14 in Schaum's Outlines Electromagnetics (2nd Edition).
The problem states to convert a vector A from Cartesian to Cylindrical coordinates. I am attaching the problem and my attempt towards it. The last image shows how the book solved it. My solution is way off and I can't seem to grasp the one in the book. Please let me know what I am doing wrong and also what the book is doing in the section I circled red.
Thank you for your reply. I understand that because x, y, z are not constants we can not just use them directly. However, I am still having a hard time in understanding the "projection" concept. Is there some other way of doing it?
They are just using dot product. Dot product of two vectors equals the product of the magnitude of the two vectors and the cosine of the angle between them.
The answer given by the book is not silly.
The coordinates are expressed in terms of the cyindrical transformation versos (.e. unity vectors).
This mens those versors are associated to the cylindrical space. The transormation is from (ax, ay, az) to (ar, aφ, az).
A versor indicates the direction of the axis, then it's defined as the derivative along the wanted axis divided by its modulus.
In our case we want the direction along R, (here capitals letter stands for direction) with respect to r, φ and z.
Sorry, but I didn't understand what you want to say.
The original question is speaking about a vector "A". Its orientation is given by the versors (ax, ay, az) in the same way, transforming we will have a vector "At" referred to the cyclindrical basis: its orientation is represented by (ar, aφ, az).
That is A=f(x,y,z)*ax+g(x,y,z)*ay+h(x,y,z)*az ==> transform to ==> At=ft(r,φ,z)*ar+gt(r,φ,z)*aφ+ht(r,φ,z)*az
Albbg is correct. When you're converting from Cartesian to Cylindrical coordinate systems you should not have any x's or y's in your answer. Your answer should only be in terms of r, φ, and z. Remember this is converting between coordinate systems not just points.
@dzafar You have the right idea but you're basically going about it backwards. I'm a little rusty but what I remember is first you use your identities to remove all the x's and y's. The identities are the x = rcos(φ) ones. Once you've done that you should end with something with only r, φ, and z. But you will still have the Cartesian unit vectors which you need to replace with the cylindrical unit vectors. That's where all those dot products are coming in. When I did this I just used the matrix multiplication(You can find it on the Wiki) to do this. Or you can use those equations provided below the dot products. Substitute everything in. Use the dot product info to multiple unit vectors and you're done.
Hopefully that helps. I don't know Latex so my explanations are a little weird so as to avoid notation.
Sorry, but I didn't understand what you want to say.
The original question is speaking about a vector "A". Its orientation is given by the versors (ax, ay, az) in the same way, transforming we will have a vector "At" referred to the cyclindrical basis: its orientation is represented by (ar, aφ, az).
That is A=f(x,y,z)*ax+g(x,y,z)*ay+h(x,y,z)*az ==> transform to ==> At=ft(r,φ,z)*ar+gt(r,φ,z)*aφ+ht(r,φ,z)*az