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

Could I please be helped with the graphs for the following functions:

$$y=\lceil \tan x \rceil, \quad y=\tan (\lceil x \rceil), \quad y=\lceil \tan (\lceil x \rceil) \rceil$$

I have been able to form the graphs for the sine and cosine functions based on the fundamentals of the greatest integer function. However I am having problems with $\tan$ and $\cot$ graphs.

share|cite|improve this question
What do square parens mean? – Kaster Jul 5 '14 at 7:00
@fantini, it's still the same, pls use \lceil \rceil – Vikram Jul 5 '14 at 7:11
I've changed to ceiling then, adding parentheses to avoid confusion. – Mark Fantini Jul 5 '14 at 7:13
What do you mean 'How to draw the graphs'? – harogaston Jul 5 '14 at 7:19
Yeah, I know they still remain the same... could I please be helped with their graphs? I mean where should the original graphs be modified so that get these movements! – Shamayeta Jul 5 '14 at 7:19

Start with a graph of $\tan x$. For $\lceil\tan x\rceil$, mark all points of $\tan x$ where the $y$ coordinate is integer. The graph of $\lceil\tan x\rceil$ is a staircase with these points as right ends (because $\tan$ is monotonically increasing ).

For $\tan\lceil x\rceil$, mark th epoints in $\tan x$ with integer $x$ coordinate instead. Again, thes points mark the right ends of the staorcase steps (even across the poles).

For $\bigl\lceil \tan\lceil x\rceil\bigr\rceil$, start with the previous graph and move the steps up to the next integer $y$.

share|cite|improve this answer
THanks...this works...May I please ask what the situation would be in case we have a box attached to y too in addition to the RHS? – Shamayeta Jul 5 '14 at 7:38

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.