Given , find the smallest positive period and a monotonic decreasing interval for .
Solution
We start by simplifying the given function :
\begin{align*}
f(x) &= 2\sin^2x + 2\sin x\cos x \\
&= \sin 2x + 1 - \cos 2x \\
&= \sqrt{2}\sin \left(2x - \frac{\pi}{4}\right) + 1.
\end{align*}
The smallest positive period can be determined by looking at the argument of the sine function. Since the function has a period of , and the argument of here is , we conclude the smallest positive period for is:
Next, we consider the interval in which is monotonic decreasing. For the sine function, this occurs when:
By solving these inequalities for , we find:
For , we get a monotonic decreasing interval for to be:
Thus, the smallest positive period of is , and one interval where is monotonic decreasing is . Therefore, the correct answer is \boxed{\text{B}}.