Find the domain of f(x) = cotx + cot–1 x.

Now the domain of cot x is


While the domain of cot–1x is [0,π ]


The union of these two will give the domain of f(x)


[0,π]


= [0,π]


The domain of f(x) is [0,π]


2