Videos
What are the floor and ceiling functions in mathematics?
Give examples of floor and ceiling functions.
What is the main difference between the floor function and the ceiling function?
I recently found out about the floor and ceiling functions. Why would you want to round a number up or down to the nearest integer?
When I truncate a number what my brain actually does is ignoring the fractional part of said number. But its not doing any real math.
I understand I can express a truncate function with conditional floor and cealing functions... but thats is not what I need.
I need someone to teach me how to arrive from a number to its integer using only mathematical operations and not logical functions.
I need to know...
Plz help me someone...
If you need 11 foos, and they are sold in packages of 3, you need to buy $\lceil \frac{11}3 \rceil$ packages.
The floor function is, among other things, of great use for arithmetic functions, like the Moebius $\mu$-function, or Mangoldt $\Lambda$-function. We have $$ \sum_{n\le x}\mu(n)\left\lfloor \frac{x}{n}\right\rfloor =1,\quad \sum_{n\le x}\Lambda(n)\left\lfloor \frac{x}{n}\right\rfloor =\log (\lfloor x\rfloor !) $$ for example, and there are numerous similar results using floor and ceiling function. (Here $\mu(p)=-1$ for primes $p$, and $\mu(p_1\ldots p_r)=(-1)^r$ for $r$ different primes, and $\mu(n)=0$ if $n$ is not squarefree).



