Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Find a rational function $f: \mathbb R \rightarrow \mathbb R$ with range $f(\mathbb R)=[-1,1]$

(Thus $f(x)=\frac{P(x)}{Q(x)}$ for all $x \in \mathbb R$ for suitable polynomials P and Q, where Q has no real root).

I'm not entirely sure where on this question to start? Any suggestions would be appreciated.

share|cite|improve this question

How about the following function? $$\dfrac{2x}{x^2+1}$$

share|cite|improve this answer
EDIT: Oops, my bad – Hagen von Eitzen Nov 21 '12 at 17:24
$f(1)=2/2=1$ and $f(-1)=-2/2=1$, so it's $[-1,1]$. – Max Morin Nov 21 '12 at 17:29

One way to significantly restrict the range is by using functions like $x \mapsto x^2$ : its range is half of the real numbers. By composing this with a rational function sending $0,1,\infty$ to $-1,0,1$, you get what you want.

For example, $x \mapsto \frac{x-1}{x+1}$ does this, so after composing we get : $x \mapsto \frac{x^2-1}{x^2+1}$

share|cite|improve this answer
Not quite. There is no $x \in \mathbb{R}$ such that $f(x) = 1$. – user17762 Nov 21 '12 at 17:38
right. I was too hasty – mercio Nov 21 '12 at 17:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.