Cartesian to Spherical with a point

In summary, you are trying to solve a problem that asks for the transformation of a vector from Cartesian to spherical coordinates. You use the transformation matrix and the transformation formulas from Cartesian to Spherical to solve the problem.
  • #1
xsever
11
0
Physics news on Phys.org
  • #2
xsever said:

Homework Statement


Transform the vector A = x2 - y5 + z3 into spherical coordinates at (x= -2, y= 3, z=1 ).

Your question doesn't make any sense. A is an expression or a function of x,y,z, not a vector. What did you really mean to ask?
 
  • #3
xsever said:
Transform the vector A = x2 - y5 + z3 into spherical coordinates at (x= -2, y= 3, z=1 ).

I know the transformation matrix and the transformation formulas from Cartesian to Spherical, but how do I incorporate the given point (-2,3,1)?
I'm guessing that you mean [itex]\vec{A}=2\hat{x}-5\hat{y}+3\hat{z}[/itex] and that the problem is to express this vector in terms of the spherical basis vectors at the point [itex](x,y,z)=(-2,3,1)[/itex]. Does this sound right?

Unlike the basis vectors for Cartesian coordinates, the basis vectors for spherical coordinates are not constant. Their directions depend on what point you're talking about.
 
  • #4
Transform the vector A = x2 - y5 + z3 into spherical coordinates at (x= -2, y= 3, z=1 ).

I have written the problem exactly as it was written in the book. I modified nothing and this is why I could not solve it and came here.

Any thoughts/questions ?
 
  • #5
I'm sure there is typographical information you're omitting, otherwise as LCKurtz said, the problem doesn't make sense because A would not be a vector. Keep in mind, unlike you, we don't know the context in which this problem is asked. We have no idea what material you're covering in class or in the book unless you tell us. That information could provide a clue as to what the problem is asking.
 
  • #6
I scanned the question just to confirm that I did not miss anything:
313madh.jpg


The course is Engineering Electromagnetics and this question is in chapter 1. The chapter covers coordinate systems and transformations.
 
  • #7
Here is what I was thinking: The point (-2,3,1) should be transformed into spherical form. Then, vector A would be transformed using the matrix. As the matrix contains cos(theta) and cos(phi), those theta and phi values would be used from the transformation of the point.

Does this make any sense?
 
  • #8
Depends on the matrix. What it is used for? I assume it maps something to something else. What are the something and something else?
 
  • #9
The matrix will take a vector from cartesian to spherical.

Here it is:
noiusl.jpg
 
  • #10
Looks good.
 
  • #11
By using the method I mentioned, I am not getting the right answer.

The right answer is: A= -R4.276 - (theta)4.299 + (phi)1.1094.

If anyone can get that answer, please let me know of the method used.

Thanks.
 
  • #12
I just tried what you described and got the right answer. Check your work.
 
  • #13
Could you please upload a scan of your solution. I am trying my method and it's giving me wrong answers.

I got
R=[tex]\sqrt{14}[/tex]
[tex]\theta[/tex]=1.3
[tex]\phi[/tex]=-0.982

Therefore, my matrix looks like this:

[AR ] [.535 -.801 .267 ] [2]
[A[tex]\theta[/tex]] [ .148 -.222 -.963] [-5]
[A[tex]\phi[/tex]] [.831 .555 0 ] [3]

And the answer I am getting from it is wrong.

Thank you,
 
  • #14
Your value for [itex]\phi[/itex] is wrong.
 
  • #15
In my book, [tex]\phi[/tex]=tan-1 (y/x) = tan-1 (3/-2) = -0.982.

Where is my mistake ?
 
  • #16
Think about where the point is and what [itex]\phi[/itex] represents. Is -0.982 a reasonable answer?
 
  • #17
I know that [tex]\phi[/tex](radians) is negative and that would mean it is on the negative side. Doing 2[tex]\pi[/tex]-0.982 will result in the same trigonometric values.

I am sorry but I do not see what you are trying to explain to me.
 
  • #18
Take the values for [itex]r[/itex], [itex]\theta[/itex], and [itex]\phi[/itex] you got and calculate the cartesian coordinates. Then your mistake will be apparent.
 
  • #19
Well, I can see that the signs are opposite, but playing with the sign or even[tex]\pi[/tex]/2 does not do the job.

Wow! I am really not seeing this !
 
  • #20
If the signs are opposite, that's a rotation through what angle?
 
  • #21
I guess I really needed a break. It's [tex]\pi[/tex] !

Thank you for your help. Much appreciated.
 

1. What is the formula for converting Cartesian coordinates to spherical coordinates with a point?

The formula for converting Cartesian coordinates (x, y, z) to spherical coordinates (r, θ, φ) with a point is:
r = √(x² + y² + z²)
θ = arctan(y/x)
φ = arccos(z/r)

2. What are Cartesian coordinates and how do they differ from spherical coordinates?

Cartesian coordinates are a system for representing points in three-dimensional space using three perpendicular axes (x, y, z). In contrast, spherical coordinates use a radial distance (r), an azimuthal angle (θ), and a polar angle (φ) to describe points in three-dimensional space.

3. How can I convert from spherical coordinates back to Cartesian coordinates?

To convert from spherical coordinates (r, θ, φ) back to Cartesian coordinates (x, y, z), use the following formulas:
x = r sin(φ) cos(θ)
y = r sin(φ) sin(θ)
z = r cos(φ)

4. What are the practical applications of converting between Cartesian and spherical coordinates?

Converting between Cartesian and spherical coordinates is commonly used in fields such as mathematics, physics, and engineering. It can be used to describe the position of objects in space, map out geographic locations, and solve geometric problems involving three-dimensional shapes.

5. Are there any limitations to using spherical coordinates over Cartesian coordinates?

While spherical coordinates are useful for describing points in three-dimensional space, they are not always the most convenient or accurate system to use. For instance, they can be difficult to visualize and work with in certain situations, and may be less precise for measuring distances compared to Cartesian coordinates.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
700
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
563
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
6K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top