Use the Intermediate Value Theorem
The function f(x)=3x+sin(x)−ex is continuous on (−∞,∞). Then the function f is continuous on [0,1].
f(0)=3(0)+sin(0)−e0=−1<0
f(1)=3(1)+sin(1)−e1>0By the Intermediate Value Theorem ∃c∈(0,1) such that f(c)=0.
The function f(x)=3x+sin(x)−ex is continuous on [1,2].
f(2)=3(2)+sin(2)−e2<7−e2<0 By the Intermediate Value Theorem ∃c∈(1,2) such that f(c)=0.
f′(x)=3+cos(x)−ex
f′(x)=3+cos(x)−ex>3+cos(x)−1>0,x≤0
f′(x)=3+cos(x)−ex>3+cos(x)−e>0,0≤x≤1
Hence f(x) strictly increases on (−∞,1)
Therefore the function f has the only root on (−∞,1].
Therefore we choose the interval [0,1] to find the root of the function f.
f′(x)=3+cos(x)−ex≤4−e2<0,x≥2 Hence f(x) strictly decreases on (2,∞)
Therefore the function f has no root on [2,∞).
Therefore we choose the interval [1,2] to find the root of the function f.
Therefore we choose the interval [0,2] to find all roots of the function f.
Comments