Question: For each integral $n$, find the number of solutions of $2x=(2n+1)×{\pi}(1-\cos x)$
I tried to solve first by simplifying then by using graphs of known equations.
On simplifying I got $$\frac{x}{(2n+1)×{\pi}} = \sin^2 \frac{x}{2}$$ Then the right hand side (if plotted separately) of the equation is a straight line with slope $$\frac{1}{(2n+1)×{\pi}}$$. The LHS has the following graph:-
My idea is that the solutions will be at the intersection of the graph of LHS & RHS. On checking cases for $n=1$ i found there are 3 solutions , for $n=2$ i found there are 5 solutions .
My claim is that for every n there are $2n+1$ solutions, since by observation there is there is one intersection of the graph of LHS and RHS has exactly $1$ intersection between $x= (k-1)\pi$ and $k\pi$ for all $k \leq 2n+1$ ,an integer. But answer is given exactly $2n+3$ solutions. Is my claim wrong or it has any flaw? Please help. Thanks in advance.