Calculate Fractional Part of $x$ in $x^2+x=1$

  • MHB
  • Thread starter juantheron
  • Start date
  • Tags
    fractional
In summary, the equation \(\{x^2\}+\{x\} = 1\) has two solutions, namely \(x=-\frac{\sqrt{5}+1}{2}\) and \(x=\frac{\sqrt{5}-1}{2}\). There is ambiguity in the definition of \(\{x\}\) for negative values of \(x\), but if we take \(\{x\}=x-\lfloor x \rfloor\) for all \(x\in\mathbb{R}\), then both solutions satisfy the original equation. Additionally, for any positive integer \(n\), the positive solution of \(x^2+x=n\) will also satisfy \(\{x^2
  • #1
juantheron
247
1
Calculate $x$ in $\{x^2\}+\{x\} = 1$

where $\{x\} = $ fractional part of $x$
 
Mathematics news on Phys.org
  • #2
jacks said:
Calculate $x$ in $\{x^2\}+\{x\} = 1$

where $\{x\} = $ fractional part of $x$

Hi jacks, :)

According to Wolfram, both solutions of the quadratic equation, \(x^2+x=1\) are solutions of \(\{x^2\}+\{x\} = 1\). That is,

\[x=-\frac{\sqrt{5}+1}{2}\mbox{ and }x=\frac{\sqrt{5}-1}{2}\]

are solutions of \(\{x^2\}+\{x\} = 1\).

Kind Regards,
Sudharaka.
 
  • #3
Sudharaka said:
Hi jacks, :)

According to Wolfram, both solutions of the quadratic equation, \(x^2+x=1\) are solutions of \(\{x^2\}+\{x\} = 1\). That is,

\[x=-\frac{\sqrt{5}+1}{2}\mbox{ and }x=\frac{\sqrt{5}-1}{2}\]

are solutions of \(\{x^2\}+\{x\} = 1\).

Kind Regards,
Sudharaka.

The first solution does not satisfy the original equation. I'm not exactly sure what WolframAlpha is doing there, but I don't think it's solving the original equation. The second solution does satisfy the original equation.

[EDIT]: See posts below for more clarification.
 
Last edited:
  • #4
  • #5
Forgetting for the moment any problems about negative values of $x$, notice that for any positive integer $n$, the positive solution of the equation $x^2+x = n$ will satisfy $\{x^2\} + \{x\} = 1$, unless that solution is an integer.
 
  • #6
Ackbach said:
The first solution does not satisfy the original equation. I'm not exactly sure what WolframAlpha is doing there, but I don't think it's solving the original equation. The second solution does satisfy the original equation.

[EDIT]: See posts below for more clarification.

Yes, as chisigma had mentioned there is an ambiguity in the definition, however taking \(\{x\}=x- \lfloor x \rfloor\,\forall x\in\Re\), both solutions satisfy the original equation.

Opalg said:
Forgetting for the moment any problems about negative values of $x$, notice that for any positive integer $n$, the positive solution of the equation $x^2+x = n$ will satisfy $\{x^2\} + \{x\} = 1$, unless that solution is an integer.

Indeed, but just for the curiosity, can you explain how you thought about this. :)

If we take, \(\{x\}=x- \lfloor x \rfloor\,\forall x\in\Re\) as the definition of \(\{x\}\), I think that all the roots(except integers) of the equations \(x^2+x = n\) are solutions of the original equation. That is,

\[x=\frac{-1\pm\sqrt{4\,n+1}}{2}\mbox{ where }n\in\mathbb{Z}\, \wedge \,x\notin\mathbb{Z}\]

are solutions of \(\{x^2\} + \{x\} = 1\). Furthermore by looking at this, I feel that these seem to be the only solutions of the original equation.

Kind Regards,
Sudharaka.
 
  • #7

Related to Calculate Fractional Part of $x$ in $x^2+x=1$

1. What is the fractional part of $x$ in the equation $x^2+x=1$?

The fractional part of $x$ in this equation is the decimal part of $x$ after subtracting the integer part. This can be calculated by subtracting the integer part of $x$ from $x$ itself.

2. How do you solve for the fractional part of $x$ in the equation $x^2+x=1$?

To solve for the fractional part of $x$, first solve the equation $x^2+x=1$ for $x$. Then subtract the integer part of $x$ from $x$ itself to find the fractional part.

3. Is there a specific method for calculating the fractional part of $x$ in the equation $x^2+x=1$?

Yes, the fractional part of $x$ can be calculated by subtracting the integer part of $x$ from $x$ itself. This method works for any equation where the variable $x$ is present.

4. Can the fractional part of $x$ be a negative number in the equation $x^2+x=1$?

Yes, the fractional part of $x$ can be negative in this equation. This occurs when the integer part of $x$ is larger than $x$ itself.

5. What is the purpose of calculating the fractional part of $x$ in the equation $x^2+x=1$?

The purpose of calculating the fractional part of $x$ in this equation is to find the decimal value of $x$. This can be useful in various mathematical and scientific calculations.

Similar threads

  • General Math
Replies
1
Views
796
  • General Math
Replies
5
Views
927
  • General Math
Replies
8
Views
330
  • General Math
Replies
4
Views
2K
Replies
1
Views
760
Replies
4
Views
570
  • General Math
Replies
7
Views
657
  • Math POTW for University Students
Replies
3
Views
680
  • General Math
Replies
7
Views
2K
  • General Math
Replies
5
Views
643
Back
Top