Edge Cases Math Example 1

Follow the full solution, then compare it with the other examples linked below.

Example 1

easy
For the function f(x)=x24x2f(x) = \dfrac{x^2-4}{x-2}, check the edge case x=2x = 2 and describe what happens.

Solution

  1. 1
    At x=2x = 2: the denominator x2=0x - 2 = 0, so f(2)f(2) is undefined — this is the edge case.
  2. 2
    For x2x \ne 2: factor the numerator — x24x2=(x2)(x+2)x2=x+2\frac{x^2-4}{x-2} = \frac{(x-2)(x+2)}{x-2} = x + 2.
  3. 3
    So f(x)=x+2f(x) = x+2 for all x2x \ne 2. There is a hole in the graph at x=2x=2, y=4y=4.

Answer

f(x)=x+2 for x2;f(2) is undefined (hole at (2,4))f(x) = x+2 \text{ for } x \ne 2;\quad f(2) \text{ is undefined (hole at }(2,4)\text{)}
Edge cases are special inputs where a formula breaks or behaves differently. Checking x=2x = 2 (where the denominator vanishes) is essential for understanding the full behaviour of ff.

About Edge Cases

Special or extreme input values — such as zero, infinity, empty sets, or boundary conditions — where formulas or reasoning may behave differently.

Learn more about Edge Cases →

More Edge Cases Examples