How do you use the definition of continuity to determine weather f is continuous at 2-x2x if x<1, 1 if x=1 and x^2x2 if x>1?

1 Answer
Feb 9, 2017

see below

Explanation:

f(x)={(2-x if x<1) , (1 if x=1), (x^2 if x>1)

Here are the intervals (-oo,1)(1,oo). If we can show that

lim_(x->1^- ) f(x)=f(1) and lim_(x->1^+ ) f(x)=f(1) then we can prove that f(x) is continuous

lim_(x->1^- ) f(x)=lim_(x->1^- ) 2-x=2-1=1

f(1)=1

Since f(1)=lim_(x->1^- ) 2-x f is therefore continuous from the left at 1.

lim_(x->1^+ ) f(x)=lim_(x->1^+) x^2 =1^2 =1

f(1)=1

Since f(1)=lim_(x->1^+ ) x^2, f is therefore continuous from the right at 1. Hence f is continuous on (-oo,oo)