Q.

If f(x)={a|x|+x2-2(sin|x|)(cos|x|)x, x≠0b, 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,x≠0b,x=0

For continuity:

limx→0-f(x)=limx→0+f(x)=f(0)

limx→0-ah+h2-2(sinh)cosh-h

=limx→0+ah+h2-2(sinh)coshh

or  -a+2=a-2=b

2a=4

a=2,  b=0

∴ a+b=2