ceiling and floor functions with powers

444 Views Asked by At

I have tried to prove this all day but couldn't come up with a convincing solution. Please i need help on how to prove this. Thanks

$\lfloor n^{1/k}\rfloor$+1 =$\lceil(n+1)^{1/k}\rceil$ where k is positive integer

1

There are 1 best solutions below

3
On

Suppose first that $n=m^k$ for some integer $m$; then $n^{1/k}=m$, and we need to show that

$$m+1=\left\lceil(m^k+1)^{1/k}\right\rceil$$

or, equivalently, that

$$m<(m^k+1)^{1/k}\le m+1\;.$$

Take $k$-th powers: this in turn is equivalent to

$$m^k<m^k+1\le(m+1)^k\;,$$

which is certainly true for all $k\in\Bbb Z^+$.

Now assume that $n^{1/k}$ is not an integer. Then

$$\left\lfloor n^{1/k}\right\rfloor+1=\left\lceil n^{1/k}\right\rceil\le\left\lceil(n+1)^{1/k}\right\rceil\;.$$

Let $m=\left\lceil n^{1/k}\right\rceil=\left\lfloor n^{1/k}\right\rfloor+1$, and suppose that $m<\left\lceil(n+1)^{1/k}\right\rceil$; then $n^{1/k}<m<(n+1)^{1/k}$, so $n<m^k<n+1$. But $m^k$ is an integer, and $n$ and $n+1$ are consecutive integers, so this is impossible. Thus,

$$\left\lfloor n^{1/k}\right\rfloor+1=\left\lceil(n+1)^{1/k}\right\rceil$$

in this case as well.