The function is increasing on the interval \( (0, \frac{1}{2}) \) and decreasing on the interval \( \left(\frac{1}{2}, \infty\right) \).
\[
\text{Increasing: } \boxed{(0, \frac{1}{2})}
\]
\[
\text{Decreasing: } \boxed{\left(\frac{1}{2}, \infty\right)}
\]