The GATE Grind

GATE 2015 CS (CS2) – Question 5

General Aptitude · Quantitative Aptitude: Algebra, Geometry and Mensuration · 1 mark · Multiple choice

For f(x)=1−|x| on −1≤x≤1, give the maximizing x and maximum value, respectively.

  1. 0,−1
  2. −1,0
  3. 0,1
  4. −1,2

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) 0,1

Explanation

Since |x| is nonnegative, 1−|x| is at most one. Equality holds exactly at x=0, which lies in the given interval. Therefore the required pair is zero,one, C.

More Quantitative Aptitude: Algebra, Geometry and Mensuration questions

All Quantitative Aptitude: Algebra, Geometry and Mensuration questions →