Solve the linear equation, trying both methods (parametric formulae and auxiliary angle):
sinx+cosx=1
Solution
The parametric-formulae method. Set t=tan(x/2), with sinx=1+t22t and cosx=1+t21−t2:
1+t22t+1+t21−t2=1⟺2t+1−t2=1+t2⟺2t−2t2=0⟺2t(1−t)=0.
Hence t=0 or t=1.
t=0: tan(x/2)=0⇒x/2=kπ⇒x=2kπ;
t=1: tan(x/2)=1⇒x/2=π/4+kπ⇒x=π/2+2kπ.
Checking the case x=π:sinπ+cosπ=0−1=−1=1: not a solution.
The auxiliary-angle method. Here a=b=1, so a2+b2=2. Dividing:
21sinx+21cosx=21⟺sin(x+4π)=21,
having chosen φ=π/4 (with cosφ=sinφ=1/2). Whence x+4π=4π+2kπ or x+4π=43π+2kπ.
The two methods give the same result:
x=2kπ∨x=2π+2kπ,k∈Z.