How to map intervals of Real line

Click For Summary
To map an interval of the real line onto another, a linear function can be used. The general formula is f(x) = (y2 - y1)/(x2 - x1) * (x - x1) + y1, which ensures that any value from the first interval corresponds to a value in the second interval. This mapping works as long as both intervals are finite; complications arise with infinite intervals, where alternative functions like exponential or tangent may be necessary. A proof demonstrates that the mapping preserves the order of values between the intervals. Overall, linear maps are effective for most cases of interval mapping.
Diffy
Messages
441
Reaction score
0
Can someone explain how to create a function that will map an interval of the real line onto some other interval?

Is there a general method?

Can you demonstrate? (30 140) to (200, 260)?

Thanks,

Diffy.
 
Mathematics news on Phys.org
try with a linear map.
 
Let x1 be in (30, 140) and let x2 be in (200, 260)
then f: x1 -> x2
f(x) = (6/11)(x-30) + 200

Something like that?

Will this always work for (x1, x2) -> (y1, y2)?

f(x) = (y2 - y1)/(x2 - x1) * (x - x1) + y1
 
Indeed, let us prove it as follws:

1. For any X so that x1<=X<=x2, we have y1<=f(X)<=y2
Proof:
We clearly have :
y1=(y2-y1)/(x2-x1)*(x1-x1)+y1<=f(X)<=(y2-y1)/(x2-x1)*(x2-x1)+y1=y2

2. Similarly, we can show that for any Y so that y1<=Y<=y2, then there exists some X, so that x1<=X<=x2 AND that f(X)=Y.

We get that X=(Y-y1)/(y2-y1)*(x2-x1)+x1. Since 0<(Y-y1)/(y2-y1)<1, that result follows immediately.
 
Thank you.
 
In most cases, you can use a linear map. Some trickiness results if one of the intervals is infinite or half-infinite. In that case, you might have to use exp(), tan(), or their inverses.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
15K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K