Trigonometric Identity Calculator
Verify a trig identity with a real proof, not just a guess, or simplify a trig expression to its simplest form. Type it the way you'd write it — sin 2x = 2 sin x cos x, sin²x + cos²x = 1, tan x + cot x — and get the reasoning step by step, a graph of both sides, and the exact values that are excluded.
Background
A trig identity is an equation that is true for every x where both sides are defined, like sin²x + cos²x = 1. Proving one means showing the two sides are the same function. Checking a few numbers can't do that on its own, so this calculator rewrites everything with sine and cosine and uses sin²x + cos²x = 1 to compare the two sides exactly, then double-checks at dozens of test values.
How to use this calculator
- Choose Verify identity to test whether two sides are equal, or Simplify expression to rewrite one expression as simply as possible.
- Type it the way you'd write it. Use x for the angle; the symbol buttons insert sin, cos, tan, π and more at the cursor.
- Click Calculate. You get a verdict or a simplified form, a plain-English note on what it means, the step-by-step reasoning, a graph of both sides, and the x-values that are excluded.
- Use Degrees if your angles are in degrees (then write 90° instead of π/2).
How this calculator works
- It reads your notation. 2sin x cos x, sin²x, sin^2 x, sin(2x), tan x, √, π and degree signs are all understood, and it shows you how it read what you typed.
- It works exactly. Every function is rewritten with sin and cos, and each side becomes a fraction of polynomials in sin x and cos x. Two sides are the same function exactly when their cross-products agree after using sin²x + cos²x = 1.
- It also checks numerically at dozens of test values (skipping points too close to where something is undefined) as a safety net.
- It tells you its limits. If an expression contains something the exact algebra can't handle (for example √, |x|, or angles like π/3 that need square roots), it says so and falls back to the numeric check, without calling it a proof.
Identities used
Pythagorean
sin²x + cos²x = 1
1 + tan²x = sec²x
1 + cot²x = csc²x
Quotient & reciprocal
tan x = sin x / cos x, cot x = cos x / sin x
sec x = 1 / cos x, csc x = 1 / sin x
Even & odd
sin(−x) = −sin x, cos(−x) = cos x, tan(−x) = −tan x
Shifts & cofunctions
sin(x + π/2) = cos x, cos(x + π/2) = −sin x
sin(x + π) = −sin x, cos(π/2 − x) = sin x
Double & multiple angle
sin 2x = 2 sin x cos x
cos 2x = cos²x − sin²x = 1 − 2 sin²x = 2 cos²x − 1
Triple and higher multiples (up to 12x) are built from these.
Half angle
sin²(x/2) = (1 − cos x)/2
cos²(x/2) = (1 + cos x)/2
Example Problems & Step-by-Step Solutions
Example 1 — Verify tan x + cot x = sec x csc x
Type tan x + cot x = sec x csc x and click Calculate.
Left side
- Start with tan x + cot x.
- Write everything with sine and cosine. Use tan x = sin x / cos x, cot x = cos x / sin x, sec x = 1 / cos x, csc x = 1 / sin x. sin x/cos x + cos x/sin x
- Combine into one fraction and cancel. Put everything over a common denominator, combine, and cancel any factor the numerator and denominator share. (sin²x + cos²x)/(sin x cos x)
- Use sin²x + cos²x = 1. In the numerator, replace cos²x with 1 − sin²x (because sin²x + cos²x = 1). 1/(sin x cos x)
- Write it in its simplest form. Write the sine and cosine pieces with tan, cot, sec and csc (tan x = sin x / cos x, and so on). sec x csc x
Right side
- Start with sec x csc x.
- Write everything with sine and cosine. Use tan x = sin x / cos x, cot x = cos x / sin x, sec x = 1 / cos x, csc x = 1 / sin x. (1/cos x) (1/sin x)
- Combine into one fraction and cancel. Put everything over a common denominator, combine, and cancel any factor the numerator and denominator share. 1/(sin x cos x)
Conclusion: both sides equal sec x csc x, so it is an identity.
Example 2 — Verify sin 2x = 2 sin x cos x
Double-angle identity. Type sin 2x = 2 sin x cos x.
Left side
- Start with sin 2x.
- Expand the angles. Use sin 2x = 2 sin x cos x and cos 2x = cos²x − sin²x. 2 sin x cos x
Right side
- Start with 2 sin x cos x.
- Write it in its simplest form. Recognize a multiple-angle identity (for example sin 2x = 2 sin x cos x, and cos 2x = cos²x − sin²x = 1 − 2 sin²x = 2 cos²x − 1). sin 2x
Conclusion: both sides equal sin 2x, so it is an identity.
Example 3 — A fraction identity
Type cos x/(1 - sin x) = (1 + sin x)/cos x. Here one side has to be cross-multiplied.
Left side
- Start with cos x/(1 − sin x).
- Write it in its simplest form. These are equal: cross-multiplying and using sin²x + cos²x = 1 gives the same expression on both sides. sec x + tan x
Right side
- Start with (1 + sin x)/cos x.
- Combine into one fraction and cancel. Put everything over a common denominator, combine, and cancel any factor the numerator and denominator share. (sin x + 1)/cos x
- Write it in its simplest form. Write the sine and cosine pieces with tan, cot, sec and csc (tan x = sin x / cos x, and so on). sec x + tan x
Conclusion: both sides equal sec x + tan x, so it is an identity.
Example 4 — Simplify (1 − cos²x)/sin x
Switch to Simplify and type (1 - cos(x)^2)/sin(x).
- Start with (1 − cos²x)/sin x.
- Use sin²x + cos²x = 1. In the numerator, replace cos²x with 1 − sin²x (because sin²x + cos²x = 1). sin²x/sin x
- Cancel the common factor. Divide the numerator and the denominator by the common factor sin x. sin x
Result: sin x
Example 5 — Simplify sec²x − 1
Type sec(x)^2 - 1.
- Start with sec²x − 1.
- Write everything with sine and cosine. Use tan x = sin x / cos x, cot x = cos x / sin x, sec x = 1 / cos x, csc x = 1 / sin x. (1/cos x)² − 1
- Combine into one fraction and cancel. Put everything over a common denominator, combine, and cancel any factor the numerator and denominator share. (1 − cos²x)/cos²x
- Use sin²x + cos²x = 1. In the numerator, replace cos²x with 1 − sin²x (because sin²x + cos²x = 1). sin²x/cos²x
- Write it in its simplest form. Write the sine and cosine pieces with tan, cot, sec and csc (tan x = sin x / cos x, and so on). tan²x
Result: tan²x
Frequently Asked Questions
Is this a real proof?
When you see "Proved algebraically", yes: both sides were rewritten with sine and cosine and shown to be the same function using exact fractions. The numeric check is only a second opinion. If the exact algebra can't handle your expression, the page says "Looks like an identity" instead and does not call it a proof.
What can I type?
Use x for the angle. Functions: sin, cos, tan, sec, csc, cot (with or without parentheses), plus π or pi, √ or sqrt, and degree signs. Multiplication can be written by putting things next to each other: 2sin x cos x. Powers can be written sin²x, sin^2 x or sin(x)^2. Another single letter such as θ or t is read as x.
How is "sin x/2" read?
As (sin x)/2, the usual convention that a function applies to the thing right after it. For the half angle, write sin(x/2). The page always shows how it read your input, so you can check.
What does "no simpler form found" mean?
Nothing I tried gave a shorter equivalent form, which is a real answer: some expressions are already in simplest form. "Simplest" means the form with the fewest functions and operations, so for example sin 2x beats 2 sin x cos x. The page also lists other equivalent forms when it finds them.
Why are some x-values excluded?
Because tan, sec, cot, csc and fractions are undefined where a denominator is zero. An identity only has to hold where everything in it is defined, for example tan x = sin x / cos x for every x with cos x ≠ 0.
Can I use degrees?
Yes: choose Degrees, then angles such as sin(x + 90) mean degrees. Don't use π in degrees mode; write 180° instead.
What can't it do?
It works with one angle, x. It doesn't handle inverse trig functions (arcsin), hyperbolic functions, logarithms, or angles like π/3 and π/4 in the exact algebra (those need square roots). For those it can still check numerically.
What if it says "Not an identity"?
It shows an x where the two sides give different numbers. One such value is enough to show the sides aren't the same function. The equation might still be true for some x, but then it's an equation to solve rather than an identity.