Skip to content
GATEiit

GATE EC 2025 Q5: Plot of f(x) = -|x|/x for non-zero real x

Syllabus topic: Data interpretation: bar graphs, pie charts and other graphs, 2- and 3-dimensional plots, maps and tables

Question

Which one of the following plots represents f(x)=−∣x∣x, where x is a non-zero real number?

Note: The figures shown are representative.

Four candidate plots of f(x) against x, labelled (A) to (D). (A): a horizontal line at height 1 for x < 0 (endpoint marked (0,1)) and a horizontal line at height -1 for x > 0 (endpoint marked (0,-1)). (B): a horizontal line at -1 for x < 0 (marked (0,-1)) and at +1 for x > 0 (marked (0,1)). (C): two vertical spikes, one going up from (-1,0) and one going down from (1,0), zero elsewhere. (D): a hyperbola-like curve, rising towards +infinity as x approaches 0 from the left (near (0,1)) and coming up from -infinity just right of 0 (near (0,-1)), approaching the x-axis for large |x|.
Tap the figure to enlarge

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: A (official GATE 2025 final answer key)

Concept used: Sign function: ∣x∣x equals +1 for x>0 and −1 for x<0, so its negative is a step that is +1 on the left and −1 on the right.

Concept notes

Loading notes…

First step: Evaluate f(x) separately for x>0 (where ∣x∣=x) and for x<0 (where ∣x∣=−x), then match the two constant values to a plot.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Data interpretation: bar graphs, pie charts and other graphs, 2- and 3-dimensional plots, maps and tables

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2025 EC question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key