MHB Solving equation of floor function

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Function
Click For Summary
The equation $\left\lfloor{\sqrt{x+10}}\right\rfloor-1= \dfrac{x}{2}$ requires finding integer solutions for $x$. The floor function indicates that $\sqrt{x+10}$ must be an integer, leading to the condition that $x + 10$ is a perfect square. By substituting $k = \left\lfloor{\sqrt{x+10}}\right\rfloor$, the equation can be rewritten as $k - 1 = \frac{x}{2}$, allowing for further simplification. Solving these conditions reveals specific values of $x$ that satisfy the original equation. Ultimately, the discussion emphasizes the importance of understanding floor functions in solving such equations.
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Solve the equation

$\left\lfloor{\sqrt{x+10}}\right\rfloor-1= \dfrac{x}{2}$
 
Mathematics news on Phys.org
anemone said:
Solve the equation

$\left\lfloor{\sqrt{x+10}}\right\rfloor-1= \dfrac{x}{2}$

x has to be even integer else x/2 shall not be integer and 1+ x/2 >=0 so x >=-2
so let x = 2y
$\left\lfloor{\sqrt{2y+10}}\right\rfloor= y+ 1$
or $y+1 \le \left\lfloor{\sqrt{2y+10}}\right\rfloor\lt y+ 2$
or $(y+1)^2 \le 2y + 10 \lt (y+ 2)^2$
or $y^2+2y+ 1 \le 2y + 10 \lt (y^2+4y + 4)$
so $y^2 \le 9 $ and $y^2 +2y \ge 6$ so y is positive
and $ y \le 3 $ and $y^2 + 2y +1 \ge 7$ so y
so $y \le 3$ and $(y+1)^2 \ge 7$
so $y \le 3$ and $y+1 \gt \sqrt{7}$
y = 2 or 3 hence x = 4 or 6
 
Last edited:
kaliprasad said:
x has to be even integer else x/2 shall not be integer and 1+ x/2 >=0 so x >=-2
so let x = 2y
$\left\lfloor{\sqrt{2y+10}}\right\rfloor= y+ 1$
or $y+1 \le \left\lfloor{\sqrt{2y+10}}\right\rfloor\lt y+ 2$
or $(y+1)^2 \le 2y + 10 \lt (y+ 2)^2$
or $y^2+2y+ 1 \le 2y + 10 \lt (y^2+4y + 4)$
so $y^2 \le 9 $ and $y^2 +2y \ge 6$ so y is positive
and $ y \le 3 $ and $y^2 + 2y +1 \ge 7$ so y
so $y \le 3$ and $(y+1)^2 \ge 7$
so $y \le 3$ and $y+1 \gt \sqrt{7}$
y = 2 or 3 hence x = 4 or 6

Well done, kaliprasad!

My solution:

First, note that $x$ has to be an even number and $x\ge -2$. Second, we have $\sqrt{x+10}\ge \left\lfloor{\sqrt{x+10}}\right\rfloor$ and so we get $\sqrt{x+10}\ge \dfrac{x}{2}+1$, solving it for the range of $x$ yields $-6\le x\le 6$.

Checking out for each case ($x=-2,\,0,\,2,\,4,\,6$) in that range gives us the solutions where $x=4,\,6$.