Find $x$ in $\lfloor\frac{x-1}{2}\rfloor+\lfloor\frac{x^2-x}{3}\rfloor=x$

  • MHB
  • Thread starter anemone
  • Start date
In summary, the given equation has infinite solutions and cannot be solved algebraically. The best approach is to use trial and error by plugging in different values for x and checking if the equation holds true. This is because the equation is a floor function equation, meaning that it rounds the input to the nearest integer. There is no specific method for solving this type of equation, and it cannot be solved using calculus due to the discrete nature of the floor function.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Find the values of integer $x$ such that $\left\lfloor{\dfrac{x-1}{2}}\right\rfloor+\left\lfloor{\dfrac{x^2-x}{3}}\right\rfloor=x$.
 
Mathematics news on Phys.org
  • #2
anemone said:
Find the values of integer $x$ such that $\left\lfloor{\dfrac{x-1}{2}}\right\rfloor+\left\lfloor{\dfrac{x^2-x}{3}}\right\rfloor=x$.

we take 2 separate cases

case 1) x is odd say 2m+1



then we get

$m+\lfloor\dfrac{2m(2m+1)}{3}\rfloor= 2m+ 1$

or $\lfloor\dfrac{2m(2m+1)}{3}\rfloor= m+ 1$

or $m+1\le \dfrac{2m(2m+1)}{3}\lt m+ 2$

or $3m+3\le 2m(2m+1) \lt m+ 6$

or $ 3 \le 4m^2 -m \lt 6$

m = 1 or = -1 giving x = 3 or -1case 2) x is even say 2mthen we get

$m-1 +\lfloor\dfrac{2m(2m-1)}{3}\rfloor= 2m $

or $\lfloor\dfrac{2m(2m-1)}{3}\rfloor= m+1 $

or $m+1\le \dfrac{2m(2m-1)}{3}\lt m+2 $

or $3\le 4m^2-5m \lt 6$
giving no solution

so solution x = -1 or 3
 
Last edited:
  • #3
kaliprasad said:
we take 2 separate cases

case 1) x is odd say 2m+1



then we get

$m+\lfloor\dfrac{2m(2m+1)}{3}\rfloor= 2m+ 1$

or $\lfloor\dfrac{2m(2m+1)}{3}\rfloor= m+ 1$

or $m+1\le \dfrac{2m(2m+1)}{3}\lt m+ 2$

or $3m+3\le 2m(2m+1) \lt m+ 6$

or $ 3 \le 4m^2 -m \lt 6$

m = 1 or = -1 giving x = 3 or -1case 2) x is even say 2mthen we get

$m-1 +\lfloor\dfrac{2m(2m-1)}{3}\rfloor= 2m $

or $\lfloor\dfrac{2m(2m-1)}{3}\rfloor= m+1 $

or $m+1\le \dfrac{2m(2m-1)}{3}\lt m+2 $

or $3\le 4m^2-5m \lt 6$
giving m = 2 or x = 4so solution x = -1 or 3 or 4

Hi kaliprasad,

Thanks for participating but one of the solutions doesn't satisfy the original equation...(Mmm)
 
  • #4
anemone said:
Hi kaliprasad,

Thanks for participating but one of the solutions doesn't satisfy the original equation...(Mmm)

my mistake
m =2 and x = 4 is the wrong solution
I shall correct the solution
 
  • #5
Okay, and thanks, kaliprasad, for participating!

My solution:

The given equality can be rewritten as $\left\lfloor{\dfrac{x-1}{2}}\right\rfloor+\left\lfloor{\dfrac{x(x-1)}{3}}\right\rfloor=x$.

For $x≥1$, we know all the three terms $\left\lfloor{\dfrac{x-1}{2}}\right\rfloor,\,\left\lfloor{\dfrac{x(x-1)}{3}}\right\rfloor$ and $x$ are positive terms therefore $x≥\dfrac{(x² − x)}{3}$ must be correct, solving it for the range of $x$ we get $1≤x≤4$, and $x=3$ is the only possible answer.

A check shows that $x=0$ is clearly out of the question to be a solution to the problem.

Whereas for $x<0$, all the three terms are negative and this leads to $-\left(\dfrac{x-1}{2}\right)≥-x$ must hold, solving it for the range of $x$ we get $x≥-1$, therefore $x=-1$ is the only answer. Thus, the integers $x$ that satisfy the given equality are $-1$ and $3$.
 
  • #6
anemone said:
Okay, and thanks, kaliprasad, for participating!

My solution:

Whereas for $x≤0$, all the three terms are negative.

for x = 0 the 2nd term is zero
 
  • #7
kaliprasad said:
for x = 0 the 2nd term is zero

Ops, you're absolutely right...:eek:
 
  • #8
Here's another solution.
20zp469.png
 
  • #9
johng said:
Here's another solution.

Thanks johng for participating! Your method is good and your solutions are correct.:)
 

Related to Find $x$ in $\lfloor\frac{x-1}{2}\rfloor+\lfloor\frac{x^2-x}{3}\rfloor=x$

1. What is the value of x in the given equation?

The value of x cannot be determined without more information. The equation is a floor function equation, meaning that it has infinite solutions. The possible solutions can be found by trial and error.

2. How do I solve this equation?

As mentioned before, the equation has infinite solutions and cannot be solved algebraically. The best way to find solutions is by trial and error. You can start by plugging in different values for x and checking if the equation holds true.

3. Why does the equation have infinite solutions?

The equation has infinite solutions because it is a floor function equation. The floor function rounds the input to the nearest integer that is less than or equal to the input. Therefore, the equation is satisfied for any value of x that rounds to the same integer when plugged into both floor functions.

4. Is there a specific method for finding solutions to this type of equation?

No, there is no specific method for finding solutions to floor function equations. As mentioned before, the best approach is to trial and error by plugging in different values for x and checking if the equation holds true.

5. Can this equation be solved using calculus?

No, this equation cannot be solved using calculus. Calculus deals with continuous functions, whereas the floor function is a discrete function. Therefore, the techniques used in calculus cannot be applied to this equation.

Similar threads

Replies
2
Views
779
Replies
9
Views
2K
Replies
1
Views
796
Replies
1
Views
961
Replies
1
Views
739
Replies
2
Views
2K
Replies
1
Views
1K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
2
Views
1K
Back
Top