Cofunction Calculator

Verify cofunction identities: sin(θ) = cos(90°−θ), tan(θ) = cot(90°−θ), sec(θ) = csc(90°−θ). Interactive unit circle & complementary angle analysis.

Cofunction Identity Verification

Complementary angle: 60.00°
Function f(θ) Value f(θ) Cofunction Identity Complementary function f(90°−θ) Status

Unit Circle & Geometric Interpretation

Current angle: 30.00°

Complement: 60.00°


In a right triangle, cofunctions link acute angles: sin A = cos B when A + B = 90°. On the unit circle, the x-coordinate of angle θ equals the y-coordinate of its complement (π/2 − θ).

Visual clue: The red dot shows (cos θ, sin θ). The dashed line illustrates the complementary angle.
Privacy ensured: All calculations happen locally in your browser. No data is transmitted or stored.

What Are Cofunction Identities? Formal Definition & Derivation

Cofunction identities are fundamental trigonometric relationships that link the values of trigonometric functions of an angle θ and its complementary angle (90° − θ in degrees or π/2 − θ in radians). For any acute angle, these identities arise directly from the geometry of right triangles: the sine of an angle equals the cosine of its complement, the tangent equals the cotangent of its complement, and the secant equals the cosecant of its complement.

sin(θ) = cos(90° − θ)   |   cos(θ) = sin(90° − θ)

tan(θ) = cot(90° − θ)   |   cot(θ) = tan(90° − θ)

sec(θ) = csc(90° − θ)   |   csc(θ) = sec(90° − θ)

These identities hold for all real θ where both sides are defined. They are crucial for simplifying trigonometric expressions, solving equations, integrating transcendental functions, and even in physics (wave mechanics, optics). Euler’s formula provides an analytic proof: e^{iθ}=cosθ + i sinθ, and shifting by π/2 yields cofunction relations.

Historical & Pedagogical Significance

The concept of complementary angles and cofunctions dates back to Hellenistic mathematics, notably Ptolemy’s Almagest. In modern curricula, cofunction identities are essential for understanding the relationship between trigonometric graphs (phase shifts), and they appear in the Fourier transform, signal processing, and even architectural design. Our calculator not only computes numeric values but also reinforces the geometric meaning using the unit circle — a cornerstone of trigonometry.

Real-World Applications

  • Engineering & Physics: Resolving force vectors and analyzing harmonic motion (cofunctions describe phase shifts between displacement and velocity).
  • Navigation & Astronomy: Calculating altitude of celestial bodies using complementary zenith angles.
  • Computer Graphics: Rotations and reflections rely on sine-cosine complementarity for 2D transformations.
  • Architecture & Surveying: Determining heights and distances with right-triangle trigonometry, where cofunctions simplify iterative calculations.
Case Study: Wave interference in physics

Two sinusoidal waves with phases differing by 90° are in quadrature: sin(ωt + φ) = cos(ωt + φ − 90°). Cofunction identities help derive analytical expressions for resultant amplitude in interference patterns. Using this calculator, engineers can quickly verify phase shifts and cofunction equivalencies without manual error.

Step-by-Step Derivation from Right Triangles

Consider a right triangle with angles A and B where A + B = 90°. For angle A, sin A = opposite/hypotenuse. For the complementary angle B, cos B = adjacent/hypotenuse. Since the side opposite A is adjacent to B, sin A = cos B. Hence sin A = cos(90° − A). Extending to unit circle definitions (x = cos θ, y = sin θ), the point for θ and π/2 − θ are symmetric across the line y = x, directly proving x-coordinate of one is y-coordinate of the other.

Cofunction Extensions Beyond Acute Angles

Using periodicity and symmetry, cofunction identities hold for any angle (including negative and >90°). For instance, sin(120°) = cos(120°−90°) = cos(30°). Our calculator automatically handles any real input, wrapping angles within the standard range for visualization, yet preserving identity accuracy via radian conversion.

Trusted Math Reference — This tool adheres to definitions from Abramowitz & Stegun: Handbook of Mathematical Functions and the latest NIST Digital Library. Reviewed by the GetZenQuery tech team. All computations use IEEE 754 double precision, ensuring high accuracy for academic and professional tasks.

Frequently Asked Questions (FAQ)

The complement of 25° is 65° (since 25° + 65° = 90°). The cofunction identities state that sin 25° = cos 65°, tan 25° = cot 65°, and sec 25° = csc 65°.

Absolutely. In radians, complement = π/2 − θ. For example, sin(0.5) = cos(π/2 − 0.5) ≈ cos(1.0708). The calculator seamlessly switches between units.

tan(90°) is undefined (asymptote), but the cofunction identity would involve cot(0°) which is also undefined. The calculator shows 'undefined' where limits diverge, preserving mathematical correctness.

Results are computed with 15-digit floating-point precision. Values are rounded to 6 decimal places for readability, but internal verification ensures identities match to machine epsilon.
References: NIST Digital Library of Mathematical Functions (DLMF) §4.14; "Trigonometry" by I.M. Gelfand; Wolfram MathWorld – Cofunction Identities. Last content update: Jun 2026.