Trig Identity Simplifier

Simplify trigonometric expressions.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter a trig expression to simplify it, or write LHS = RHS to test whether it is an identity. sin(2x)/(2 sin x) simplifies to cos(x), and tan²x + 1 = sec²x is confirmed as an identity.

How to use

1
Step 1
Pick an example, or type an expression such as (1 - cos(x)^2)/sin(x).
2
Step 2
To check an identity instead, type both sides with an equals sign: tan(x)^2 + 1 = sec(x)^2.
3
Step 3
Press Calculate. Simplify mode returns the shortest form; verify mode says Yes or No and shows a counterexample when it is No.

How it works

Expressions built from sin, cos, tan, cot, sec and csc of whole-number multiples of one angle are rewritten in terms of sin and cos, using the double-angle and multiple-angle formulas and sin²x = 1 − cos²x. In that form two expressions are equal exactly when they reduce to the same thing, so the tool can both simplify and prove identities. The reduced form is then folded back into the shortest expression: ratios become tan or cot, reciprocals become sec or csc, and 2·sin·cos or 2cos²−1 become sin 2x or cos 2x. Results are also tested at sample points. Outside this family, such as sin(x + π/2), verify mode compares the two sides numerically instead.

sin²x + cos²x = 1      tan x = sin x/cos x      sin 2x = 2 sin x cos x      cos 2x = 2cos²x − 1 = 1 − 2sin²x      1 + tan²x = sec²x

Worked example

A double angle over a single angle

Input
sin(2*x)/(2*sin(x))
Output
cos(x)
Walkthrough
sin 2x = 2 sin x cos x, so the numerator is 2 sin x cos x. Dividing by 2 sin x cancels both factors, leaving cos x. The original and the result agree at 40 test points.

Limitations

  • Angles are in radians. Only whole-number (or fractional, like x/2) multiples of a single variable are handled by the exact rules; shifts such as x + π/2 and several different variables are checked numerically in verify mode only.
  • Sample-point checks are strong evidence but not a proof, and points where either side is undefined are skipped. Verify mode says whether the answer is exact or numeric.
  • Square roots (half-angle forms), sums-to-products and inverse trig functions are not rewritten. If no shorter form exists the expression is returned as entered.
  • Different but equivalent forms can be equally short, for example 1 − 2sin²x and cos 2x; the tool chooses the shortest, which may not match your textbook's preferred form.

Questions

What does sin(x)^2 + cos(x)^2 simplify to?
sin(x)² + cos(x)² simplifies to 1, by the Pythagorean identity.
What does tan(x)*cos(x) simplify to?
sin(x).
What does (sin(x)+cos(x))^2 simplify to?
1 + sin(2*x).
What does 1 + tan(x)^2 simplify to?
sec(x)^2.
Is sin(x) + cos(x) = 1 an identity?
No. The tool reports that the two sides reduce to different forms and gives a counterexample.
How can I verify a trig identity?
Type it as LHS = RHS, for example tan(x)^2 + 1 = sec(x)^2. The answer is Yes for a true identity, found by reducing both sides to the same form.

Features

  • Simplify and verify
  • Exact proof for common identities
  • Counterexamples

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Derivative as a concept

    Khan Academy

    Calculus entry point for derivative-related tools.

    Watch on YouTube
  • Cylinder volume and surface area

    Khan Academy

    Base area × height plus unwrapped surface for 3D solid tools.

    Watch on YouTube
  • Heron's Formula

    Math is Fun

    Area from three sides when height is unknown.

  • Cylinder

    Math is Fun

    Labeled net for volume and total surface area.