Skip to content
Worked Examples · Example 7

Q.Is the function defined by f(x)=∣x∣f(x) = |x|, a continuous function?

CBSENCERTSubjective· 3mImportance★★★★★
15% · 41/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The absolute value function f(x)=∣x∣f(x) = |x| is continuous at every real number, including at x=0x = 0 where the graph has a sharp corner. The key is that continuity only cares about the limit matching the function value, not about smoothness.

Why This Question Matters

Many students see the V-shaped graph of ∣x∣|x| with its sharp point at x=0x = 0 and instinctively think "that's not continuous — it has a corner." But continuity and differentiability are different ideas. A function can be continuous at a point even if it has a corner, a cusp, or a vertical tangent. The only thing continuity demands is that the graph doesn't break — you should be able to trace it without lifting your pen.

The absolute value function is the classic example that separates these two concepts. Let's prove it properly.

Step-by-Step Proof

1. Recall the definition of continuity at a point

A function ff is continuous at x=ax = a if and only if three conditions hold:

  • f(a)f(a) is defined
  • lim⁡x→af(x)\lim_{x \to a} f(x) exists
  • lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a)

For f(x)=∣x∣f(x) = |x|, we need to check this at every real number aa. The only potentially tricky point is a=0a = 0, because that's where the definition of ∣x∣|x| changes.

2. First, handle all points where a≠0a \neq 0

If a>0a > 0, then near aa we have f(x)=xf(x) = x (since xx stays positive in a small enough neighbourhood). The function g(x)=xg(x) = x is a polynomial, and polynomials are continuous everywhere. So lim⁡x→a∣x∣=a=∣a∣\lim_{x \to a} |x| = a = |a|.

If a<0a < 0, then near aa we have f(x)=−xf(x) = -x (since xx stays negative nearby). The function h(x)=−xh(x) = -x is also a polynomial, hence continuous. So lim⁡x→a∣x∣=−a=∣a∣\lim_{x \to a} |x| = -a = |a|.

Note

For any a≠0a \neq 0, we can find an open interval around aa that doesn't contain 0. On that interval, ∣x∣|x| is either xx or −x-x, both of which are polynomials. Polynomials are continuous everywhere, so ∣x∣|x| is continuous at every a≠0a \neq 0.

3. Now check x=0x = 0 — the critical point

Here f(0)=∣0∣=0f(0) = |0| = 0, so condition 1 is satisfied.

For the limit, we need to check both sides separately because the function's rule changes at 0.

Left-hand limit: As x→0−x \to 0^-, xx is negative, so ∣x∣=−x|x| = -x. Therefore:

lim⁡x→0−∣x∣=lim⁡x→0−(−x)=0\lim_{x \to 0^-} |x| = \lim_{x \to 0^-} (-x) = 0

Right-hand limit: As x→0+x \to 0^+, xx is positive, so ∣x∣=x|x| = x. Therefore:

lim⁡x→0+∣x∣=lim⁡x→0+x=0\lim_{x \to 0^+} |x| = \lim_{x \to 0^+} x = 0

Since both one-sided limits equal 0, the two-sided limit exists and: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.