Question
Question: How do you solve \(\sin x + \cos x = 0\)?...
How do you solve sinx+cosx=0?
Solution
We know that the value of x remains between 0∘ and 360∘. The domain of both sinx and cosx is (−∞,∞) and range is between [−1,1]. Therefore, the domain of sinx+cosx is (−∞,∞). The range of sinx+cosx is between [−2,2] which can be easily found out by differentiating sinx+cosx.
Complete step by step solution:
Given is, sinx+cosx=0
Taking cosx on right hand side and leaving sinx alone on left side gives us,
sinx=−cosx
Now, dividing the entire equation by −cosx we get;
−cosxsinx=−cosx−cosx
−tanx=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
Now, taking the inverse tangent we get;
x=tan−1(−1)
We, know that tanx=1 at 4π
so, tan−1(−1)=−4π
This brings us to the value of x being −4π
x=−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π−π
Now we need to simply the equation,
x=−45π, now adding 2π to 4−5π
x=4−5π+2π
x=43π
Now, for the last step we need to find the period of the function. The period of a function can be calculated using ∣b∣π. We have to replace b with 1 in the given formula in order to find the period for our function.
∣b∣π=1π=π
To check whether every negative angle gives out positive angle we add π to 4−π.
4−π+π=43π
The period of the tanx function is π so values will repeat every π sinx+cosx=0radians in both directions.
Hence the answer is x=43π+πn,43π+πn, for any integer n
Note: In the first quadrant, both sinx and cosx are non-negative and hence their sum cannot be zero. cosx is zero at multiples of 90 degrees and sinx is zero at 0 degrees and multiples of 180 degrees, so they are never zero for the same x.
Solutions to sinx+cosx=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.