Let's solve the trigonometric equation step by step using the factorization method.
Given: sin2x2+1=sinx+cosx
⇒2sinxcosx2+1=sinx+cosx
⇒sinxcosx+1=sinx+cosx
Step 1: Transform the equation into product of linear factors by bringing the RHS term to LHS and make the RHS as zero.
⇒sinxcosx+1−sinx−cosx=0
⇒sinxcosx−sinx+1−cosx=0
(taking sinx common from first two terms)
⇒sinx(cosx−1)+1−cosx=0
(taking −1 common from last two terms)
⇒sinx(cosx−1)−1(−1+cosx)=0
⇒sinx(cosx−1)−1(cosx−1)=0
(taking (cosx−1) common)
⇒(cosx−1)(sinx−1)=0
Step 2: Equate each factor to zero.
∴ Either cosx−1=0 or sinx−1=0
Step 3: Solve each equation individually.
For cosx−1=0, i.e., cosx=1,x=2π in the interval (0,2π].
For sinx−1=0, i.e., sinx=1,x=π2 in the interval (0,2π].
Step 4: Take union of all these solutions.
∴ The complete solution is x={π2,2π} in the interval (0,2π].
Hence, the number of solutions is two in the given interval.