Skip to content
Official PYQ · 1998

GATE CS 1998 Q1.4 — Calculus: Limits, Continuity, Differentiability

Explain with AI

Consider the function y=∣x∣y=|x| in the interval [−1,1][-1, 1]. In this interval, the function is

Choose one option
View worked solution

Answer: B

To analyze the continuity and differentiability of the function f(x)=∣x∣f(x) = |x| in the interval [−1,1][-1, 1], we examine its behavior at the critical point x=0x = 0.

The function is defined as:

f(x)={−x,if x<0x,if x≥0f(x) = \begin{cases} -x, & \text{if } x < 0 \\ x, & \text{if } x \ge 0 \end{cases}

1. Continuity

For any point x≠0x \neq 0, f(x)f(x) is a polynomial function, which is always continuous. At x=0x = 0:

  • Left-hand limit: lim⁡x→0−f(x)=lim⁡x→0−(−x)=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x) = 0
  • Right-hand limit: lim⁡x→0+f(x)=lim⁡x→0+(x)=0\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x) = 0
  • Function value: f(0)=0f(0) = 0

Since lim⁡x→0−f(x)=lim⁡x→0+f(x)=f(0)\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0), the function is continuous at x=0x = 0, and thus continuous throughout the interval [−1,1][-1, 1].

2. Differentiability

We check the differentiability at x=0x = 0 using the definition of derivatives:

  • Left-hand derivative (LHD):lim⁡h→0−f(0+h)−f(0)h=lim⁡h→0−∣h∣−0h=lim⁡h→0−−hh=−1\lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^-} \frac{|h| - 0}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1
  • Right-hand derivative (RHD):lim⁡h→0+f(0+h)−f(0)h=lim⁡h→0+∣h∣−0h=lim⁡h→0+hh=1\lim_{h \to 0^+} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^+} \frac{|h| - 0}{h} = \lim_{h \to 0^+} \frac{h}{h} = 1

Since LHD≠RHD\text{LHD} \neq \text{RHD} at x=0x = 0, the derivative does not exist at x=0x = 0. Geometrically, the graph of y=∣x∣y = |x| has a sharp corner at (0,0)(0,0).

Therefore, the function is continuous but not differentiable in the interval [−1,1][-1, 1].

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Calculus: Limits, Continuity, Differentiability questions