Precalculus Intermediate

Trig Equation Solver

Solve equations of the form A·sin(Bx + C) = D, A·cos(Bx + C) = D, or A·tan(Bx) = D. Get all solutions on [0, 2π), the general solution formula, exact π-fraction answers, and a detailed step-by-step walkthrough.

Live Calculator · Step-by-Step · Exact Answers · Precalculus
Inputs
A — coefficient
B — frequency
C — phase shift (radians)
D — right-hand side
sin(x) = 0
Quick examples
Solutions
Enter coefficients A, B, C, D and press Solve to find all solutions on [0, 2π) and the general solution formula.
Solutions on [0, 2π)
    General Solution
    Step-by-Step Solution
    Isolating the trig function & the two-solution pattern

    The first step is always to isolate the trig function by dividing both sides by A:

    A·sin(Bx + C) = D → sin(Bx + C) = D/A

    Once the trig function is alone, apply an inverse trig to get the principal value θ₀.

    Because sin and cos are not one-to-one, each principal value gives two angle solutions per period:

    sin: θ₀ and π − θ₀ cos: θ₀ and 2π − θ₀ (i.e. −θ₀) tan: θ₀ only (period π, so θ₀ and θ₀ + π)

    Each angle θ is then solved for x: x = (θ − C) / B. Adjust x into [0, 2π) by adding or subtracting multiples of 2π/B.

    For sin/cos, |D/A| must be ≤ 1. If |D/A| > 1, there are no real solutions because sin and cos are bounded to [−1, 1].
    General solutions: capturing infinitely many answers

    Solutions on [0, 2π) are just a sample. Because trig functions are periodic, the full solution set is infinite. We express it with an integer parameter n:

    sin/cos: x = x₀ + (2π/B)·n or x = x₁ + (2π/B)·n tan: x = x₀ + (π/B)·n

    where n ∈ ℤ (any integer). The solutions in [0, 2π) correspond to specific values of n (usually n = 0 or n = 1).

    The period of A·sin(Bx+C) is 2π/B, so each new period adds or subtracts 2π/B to the solutions. For tan the period is π/B.

    Example: tan(2x) = 1 gives x = π/8 + (π/2)·n — so solutions repeat every π/2 units.

    Need help solving trig equations?

    Book a live session with a Naruhodo tutor — we'll work through trig equations, identities, and the unit circle together.

    Book a Session →