Trigonometric equations symmetric in sine and cosine
Reduce symmetric sine and cosine equations using their sum or difference, with exact ranges and complete solution families.
Content updated: October 22, 2026
The sum and product of $\sin x,\cos x$ are related by $\sin^2x+\cos^2x=1$. Thus many equations involving both functions reduce to an algebraic equation in their sum or difference.
Learning goals: recognize a symmetric expression; substitute correctly for sin 2x; filter by the range and solve the resulting sum or difference equation.
Prerequisites: addition and double-angle formulas and basic trigonometric equations.
On this page: The idea · Method · Examples · Practice · Further learning
1. Substitutions for the sum and difference
For $t=\sin x+\cos x=\sqrt2\sin(x+\pi/4)$, the exact range is $[-\sqrt2;\sqrt2]$, not $[-1;1]$. Squaring yields $t^2=1+2\sin x\cos x=1+\sin2x$.
Conversely, every $t$ in this interval is attained, since sine attains every value in $[-1;1]$. Thus after solving the equation in $t$, filtering by this interval is enough to permit recovery of $x$.
If instead $u=\sin x-\cos x=\sqrt2\sin(x-\pi/4)$, then again $u\in[-\sqrt2;\sqrt2]$, but $u^2=1-\sin2x$. Hence $\sin2x=1-u^2$. The sign of the term involving $u^2$ depends on the chosen substitution.
2. Reduction to an algebraic equation
For $a(\sin x+\cos x)+b\sin x\cos x=c$, set $t$ as above. The equivalent equation is
If $b=0$, the equation in $t$ is no longer quadratic. If $a=b=0$, examine $0=c$ directly. For each accepted root $t_0$, solve $\sin(x+\pi/4)=t_0/\sqrt2$. Do not use $t^2=t_0^2$ in place of $t=t_0$, since this can introduce a sign not allowed by the original equation.
The product identities follow by squaring, but when recovering solutions, retain the sum or difference originally defined. Check a representative angle from each final solution family.
3. Two worked examples
Example 1. Using the sum of sine and cosine
Solve $\sin x+\cos x+\sin2x+1=0$. Set $t=\sin x+\cos x\in[-\sqrt2;\sqrt2]$. Substituting $\sin2x=t^2-1$ yields $t^2+t=0$. Both $t=0$ and $t=-1$ belong to the required range.
For $t=0$, we have $\sin(x+\pi/4)=0$, so $x=-\pi/4+k\pi$. For $t=-1$, the equation $\sin(x+\pi/4)=-\sqrt2/2$ has solutions $x=-\pi/2+2k\pi$ or $x=\pi+2k\pi$. Thus the solution set is the union of three families:
The angle $x=0$ is not a solution: the left-hand side equals $2$. Thus the family $\pi+2k\pi$ cannot be replaced by $2k\pi$.
Example 2. Using the difference of sine and cosine
Solve $\sin x-\cos x+\sin2x-1=0$. Set $u=\sin x-\cos x$, so $\sin2x=1-u^2$. The equation becomes $u-u^2=0$, with roots $u=0$ or $u=1$, both admissible.
The branch $u=0$ has solutions $x=\pi/4+k\pi$. The branch $u=1$ gives $\sin(x-\pi/4)=\sqrt2/2$, hence $x=\pi/2+2k\pi$ or $x=\pi+2k\pi$. The angle $3\pi/2$ does not belong to this branch because its sine minus cosine equals $-1$.
4. Practice exercises
- Solve $\sin x+\cos x=\sqrt2$.
- Solve $\sin x+\cos x+2\sin x\cos x-1=0$.
- Solve $\sin x-\cos x=0$ and find sin 2x at its solutions.
Show hints and answers
- $\sin(x+\pi/4)=1$, so $x=\pi/4+2k\pi$.
- Set $t=\sin x+\cos x$ to obtain $t^2+t-2=(t-1)(t+2)=0$. Reject $t=-2$; accept $t=1$, which gives $x=2k\pi$ or $x=\pi/2+2k\pi$.
- $x=\pi/4+k\pi$. Then $u=0$, so $\sin2x=1-u^2=1$.
5. Common mistakes
Use the correct range for the sum. When using the difference, do not replace $1-u^2$ by $u^2-1$. Do not retain only the squared equation when recovering solutions. Solve each branch completely and check it against the original sum or difference.
Leave a Reply