The set of all real value(s) of a for which function f(x)={2x,−1≤x≤0−3x+a,0<x≤2 has a local maxima at x=0, is
A
(−∞,0]
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
(−∞,2)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
(0,∞)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
ϕ
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A(−∞,0] Given : f(x)={2x,−1≤x≤0−3x+a,0<x≤2
For local maxima at x=0: f(0−h)<f(0)>f(0+h) as h→0+ ⇒2(0−h)<0 and −3(0+h)+a<0 as h→0+ ⇒−2h<0 and a<3h as h→0+ ⇒a∈R and a≤0 ∴a∈(−∞,0]