Radial Vector in Cartesian form

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 3K views
Arman777
Insights Author
Gold Member
Messages
2,163
Reaction score
191
If I wanted to write ##\hat{r}##in terms of ##\hat{x}##and ##\hat{y}##, is it ##\frac{\hat{x} + \hat{y}}{\sqrt{2}}## ?
 
Physics news on Phys.org
Arman777 said:
If I wanted to write ##\hat{r}##in terms of ##\hat{x}##and ##\hat{y}##, is it ##\frac{\hat{x} + \hat{y}}{\sqrt{2}}## ?
Only if ##x=y\ge 0##.
In general ##\hat r= \frac{x\hat x + y\hat y} {\sqrt {x^2+y^2}}## for ##\sqrt {x^2+y^2}>0##.
 
  • Like
Likes   Reactions: Arman777 and PeroK
tnich said:
Only if ##x=y\ge 0##.
In general ##\hat r= \frac{x\hat x + y\hat y} {\sqrt {x^2+y^2}}## for ##\sqrt {x^2+y^2}>0##.
... as

1) ##\vec r= x\hat x + y\hat y##

2) ##\hat r = \frac{\vec r}{|\vec r|}##

3) ##|\vec r| = \sqrt{x^2 + y^2}##
 
  • Like
Likes   Reactions: Arman777
Arman777 said:
If I wanted to write ##\hat{r}##in terms of ##\hat{x}##and ##\hat{y}##, is it ##\frac{\hat{x} + \hat{y}}{\sqrt{2}}## ?

What does the "##\hat{}##" in your notation signify? Is it only to indicate that variables are vectors? - or does it indicate vectors of length 1?

What is your definition of ##\hat{r}##?
 
I found an E field in the form of ##\vec{E} = C(\frac{1} {|\vec{r}|} - \frac{1} {|\vec{r} - \vec{d}|})\hat{r}## where C is a constant.

I need to transform this into x,y coordinates. So I wrote

##\vec{E} = C(\frac{1} {\sqrt{x^2 + y^2}} - \frac{1} {\sqrt{(x-d)^2 + (y)^2)}}) \frac{x\hat{i} + y\hat{j}}{\sqrt{x^2 + y^2}}##
 
Last edited:
Arman777 said:
I found an E field in the form of ##\vec{E} = C(\frac{1} {|\vec{r}|} - \frac{1} {|\vec{r} - \vec{d}|})\hat{r}## where C is a constant.

I need to transform this into x,y coordinates. So I wrote

##\vec{E} = C(\frac{1} {\sqrt{x^2 + y^2}} - \frac{1} {\sqrt{(x-d)^2 + (y-d)^2)}}) \frac{x\hat{i} + y\hat{j}}{\sqrt{x^2 + y^2}}##

It looks like you have ##\vec d = (d, d)## there.
 
Stephen Tashi said:
What does the "##\hat{}##" in your notation signify? Is it only to indicate that variables are vectors? - or does it indicate vectors of length 1?

What is your definition of ##\hat{r}##?

##\hat r## is a unit vector.
 
PeroK said:
It looks like you have ##\vec d = (d, d)## there.
my mistake ##\vec{d} = d\hat{i}##