Let a and b be the roots of the equation excosx=1 then
eacosa=1 and ebcosb=1
Let f be a function defined as f(x)=e−x−cosx
We observe that:
(i)f(x) is continuous in [a,b] and cosx both are continuous functions.
(ii)f′(x)=−e−x+sinx, hence function is differentiable in (a,b)
(iii)f(a)=e−a−cosa=e−a(1−eacosa)=0 and
f(b)=e−b−cosb=e−ab(1−ebcosb)=0
⇒f(a)=f(b)=0
Thus f(x) satisfies all the conditions of Rolle's theorem in [a,b]
hence there exists at least one value of x in (a,b) such that f′(c)=0
f′(x)=−e−x+sinx
f′(c)=−e−c+sinc
⇒−e−c+sinc=0
⇒e−c=sinc
⇒ecsinx−1=0
Thus, c is a root of the equation e−x−sinx=0
Hence between any two roots of the equation excosx=1 there exists atleast one root of exsinx−1=0