Which of the following represents the domain and range of y = cot x?

Answer:
option 4 is right
Step-by-step explanation:
Consider the trignometric function y =cotx
Since cot x has sin x in denominator, cot x is undefined whenever sinx =0
OR whenever x =n π, for any integer n, cot x is undefined
Hence domain =(-∞,∞) ,x≠nπ
Range = -∞<y<∞
since cotx can take any real values
The graph y=cotx will be a periodic function discontinuous at all integral multiples of pi and undefined for integral multiples of pi.
It is not defined for x=0 also
It passes through (pi/4,1) (npi/2,0)
i.e. x intercepts are odd multiples of pi/2
and it takes value 1 for pi/4, 5pi/4, .....