Q.

For the function f(x)=(cosx)-x+1,xR, 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,π.]

1 Only (S2) is correct.  
2 Both (S1) and (S2) are incorrect.  
3 Only (S1) is correct.  
4 Both (S1) and (S2) are correct.  

Ans.

(3)

We have, f(x)=cosx-x+1,xR

f'(x)=-sinx-1<0xR

f(x) is decreasing xR

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.