In mathematics, a function f is cofunction of a function g if f(A) = g(B) whenever A and B are complementary angles (pairs that sum to one right angle).
[1] This definition typically applies to trigonometric functions.
[2][3] The prefix "co-" can be found already in Edmund Gunter's Canon triangulorum (1620).
[4][5] For example, sine (Latin: sinus) and cosine (Latin: cosinus,[4][5] sinus complementi[4][5]) are cofunctions of each other (hence the "co" in "cosine"): The same is true of secant (Latin: secans) and cosecant (Latin: cosecans, secans complementi) as well as of tangent (Latin: tangens) and cotangent (Latin: cotangens,[4][5] tangens complementi[4][5]): These equations are also known as the cofunction identities.
[2][3] This also holds true for the versine (versed sine, ver) and coversine (coversed sine, cvs), the vercosine (versed cosine, vcs) and covercosine (coversed cosine, cvc), the haversine (half-versed sine, hav) and hacoversine (half-coversed sine, hcv), the havercosine (half-versed cosine, hvc) and hacovercosine (half-coversed cosine, hcc), as well as the exsecant (external secant, exs) and excosecant (external cosecant, exc):