Let f(x)={x,0≤x≤1−x2+k,1<x≤2 has a local maximum at x=1. Then the number of non-negative integral value(s) of k is
Open in App
Solution
Given : f(x)={x,0≤x≤1−x2+k,1<x≤2
For maximum at x=1: f(1−h)<f(1)>f(1+h) as h→0+ ⇒1−h<1 and −(1+h)2+k<1 as h→0+ ⇒−h<0 and k<1+(1+h2+2h) as h→0+ ⇒−h<0 and k<2+h2+2h as h→0+ ⇒k∈R and k≤2 ∴k≤2
So, total non-negative integral values of k are 3.