Spherical law of cosines 2026-10-14
For a nondegenerate convex minor spherical triangle, the spherical law of cosines relates two angular sides , their included interior angle , and the opposite angular side :
Relabelling the vertices gives the corresponding formulas for and . As with the spherical law of sines, physical side lengths must first be divided by the sphere's radius. The spherical law of cosines determines uniquely from when the data describe such a spherical triangle. It also recovers each interior angle from three sides, for example
Using the cosine and the range selects a unique angle, avoiding the supplementary-angle ambiguity of an inverse sine calculation.
To derive the spherical law of cosines, let be the vertex unit vectors at , so , and . The outgoing unit tangent vectors at are and . Their dot product is both and , proving the identity. This gives a geometric explanation: spherical trigonometry compares angles in the tangent plane using vectors in the surrounding Euclidean space.
For a worked example on the unit sphere, take the vertices
At , the outgoing unit tangent vectors are and , so the interior angle is a right angle. The vertex dot products give . The spherical law of cosines then reduces to the right-angle identity , giving
To find , use the relabelled spherical law of cosines:
The physical side lengths on a sphere of radius are and . For example, on a toy sphere with metres they are approximately , and metres; the interior angles stay the same. Applying the planar Pythagorean theorem directly to the angular sides would instead give . That flat right triangle calculation does not give the great-circle distance between and .
Figure 1.
A non-octant spherical triangle with a right angle at , angular sides and , and interior angles
. Details.
The familiar law of cosines reappears as a local approximation. With all small in radians, substitute the small-angle approximations and into the spherical law of cosines and keep terms through second order:
Multiplication by gives the planar law of cosines for the physical side lengths. For a fixed small surface triangle on a progressively larger sphere, the angular sides shrink and this approximation improves. Thus the curved and flat formulas fit together: the Pythagorean theorem is recovered locally when is a right angle.
Every finite point set in the unit square admits a cyclic visiting order with . Split the square into two right triangles, apply the quadratic path bound in a right triangle, and remove auxiliary corners using the law of cosines. The Cauchy-Schwarz inequality then gives . The tour minimizing ordinary length need not minimize the sum of squared lengths.
Stellar parallax 2026-10-13
Stellar parallax is the apparent change in a star's viewing direction caused by the observer's changing position. Nearby stars shift more against a distant reference background. In an ideal circular Earth orbit, the conventional annual stellar parallax uses a baseline of one astronomical unit, approximately the Earth-Sun distance. Two opposite observing positions, about six months apart, are separated by approximately two astronomical units. Their maximum angular separation is , so is half that excursion, not the full January-to-July shift. The observed excursion depends on the projected baseline and observing dates. [ref].
For the perpendicular baseline in the diagram, a right triangle gives
where in the final expression is in radians. Combining the small-angle approximation with the parsec convention gives
Thus arcseconds implies parsecs, while the ideal six-month excursion is arcseconds. Geometry supplies this distance without assuming a luminosity or a particular stellar atmosphere.
Figure 1.
One-AU parallax angle and an ideal annual signal; geometry schematic, not to scale
. Details.
In practical astrometry, many observations separate the annual stellar parallax signal from proper motion, the star's own changing sky position. The Gaia DR3 catalogue reports stellar parallax and its uncertainty in milliarcseconds: arcseconds. A catalogue angle is a fitted measurement with measurement error. [ref].
For a positive stellar parallax with small standard deviation , first-order propagation gives . Thus with gives parsecs with parsecs, assuming systematic offsets are negligible. This linear estimate requires ; a reciprocal is nonlinear and does not generally preserve symmetric uncertainty intervals.
Triangle Created 2026-09-24 Updated 2026-10-14
A triangle is the convex hull of three noncollinear points: the three vertices must not lie on one line. Its boundary consists of the three joining line segments; depending on context, "triangle" can mean this boundary or the filled region it encloses. Here a triangle's area refers to the filled region. The noncollinearity assumption excludes a collapsed shape with zero area, for which ordinary interior angles are not defined.
For example, the positions , and form a right triangle with a right angle at the origin. Taking the side of length as its base gives perpendicular height , so its area is . The height is measured at a right angle to the chosen base; it is not generally the length of another side. In this example it happens to be a side because the triangle is a right triangle.
By contrast, side lengths define a valid triangle: each side is shorter than the sum of the other two, as required by the strict triangle inequality. But , so this is not a right triangle and the Pythagorean theorem cannot calculate its longest side from the other two. The law of cosines instead gives the opposite interior angle through
This example separates the definition of a triangle from the additional assumption of a right angle.
Every triangle in the Euclidean plane has interior angles summing to radians, a result proved in Euclid's Elements I.32.[ref] It lets two measured angles determine the third, and underlies the angle-angle criterion for similar triangles. The qualification "Euclidean plane" matters: the earlier spherical triangle demonstrates a different sum.
Trigonometric function Created 2026-09-24 Updated 2026-10-13
Trigonometric functions turn an angle into a coordinate or a ratio of lengths. Start at on the unit circle and rotate counterclockwise through radians: the resulting point is
The cosine records horizontal position and the sine records vertical position. This definition continues around the whole circle, including negative angles, so the signs encode direction rather than requiring a separate rule for each right triangle.
Figure 1.
Sine and cosine as signed circle coordinates and periodic traces
. Details.
The unit circle picture explains why these functions are useful beyond measuring triangles. The two coordinates of a point rotating at constant angular speed are periodic functions. Scaling the radius to and using gives and . A circular motion becomes two simple repeating traces, connecting Euclidean geometry, simple harmonic motion, and Fourier series.
For an acute angle in a right triangle, rescaling its hypotenuse to one recovers the familiar ratios: sine is opposite side divided by hypotenuse, and cosine is adjacent side divided by hypotenuse. The tangent function is their ratio, , wherever the denominator is nonzero; the secant function, cosecant, and cotangent give the other reciprocal ratios.
The same names extend to complex numbers through the complex exponential:
These definitions agree with the circle interpretation for real angles. For complex arguments, the values need not lie between and ; the literal circle-coordinate picture is restricted to real arguments. [ref]