About the Trigonometric Identity Calculator
Proving trigonometric identities is one of the most feared topics in precalculus. There are dozens of formulas to remember, no single obvious first move, and a proof can wander for half a page before it either closes or collapses. Students often know the identities perfectly well and still get stuck because they cannot see which one to apply next.
This calculator takes the guesswork out by following one reliable strategy every time. It rewrites both sides using only and , expands multiple angles such as and , moves everything onto one side over a common denominator, and then replaces every with . If the numerator collapses to zero, the identity is proved; if it does not, the equation is not an identity, and the calculator shows a specific angle where the two sides disagree.
You can also enter an expression without an equals sign. The calculator then simplifies it with the same machinery and recognises standard results, turning into , for example. The method is mechanical, which is exactly the point: once you see how it works you can apply it by hand to any identity in a textbook exercise set.
What is a trigonometric identity?
A trigonometric identity is an equation involving trigonometric functions that is true for every value of the variable where both sides are defined. is an identity; is an equation that is true only for particular angles, so it is not.
The phrase "where both sides are defined" matters. is an identity even though neither side exists at , because the equation holds at every angle where the expressions make sense. A proof therefore shows that the two sides agree wherever they are defined, not that they agree for every real number.
Identities are tools rather than goals. They are used to simplify expressions before integrating, to solve trigonometric equations, to rewrite waves in physics and engineering, and to turn products of sines and cosines into sums. Recognising when two different-looking expressions are secretly the same is a skill that pays off throughout calculus.
How to use the Trigonometric Identity Calculator
- To prove an identity, type an equation with one equals sign, such as 1 + tan(x)^2 = sec(x)^2.
- To simplify, type an expression with no equals sign, such as tan(x) + cot(x).
- Use a single variable, normally . Powers can be typed as sin(x)^2 or as sin^2(x).
- Multiple angles such as 2x and 3x, and shifts by multiples of pi/2 such as x + pi/2, are supported.
- Press Simplify / prove and read the steps; for a false identity, note the counterexample angle.
Formulas
Pythagorean identity
Quotient identities
Reciprocal identities
Double angle
Shift by a quarter turn
Worked example: Prove 1 + tan²x = sec²x
The worked example proves . The left side becomes and the right side becomes , so every function is now a sine or a cosine.
Subtracting the sides over the common denominator leaves the numerator . Replacing with makes every term cancel, so the numerator is identically zero and the identity holds wherever .
The solution below is generated by the same engine that powers the calculator above.
Final answer
How we read your problem
Prove a trigonometric identity
Step-by-step solution
Rewrite everything in terms of sin x and cos x
Identities used:
Left side in sine and cosine
Right side in sine and cosine
Subtract the sides and write the difference over a common denominator
The identity is true exactly when this numerator is zero for every value of the variable.
Replace every cos²x with 1 − sin²x and collect terms
The numerator is identically zero
Every term cancelled after using sin² + cos² = 1, so both sides are equal wherever they are defined.
Formulas used
Pythagorean identity
Quotient and reciprocal identities
Double angle
After rewriting both sides with sine and cosine and replacing cos² with 1 − sin², the difference of the two sides is exactly 0, so 1 + tan(x)^2 = sec(x)^2 holds for every x at which both sides are defined.
Verification
- Numeric spot check at 10 sample values: both sides agree.
Detailed explanation
The sine-and-cosine strategy
Every trigonometric function can be written in terms of sine and cosine, so converting everything to those two functions puts both sides of an identity in a common language. Tangent, cotangent, secant and cosecant disappear into fractions, and the problem becomes a question about rational expressions in and .
Once both sides are fractions, subtracting them and combining over a common denominator turns the identity into a single statement: a certain numerator must be zero. Denominators do not need to be examined further, because they only record where the original expressions were undefined.
The last obstacle is that and are not independent; they are linked by . Replacing every even power of cosine with powers of removes that link from even powers. After collecting like terms, a true identity leaves nothing behind. This is why the method always terminates with a clear answer for the expressions it accepts, unlike the trial-and-error approach of choosing one side and transforming it step by step.
Multiple angles and shifts
Angles such as and are first expanded into functions of itself. The double-angle formulas give and , and repeated use of the addition formulas gives . The calculator verifies that identity, along with , using exactly the same pipeline as any other input.
Shifts by a multiple of are handled with the co-function and quarter-turn rules. In general the calculator accepts any angle of the form with whole numbers and . Half angles such as and arbitrary shifts such as cannot be reduced to polynomials in and , so the calculator declines them with an explanation instead of producing an unreliable proof.
The calculator works with one variable. An addition formula such as involves two independent angles and is outside its scope; it will say so rather than attempt it.
Disproving an equation
If the numerator does not reduce to zero, the equation is not an identity. To make this concrete, the calculator evaluates both sides at a sample angle and shows that they differ. For the common mistake , it reports that at the left side is about while the right side is .
A single counterexample is enough to disprove an identity, but no number of agreeing examples can prove one. Two expressions can match at many angles by coincidence. That is why the calculator's proof is algebraic, and why checking a few values on a graph is useful as a sanity check but not a substitute for a proof.
Simplifying expressions
Without an equals sign, the calculator rewrites the expression in sine and cosine, combines it into a single fraction, uses the Pythagorean identity and cancels common factors. It then compares the result with standard forms. For , the single fraction reduces to , which it recognises as .
There is rarely one correct simplified form in trigonometry. , and are all equivalent. The calculator chooses a compact standard form, and the steps show the intermediate fractions so you can stop at whichever version your course expects.
Writing a proof by hand
Teachers often require that you transform one side into the other rather than subtracting the sides, because working on both sides at once can hide invalid steps such as squaring. The calculator's steps translate directly into that style. Start with the more complicated side, rewrite it in sine and cosine, combine fractions, apply in whichever direction helps, and simplify until it matches the other side.
Useful moves include multiplying by a conjugate, as in proving , factoring a difference of squares, as in , and splitting a fraction into separate terms. The calculator confirms that both of those identities are true, so you can focus on presenting the argument neatly.
Common mistakes
- Treating as ; the double-angle formula is .
- Writing ; trigonometric functions are not additive.
- Cancelling across a sum, such as reducing to .
- Squaring both sides during a proof, which can turn a false statement into a true one.
- Checking a few angles and concluding the identity is proved.
Tips
- Start with the more complicated side; there is more to simplify.
- Convert everything to sine and cosine when no other move is obvious.
- Look for hiding in a numerator after combining fractions.
- Multiply by a conjugate when you see or in a denominator.
- Test the identity at one angle, such as , before spending time on a proof.
- Use the unit circle calculator to evaluate both sides at special angles quickly.
Frequently asked questions
How does the calculator prove an identity?
It rewrites both sides in sine and cosine, subtracts them over a common denominator and replaces cos²x with 1 − sin²x. If the numerator becomes zero, the identity is true wherever both sides are defined.
What happens if my equation is not an identity?
The calculator says so and gives a counterexample, an angle where the two sides have different values, such as x = 30° for sin 2x = 2 sin x.
Can it simplify a trig expression without an equals sign?
Yes. Enter just the expression. It is combined into one fraction, reduced with sin²x + cos²x = 1 and matched to a standard form, for example tan x + cot x becomes sec x csc x.
Which angles are supported?
Angles of the form kx plus a multiple of π/2, with k a whole number, such as 2x, 3x or x + π/2. Half angles like x/2 and expressions with two variables are not supported, and the calculator explains why.
Why does the answer say where both sides are defined?
Some identities involve functions that are undefined at certain angles, such as tan x at 90°. An identity only needs to hold where both sides exist.
Can it prove sin(x + y) = sin x cos y + cos x sin y?
No. That formula has two independent variables, and the calculator works with a single variable. It reports this rather than attempting a proof.
How should I type squared trig functions?
Either sin(x)^2 or the textbook form sin^2(x) works; the calculator reads both as the square of sin x. The same applies to the other five functions.
Is checking the graph enough to prove an identity?
No. Matching graphs strongly suggest an identity but cannot prove one. An algebraic argument like the one the calculator shows is needed; one mismatch, however, is enough to disprove it.
Prove or simplify your identity
Type a trigonometric equation or expression above to see a complete sine-and-cosine proof or simplification.