A trigonometric identity is an equality involving trigonometric functions that is true for every assignment of its variables within a specified domain. Examples include , the angle-addition formulas, and the formulas that convert products of sines and cosines into sums. Unlike an equation solved for particular angles, an identity expresses a relationship that holds throughout its domain.
Trigonometric identities connect the geometry of circles and rotations with algebra, complex numbers, and the analysis of periodic phenomena. They make it possible to calculate exact values, simplify expressions, evaluate integrals, resolve oscillations into frequency components, and construct efficient computational methods. Their different forms are closely related: many follow from a few basic geometric relationships or from the exponential representation of sine and cosine.
Meaning, notation, and domains
An identity differs from a conditional equation by the scope of its assertion. The equation holds only when , where is an integer. By contrast,
holds for every real . An identity can contain several independent variables, as in
or apply only under an explicit condition, such as for the angles of a triangle.
The domain is part of the mathematical statement. For real arguments, sine and cosine are defined everywhere, but
require . Similarly,
require . Thus is an identity only where both factors exist. It does not assert a value at a zero of either sine or cosine.
Unless another convention is stated, angles in analytic formulas are measured in radians, with one complete revolution equal to . Pure angle identities can also be expressed in degrees if all angles are interpreted consistently. Radians become essential in the standard differentiation and power-series formulas: has this form only when is the radian measure.
The notation means , not or . Negative exponents can be more troublesome: although means a reciprocal, the notation commonly denotes the inverse sine function. Using and avoids this ambiguity. Inverse-function identities also require care: holds for , whereas holds only on the chosen principal interval .
Two expressions may agree wherever both are defined without having identical natural domains. For example,
is valid when . The right side is also defined when , but the original left side is not. Simplification can therefore produce a continuous extension without changing the domain of the original expression. This distinction is important both in proofs and when identities are used to solve equations.
The circle, Pythagorean identities, and symmetry
The most direct geometric setting is the unit circle. The point reached by turning through angle from the positive horizontal axis has coordinates
Because the circle has equation , these coordinates satisfy
This is the fundamental Pythagorean identity. For an acute angle in a right triangle, it is also an immediate consequence of the Pythagorean theorem after dividing the squared side lengths by the square of the hypotenuse. The circle formulation extends the relationship to negative angles and angles greater than a right angle.
Dividing the fundamental identity by or gives
on their respective domains. These formulas are especially useful when converting between powers of tangent and secant, or cotangent and cosecant. They do not introduce independent geometric facts; they express the same circular relationship in different coordinate ratios.
Reflections of the circle explain parity:
Sine and tangent are odd functions, while cosine is even. A complete turn returns a point to itself, giving
A half-turn changes both coordinates’ signs:
Their ratio is unchanged, so tangent has period .
Interchanging the horizontal and vertical coordinates gives the cofunction identities:
Consequently,
where both sides exist. Other useful reductions include
and
These relationships reduce arbitrary angles to a reference interval, usually the first quadrant. For example, , so while . The magnitudes come from the reference angle and the signs from the quadrant. Computational routines use related symmetry reductions before approximating sine or cosine on a smaller interval, although reducing very large arguments accurately requires additional numerical techniques.
Angle-addition and angle-subtraction formulas
The addition formulas are the central rules for combining angles:
Replacing by and using parity gives
Unlike some reciprocal identities, these equations hold for all real and , with no excluded angles.
One derivation uses planar rotations. A counterclockwise rotation through is represented by the matrix
Performing a rotation through , followed by one through , is equivalent to rotating through . Thus
Carrying out the matrix multiplication and comparing entries produces both addition formulas. This interpretation connects the identities to linear algebra: rotation matrices are orthogonal matrices with determinant , and their multiplication records the addition of rotation angles.
Dividing the sine addition formula by the cosine addition formula yields
Likewise,
These versions require and to exist, as well as the displayed denominator to be nonzero. The restrictions matter: may be defined even though the right-hand expression written in terms of is not.
Addition identities generate exact values from simpler angles. Since ,
They also combine two oscillations of the same frequency. Given real , not both zero, set
and choose so that and . Then
The value is the amplitude and is a phase shift. Determining requires its quadrant, not merely the quotient . This amplitude–phase form is used in vibration analysis, alternating-current calculations, and the solution of linear differential equations with sinusoidal forcing.
Double angles, multiple angles, and polynomial structure
Setting the two angles equal in the addition formulas gives
and
Substitution from the Pythagorean identity produces two alternative forms:
Each form serves a different algebraic purpose. An expression involving only sine can use , while an expression containing the difference of two squares naturally uses . For tangent,
where the displayed expressions are defined.
Repeated angle addition gives the triple-angle formulas:
These connect trigonometry with polynomial equations. If , then finding with a prescribed value of leads to a cubic equation in . For example, becomes . The passage from a trigonometric equation to a polynomial does not by itself determine the angles: the admissible range of and the periodicity of cosine must still be considered.
The general pattern is expressed by Chebyshev polynomials. The polynomials of the first kind satisfy
They begin with
and obey the recurrence
The recurrence follows by adding the formulas for and . Polynomials of the second kind similarly satisfy
Unlike a quotient formula involving division by , this multiplicative identity remains valid at integer multiples of .
Multiple-angle identities therefore provide a bridge between oscillatory functions and algebraic approximation on . Since throughout that interval, these polynomials have a controlled oscillatory structure useful in approximation theory and numerical interpolation.
They also yield finite expansions through repeated doubling. For example,
and, more generally,
Such identities express a high-frequency oscillation as a structured product of lower-frequency factors, with the equality valid even when one or more factors vanish.
Products, sums, and finite trigonometric series
Adding and subtracting the angle-addition formulas converts products into sums:
These identities separate a product of oscillations into components at the sum and difference of their frequencies. In particular, multiplication does not generally preserve a single frequency.
Reversing the substitution gives sum-to-product identities:
They are useful for factoring equations. For instance,
Setting this expression equal to zero exposes both possible zero factors. Dividing immediately by , by contrast, would require separate treatment of its zeros.
A physical illustration is the superposition of two equal-amplitude oscillations:
When the frequencies are close, this describes a rapidly oscillating factor multiplied by a slowly varying factor. The magnitude of the latter gives the envelope associated with beats. The sign of the modulation factor also carries phase information, so the signed factor and its magnitude have distinct interpretations.
Finite arithmetic progressions of angles admit closed sums. For a positive integer ,
and
provided . When , every term repeats its initial value, giving or . The apparent singularity of the closed form must therefore be handled separately or by a limit.
The sums follow from a finite geometric series of complex exponentials, or from telescoping after applying product-to-sum identities. They describe cancellation among equally spaced phases. This same cancellation underlies discrete orthogonality and the discrete Fourier transform, where regularly sampled exponential oscillations form a basis for finite data sequences.
Half angles and rational parametrization
Solving the double-angle formulas for the squares of half-angle functions gives
Taking square roots yields
The signs are determined by the quadrant of , not chosen independently at will. For example, if , then , but changes sign at .
Useful tangent forms are
The displayed fractions have different domains. The first represents everywhere that this tangent exists. The second additionally excludes , where it has the indeterminate form even though . Thus a chain of formally equivalent expressions need not have a single unrestricted natural domain.
Setting
leads to the rational parametrization
Where , it also gives
Geometrically, a line through with slope meets the unit circle at
Every point except is obtained from a finite real . The missing point corresponds to odd multiples of , where the half-angle tangent is undefined.
The parametrization also connects trigonometry with number theory. A rational value produces rational coordinates on the unit circle. Clearing denominators gives
This is the algebraic basis of the familiar parametrization of integer Pythagorean triples. Coprimality and parity conditions determine when the resulting triple is primitive.
In integration, the differential relation
turns any rational expression in and , multiplied by , into a rational expression in . For example,
The substitution is a local change of variable: an interval crossing an odd multiple of requires separate branches or intervals. Constants of integration and inverse-tangent branches must be interpreted accordingly.
Complex exponentials and historical development
provides a compact algebraic foundation for trigonometric identities. It gives
The addition formulas then follow from the multiplication law of the exponential function:
Equating the real and imaginary parts recovers the cosine and sine addition laws. Periodicity, products, and multiple-angle formulas likewise become consequences of exponential algebra.
De Moivre’s formula states that
for every integer . Expanding the left side with the binomial theorem and separating real and imaginary parts gives explicit multiple-angle formulas. For example,
for nonnegative integers . The formula also organizes roots of complex numbers: the th roots of unity are , for , represented by equally spaced points on the unit circle.
The identities predate exponential notation by many centuries. Ancient Greek astronomy used tables of chords rather than modern sine functions. For a circle of radius , the chord subtending a central angle has length
In the second century CE, Ptolemy’s Almagest presented chord calculations and a theorem on cyclic quadrilaterals that supports chord addition and subtraction relationships. Indian mathematical astronomy subsequently developed sine tables; Aryabhata’s work of 499 CE is a major surviving example. Medieval scholars working in Arabic and other scholarly languages further developed plane and spherical trigonometric methods for astronomy.
Early modern computation created another use for product-to-sum identities. Before logarithms became widely established, prosthaphaeresis converted multiplication into additions and subtractions with the aid of trigonometric tables. A product of two cosines could be obtained from the cosines of their angle sum and difference, followed by division by two. Its practical effectiveness depended on table accuracy and interpolation.
The eighteenth-century treatment of trigonometric functions as analytic functions unified these earlier computational relationships. Leonhard Euler’s Introductio in analysin infinitorum of 1748 systematically connected trigonometric and exponential functions. In modern complex analysis, sine and cosine are defined for complex arguments by their exponential formulas or power series. Their addition and Pythagorean identities remain valid for all complex arguments; identities involving quotients remain subject to their denominators being nonzero.
Calculus, orthogonality, and periodic models
Trigonometric identities frequently turn a difficult integral into elementary pieces. Rearranging the double-angle formula gives the power-reduction identities
Hence
Repeated power reduction handles higher even powers. For instance,
This form immediately reveals both an antiderivative and the average value over a whole number of periods.
Product-to-sum identities explain the orthogonality of sine and cosine waves. For positive integers ,
and the same formula holds for the product of two cosines. Every sine–cosine cross integral over this interval is zero. The constant function must be treated separately: its squared integral is , rather than . These results follow because nonconstant integer-frequency sine and cosine terms integrate to zero over a complete period.
Orthogonality supplies the coefficient formulas for a Fourier series. In the conventional normalization,
where
Trigonometric identities explain why multiplication by one basis function and integration isolates its coefficient. Whether the infinite series converges to the original function, and in what sense, requires additional analytical hypotheses; it does not follow from the finite identities alone.
The same formulas describe interactions among frequencies. For example,
A device or model that multiplies two signals therefore produces sum- and difference-frequency components. Quadratic terms applied to a single sinusoid generate a constant component and a second harmonic, since .
Trigonometric identities also simplify derivatives and solutions of differential equations. The Pythagorean identity gives , the usual expression for the derivative of tangent. The addition formulas express a shifted sinusoidal solution as a linear combination of sine and cosine. This is particularly useful for the harmonic oscillator,
whose solutions can be written either as or in amplitude–phase form.
Proof strategies, symbolic verification, and numerical reliability
A proof of a trigonometric identity establishes equality for every point of the claimed domain. Substituting selected values or comparing graphs can expose an error, but cannot prove a general identity. A common proof strategy is to transform one side into the other using already established identities. Another is to transform both sides independently into the same expression, for example by rewriting tangent, cotangent, secant, and cosecant in terms of sine and cosine.
The logical status of each operation matters. Multiplication by a denominator is reversible only on a domain where that denominator is nonzero. Squaring can conceal sign differences, and taking square roots requires sign information. In solving equations, these operations can introduce extraneous solutions or discard valid ones. For example, dividing by loses all cases with . Factoring instead gives
which preserves both families.
A systematic symbolic method rewrites a trigonometric expression using complex exponentials. For integer multiples of a single variable, setting gives
An identity involving finitely many such terms can then be reduced to an equality of rational functions, or, after legitimate denominator clearing, a polynomial identity. This technique is useful in computer algebra, although any denominator restrictions must remain part of the result.
Exact equality does not imply equal numerical behavior in floating-point arithmetic. When is small, direct evaluation of subtracts nearly equal quantities. The equivalent form
usually avoids that cancellation. Likewise,
can be evaluated more reliably near zero using the second expression. Near an odd multiple of , however, the denominator is small, and a different representation or local treatment is needed.
Numerical stability also depends on argument reduction. A library evaluating for a very large must determine the appropriate multiple of to remove with sufficient precision. A small reduction error can become a large relative error when the true answer is close to zero. Consequently, numerical testing of an identity should consider absolute error, relative error, excluded points, and the size of intermediate quantities rather than demand literal equality between rounded outputs.