Skip to content

GATE CS 2007 Q1 — Calculus: Limits, Continuity, Differentiability

Explain with AI

Consider the following two statements about the function f(x)=∣x∣f(x)=\left\vert x\right\vert:

  • P. f(x)f(x) is continuous for all real values of xx.
  • Q. f(x)f(x) is differentiable for all real values of xx .

Which of the following is TRUE?

Choose one option
View worked solution

Answer: A

Let us analyze the two statements for the absolute value function f(x)=∣x∣f(x) = |x|:

The function can be written piecewise as:

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

1. Continuity (Statement P)

For any x≠0x \neq 0, f(x)f(x) is a linear polynomial, which is continuous everywhere. 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. Thus, f(x)f(x) is continuous for all real values of xx. Statement P is true.

2. Differentiability (Statement Q)

Let us check the differentiability of f(x)f(x) at the critical point x=0x = 0:

  • Left-Hand Derivative (LHD) at x=0x = 0: lim⁡h→0−f(0+h)−f(0)h=lim⁡h→0−−h−0h=−1\lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^-} \frac{-h - 0}{h} = -1
  • Right-Hand Derivative (RHD) at x=0x = 0: lim⁡h→0+f(0+h)−f(0)h=lim⁡h→0+h−0h=1\lim_{h \to 0^+} \frac{f(0+h) - f(0)}{h} = \lim_{h \to 0^+} \frac{h - 0}{h} = 1

Since LHD≠RHD\text{LHD} \neq \text{RHD} at x=0x = 0, the derivative does not exist at x=0x = 0. Thus, f(x)f(x) is not differentiable for all real values of xx. Statement Q is false.

Hence, P is true and Q is false.

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

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