Question

Let f:R→Rf: \mathbb{R} \rightarrow \mathbb{R} be defined as follows:

f(x)=(∣x∣2−x)(x−∣x∣2)f(x) = \left(\frac{|x|}{2} - x\right)\left(x - \frac{|x|}{2}\right)

Which of the following statements is/are true?

Choose every correct option
Official answer and solution
Official answer
A, C and D
From
Official GATE 2026 answer key

Solution

Rewrite f(x)f(x) explicitly on x≥0x \ge 0 and x<0x < 0 and examine its extrema, first derivative f′f', and second derivative f′′f'' at x=0x = 0.

Notice that f(x)=−(x−∣x∣2)2f(x) = -\left(x - \frac{|x|}{2}\right)^2. Splitting into x≥0x \ge 0 (∣x∣=x|x| = x) and x<0x < 0 (∣x∣=−x|x| = -x):

f(x)={−x24,x≥0−9x24,x<0f(x) = \begin{cases} -\frac{x^2}{4}, & x \ge 0 \\ -\frac{9x^2}{4}, & x < 0 \end{cases}
  1. Extrema: Since f(0)=0f(0) = 0 and f(x)<0f(x) < 0 for all x≠0x \neq 0, ff has a strict local (and global) maximum at x=0x = 0 (Option (A) is true) and is strictly increasing for x<0x < 0 and strictly decreasing for x>0x > 0, so it has no local minimum (Option (B) is false).
  2. First derivative f′(x)f'(x):
    f′(x)={−x2,x≥0−9x2,x<0f'(x) = \begin{cases} -\frac{x}{2}, & x \ge 0 \\ -\frac{9x}{2}, & x < 0 \end{cases}
    Since lim⁡x→0+f′(x)=0=lim⁡x→0−f′(x)=f′(0)\lim_{x \to 0^+} f'(x) = 0 = \lim_{x \to 0^-} f'(x) = f'(0), f′f' is continuous over all of R\mathbb{R} (Option (C) is true).
  3. Differentiability of f′f': At x=0x = 0, the right-hand derivative of f′f' is −1/2-1/2 while the left-hand derivative of f′f' is −9/2-9/2. Since −1/2≠−9/2-1/2 \neq -9/2, f′f' is not differentiable at x=0x = 0 (Option (D) is true).
Final answer

Options (A), (C), (D)

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2026 Computer Science and Information Technology - Session 1 (CS1)
Question
46 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.