Where does the galactic distance equation come from?

  • Context: Undergrad 
  • Thread starter Thread starter Ayame17
  • Start date Start date
Ayame17
Messages
43
Reaction score
0
I'm currently working on my final year project, and one of the little bits to do is to see if certain data points fall within a circle with my own defined radius and central co-ordinates. I've been given the equation to use:

[tex]d = \frac{\sqrt{(l-l_{0})^2 + (b-b_{0})^2}}{r}[/tex]

where [tex]l_{0}[/tex] and [tex]b_{0}[/tex] are my central galactic co-ordinates, r is my radius (in degrees) and d is the distance the data point is from the central co-ordinates (also in degrees) - if d is less than 1, then the point is within my radius.

Although I don't need to, I'd just like to know where the equation comes from! I can see how the right hand side of the equals is a rearrangement of the equation of a circle, but I don't see how the distance is put in. Any help is appreciated!
 
Astronomy news on Phys.org
I realized that it must be Pythagoras, as that's where the equation for a circle comes from, it was more the fact that - when rearranged from the equation - the hypotenuese would be [tex]r^2d^2[/tex]. Since it is normally just [tex]r^2[/tex], I wasn't sure if you were able to just put the distance ([tex]d^2[/tex]) in.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 49 ·
2
Replies
49
Views
6K
  • · Replies 29 ·
Replies
29
Views
2K