Given x→1lim(2x3−7x2+ax+bsin(3x2−4x+1)−x2+1)=−2...(i)
Putting x=1 in limit we get
⇒x→1lim(2−7+a+bsin0−1+1)=−2 ⇒x→1lim(a+b−50)=−2
For limit to exist a+b−5 should be zero
so a+b−5=0 ⇒a+b=5...(ii)
Now Using L-Hospital in equation (i) we get
x→1lim6x2−14x+acos(3x2−4x+1)(6x−4)−2x=−2
Again putting x=1 we get
⇒x→1lim6−14+a(cos0)×(6−4)−2=−2
⇒x→1lima−80=−2
Again for limit to exist a−8=0⇒a=8
So from equation (ii) we get
8+b=5⇒b=−3
So a−b=8−(−3)=11