Versine

From testwiki
Revision as of 11:51, 23 January 2025 by imported>Sparda104 (Removed archaic usage ("Whilst"))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:For Template:Redir Template:Trigonometry Template:Wikt

The versine or versed sine is a trigonometric function found in some of the earliest (Sanskrit Aryabhatia,[1] Section I) trigonometric tables. The versine of an angle is 1 minus its cosine.

There are several related functions, most notably the coversine and haversine. The latter, half a versine, is of particular importance in the haversine formula of navigation.

A unit circle with trigonometric functions.[2]

The versine[3][4][5][6][7] or versed sine[8][9][10][11][12] is a trigonometric function already appearing in some of the earliest trigonometric tables. It is symbolized in formulas using the abbreviations Template:Math, Template:Math,[13][14] Template:Math, Template:Math[15] or Template:Math.[16][17] In Latin, it is known as the sinus versus (flipped sine), versinus, versus, or sagitta (arrow).[18]

Expressed in terms of common trigonometric functions sine, cosine, and tangent, the versine is equal to versinθ=1cosθ=2sin2θ2=sinθtanθ2

There are several related functions corresponding to the versine:

In full analogy to the above-mentioned four functions another set of four "half-value" functions exists as well:

History and applications

Versine and coversine

Sine, cosine, and versine of angle θ in terms of a unit circle with radius 1, centered at O. This figure also illustrates the reason why the versine was sometimes called the sagitta, Latin for arrow.[18][36] If the arc ADB of the double-angle Δ = 2θ is viewed as a "bow" and the chord AB as its "string", then the versine CD is clearly the "arrow shaft".
Graphs of historical trigonometric functions compared with sin and cos – in the SVG file, hover over or click a graph to highlight it

The ordinary sine function (see note on etymology) was sometimes historically called the sinus rectus ("straight sine"), to contrast it with the versed sine (sinus versus).[37] The meaning of these terms is apparent if one looks at the functions in the original context for their definition, a unit circle:

For a vertical chord AB of the unit circle, the sine of the angle θ (representing half of the subtended angle Δ) is the distance AC (half of the chord). On the other hand, the versed sine of θ is the distance CD from the center of the chord to the center of the arc. Thus, the sum of cos(θ) (equal to the length of line OC) and versin(θ) (equal to the length of line CD) is the radius OD (with length 1). Illustrated this way, the sine is vertical (rectus, literally "straight") while the versine is horizontal (versus, literally "turned against, out-of-place"); both are distances from C to the circle.

This figure also illustrates the reason why the versine was sometimes called the sagitta, Latin for arrow.[18][36] If the arc ADB of the double-angle Δ = 2θ is viewed as a "bow" and the chord AB as its "string", then the versine CD is clearly the "arrow shaft".

In further keeping with the interpretation of the sine as "vertical" and the versed sine as "horizontal", sagitta is also an obsolete synonym for the abscissa (the horizontal axis of a graph).[36]

In 1821, Cauchy used the terms sinus versus (siv) for the versine and cosinus versus (cosiv) for the coversine.[16][17][nb 1]

The trigonometric functions can be constructed geometrically in terms of a unit circle centered at O.

Historically, the versed sine was considered one of the most important trigonometric functions.[12][37][38]

As θ goes to zero, versin(θ) is the difference between two nearly equal quantities, so a user of a trigonometric table for the cosine alone would need a very high accuracy to obtain the versine in order to avoid catastrophic cancellation, making separate tables for the latter convenient.[12] Even with a calculator or computer, round-off errors make it advisable to use the sin2 formula for small θ.

Another historical advantage of the versine is that it is always non-negative, so its logarithm is defined everywhere except for the single angle (θ = 0, 2Template:Pi, …) where it is zero—thus, one could use logarithmic tables for multiplications in formulas involving versines.

In fact, the earliest surviving table of sine (half-chord) values (as opposed to the chords tabulated by Ptolemy and other Greek authors), calculated from the Surya Siddhantha of India dated back to the 3rd century BC, was a table of values for the sine and versed sine (in 3.75° increments from 0 to 90°).[37]

The versine appears as an intermediate step in the application of the half-angle formula sin2Template:BigTemplate:SfracTemplate:Big = Template:Sfracversin(θ), derived by Ptolemy, that was used to construct such tables.

Haversine

