Solveeit Logo

Question

Question: How do you solve \(\sin x + \cos x = 0\)?...

How do you solve sinx+cosx=0\sin x + \cos x = 0?

Explanation

Solution

We know that the value of x remains between 0{0^ \circ } and 360{360^ \circ }. The domain of both sinx\sin x and cosx\cos x is (,)\left( { - \infty ,\infty } \right) and range is between [1,1]\left[ { - 1,1} \right]. Therefore, the domain of sinx+cosx\sin x + \cos x is (,)\left( { - \infty ,\infty } \right). The range of sinx+cosx\sin x + \cos x is between [2,2]\left[ { - \sqrt {2,} \sqrt 2 } \right] which can be easily found out by differentiating sinx+cosx\sin x + \cos x.

Complete step by step solution:
Given is, sinx+cosx=0\sin x + \cos x = 0
Taking cosx\cos x on right hand side and leaving sinx\sin x alone on left side gives us,
sinx=cosx\sin x = - \cos x
Now, dividing the entire equation by cosx - \cos x we get;
sinxcosx=cosxcosx\dfrac{{\sin x}}{{ - \cos x}} = \dfrac{{ - \cos x}}{{ - \cos x}}
tanx=1- \tan x = 1
In this next step we have to shift minus (-) sign from left hand side to right hand side so that we get;
tanx=1\tan x = - 1
Now, taking the inverse tangent we get;
x=tan1(1)x = {\tan ^{ - 1}}\left( { - 1} \right)
We, know that tanx=1\tan x = 1 at π4\dfrac{\pi }{4}
so, tan1(1)=π4{\tan ^{ - 1}}\left( { - 1} \right) = - \dfrac{\pi }{4}
This brings us to the value of x being π4 - \dfrac{\pi }{4}
x=π4x = - \dfrac{\pi }{4}
We are aware that the tangent function is negative in the second and fourth quadrants. To find the second solution, we have to subtract the obtained angle from π to find the solution in the third quadrant.
x=π4πx = - \dfrac{\pi }{4} - \pi
Now we need to simply the equation,
x=5π4x = - \dfrac{{5\pi }}{4}, now adding 2π2\pi to 5π4\dfrac{{ - 5\pi }}{4}
x=5π4+2πx = \dfrac{{ - 5\pi }}{4} + 2\pi
x=3π4x = \dfrac{{3\pi }}{4}
Now, for the last step we need to find the period of the function. The period of a function can be calculated using πb\dfrac{\pi }{{|b|}}. We have to replace b with 11 in the given formula in order to find the period for our function.
πb=π1=π\dfrac{\pi }{{|b|}} = \dfrac{\pi }{1} = \pi
To check whether every negative angle gives out positive angle we add π\pi to π4\dfrac{{ - \pi }}{4}.
π4+π=3π4\dfrac{{ - \pi }}{4} + \pi = \dfrac{{3\pi }}{4}
The period of the tanx\tan x function is π\pi so values will repeat every π\pi sinx+cosx=0\sin x + \cos x = 0radians in both directions.
Hence the answer is x=3π4+πn,3π4+πnx = \dfrac{{3\pi }}{4} + \pi n,\dfrac{{3\pi }}{4} + \pi n, for any integer nn

Note: In the first quadrant, both sinx\sin x and cosx\cos x are non-negative and hence their sum cannot be zero. cosx\cos x is zero at multiples of 90 degrees and sinx\sin x is zero at 0 degrees and multiples of 180 degrees, so they are never zero for the same x.
Solutions to sinx+cosx=0\sin x + \cos x = 0 require they both be of opposite signs, which occurs in quadrants 2 and 4. Also, their numerical magnitudes must be equal so that they cancel and get zero.