For the function f(x)=(cosx)-x+1, x∈R, between the following two statements [2024]
(S1) f(x)=0 for only one value of x in [0,π].
(S2) f(x) is decreasing in [0,π2] and increasing in [π2,π.]
(3)
We have, f(x)=cosx-x+1, x∈R
⇒f'(x)=-sinx-1<0 ∀ x∈R
⇒f(x) is decreasing ∀ x∈R
For f(x)=0
Now, f(0)=2
f(π)=-π
f(0)f(π)<0
So, f is strictly decreasing in [0,π].
So, f(x)=0 has one solution in [0,π]
(S1) is correct but (S2) is incorrect.