Marginal Error of Prayer Directions

  • Context: Undergrad 
  • Thread starter Thread starter pfssassin
  • Start date Start date
  • Tags Tags
    Error Marginal
Click For Summary

Discussion Overview

The discussion revolves around calculating the effect of a 1-degree rotation when praying towards Mecca from various locations on Earth, particularly focusing on the mathematical and geometrical implications of such a rotation on a spherical surface. Participants explore the necessary calculations and formulas involved in determining how far one would miss the intended direction.

Discussion Character

  • Mathematical reasoning, Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant questions how to calculate the effect of a 1-degree rotation on a point on a sphere that is not directly opposite the reference point (Mecca).
  • Another participant suggests that the problem is more mathematical than physical, prompting a shift in focus.
  • Several participants discuss the concept of great circles as the analogue of straight lines on a spherical surface.
  • There is mention of a formula for calculating the distance missed due to angular deviation, with variations in the formulas proposed by different participants.
  • One participant provides a formula involving angular deviation and the radius of the sphere, while another later corrects this to a different formula involving arcsine.
  • Participants engage in deriving values for specific locations, such as New York and Mecca, using latitude and longitude.
  • There is a discussion about whether the calculated distance measures the shortest distance along the surface of the sphere or the direct distance between two points.

Areas of Agreement / Disagreement

Participants express varying degrees of agreement on the mathematical approaches but do not reach a consensus on a single formula or method for calculating the distance missed. There is ongoing clarification and correction of earlier claims, indicating that multiple views and uncertainties remain.

Contextual Notes

Participants note the dependence on definitions, such as angular deviation and the specific formulas used, which may vary based on input variables. The discussion also highlights the importance of using radians versus degrees in calculations.

Who May Find This Useful

This discussion may be useful for individuals interested in spherical geometry, trigonometry, and practical applications of mathematics in navigation or geographical contexts.

