We have the function
f(x)=(1−cos2x)(λ+sinx),x∈(−2π,2π),λ∈R.
Because the Pythagorean identity says sin2x+cos2x=1, we may write
1−cos2x=sin2x.
Substituting this into the definition of f(x) gives
f(x)=sin2x(λ+sinx).
To locate local maxima and minima we set the first derivative equal to zero. First we differentiate. Write
g(x)=sin2x,h(x)=λ+sinx,
so that f(x)=g(x)h(x). Using the product rule (gh)′=g′h+gh′, and the facts
g′(x)=2sinxcosx=sin2x,h′(x)=cosx,
we obtain
f′(x)=sin2x(λ+sinx)+sin2xcosx.
Replacing sin2x by 2sinxcosx simplifies the expression:
f′(x)=2sinxcosx(λ+sinx)+sin2xcosx.
Both terms contain the factor sinxcosx, so we factor it out:
f′(x)=sinxcosx[2(λ+sinx)+sinx].
Simplifying the bracket further,
2(λ+sinx)+sinx=2λ+2sinx+sinx=2λ+3sinx.
Hence
f′(x)=sinxcosx(2λ+3sinx).
Critical points arise when f′(x)=0, i.e.
sinx=0orcosx=0or2λ+3sinx=0.
Inside the open interval (−2π,2π) we note
• cosx=0 only at x=±2π, which are not in the domain, so they are discarded.
• sinx=0 gives the critical point x0=0.
• 2λ+3sinx=0 yields
sinx=−32λ.
This equation has a real solution in the given interval precisely when
−1<−32λ<1.
Multiplying throughout by −23 (remembering to reverse the inequalities) gives
−23<λ<23.
If λ=0, the value −32λ=0 coincides with the already found root x0=0, so we would have only one critical point. To obtain exactly two distinct critical points we therefore require
λ∈(−23,23)∖{0}.
Let x1 denote the additional root satisfying sinx1=−32λ=0. The two critical points are thus
x1andx0=0.
We now examine the nature (maxima or minima) of these points by studying the sign of f′(x). The factorisation
f′(x)=(sinx)(cosx)(2λ+3sinx)
makes the sign analysis straightforward because cosx>0 throughout the interval. Only the signs of sinx and 2λ+3sinx matter.
Case 1: λ>0.
Then −32λ<0, so x1<0. Moving from left to right along the interval we have
- (−2π,x1):sinx<0,2λ+3sinx<0⟹f′(x)>0;
- x=x1:f′(x)=0;
- (x1,0):sinx<0,2λ+3sinx>0⟹f′(x)<0;
- x=0:f′(x)=0;
- (0,2π):sinx>0,2λ+3sinx>0⟹f′(x)>0.
The derivative changes from positive to negative at x1, giving a local maximum there, and from negative to positive at x0=0, giving a local minimum. Thus we obtain exactly one maxima and one minima.
Case 2: λ<0.
Now −32λ>0, so x1>0. The sign table becomes
- (−2π,0):sinx<0,2λ+3sinx<0⟹f′(x)>0;
- x=0:f′(x)=0;
- (0,x1):sinx>0,2λ+3sinx<0⟹f′(x)<0;
- x=x1:f′(x)=0;
- (x1,2π):sinx>0,2λ+3sinx>0⟹f′(x)>0.
Here the derivative switches from positive to negative at x0=0, producing a local maximum, and from negative to positive at x1, producing a local minimum. Again there is exactly one maxima and one minima.
Consequently, every λ satisfying
−23<λ<23,λ=0
gives exactly two distinct critical points, one a maximum and the other a minimum. No other value of λ works:
• If λ=±23, the second root would correspond to sinx=∓1, i.e. to x=±2π, outside the open interval, leaving only a single critical point.
• If λ=0, both conditions sinx=0 and 2λ+3sinx=0 coincide, again giving only one critical point.
The required set is therefore
(−23,23)∖{0}.
Hence, the correct answer is Option D.