f(x)=sinx
Differentiation w.r.t x,
f′(x)=cosx
When x ϵ (0,π2)
⇒cosx>0
⇒f′(x)>0
So, f(x) is increasing
When x ϵ (π2,π)
⇒cosx<0
⇒f′(x)<0
So, f(x) is decreasing
When x ϵ (0,π)
As we have found that f(x) is increasing in
(0,π2)
and decreasing in
(π2,π)
so, f(x) is neither increasing nor decreasing in (0,π)