Ariel B. answered 10/04/23
Honors MS in Theoretical Physics 10+ years of tutoring Calculus
Pauline,
1. The function cos(x) is continuous for (-∞,0) while the function ex is continuous on [0,∞).
2. The only point that needed some more attention is x=0
The limit of f(x)=cos(x) when x->-0 is 1. The limit of f(x)=ex when x>+0 is also 1. Therefore f(x) has a limit (equal to 1) at x=0 The value of f(0)=e0=1 . Therefore, the limit of f(x) when x->0 is equal to f(0), another words, f(x) is continuous at x=0.
Combined with the P.1, we conclude that the function f(x)
- is continuous on(-∞,∞)
Hope it was helpful
Dr. Ariel B.