4

Im trying to think about bijective function from the closed interval [a,b] to the closed interval [c,d]. When $a,b,c,d \in \mathbb{R}$ and $a < b,\;c < d$.

Is there such a function?

MTLaurentys
  • 313
  • 1
  • 13
NM2
  • 721
  • 4
    Try a linear function which takes $a$ to $c$ and $b$ to $d$. – user134824 May 04 '16 at 12:54
  • But I dont know that $ b-a = d-c$. – NM2 May 04 '16 at 12:54
  • 1
    $f(x)=2x$ maps $[0,1]$ bijectively to $[0,2]$, for example. The length is not a barrier. – lulu May 04 '16 at 12:55
  • There is such a function. If I walk from $c$ to $d$ starting at time $a$ and finishing at time $b$, then the function from time to location is surjective from $[a,b]$ to $[c,d]$. If I don't stop or double back, it's bijective. As best I can tell, my walking is continuous. – Callus - Reinstate Monica May 04 '16 at 12:55
  • @Noam: If appropriate, could you please say more about how you think of a "bijection", and what are your doubts regarding the multiple comments and answer? – Andrew D. Hwang May 04 '16 at 13:39

2 Answers2

12

The idea is to construct a line whose domain is $[a, b]$ and whose range is $[c, d]$

Hence, two points on the line will be $$ p_0 = (a, c) \\ p_1 = (b, d) $$

Since we want $a \to c$, $b \to d$, and a straight line between them.

The slope of such a line will be $$ m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{d - c}{b - a}$$

Using point slope form of a line,

$$ y - y_1 = m \left ( x - x_1 \right) \\ y - c = \frac{d - c}{b - a} \left (x - a\right) $$

Is the required equation.

  • Thanks.But, can you explain why do you consider $a,b$ as $x_{1},x_{2}$ and the same for $c,d$ to $y_{1},y_{2}$ ? – NM2 May 04 '16 at 12:57
  • Because when I'm deciding to draw a line, I need to have two points on the line for it to be defined. The choice of which was $1$ and which was $2$ is arbitrary. You can swap $x_1, x_2$ and $y_1, y_2$ and the answer will remain the same – Siddharth Bhat May 04 '16 at 12:58
  • I know this theory. But , i still dont understand how did you decide that you have to draw a line. I dont know to $b−a=d−c$. – NM2 May 04 '16 at 13:00
  • Oh, that is called as the "slope" of the line. I would recommend you to read a little bit on linear equations and slope of a line to gain the necessary background on this :) – Siddharth Bhat May 04 '16 at 13:02
  • I repeat,I know what is the slope of a line,and i know the theroy of this :). But,How by two lines ($a\rightarrow c$,$b\rightarrow d$) you decided that you can case all the range $[c,d]$ ? – NM2 May 04 '16 at 13:05
  • 1
    $a \to b$ and $c \to d$ are not lines, they are *points - $(a, b)$ and $(c, d)$ are two points on the plane of $\mathbb{R}^2$. Now, since you want a bijective function between them, the simplest, most straightforward choice is a line (because I know that a straight is guaranteed to be invertible, since it is a one-to-one mapping). I could have chosen to create a much more complex mapping of $[a, b]$ onto $[c, d]$, but I picked the simplest one. You could have, indeed, construct a quadratic or cubic polynomial for the purpose. But why bother when a straight line suffices? – Siddharth Bhat May 04 '16 at 13:15
  • @Noam - are you okay with the answer? do you want me to explain it more? – Siddharth Bhat May 04 '16 at 13:31
  • First of all, Thanks a lot. I understand what you have done with the $R^{2}$ plane. But, i still don't understand the conversation from 1d to 2d, and the reason behind it. – NM2 May 04 '16 at 13:37
  • We are not converting from 1-D to 2-D. Your problem of mapping $[a, b]$ to $[c, d]$ can be visualised in two ways - either taking points to points uniquely, or drawing a curve in 2-D, that uniquely associates points from the interval $[a, b]$ to points on the interval $[c, d]$ – Siddharth Bhat May 04 '16 at 13:41
  • Now I got it ! Thanks a lot !!! – NM2 May 04 '16 at 13:47
0

$f(x)=(d-c)\frac{x-a}{b-a}+c$ is the (linear) function

user37238
  • 4,017