SOLUTION: Solve sin x + cos x = 1 for x.

Algebra ->  Trigonometry-basics -> SOLUTION: Solve sin x + cos x = 1 for x.       Log On


   



Question 1208765: Solve sin x + cos x = 1 for x.
Answer by ikleyn(52814) About Me  (Show Source):
You can put this solution on YOUR website!
.
Solve sin x + cos x = 1 for x.
~~~~~~~~~~~~~~~~~~~~~~~

We start from

    sin x + cos x = 1 for x.    (1)


Square both sides

    sin^2(x) + cos^2(x) + 2*sin(x)*cos(x) = 1.


Replace sin^2(x) + cos^2(x) by 1  (according the Pythagorean theorem)

    1 + 2*sin(x)*cos(x) = 1.


Cancel "1" in both sides and write in the form

    sin(2x) = 0.


Hence,  2x = n%2Api.


It implies  x = n%2A%28pi%2F2%29,   n = 0, +/-1, +/-2, . . .    (2)


We squared the original equation - so, erroneous and excessive roots could arise.
Therefore, we should check the roots (2).


Checking shows that only  x  with  n = 4k  and  n = 4k+1  satisfy the original equation.


It gives the ANSWER :  the solutions are  x = 2k%2Api  and  x = pi%2F2+%2B+2k%2Api,  k = 0, +/-1, +/-2, . . . 

Solved.