Consider the equation xe^x = cos x
(a) Apply the intermediate value theorem to show that the function has a root in the interval
[0, 1].
Function "f(x)=xe^x-\\cos x" is continuous on "[0, 1]."
"f(1)=1(e^1)-\\cos(1)=e-\\cos (1)>0,"
since "e>1, \\cos(1)<1."
Then by the intermediate value theorem there exists the number "c" in "(0, 1)" such that "f(c)=0."
Therefore the function "f(x)=xe^x-\\cos x" has a root in the interval "[0, 1]."
Comments
Yes, this function is also continuous.
Thank you for your answer. Can we say a function f(x) = cosx - xe^x is continuous on [0, 1]? instead of the above function written f(x) = xe^x - cosx
Leave a comment