Trigonometry Calculator

Solve trigonometric equations and evaluate trig functions with step-by-step solutions

Drag & drop or click to add images or PDF

Math Input
2sin(x) - 1 = 0
cos(2x) = cos(x)
tan(x) = sqrt(3)
sin^2(x) - sin(x) - 2 = 0

What are Trigonometric Equations?

A trigonometric equation is an equation that involves trigonometric functions (sin\sin, cos\cos, tan\tan, etc.) of an unknown angle. The goal is to find all values of the angle that satisfy the equation.

Because trigonometric functions are periodic, most trig equations have infinitely many solutions. We often express solutions in two forms:

  1. Principal solutions: Solutions in a specific interval, typically [0,2π)[0, 2\pi) or [0°,360°)[0°, 360°)
  2. General solutions: All solutions, written using +2nπ+ 2n\pi (or +360°n+ 360°n) where nn is any integer

For example, sinx=12\sin x = \frac{1}{2} has principal solutions x=π6x = \frac{\pi}{6} and x=5π6x = \frac{5\pi}{6}, and general solutions x=π6+2nπx = \frac{\pi}{6} + 2n\pi and x=5π6+2nπx = \frac{5\pi}{6} + 2n\pi.

Key identities used in solving trig equations:

  • Pythagorean: sin2x+cos2x=1\sin^2 x + \cos^2 x = 1
  • Double angle: sin2x=2sinxcosx\sin 2x = 2\sin x \cos x, cos2x=cos2xsin2x\cos 2x = \cos^2 x - \sin^2 x
  • Sum-to-product and product-to-sum formulas

How to Solve Trigonometric Equations

Method 1: Isolation and Inverse Functions

For simple equations, isolate the trig function and apply the inverse:

sinx=a    x=arcsin(a) and x=πarcsin(a)\sin x = a \implies x = \arcsin(a) \text{ and } x = \pi - \arcsin(a)

cosx=a    x=±arccos(a)\cos x = a \implies x = \pm \arccos(a)

tanx=a    x=arctan(a)+nπ\tan x = a \implies x = \arctan(a) + n\pi

Method 2: Factoring

When the equation can be factored:

sin2xsinx=0    sinx(sinx1)=0\sin^2 x - \sin x = 0 \implies \sin x(\sin x - 1) = 0

So sinx=0\sin x = 0 or sinx=1\sin x = 1, giving x=0,π,π2x = 0, \pi, \frac{\pi}{2} in [0,2π)[0, 2\pi).

Method 3: Using Identities to Simplify

Replace complex expressions using identities:

Example: Solve cos2x=cosx\cos 2x = \cos x

Using cos2x=2cos2x1\cos 2x = 2\cos^2 x - 1:
2cos2x1=cosx2\cos^2 x - 1 = \cos x
2cos2xcosx1=02\cos^2 x - \cos x - 1 = 0
(2cosx+1)(cosx1)=0(2\cos x + 1)(\cos x - 1) = 0

So cosx=12\cos x = -\frac{1}{2} or cosx=1\cos x = 1.

Method 4: Substitution

For equations with multiple trig functions, substitute t=sinxt = \sin x or t=cosxt = \cos x:

2sin2x+3cosx3=02\sin^2 x + 3\cos x - 3 = 0

Using sin2x=1cos2x\sin^2 x = 1 - \cos^2 x: 2(1cos2x)+3cosx3=02(1 - \cos^2 x) + 3\cos x - 3 = 02cos2x3cosx+1=02\cos^2 x - 3\cos x + 1 = 0

Method 5: Squaring Both Sides (with checking)

Sometimes useful, but always verify solutions as squaring can introduce extraneous roots.

Summary of Reference Angles

EquationSolutions in [0,2π)[0, 2\pi)
sinx=a\sin x = a ($a
cosx=a\cos x = a ($a
tanx=a\tan x = ax=arctanax = \arctan a, x=π+arctanax = \pi + \arctan a

Comparison of Methods

MethodBest ForKey Indicator
IsolationSimple single-function equationsOne trig function, linear
FactoringPolynomial-like equationsCommon factor or quadratic form
IdentitiesMultiple angles or functionscos2x\cos 2x, sin2x\sin^2 x, etc.
SubstitutionMixed trig functionsConvert all to one function
SquaringEquations with sumssinx+cosx=k\sin x + \cos x = k

Common Mistakes to Avoid

  • Forgetting periodic solutions: sinx=0.5\sin x = 0.5 has two solutions per period, not one. Always consider all quadrants where the function has the given sign.
  • Dividing by a trig function: Dividing by sinx\sin x or cosx\cos x can lose solutions where that function equals zero. Factor instead.
  • Not checking extraneous solutions: When squaring both sides, always substitute back to verify. Squaring can introduce false solutions.
  • Confusing degrees and radians: Ensure consistency. sin(30)sin(30°)\sin(30) \neq \sin(30°) in most calculators and programming contexts.
  • Ignoring domain restrictions: sinx=2\sin x = 2 has no real solutions since 1sinx1-1 \leq \sin x \leq 1.

Examples

Step 1: Isolate: sinx=12\sin x = \frac{1}{2}
Step 2: Sine is positive in Quadrants I and II. Reference angle: π6\frac{\pi}{6}
Step 3: Solutions: x=π6x = \frac{\pi}{6} and x=ππ6=5π6x = \pi - \frac{\pi}{6} = \frac{5\pi}{6}
Answer: x=π6,  5π6x = \frac{\pi}{6},\; \frac{5\pi}{6}

Step 1: Let u=cosxu = \cos x. The equation becomes u2u2=0u^2 - u - 2 = 0
Step 2: Factor: (u2)(u+1)=0(u - 2)(u + 1) = 0, so u=2u = 2 or u=1u = -1
Step 3: cosx=2\cos x = 2 has no solution (out of range). cosx=1\cos x = -1 gives x=πx = \pi
Answer: x=πx = \pi

Step 1: Use sin2x=2sinxcosx\sin 2x = 2\sin x \cos x: 2sinxcosx=sinx2\sin x \cos x = \sin x
Step 2: Rearrange: sinx(2cosx1)=0\sin x(2\cos x - 1) = 0
Step 3: sinx=0\sin x = 0 gives x=0,πx = 0, \pi. cosx=12\cos x = \frac{1}{2} gives x=π3,5π3x = \frac{\pi}{3}, \frac{5\pi}{3}
Answer: x=0,  π3,  π,  5π3x = 0,\; \frac{\pi}{3},\; \pi,\; \frac{5\pi}{3}

Frequently Asked Questions

Most trig equations have infinitely many solutions because trig functions are periodic. In a restricted interval like [0, 2pi), there are usually a finite number of solutions. The general solution adds multiples of the period to cover all solutions.

A trig equation is true only for specific values of the variable (like sin x = 1/2). A trig identity is true for all values where it is defined (like sin^2 x + cos^2 x = 1). You solve equations but verify identities.

In calculus and most higher mathematics, radians are standard. In practical applications like navigation or engineering, degrees may be more common. Always check which unit your course or context requires. One full revolution is 360 degrees or 2pi radians.

Related Solvers

Sin cos tanInverse trigDerivativeIntegral
Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving