Computer Sciences > GATE 2026 SET-1 > Calculus
Let f: ℝ → ℝ be defined as follows:
f(x) = (|x|/2 − x)(x − |x|/2)

Which of the following statements is/are true?
A
f has a local maximum
B
f has a local minimum
C
f′ is continuous over ℝ
D
f′ is not differentiable over ℝ

Correct : a,c,d

First simplify f(x) by splitting into cases based on the sign of x.
For x ≥ 0: |x| = x, so f(x) = (x/2 − x)(x − x/2) = (−x/2)(x/2) = −x2/4
For x ≤ 0: |x| = −x, so f(x) = (−x/2 − x)(x + x/2) = (−3x/2)(3x/2) = −9x2/4
Both pieces give f(0) = 0, confirming continuity at the origin.
Option A — True: f has a local maximum
For all x ≠ 0, f(x) is negative (both −x2/4 and −9x2/4 are negative for x ≠ 0), while f(0) = 0. So f(0) = 0 is strictly greater than f(x) for all nearby x ≠ 0. Therefore x = 0 is a local maximum.
Option B — False: f has no local minimum
For x > 0, f(x) = −x2/4 is strictly decreasing toward −∞. For x < 0, f(x) = −9x2/4 also decreases toward −∞ as x moves away from 0. Neither branch has a turning point below zero. There is no local minimum anywhere.
Option C — True: f′ is continuous over ℝ
For x > 0: f′(x) = −x/2. For x < 0: f′(x) = −9x/2. At x = 0, the left-hand derivative = limx→0⁻(−9x/2) = 0 and the right-hand derivative = limx→0⁺(−x/2) = 0. Both equal zero, so f′(0) = 0 and f′ is continuous everywhere.
Option D — True: f′ is not differentiable over ℝ
f′(x) = −9x/2 for x < 0 and f′(x) = −x/2 for x > 0. The derivative of f′ from the left at 0 is −9/2 and from the right is −1/2. Since these differ, f′ is not differentiable at x = 0.
Correct answer: A, C, D ✓

Similar Questions

Consider the functions I. e-x II. x2 - sin x III. &radic;x^3+1 Which of the above functions is/are increasing everywhere in [0, 1] ?
#298 MCQ
Let f(x) be a continuous function from R to R such that f(x) = 1 - f(2-x) Which one of the following options is the CORRECT value of ∫02f(x)dx?
#904 MCQ
Let f(x) = x3 + 15x2 - 33x - 36 be a real-valued function. Which of the following statements is/are TRUE?
#963 MSQ

Related Topics

piecewise function absolute value calculus GATE 2026 GATE CS 2026 Set-1 Q49 f(x) absolute value local maximum GATE f prime continuous not differentiable GATE engineering mathematics calculus GATE 2026 local maximum piecewise function zero GATE

Unique Visitor Count

Total Unique Visitors

Loading......