The correct option is B a=1,b=0
Given, y=ax+b(x−1)(x−4)
Taking log both side, logy=log(ax+b)−log(x−1)−log(x−4)
Differentiating w.r.t x both side,
dyy.dx=aax+b−1x−1−1x−4
Given turning value at (2,−1)
⇒y′(2)=0⇒a2a+b−12=0⇒b=0
Also the given curve will pass through (2,−1)
⇒−1=2a1.−2⇒a=1