Question
Question: Find the general solution of \[\cos x - \sin x = 1\]....
Find the general solution of cosx−sinx=1.
Solution
Here, we need to simplify the equation and find a general solution of the equation. A general solution is a value of x which is true for all numbers in a certain range. We will simplify the equation using algebraic and trigonometric identities, such that the left hand side and right hand side are the sine of some angle. Then, using the trigonometric equations, we will find the general solution of the equation.
Formula used: We will use the following formulas to solve the questions:
- The square of the difference of two numbers is given by the algebraic identity (a−b)2=a2+b2−2ab.
- The sine of the double of an angle is twice the product of the sine and cosine of that angle, that is sin2A=2sinAcosA.
- Trigonometric equation: If sinx=0, then x=nπ, where n can be any integer.
Complete step by step solution:
We will use trigonometric identities to simplify the equation. Then, we will use trigonometric equations for sine to get the general solution of the given equation.
Squaring both sides, we get
(cosx−sinx)2=(1)2 ⇒(cosx−sinx)2=1
Substituting a=cosx and b=sinx in the algebraic identity (a−b)2=a2+b2−2ab, we get
⇒(cosx−sinx)2=(cosx)2+(sinx)2−2(cosx)(sinx)
Rewriting the equation, we get
⇒(cosx−sinx)2=cos2x+sin2x−2cosxsinx ⇒(cosx−sinx)2=sin2x+cos2x−2sinxcosx
Now, the sum of the square of the sine and cosine of an angle is always equal to 1.
Therefore, we get
sin2x+cos2x=1
We know that sin2A=2sinAcosA.
Therefore, substituting A=x in the formula, we get
sin2x=2sinxcosx
Substituting sin2x+cos2x=1 and 2sinxcosx=sin2x in the equation (cosx−sinx)2=sin2x+cos2x−2sinxcosx, we get
⇒(cosx−sinx)2=1−sin2x
Substituting (cosx−sinx)2=1 in the equation, we get
⇒1=1−sin2x
Subtracting 1 from both sides of the equation, we get
⇒1−1=1−sin2x−1 ⇒0=−sin2x ⇒sin2x=0
Now, we will use trigonometric equations for sine.
We know that if sinx=0, then x=nπ, where n can be any integer.
Therefore, since sin2x=0, we get
2x=nπ,n∈Z
Dividing both sides by 2, we get
⇒x=2nπ,n∈Z
Therefore, the general solution of the equation cosx−sinx=1 is x=2nπ, where n can be any integer.
Note:
We can also solve this question using trigonometric equations for cosine.
Dividing both sides of the equation cosx−sinx=1 by 2, we get
⇒2cosx−sinx=21
Splitting the L.C.M. and rewriting the equation, we get
⇒2cosx−2sinx=21 ⇒cosx×21−sinx×21=21
We know that the sine and cosine of the angle 4π is 21.
Rewriting 21 as sin4π and cos4π, we get
⇒cosxcos4π−sinxsin4π=cos4π
The trigonometric identity for the cosine of the sum of two angles is given by the formula cos(A+B)=cosAcosB−sinAsinB.
Using the trigonometric identity in the equation, we get
⇒cos(x+4π)=cos4π
Now, we will use trigonometric equations for cosine.
We know that if cosx=cosθ, then x=2nπ±θ, where n can be any integer and θ∈(0,π].
Therefore, since cos(x+4π)=cos4π, we get
x+4π=2nπ±4π
Subtracting 4π from both sides, we get
⇒x=2nπ±4π−4π
⇒x=2nπ+4π−4π or x=2nπ−4π−4π
Simplifying the equations, we get
⇒x=2nπ or x=2nπ−2π
Therefore, the general solution of the equation cosx−sinx=1 is x=2nπ or x=2nπ−2π, where n can be any integer.