The number of integral values of k belonging to 0,2∪5,∞ such that the equation kcosx−3sinx=k+1 possess a solution is
kcosx−3sinx=k+1⇒kk2+9cosx−3k2+9sinx=k+1k2+9
⇒cosx+ϕ=k+1k2+9, where tanϕ=3k
⇒−1≤k+1k2+9≤1 ∵-1≤cosx+ϕ≤1
⇒k+12≤k2+9 ⇒ 2k+1≤9 ⇒ k≤4 ∴In 0,2∪5,∞, k takes the integer values 0,1,2 only.