Marginal Error of Prayer Directions

In summary, to pray towards Mecca, you would need to rotate by 1 degree in order to face it in the correct direction. However, because every angle you face at will cross Mecca, the angle you rotate by doesn't matter.
  • #1
pfssassin
16
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
  • #2
pfssassin said:
the physics of this,

What physics is involved in this?
 
  • #3
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.
 
  • #4
The analogue of straight lines on a spherical surface are great circles.
 
  • #5
Yeah thanks. Just thought about it there can't really be a single forumla for it.
 
  • #6
there is, but depends what you want your input variables to be.
 
  • #7
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?
 
  • #8
how are the points on the sphere labeled?
 
  • #9
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:

[tex]
s = R \, \varphi \, \sin{\gamma}
[/tex]

where

[itex]R[/itex] - radius of the sphere

[itex]\varphi[/itex] - angular deviation (in radians)

[tex]
\cos{\gamma} = \sin{\lambda_{1}} \, \sin{\lambda_{2}} + \cos{\lambda_{1}} \, \cos{\lambda_{2}} \, \cos{(\phi_{2} - \phi_{1})}
[/tex]

where [itex]\lambda[/itex] is the latitude and [itex]\phi[/itex] 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:

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

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 [itex]1^{\circ}[/itex] 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 [itex]\cos{\gamma}[/itex] 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:

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

[tex]
s = R \, \varphi \, \sin{\gamma}
[/tex]

where

[itex]R[/itex] - radius of the sphere

[itex]\varphi[/itex] - angular deviation (in radians)

[tex]
\cos{\gamma} = \sin{\lambda_{1}} \, \sin{\lambda_{2}} + \cos{\lambda_{1}} \, \cos{\lambda_{2}} \, \cos{(\phi_{2} - \phi_{1})}
[/tex]

where [itex]\lambda[/itex] is the latitude and [itex]\phi[/itex] 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: [itex]40^{\circ} \, 43' \, \mathrm{N}, 74^{\circ} 0' \, \mathrm{W}[/itex]

[tex]
\lambda_{1} = +\left(40 + \frac{43}{60}\right)^{\circ} = +40.717^{\circ}
[/tex]

[tex]
\phi_{1} = -\left(74 + \frac{0}{60}\right)^{\circ} = -74.000^{\circ}
[/tex]

Mecca: [itex]21^{\circ} \, 25' \, \mathrm{N}, 39^{\circ} 49' \, \mathrm{E}[/itex]

[tex]
\lambda_{2} = +\left(21 + \frac{25}{60} \right)^{\circ} = + 21.416^{\circ}
[/tex]

[tex]
\phi_{2} = +\left(39 + \frac{49}{60}\right)^{\circ} = +39.817^{\circ}
[/tex]

[tex]
\cos{\gamma} = 0.65232 \times 0.36514 + 0.75794 \times 0.93095 \times (-0.40382)
[/tex]

[tex]
\cos{\gamma} = -0.04675 \Rightarrow \sin{\gamma} = \sqrt{1 - \cos^{2}{\gamma}} = 0.99891
[/tex]

[tex]
\sin{0.5^{\circ}} = 0.00873
[/tex]

[tex]
2 \times \arcsin{\left(0.99891 \times 0.00873\right)} = 2 \times 0.499 = 0.999^{\circ}
[/tex]

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 [itex]0.999^{\circ}[/itex] would correspond to:

[tex]
4 \times 10^{4} \, \mathrm{km} \times \frac{0.999^{\circ}}{360^{\circ}} = 111 \, \mathrm{km}
[/tex]
 
  • #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.
 

What is the marginal error of prayer directions?

The marginal error of prayer directions refers to the potential deviation from the correct direction of prayer when following a specific prayer direction or qibla. This can be influenced by various factors such as the accuracy of the initial qibla calculation, the positioning of the individual in relation to the qibla, and any external influences that may affect the direction of the prayer.

How is the marginal error of prayer directions calculated?

The marginal error of prayer directions is typically calculated by taking into consideration the degree of accuracy of the qibla calculation, the distance between the individual and the qibla, and any external factors that may affect the direction of prayer such as magnetic fields or wind. This calculation can vary depending on the method used and the specific circumstances.

What factors can contribute to the marginal error of prayer directions?

Some factors that can contribute to the marginal error of prayer directions include the accuracy of the initial qibla calculation, the distance between the individual and the qibla, and any external factors such as magnetic fields or wind that may affect the direction of prayer. Additionally, human error in determining the correct direction or improper positioning during prayer can also contribute to the marginal error.

Can the marginal error of prayer directions be eliminated?

While efforts can be made to minimize the marginal error of prayer directions, it is difficult to completely eliminate it. Factors such as human error and external influences are difficult to control and can affect the direction of prayer. However, advancements in technology and improved calculation methods have helped to reduce the marginal error and increase the accuracy of prayer directions.

Why is the marginal error of prayer directions important for Muslims?

The marginal error of prayer directions is important for Muslims as it affects the accuracy of their daily prayers. Prayer is a fundamental part of the Islamic faith and it is essential for Muslims to pray in the correct direction towards the qibla. Understanding and accounting for the marginal error can help ensure that prayers are performed accurately and with the proper intention.

Similar threads

Replies
3
Views
590
  • Sci-Fi Writing and World Building
Replies
1
Views
519
  • Quantum Physics
Replies
1
Views
201
  • Other Physics Topics
Replies
2
Views
6K
Replies
5
Views
2K
Replies
122
Views
9K
Replies
42
Views
3K
  • Differential Geometry
Replies
3
Views
2K
  • Other Physics Topics
Replies
10
Views
3K
  • Introductory Physics Homework Help
Replies
15
Views
2K
Back
Top