The haversine, in particular, was important in navigation because it appears in the haversine formula, which is used to reasonably accurately compute distances on an astronomic spheroid (see issues with the Earth's radius vs. sphere) given angular positions (e.g., longitude and latitude). One could also use sin2Template:BigTemplate:SfracTemplate:Big directly, but having a table of the haversine removed the need to compute squares and square roots.[12]

An early utilization by José de Mendoza y Ríos of what later would be called haversines is documented in 1801.[14][39]

The first known English equivalent to a table of haversines was published by James Andrew in 1805, under the name "Squares of Natural Semi-Chords".[40][41][18]

In 1835, the term haversine (notated naturally as hav. or base-10 logarithmically as log. haversine or log. havers.) was coined[42] by James Inman[14][43][44] in the third edition of his work Navigation and Nautical Astronomy: For the Use of British Seamen to simplify the calculation of distances between two points on the surface of the Earth using spherical trigonometry for applications in navigation.[3][42] Inman also used the terms nat. versine and nat. vers. for versines.[3]

Other high-regarded tables of haversines were those of Richard Farley in 1856[40][45] and John Caulfield Hannyngton in 1876.[40][46]

The haversine continues to be used in navigation and has found new applications in recent decades, as in Bruce D. Stark's method for clearing lunar distances utilizing Gaussian logarithms since 1995[47][48] or in a more compact method for sight reduction since 2014.[32]

Modern uses

While the usage of the versine, coversine and haversine as well as their inverse functions can be traced back centuries, the names for the other five cofunctions appear to be of much younger origin.

One period (0 < θ < 2π) of a versine or, more commonly, a haversine (or havercosine) waveform is also commonly used in signal processing and control theory as the shape of a pulse or a window function (including Hann, Hann–Poisson and Tukey windows), because it smoothly (continuous in value and slope) "turns on" from zero to one (for haversine) and back to zero.[nb 2] In these applications, it is named Hann function or raised-cosine filter. Likewise, the havercosine is used in raised-cosine distributions in probability theory and statistics.

In the form of sin2(θ) the haversine of the double-angle Δ describes the relation between spreads and angles in rational trigonometry, a proposed reformulation of metrical planar and solid geometries by Norman John Wildberger since 2005.[49]

Mathematical identities

Definitions

versin(θ):=2sin2(θ2)=1cos(θ)[4]
coversin(θ):=versin(π2θ)=1sin(θ)[4]
vercosin(θ):=2cos2(θ2)=1+cos(θ)[19]
covercosin(θ):=vercosin(π2θ)=1+sin(θ)[26]
haversin(θ):=versin(θ)2=sin2(θ2)=1cos(θ)2[4]
hacoversin(θ):=coversin(θ)2=1sin(θ)2[21]
havercosin(θ):=vercosin(θ)2=cos2(θ2)=1+cos(θ)2[33]
hacovercosin(θ):=covercosin(θ)2=1+sin(θ)2[35]

Circular rotations

The functions are circular rotations of each other.

versin(θ)=coversin(θ+π2)=vercosin(θ+π)=covercosin(θ+3π2)haversin(θ)=hacoversin(θ+π2)=havercosin(θ+π)=hacovercosin(θ+3π2)

Derivatives and integrals

ddxversin(x)=sinx[50] versin(x)dx=xsinx+C[4][50]
ddxvercosin(x)=sinx vercosin(x)dx=x+sinx+C
ddxcoversin(x)=cosx[20] coversin(x)dx=x+cosx+C[20]
ddxcovercosin(x)=cosx covercosin(x)dx=xcosx+C
ddxhaversin(x)=sinx2[27] haversin(x)dx=xsinx2+C[27]
ddxhavercosin(x)=sinx2 havercosin(x)dx=x+sinx2+C
ddxhacoversin(x)=cosx2 hacoversin(x)dx=x+cosx2+C
ddxhacovercosin(x)=cosx2 hacovercosin(x)dx=xcosx2+C

Template:AnchorInverse functions

Inverse functions like arcversine[34] (arcversin, arcvers,[8][34] avers,[51][52] aver), arcvercosine (arcvercosin, arcvercos, avercos, avcs), arccoversine[34] (arccoversin, arccovers,[8][34] acovers,[51][52] acvs), arccovercosine (arccovercosin, arccovercos, acovercos, acvc), archaversine (archaversin, archav,[34] haversin−1,[53] invhav,[34][54][55][56] ahav,[34][51][52] ahvs, ahv, hav−1[57][58]), archavercosine (archavercosin, archavercos, ahvc), archacoversine (archacoversin, ahcv) or archacovercosine (archacovercosin, archacovercos, ahcc) exist as well:

arcversin(y)=arccos(1y)[34][51][52]
arcvercos(y)=arccos(y1)
arccoversin(y)=arcsin(1y)[34][51][52]
arccovercos(y)=arcsin(y1)
archaversin(y)=2arcsin(y)=arccos(12y)[34][51][52][53][54][55][57][58]
archavercos(y)=2arccos(y)=arccos(2y1)
archacoversin(y)=arcsin(12y)
archacovercos(y)=arcsin(2y1)

Other properties

These functions can be extended into the complex plane.[50][20][27]

Maclaurin series:[27]

versin(z)=k=1(1)k1z2k(2k)!haversin(z)=k=1(1)k1z2k2(2k)!
limθ0versin(θ)θ=0[8]
versin(θ)+coversin(θ)versin(θ)coversin(θ)exsec(θ)+excsc(θ)exsec(θ)excsc(θ)=2versin(θ)coversin(θ)versin(θ)coversin(θ)[versin(θ)+exsec(θ)][coversin(θ)+excsc(θ)]=sin(θ)cos(θ)[8]

Approximations

Comparison of the versine function with three approximations to the versine functions, for angles ranging from 0 to 2π
Comparison of the versine function with three approximations to the versine functions, for angles ranging from 0 to π/2

When the versine v is small in comparison to the radius r, it may be approximated from the half-chord length L (the distance AC shown above) by the formula[59] vL22r.

Alternatively, if the versine is small and the versine, radius, and half-chord length are known, they may be used to estimate the arc length s (AD in the figure above) by the formula sL+v2r This formula was known to the Chinese mathematician Shen Kuo, and a more accurate formula also involving the sagitta was developed two centuries later by Guo Shoujing.[60]

A more accurate approximation used in engineering[61] is vs32L128r

Arbitrary curves and chords

The term versine is also sometimes used to describe deviations from straightness in an arbitrary planar curve, of which the above circle is a special case. Given a chord between two points in a curve, the perpendicular distance v from the chord to the curve (usually at the chord midpoint) is called a versine measurement. For a straight line, the versine of any chord is zero, so this measurement characterizes the straightness of the curve. In the limit as the chord length L goes to zero, the ratio Template:Sfrac goes to the instantaneous curvature. This usage is especially common in rail transport, where it describes measurements of the straightness of the rail tracks[62] and it is the basis of the Hallade method for rail surveying.

The term sagitta (often abbreviated sag) is used similarly in optics, for describing the surfaces of lenses and mirrors.

See also

Notes

Template:Reflist

References

Template:Reflist

Further reading

Template:Trigonometric and hyperbolic functions

  1. The Āryabhaṭīya by Āryabhaṭa
  2. Cite error: Invalid <ref> tag; no text was provided for refs named Haslett_1855
  3. 3.0 3.1 3.2 Cite error: Invalid <ref> tag; no text was provided for refs named Inman_1835
  4. 4.0 4.1 4.2 4.3 4.4 Cite error: Invalid <ref> tag; no text was provided for refs named Abramowitz_1972
  5. Cite error: Invalid <ref> tag; no text was provided for refs named Tapson_2004
  6. Cite error: Invalid <ref> tag; no text was provided for refs named Atlas_2009
  7. Cite error: Invalid <ref> tag; no text was provided for refs named Beebe_2017
  8. 8.0 8.1 8.2 8.3 8.4 Cite error: Invalid <ref> tag; no text was provided for refs named Hall_1909
  9. Cite error: Invalid <ref> tag; no text was provided for refs named Clagett_1969
  10. Cite error: Invalid <ref> tag; no text was provided for refs named Precalc_1999
  11. Cite error: Invalid <ref> tag; no text was provided for refs named Korn_2000
  12. 12.0 12.1 12.2 12.3 Cite error: Invalid <ref> tag; no text was provided for refs named Calvert_2004
  13. Cite error: Invalid <ref> tag; no text was provided for refs named Braunmühl_1903
  14. 14.0 14.1 14.2 Cite error: Invalid <ref> tag; no text was provided for refs named Cajori_1929
  15. Cite error: Invalid <ref> tag; no text was provided for refs named Shaneyfelt
  16. 16.0 16.1 Cite error: Invalid <ref> tag; no text was provided for refs named Cauchy_1821
  17. 17.0 17.1 Cite error: Invalid <ref> tag; no text was provided for refs named Bradley_2009
  18. 18.0 18.1 18.2 18.3 Cite error: Invalid <ref> tag; no text was provided for refs named Brummelen_2013
  19. 19.0 19.1 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_vercos
  20. 20.0 20.1 20.2 20.3 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_covers
  21. 21.0 21.1 21.2 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_hacoversin
  22. Cite error: Invalid <ref> tag; no text was provided for refs named Ludlow_1891
  23. Cite error: Invalid <ref> tag; no text was provided for refs named Wentworth_1903
  24. Cite error: Invalid <ref> tag; no text was provided for refs named Kenyon_1913
  25. Cite error: Invalid <ref> tag; no text was provided for refs named Anderegg_1896
  26. 26.0 26.1 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_covercos
  27. 27.0 27.1 27.2 27.3 27.4 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_hav
  28. Cite error: Invalid <ref> tag; no text was provided for refs named Fulst_1972
  29. Cite error: Invalid <ref> tag; no text was provided for refs named Sauer_2015
  30. Cite error: Invalid <ref> tag; no text was provided for refs named Rider_1923
  31. Cite error: Invalid <ref> tag; no text was provided for refs named Wolfram_hav
  32. 32.0 32.1 Cite error: Invalid <ref> tag; no text was provided for refs named Rudzinski_2015
  33. 33.0 33.1 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_havercos
  34. 34.00 34.01 34.02 34.03 34.04 34.05 34.06 34.07 34.08 34.09 34.10 Cite error: Invalid <ref> tag; no text was provided for refs named Vlijmen_2005
  35. 35.0 35.1 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_hacovercos
  36. 36.0 36.1 36.2 Cite error: Invalid <ref> tag; no text was provided for refs named OED_Sagitta
  37. 37.0 37.1 37.2 Cite error: Invalid <ref> tag; no text was provided for refs named Boyer_1991
  38. Cite error: Invalid <ref> tag; no text was provided for refs named Miller_2007
  39. Cite error: Invalid <ref> tag; no text was provided for refs named Ríos_1795
  40. 40.0 40.1 40.2 Cite error: Invalid <ref> tag; no text was provided for refs named RCA_1945
  41. Cite error: Invalid <ref> tag; no text was provided for refs named Andrew_1805
  42. 42.0 42.1 Cite error: Invalid <ref> tag; no text was provided for refs named OED_1989_Haversine
  43. Cite error: Invalid <ref> tag; no text was provided for refs named White_1926-02
  44. Cite error: Invalid <ref> tag; no text was provided for refs named White_1926-07
  45. Cite error: Invalid <ref> tag; no text was provided for refs named Farley_1856
  46. Cite error: Invalid <ref> tag; no text was provided for refs named Hannyngton_1876
  47. Cite error: Invalid <ref> tag; no text was provided for refs named Stark_1997
  48. Cite error: Invalid <ref> tag; no text was provided for refs named Kalivoda_2003
  49. Cite error: Invalid <ref> tag; no text was provided for refs named Wildberger_2005
  50. 50.0 50.1 50.2 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_vers
  51. 51.0 51.1 51.2 51.3 51.4 51.5 Cite error: Invalid <ref> tag; no text was provided for refs named Simpson_2001
  52. 52.0 52.1 52.2 52.3 52.4 52.5 Cite error: Invalid <ref> tag; no text was provided for refs named Doel_2010
  53. 53.0 53.1 Cite error: Invalid <ref> tag; no text was provided for refs named Plus_hav
  54. 54.0 54.1 Cite error: Invalid <ref> tag; no text was provided for refs named Skvarc_1999
  55. 55.0 55.1 Cite error: Invalid <ref> tag; no text was provided for refs named Skvarc_2014
  56. Cite error: Invalid <ref> tag; no text was provided for refs named Ballew_2007
  57. 57.0 57.1 Cite error: Invalid <ref> tag; no text was provided for refs named Weisstein_ahav
  58. 58.0 58.1 Cite error: Invalid <ref> tag; no text was provided for refs named Wolfram_ahav
  59. Cite error: Invalid <ref> tag; no text was provided for refs named Woodward_1978
  60. Cite error: Invalid <ref> tag; no text was provided for refs named Needham_1959
  61. Cite error: Invalid <ref> tag; no text was provided for refs named Boardman_1930
  62. Cite error: Invalid <ref> tag; no text was provided for refs named Nair_1972


Cite error: <ref> tags exist for a group named "nb", but no corresponding <references group="nb"/> tag was found