pfssassin
Messages
16
Reaction score
0
If you are trying to pray towards Mecca for example (a small point on Earth's, assume spherical, surface) and you are standing on the exact other side your angle doesn't matter since every angle you face at will Cross mecca. Now my question is how do you go about calculating the effect of a 1 degree rotation on a point on a sphere that's not exactly opposite to the point of reference (mecca). So if I am for example praying in NY and face the direction they tell me (exactly) but then rotate by 1 degree how much will I miss mecca by?

I can easily do this on a flat surface using basic trig but it gets weird when you take two points on a sphere.

Note: Although irrelevant to the physics of this, I am an atheist. Just curious.
 
Physics news on Phys.org
pfssassin said:
the physics of this,

What physics is involved in this?
 
Dickfore said:
What physics is involved in this?

Actually you are right... this is a math question. Seriously never really considered the fact. Just not a member to any math forums so I thought I'd ask here.
 
The analogue of straight lines on a spherical surface are great circles.
 
Yeah thanks. Just thought about it there can't really be a single formula for it.
 
there is, but depends what you want your input variables to be.
 
What I am looking for is consider drawing a circle between New York (single point) and LA but the circle goes around Earth and NY and LA are not necessarily on the opposite sides of the circle which lies on the sphere. If you change the direction of this sphere by 1 degree from NY, how far would the closest distance between LA and the newly formed circle lying on the Earth (sphere) be?
 
how are the points on the sphere labeled?
 
Not sure what that means.
 
  • #10
Do you want the points input through their latitudes and longitudes?
 
  • #11
That sounds good.
 
  • #12
The distance by which you would miss is:

<br /> s = R \, \varphi \, \sin{\gamma}<br />

where

R - radius of the sphere

\varphi - angular deviation (in radians)

<br /> \cos{\gamma} = \sin{\lambda_{1}} \, \sin{\lambda_{2}} + \cos{\lambda_{1}} \, \cos{\lambda_{2}} \, \cos{(\phi_{2} - \phi_{1})}<br />

where \lambda is the latitude and \phi the longitude of a point on the sphere.
 
  • #13
Thanks a lot man. Couple questions:

1. To get y (looking thing) alone just take the inverse cos of the last equation right?
2. what is angular deviation? (googling returned nothing useful)
3. Whats this formula called? I want to see a sample problem so I can actually learn how it works.
4. Lastly latitude and long are degrees right?
Thanks again!
 
  • #14
EDIT:

Scratch the last formula. The correct one is:

<br /> s = 2 R \, \arcsin{\left[\sin{(\gamma)} \, \sin\left(\frac{\varphi}{2}\right)\right]}<br />

I can't draw a diagram now and show my steps in the derivation, but maybe someone else can check if it's correct.
 
  • #15
angular deviation is the angle that you said is 1^{\circ} in the original statement of your problem.

All the angles that are inside a trigonometric function can be degrees if your calculator is set up in degrees. However, if you find the inverse sine (arcsin), the result will be in degrees again (unless you change it to rad). The last formula (for s) assumes that the result is in radians.

I don't know how this formula is called. I just derived it now.
 
  • #16
Dude. You are ****ing sick. Wish I could pull some **** like that. Working a sample problem will post soon.
 
  • #17
The formula for \cos{\gamma} is actually the dot product formula for two unit vectors in the direction of the respective points on the sphere and expressing their Cartesian coordinates through the latitude and longitude:

<br /> \left\langle \cos{\lambda} \, \cos{\phi}, \cos{\lambda} \, \sin{\phi}, \sin{\lambda} \right\rangle<br />
 
  • #18
Dickfore said:
The distance by which you would miss is:

<br /> s = R \, \varphi \, \sin{\gamma}<br />

where

R - radius of the sphere

\varphi - angular deviation (in radians)

<br /> \cos{\gamma} = \sin{\lambda_{1}} \, \sin{\lambda_{2}} + \cos{\lambda_{1}} \, \cos{\lambda_{2}} \, \cos{(\phi_{2} - \phi_{1})}<br />

where \lambda is the latitude and \phi the longitude of a point on the sphere.

Random Place in D.C: 38.895112,-77.036366
Mecca: 21.427378,39.814838


cosL = sin(38.895112)sin(21.427378) +cos(38.895112)cos(21.427378)cos(-77.036366-39.814838)
cosL = -0.097855196092127817015497218386228992559245305387623345867

ArcCos(-0.097855196092127817015497218386228992559245305387623345867) = 1.66880837070653510548192373051960254679143170988820787811 Radians

s = 2(6371.0)arcsin[sin(1.66880837070653510548192373051960254679143170988820787811)sin(pi/360)]

s = 110.61 km

**** dude sick! Thanks so much. If you ever get time to show how its derived it would be much appreciated.
 
  • #19
Also I may have hit my questions before becoming annoying quota but I was wondering: does this measure the distance on the surface of the sphere or the direct distance between the two points?
 
  • #20
Example:

New York City: 40^{\circ} \, 43&#039; \, \mathrm{N}, 74^{\circ} 0&#039; \, \mathrm{W}

<br /> \lambda_{1} = +\left(40 + \frac{43}{60}\right)^{\circ} = +40.717^{\circ}<br />

<br /> \phi_{1} = -\left(74 + \frac{0}{60}\right)^{\circ} = -74.000^{\circ}<br />

Mecca: 21^{\circ} \, 25&#039; \, \mathrm{N}, 39^{\circ} 49&#039; \, \mathrm{E}

<br /> \lambda_{2} = +\left(21 + \frac{25}{60} \right)^{\circ} = + 21.416^{\circ}<br />

<br /> \phi_{2} = +\left(39 + \frac{49}{60}\right)^{\circ} = +39.817^{\circ}<br />

<br /> \cos{\gamma} = 0.65232 \times 0.36514 + 0.75794 \times 0.93095 \times (-0.40382)<br />

<br /> \cos{\gamma} = -0.04675 \Rightarrow \sin{\gamma} = \sqrt{1 - \cos^{2}{\gamma}} = 0.99891<br />

<br /> \sin{0.5^{\circ}} = 0.00873<br />

<br /> 2 \times \arcsin{\left(0.99891 \times 0.00873\right)} = 2 \times 0.499 = 0.999^{\circ}<br />

You don't need to know the radius of the Earth. You just need to remember that the circumference of a great circle is very close to 40,000 km. Then, an arc with an angle of 0.999^{\circ} would correspond to:

<br /> 4 \times 10^{4} \, \mathrm{km} \times \frac{0.999^{\circ}}{360^{\circ}} = 111 \, \mathrm{km}<br />
 
  • #21
pfssassin said:
Also I may have hit my questions before becoming annoying quota but I was wondering: does this measure the distance on the surface of the sphere or the direct distance between the two points?

This measures the shortest distance along the surface. That's why I corrected the first formula.
 

Similar threads

  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
4K
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 51 ·
2
Replies
51
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K