Explanation
Solution
To find the values of x in the interval [0,2π) that satisfy the equation, we follow these steps:
Step 1: Rearrange the equation
Step 2: Square both sides
To eliminate the trigonometric functions, square both sides of the equation:
Step 3: Simplify using identities
We know that sin2x+cos2x=1 and 2sinxcosx=sin(2x). Substituting these:
Step 4: Find the general values for 2x
For sin(2x)=0 in the range corresponding to 0 \le x < 2\pi (which is 0 \le 2x < 4\pi):
Step 5: Verify the solutions
Since we squared the equation, we might have introduced "extraneous" solutions. We must check them in the original equation sinx+1=cosx:
-
For x=0: sin(0)+1=0+1=1; cos(0)=1. (Matches: 1=1) ✓
-
For x=2π: sin(2π)+1=1+1=2; cos(2π)=0. (Does not match: 2=0) ×
-
For x=π: sin(π)+1=0+1=1; cos(π)=−1. (Does not match: 1=−1) ×
-
For x=23π: sin(23π)+1=−1+1=0; cos(23π)=0. (Matches: 0=0) ✓
Final Answer:
The valid solutions are x=0 and x=23π.