Let f: R → R be defined as follows: f(x) = ((|x|)/(2) - x ) (x - (|x|)/(2) ) Which of the following statements is/are true?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2026 Set 1 · Q46
Time
Select all that applyOne or more correct
Solution
Official answer: A) f has a local maximum; C) f' is continuous over R; D) f' is not differentiable over R
CalculusWe simplify the function by expanding:
Evaluating for the two cases of :
For , :
For , :
Local Extrema (Options A and B):
For all $x
e 0$, $f(x) < 0$, and at $x = 0$, $f(0) = 0$.- Thus, for all , which means has a global (and local) maximum at .
- as , so has no local minimum.
- Therefore, (A) is true and (B) is false.
Continuity of (Option C):
For :
For :
At :
Since and , is continuous everywhere on .
Therefore, (C) is true.
Differentiability of (Option D):
The right-hand derivative of at is .
The left-hand derivative of at is .
Since the left-hand and right-hand derivatives do not match at , is not differentiable at .
Therefore, is not differentiable over , making (D) true.
Thus, statements A, C, and D are correct.
Try the question first, then check your work.
Examiner trap
Rewrite as and analyze the piecewise definitions for and .
This Calculus previous year question is Q46 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Calculus in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Calculus PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Calculus has 40 GATE CSE PYQs across 25 papers from 2011 to 2026. This is the only 2-mark MSQ among them, and GATE CSE 2026 Set 1 has 2.
How GATE tests CalculusIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.