Questions tagged [fractional-part]

For questions related to the fractional part of a number.

If $r$ is a real number, we can define the floor function $$\lfloor r \rfloor = \max \{n \in \mathbb{Z} : n \le r\}$$

to be the greatest integer which is not larger than $r$. The fractional part of $r$, frequently written $\{r\}$ or $r \bmod 1$, is then defined to be $$\{r\} = r - \lfloor r \rfloor$$

The fractional part of any number is thus a non-negative real number which is strictly less than $1$. The fractional part of a number is rational if and only if the number itself is rational.

Fractional parts satisfy the inequality $$\{x+y\}\leq\{x\}+\{y\},$$ with equality iff the RHS is less than $1$. Another useful fact is that, for $x\in\mathbb R\setminus\mathbb Q$, the sequence $$a_n=\{nx\}$$ is equidistributed (and in particular, dense) in $[0,1]$.

Questions involving fractional parts can often be tagged with as well.

Reference: Fractional part.

323 questions
3
votes
1 answer

Addition of Fractional Part Function

my question is simple. For some reason I can't seem to deduce whether the statement: {x} + {y} = {x+y} Is true, where $x,y \in \mathbb{Q} $ and {x} denotes the fractional part of x. This really is a somewhat stupid question and I give thanks to…
user208786
2
votes
1 answer

When is $\{x\}=\frac{1}{x}$?

Let $\{x\}$ denote the fractional part of $x$. For example, $\{1.23\}=0.23$. I’m looking for positive real solutions to $\{x\}=\frac{1}{x}$. Right off the bat, I recognised that $\phi=\frac{1+\sqrt5}{2}$ is a solution, as $\phi-1=\frac{1}{\phi}$. I…
Heisenberg
  • 107
  • 1
  • 12
1
vote
3 answers

Solving $x^2-3-\operatorname{frac}(x)=0$

Problem. Solve the equation $$ x^2 - 3 - \operatorname{frac}(x) = 0 $$ I tried to solve this question by moving $3$ to the other side: $$x^2 - \operatorname{frac}(x) = 3$$ Since the fractional part of R.H.S. is…
1
vote
3 answers

Finding all rational values of $x$ for which $256(x + 15\{x\})\{x\} = 2021$

Find all rational numbers $x$ that satisfy $$256(x + 15\{x\})\{x\} = 2021$$ where $\{x\}$ is the fractional part of $x.$ I first substituted in $x - \lfloor x \rfloor = \{x\},$ which gave me $$256(16x - 15\lfloor x \rfloor)(x - \lfloor x \rfloor) =…
1
vote
4 answers

Simple math: how to extract the fractional portion from a decimal

Mathematically how do I get the cents from a dollar value (ex: $21.99$)? As a programmer, I would simply convert to a string and grab everything after the decimal... but I would think this would be doable with pure math, or maybe I have too much…
kevcoder
  • 113
  • 1
  • 1
  • 5
1
vote
2 answers

Extract integer part of a number

I want to extract the integer part of number. For example, I have the number 2.754 and the expected result would be 2. Can i do it in a mathematical way?
Dan Dan
  • 135
0
votes
1 answer

Find number of x such that $\{x\}+\{x^2\}=1,x\in(0,20). $Where $\{\}$ denotes fractional part.

Find number of x such that $\{x\}+\{x^2\}=1,x\in(0,20).$Where $\{\}$ denotes fractional part. I did it by lot of case work searching for some simpler solution
Makar
  • 2,267
0
votes
1 answer

How do I the fractional approximation of a fraction?

I am studying a Computer Organization course, but in the slides it is mentioned that I have to convert fraction numbers to IEEE floating point representation. To do that first, I have to convert the irrational number to fractional representation,…
Online User
  • 115
  • 8
-1
votes
4 answers

find out the fractional part for $\sqrt{25} + \sqrt{24}$

I would like to know if there is any more elegant solution than the extraction of the root or the approximation. I tried something like this: $\sqrt{25}$ + $\sqrt{24}$ = $( \sqrt3 + \sqrt2 )^2$ But how can I get the fractional part from here?
Akhtubir
  • 309
  • 1
  • 10
-2
votes
1 answer

Let $F_1$ and $F_2$ be the fractional parts of $(44-\sqrt 2017)^{2017}$ and $(44+ \sqrt 2017)^{2017}$ respectively. Then $F_1+F_2$ lies between?

The fractional part of a real number x is $x –[x]$, where $[x]$ is the greatest integer less than or equal to $x.$ Let $F_1$ and $F_2$ be the fractional parts of $(44-\sqrt 2017)^{2017}$ and $(44+ \sqrt 2017)^{2017}$ respectively. Then $F_1+F_2$…
Tapi
  • 1,688