The question is wrong and doesn't make sense.  
sin-1(x) + cos-1(x) = pi/2 for all   -1<=x<=+1.  So it only makes sense for the case k = pi/2, and x can be anything in the domain of sin-1 & cos-1.
(You can see that the LHS is constant  by differentiating LHS and seeing that it equals zero.)