Question
Consider a function on . The value of at which the function attains a maximum, and the maximum value of the function are:
Official answer and solution
- Official answer
- C
- From
- Official GATE 2015 answer key
Solution
Analyze the absolute value function over the closed interval .
For any real number , the absolute value satisfies , with equality holding if and only if .
Since , subtracting a non-negative quantity from 1 reaches its maximum value when the subtracted quantity is minimized.
Thus, the minimum of is 0, achieved at .
Evaluating at gives:
For any other point in , , so . Thus, the maximum is attained at , and the maximum value is 1.
C
Confusing the point at which the maximum occurs () with the maximum value ().
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 2
- Question
- 3 of 65, printed as GA Q.3
- Section
- General Aptitude
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.