Q.

If f(x)={a|x|+x2-2(sin|x|)(cos|x|)x, x0b, x=0  

is continuous at x=0, then a+b is equal to  [2026]

1 0  
2 4  
3 2  
4 1  

Ans.

(3)

f(x)={a|x|+x2-2sin|x|cos|x|x,x0b,x=0

For continuity:

limx0-f(x)=limx0+f(x)=f(0)

limx0-ah+h2-2(sinh)cosh-h

=limx0+ah+h2-2(sinh)coshh

or  -a+2=a-2=b

2a=4

a=2,  b=0

 a+b=2