Let f(x)=x+2|x+1|+2|x−1|. If f(x)=k has exactly one real solution, then the value of k is
A
3
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A3 f(x)=⎧⎨⎩x−2(x+1)−2(x−1),x<−1x+2(x+1)−2(x−1),−1≤x≤1x+2(x+1)+2(x−1),x>1
f(x)=⎧⎨⎩−3x,x<−1x+4,−1≤x≤15x,x>1
f(x)=k has exactly one real solution, if y=k touches the graph of y=f(x) where y=f(x) attains the minimum value. The minimum value of f is 3. Hence, k=3