How does $-[-\pi]$ equal 4?

299 Views Asked by At

For Christmas I got a math watch and for 4 it was $-[-\pi]$. I know that $\pi$ does not equal 4 so how does $-[-\pi]$ equal 4? Thank you.

3

There are 3 best solutions below

10
On BEST ANSWER

$[x]$ is the floor of $x$, the largest integer less than or equal to $x$. For example $[4.6]=4$, $[7]=7$ and $[-67.4]=-68$.

So $-[-\pi]=-(-4)=4$

0
On

Well... $[ x ]$ gives the largest integer $\leq x$. That is, $[ x ] = \sup\{z : z \in \mathbb{Z}, z\leq x\}$ if one likes to complicate things. Anyway, it's rather straightforward to prove your claim: $$- [ - \pi ] = - [ -3.1415\ldots\, ] = - (-4) = 4$$

0
On

Hint: By definition, $x=[x]+\{x\}.$ By convention, $\{x\}\ge0$.