Steply

Solve f(x) = (x^2 - 4)/(x - 2) for x != 2, 4 for x = 2, continuous…

Step by step, with the reason for every step · Continuity · Calculus

Step by step

The question

Question: decide if this f(x) is continuous at x = 2.

f(x) = x2 − 4x − 2 if x ≠ 2
= 4 if x = 2

Continuous at x = 2 means three things are true.

One: f(2) has a value.

Two: the limit there exists.

Three: they are equal.

1. f(2) has a value
2. the limit at 2 exists
3. limit = f(2)

1 Does f have a value?

Which piece holds x = 2?

The one with x = 2.

So f(2) = 4.

f(2) = 4

Careful!

Having a value is not enough.

The graph must also arrive at that height from both sides.

Careful: a value at 2 is not enough

Check 1 is true: f(2) is 4.

1. f(2) = 4

2 Does the limit exist?

Near 2, but not at 2, f(x) is (x² − 4)/(x − 2).

Factor the top and the bottom.

lim x → 2 f(x) = lim x → 2 (x − 2)(x + 2)(x − 2)

x is never 2 here, so x − 2 is not 0.

Cross it out on the top and the bottom.

Put 2 in what is left.

The limit is 4.

= lim x → 2 (x + 2) = 4

Check 2 is true: the limit exists.

2. limit = 4

3 Are they equal?

The limit is 4, and f(2) is 4.

They are equal.

Check 3 is true.

3. limit = 4 = f(2)

All three checks are true.

So f is continuous at x = 2.

= f is continuous at x = 2

4 Check

Let's check on the graph.

The graph comes to height 4 from both sides, but there is a hole at x = 2.

f(2) = 4 fills the hole.

No lifting the pen.

Right!

Let's look back.

First: does f have a value?.

Then: does the limit exist?.

Then: are they equal?.

Last: check.

Answer
= f is continuous at x = 2

Your turn

Try this one yourself, then check:

f(x) = x2 − 5x + 4x − 4 if x ≠ 4; 3 if x = 4
Show the answer
continuous at x = 4

More from Continuity

The whole lesson: Continuity →