Skip to main content

GATE CSE 2015Quantitative Aptitude › Functions & OptimizationVerified

GATE CSE 2015 PYQ: Choose the most appropriate equation for the function drawn as thick line, in the plot below.

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

GATE CSE 2015 Functions & Optimization diagram: Choose the most appropriate equation for the function drawn

  1. A
    x=y−∣y∣x=y-|y|
  2. B
    x=−(y−∣y∣)x=-(y-|y|)
    Correct answer
  3. C
    x=y+∣y∣x=y+|y|
  4. D
    x=−(y+∣y∣)x=-(y+|y|)

Answer

(B) x = − ( y − ∣ y ∣ ) x=-(y-|y|) x = − ( y − ∣ y ∣ )

Approach

Use the piecewise definition of |y| and test the observed points/behavior of the thick line. The plot shows that for y>0 the line has x=0, and it passes through the point (x,y)=(2,-1). Substituting these values into each option identifies the correct equation.

The thick line satisfies x=0 when y>0 and passes through (2,-1). Only equation B, x=-(y-|y|), gives both behaviors.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.