Let f:(0,π)→R be a function given by
f(x)={(87)tan 8xtan 7x,0<x<π2a-8,x=π2(1+|cot x|)ba|tan x|,π2<x<π
where a,b∈Z. If f is continuous at x=π2, then a2+b2 is equal to _____. [2024]
(81)
Since, f is continuous at x=π2
∴ limx→π-2f(x)=f(π2)=limx→π+2f(x)
Now, limx→π-2(87)(tan8xtan7x)
=limh→0(87)tan(4π-8h)tan(3π+π2-7h)=limh→0(87)tan(-8h)cot(7h)=(87)0=1
⇒a-8=1⇒a=9
Also, limπ→π2+f(x)=limπ→π2(1+|cotx|)ba|tanx|
=limh→0(1-tanh)-b9coth
=limh→0(1-tanh)(1tanh)·(tanh)·(-b9coth)=eb9=1⇒b=0
Hence, a2+b2=81+0=81