Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Find the domain of $$f(x) =\lfloor\cos x\rfloor\sin\left(\frac{\pi}{\lfloor x-1\rfloor}\right)$$

where $\lfloor\cdot\rfloor$ is greatest integer function.

Working : Since $\lfloor\cos x\rfloor$ is defined for all real. Only part is the denominator in $\sin\left(\frac{\pi}{\lfloor x-1\rfloor}\right)$ which is $\lfloor x-1\rfloor$ so this part should not be equal to $0$ so that the function should be defined. Also the domain of $\sin x$ is $-\frac{\pi}{2} \leq x \leq \frac{\pi}{2}$ Therefore: $-\frac{\pi}{2} \leq \frac{\pi}{\lfloor x-1\rfloor} \leq \frac{\pi}{2}$ Please guide further to solve this..

share|cite|improve this question
The domain of $\sin x$ is $\mathbb{R}$. – Javier Mar 8 '13 at 14:51

The domain of sin is $\mathbb{R}$. So,$[x-1]\neq0$ as you yourself noted. To solve this we note that if $[x-1]=0$, $x\in(0,1]$

So, $\mathbb {R}\setminus(0,1]$ is the domain.

share|cite|improve this answer
but this is not the answer.. – Sachin Sharmaa Mar 9 '13 at 8:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.