Let g:[−2,2]→R be defined as g(x)=|x+1|(|x|+|1−x|). Then
A
g(x) is continuous for all x∈[−2,2].
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
g(x) is not differentiable at three points in [−2,2].
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
g(x) attains the least value equal to 0 for x∈[−2,2].
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
g(x) attains the greatest value equal to 9 for x∈[−2,2].
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is Dg(x) attains the greatest value equal to 9 for x∈[−2,2]. g(x)=⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩(x+1)(2x−1),−2≤x<−1−(x+1)(2x−1),−1≤x<0(x+1),0≤x<1(x+1)(2x−1),1≤x≤2
From the graph, it is clear that g(x) is continuous for all x∈[−2,2]. g(x) is not differentiable at x=−1,0,1 i.e., three points in [−2,2]. g(x) attains the least value equal to 0 at x=−1. g(x) attains the greatest value equal to 9 at x=2.