GATE / CS ARCHIVE

GATE CSE 2015 SET 2 / QUESTION 5

GATE CSE 2015 Set 2 Q5

General Aptitude · Algebra, Equations & Number Patterns · Full GATE CSE 2015 Set 2 paper

GATE 2015 Set 2, Q5 1 mark · MCQ
Report issue

Algebra, Equations & Number Patterns

Question 5, GATE 2015: For f(x)=1−|x| on −1≤x≤1, choose maximizing x and maximum value: A(0, −1), B(−1, 0), C(0, 1), D(−1, 2).
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Since |x|≥0, 1−|x|≤1, with equality at x=0. Hence maximum 1 at 0, C.

Absolute value is minimized at 0 and is always nonnegative. Subtracting it from 1 therefore gives a value at most 1, with equality exactly at x=0. Equivalently, the graph is the inverted V formed by 1+x on the negative half and 1−x on the positive half. Both pieces meet at the maximum(0, 1); the endpoints have value 0.

Original paper, page 28 · Answer key