MHB Show that a rational function under some constraint is actually a polynomial.

AI Thread Summary
A rational function \( r(x) \) over \( \mathbb{Q} \) that yields integer values for infinitely many integers \( n \) must be a polynomial in \( \mathbb{Q}[x] \). The proof utilizes Euclid's algorithm to express \( r(x) \) as \( a(x) + \frac{b(x)}{q(x)} \), where \( b(x) \) has a lower degree than \( q(x) \). By selecting \( n \) appropriately, it can be shown that if \( b(x) \) is non-zero, \( r(n) \) cannot be an integer, leading to a contradiction. Consequently, \( b(x) \) must be zero, confirming that \( r(x) \) is indeed a polynomial. This conclusion solidifies the relationship between rational functions and polynomial behavior under the given constraints.
caffeinemachine
Gold Member
MHB
Messages
799
Reaction score
15
Let $r(x)\in\mathbb Q(x)$ be a rational function over $\mathbb Q$. Assume $r(n)$ is an integer for infinitely many integers $n$. Then show that $r(x)$ is a polynomial in $\mathbb Q[x]$.
 
Mathematics news on Phys.org
caffeinemachine said:
Let $r(x)\in\mathbb Q(x)$ be a rational function over $\mathbb Q$. Assume $r(n)$ is an integer for infinitely many integers $n$. Then show that $r(x)$ is a polynomial in $\mathbb Q[x]$.
Let $r(x) = \dfrac{p(x)}{q(x)}$, where $p(x),\,q(x)\in \mathbb Q[x]$. Apply Euclid's algorithm in $\mathbb Q[x]$ to see that $p(x) = a(x)q(x) + b(x)$, where $a(x),\,b(x) \in\mathbb Q[x]$ and $\deg(b(x)) < \deg(q(x)).$ Then $$r(x) = a(x) + \frac{b(x)}{q(x)}.$$ Now choose $n$ to be a multiple of the lcm of the denominators of the coefficients of $a(x)$. Then each term in the polynomial $a(n)$ is an integer except perhaps the constant term. Let $c$ be the fractional part of the constant term. If $b(x)$ is not the zero polynomial then by choosing $n$ large enough we can ensure that $|b(n)/q(n)|$ is nonzero, less than $1$ (because $\deg(b(x)) < \deg(q(x))$), and $b(n)/q(n)$ is different from $-c$ and $1-c$. That would mean that $r(n)$ is not an integer.

The conclusion is that $b(x)$ must be $0$ and therefore $r(x) = a(x) \in \mathbb{Q}[x]$.
 
Opalg said:
Let $r(x) = \dfrac{p(x)}{q(x)}$, where $p(x),\,q(x)\in \mathbb Q[x]$. Apply Euclid's algorithm in $\mathbb Q[x]$ to see that $p(x) = a(x)q(x) + b(x)$, where $a(x),\,b(x) \in\mathbb Q[x]$ and $\deg(b(x)) < \deg(q(x)).$ Then $$r(x) = a(x) + \frac{b(x)}{q(x)}.$$ Now choose $n$ to be a multiple of the lcm of the denominators of the coefficients of $a(x)$. Then each term in the polynomial $a(n)$ is an integer except perhaps the constant term. Let $c$ be the fractional part of the constant term. If $b(x)$ is not the zero polynomial then by choosing $n$ large enough we can ensure that $|b(n)/q(n)|$ is nonzero, less than $1$ (because $\deg(b(x)) < \deg(q(x))$), and $b(n)/q(n)$ is different from $-c$ and $1-c$. That would mean that $r(n)$ is not an integer.

The conclusion is that $b(x)$ must be $0$ and therefore $r(x) = a(x) \in \mathbb{Q}[x]$.
That's good. Here's mine.Let $r(x)=g(x)/f(x)$ for some $f(x),g(x)\in\mathbb Q[x]$. Clearing the denominators of $f$ and $g$ we can write $r(x)=g_1(x)/f_1(x)$ for some $g_1,f_1\in\mathbb Z[x]$. By hypothesis
\begin{equation*}
\exists N_i\in \mathbb Z\text{ such that } N_{i}<N_{i+1}\text{ and }f_1(N_i)|g_1(N_i)\text{ for all } i>0\tag{1}
\end{equation*}
Now by Euclid we can write $f(x)a(x)+g(x)b(x)=1$ for some $a(x),b(x)\in\mathbb Q[x]$. Clearing the denominators we can write the last equation as
\begin{equation*}
f_1(x)a_1(x)+g_1(x)b_1(x)=n\text{ for a fixed }n\in\mathbb Z\text{ and }a_1(x),b_1(x)\in\mathbb Z[x]\tag{2}
\end{equation*}
But from (1) and (2) we have that $f_1(N_i)|n$ for all $i>0$. Since there are only finitely many factors of $n$ we must have a factor $d$ of $n$ such that $f_1(N_i)=d$ holds for infinitely many $N_i$'s. This is impossible since if this were true then the polynomial $z(x)=f_1(x)-d$ would have infinitely many distinct roots. This furnishes the required contradiction and the proof is complete.$\blacksquare$
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Back
Top