Skip to content
Official PYQ · 2015

GATE CS 2015 Set 3 QGA-8 — General Aptitude

Explain with AI

Choose the most appropriate equation for the function drawn as thick line, in the plot below.

Choose one option
View worked solution

Answer: B

To find the correct equation, we can analyze the behavior of the function xx in terms of yy by splitting the absolute value term ∣y∣|y| into two cases: y≥0y \ge 0 and y<0y < 0.

Let's evaluate option (B): x=−(y−∣y∣)x = -(y - |y|)

  • Case 1: y≥0y \ge 0
    Here, ∣y∣=y|y| = y. Substituting this into the equation: x=−(y−y)=0x = -(y - y) = 0 This represents the positive yy-axis (the vertical line segment where x=0x = 0 for y≥0y \ge 0).
  • Case 2: y<0y < 0
    Here, ∣y∣=−y|y| = -y. Substituting this into the equation: x=−(y−(−y))=−2yx = -(y - (-y)) = -2y Since yy is negative, x=−2yx = -2y is positive. This represents a straight line in the fourth quadrant (positive xx, negative yy) starting at the origin.

This piecewise behavior (the positive yy-axis combined with a line in the fourth quadrant) perfectly matches the thick line shown in the plot.

For comparison, the behavior of the other options is as follows:

  • Option (A) x=y−∣y∣x = y - |y|: For y≥0y \ge 0, x=0x = 0. For y<0y < 0, x=2yx = 2y (extends into the third quadrant).
  • Option (C) x=y+∣y∣x = y + |y|: For y≥0y \ge 0, x=2yx = 2y (extends into the first quadrant). For y<0y < 0, x=0x = 0.
  • Option (D) x=−(y+∣y∣)x = -(y + |y|): For y≥0y \ge 0, x=−2yx = -2y (extends into the second quadrant). For y<0y < 0, x=0x = 0.

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

Published
Report a correction
Keep exploringMore General Aptitude questions