Moving center of coordinates in the polar graph

ektov_konstantin
Messages
5
Reaction score
0
TL;DR
Please, check if made a mistake. I get bad result but can`t understand where is my mistake
I have a function in polar coordinates:

t (rho, phi) = H^2 / (H^2 + rho^2) (1)

I have moved the center to the right and want to get the new formulae.

I use cartesian coordinates to simplify the transformation (L = 232.5).

rho^2 = (x')^2+(y')^2
x' = x-L (2)
y' = y

Then I substitute expression (2) into (1) and go back to the polar coordinates (using x=rho*cos(phi) and y=rho*sin(phi) ). The result is:

t (rho, phi) = H^2 / (H^2 + rho^2 - 2 * rho * L * cos(phi) )**2 (3)

The first picture is for (1) function.

The second picture is for (3).
 

Attachments

  • изображение_2021-11-07_201307.png
    изображение_2021-11-07_201307.png
    13.6 KB · Views: 213
  • изображение_2021-11-07_202150.png
    изображение_2021-11-07_202150.png
    14.9 KB · Views: 206
ektov_konstantin said:
Summary:: Please, check if made a mistake. I get bad result but can`t understand where is my mistake

I have a function in polar coordinates:

t (rho, phi) = H^2 / (H^2 + rho^2) (1)
Or as a bit more readable,
$$t(\rho, \phi) = \frac{H^2}{H^2 + \rho^2}$$
If you click what I wrote above, you can see my LaTeX script. There's more information about LaTeX in the LaTeX Guide line at the lower left of the input pane.
ektov_konstantin said:
I have moved the center to the right and want to get the new formulae.

I use cartesian coordinates to simplify the transformation (L = 232.5).

rho^2 = (x')^2+(y')^2
x' = x-L (2)
y' = y

Then I substitute expression (2) into (1) and go back to the polar coordinates (using x=rho*cos(phi) and y=rho*sin(phi) ). The result is:

t (rho, phi) = H^2 / (H^2 + rho^2 - 2 * rho * L * cos(phi) )**2 (3)
It looks to me like you are omitting the ##L^2## term in the denominator. After the substitution -- in equation (2) -- I get this:
$$t(\rho, \phi) = \frac{H^2}{H^2 + (x - L)^2 + y^2} = \frac{H^2}{H^2 + x^2 - 2Lx + L^2 + y^2} $$
$$ = \frac{H^2}{H^2 +\rho^2 - 2L\rho\cos(\phi) + L^2}$$
ektov_konstantin said:
The first picture is for (1) function.

The second picture is for (3).
Does my change make a difference?
 
Mark44 said:
Or as a bit more readable,
$$t(\rho, \phi) = \frac{H^2}{H^2 + \rho^2}$$
If you click what I wrote above, you can see my LaTeX script. There's more information about LaTeX in the LaTeX Guide line at the lower left of the input pane.
It looks to me like you are omitting the ##L^2## term in the denominator. After the substitution -- in equation (2) -- I get this:
$$t(\rho, \phi) = \frac{H^2}{H^2 + (x - L)^2 + y^2} = \frac{H^2}{H^2 + x^2 - 2Lx + L^2 + y^2} $$
$$ = \frac{H^2}{H^2 +\rho^2 - 2L\rho\cos(\phi) + L^2}$$

Does my change make a difference?
Yes. I made such a stupid mistake. Thanks for advise about LaTeX
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
13K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K