# Homework Help: Showing continuity

1. Oct 11, 2004

### UrbanXrisis

let f be a function defined by f(x)=4-x^2 when x=<1 and k+x when x>1
What value of k will f be continuous at x=1?

I know the answer is k=2, however, I dont know how to show to correct work. I got 2 when I sketched a graph of 4-x^2 and plugged in some numbers but I dont know how to show it algebraically/using an actual method.

2. Oct 11, 2004

### NateTG

Are you familiar with epsilon-delta proofs of continuity?

3. Oct 11, 2004

### BobG

To be continous, the limit has to exist (in this case, you have two functions on either side of 1 - they should both have the same limit as they approach 1) and f(x) has to equal the limit.

Find the limit of the first function as x approaches 1 from the left.

$$\lim_{x\rightarrow 1^-} 4-x^2$$

The limit of the function, f(x)=k+1, as x approaches 1 from the right must equal the limit of the first function.

$$\lim_{x\rightarrow 1^+} k+1 = \lim_{x\rightarrow 1^-} 4-x^2$$

Substitute the value for k that makes this true.

In other words,

$$\lim_{x\rightarrow 1^+} k+1 = \lim_{x\rightarrow 1^+} k+\lim_{x\rightarrow 1^+}1$$
k and 1 are both constants, so the limit of k = k and the limit of 1 = 1.
$$\lim_{x\rightarrow 1^+} k+\lim_{x\rightarrow 1^+}1 = k+1 = 3$$

so, subtracting 1 from both sides, k=2

Last edited: Oct 11, 2004