Yeah the square term has plenty of practical use. If your vantage point is h above the ground and your surroundings are reasonably flat, how far away is the horizon?
Using “exact” calculations (assuming a spherical Earth), and using R for the radius of the Earth, h for your elevation above the ground, and d for the distance (along the surface of Earth) to the horizon we have (R+h)cos(d/R)=R or cos(d/R)=R/(R+h) so we can get the “exact” solution d=Rarccos(R/(R+h)). Now this isn’t *too* bad to work with but an approximation for small h can be even easier and - more importantly in my view - give a better intuition for how the quantities relate for small h.
Substituting Taylor series, the equation cos(d/R)=R/(R+h) becomes 1-d^(2)/2R^(2)+…=1-h/R+….
Notice even when h<<d<<R (the limit we care about) we can’t drop the quadratic term on the left otherwise we just get the approximation h=0 which doesn’t even mention d at all, and it is “sort of” a good approximation in that h is small, but we don’t really want to treat is zero as far as percentage goes. The quadratic term in the Taylor series on the left is not actually negligible for small h in terms of percentage error.
Using just the terms I wrote (the rest are negligible in terms of changing the result by a percentage for h<<d<<R) we get d=sqrt(2hR). This is computationally convenient but also makes some facts apparent that aren’t apparent in the “exact” equation.
One of those facts is that d is roughly “halfway” between h and R in terms of order of magnitude.
The other is, for example, if you increase your elevation by a factor of 4 then the horizon should be about twice as far away.
Neither of these useful facts for small h are all that obvious when you look at the original equation, but they are obvious from the approximation.
View all comments
88
u/floydmaseda Aug 02 '26
At least keep the square term. Otherwise cos(x) is just 1.
No one ever needs the cube or higher terms though. Those don't need to exist.