Re-scaling Functions under the Same Axes

Click For Summary
To plot the functions f(x, y) and g(px, qy) on the same graph, it is suggested to redefine g in terms of the original variables, leading to h(x, y) = g(px, qy). This approach allows for dual scales on the x and y axes, aligning tick marks for f and the transformed g. The discussion emphasizes the need for clarity regarding whether the graph is 3D, as f(x, y) implies a surface representation. There is confusion about the mapping of g, specifically whether it should represent g(u, v) or g(pu, qv). Ultimately, understanding the correct mapping is crucial for accurate graphing.
ecastro
Messages
249
Reaction score
8
Consider two functions ##f\left(x, y\right)## and ##g\left(px, qy\right)##, where ##p## and ##q## are known. How can I plot the two functions on the same graph (i.e. the same axes)? The function ##f\left(x, y\right)## will have axes with values ##x## and ##y##, while the other will have axes with values ##px## and ##qy##. Should the function ##g\left(px, qy\right)## have its ##x## and ##y## values as ##\frac{x}{p}## and ##\frac{y}{q}##, respectively?
 
Mathematics news on Phys.org
This is a 3D graph you are drawing, right?

Why not just plot the functions ##f(x,y)## and ##h(x,y)## where ##h## is defined by ##h(x,y)\equiv g(px,qy)##?

That's effectively what you'll be plotting anyway if you use dual scales on the x and y axes where the x-axis tick mark for ##x## for the ##f## graph is the same as for ##\frac{x}{p}## for the ##g## graph (and for y-axis ##y\to \frac{y}{q}##). Having two dual scales on two axes of a 3D graph is getting just a bit too busy.
 
I don't quite understand... Sorry. :confused:
 
Is it a 3D graph you are drawing? You describe your functions as ##f(x,y)##, which implies three dimensions, so that ##f(x,y)## is graphed as a curved surface whose height above the x-y plane is given by ##z=f(x,y)##. Is that what you are doing?

If not, then what are you trying to say when you write that you want to graph ##f(x,y)##?
 
andrewkirk said:
Is it a 3D graph you are drawing? You describe your functions as ##f(x,y)##, which implies three dimensions, so that ##f(x,y)## is graphed as a curved surface whose height above the x-y plane is given by ##z=f(y)##. Is that what you are doing?

If not, then what are you trying to say when you write that you want to graph ##f(x,y)##?

Yes, it's a 3D graph.
 
What do you mean by 'the function ##g(px,qy)##'? A function is a map from one set (the domain) to another (the range). In your case it looks like the domain is ##\mathbb{R}\times\mathbb{R}## (ie the set of all ordered pairs of real numbers) and the range is ##\mathbb{R}##. That much is clear.

But which of the following is the map that you want to graph?

1. The map that, for an element of the domain identified by the ordered pair of real numbers ##(u,v)##, maps to an element in the range that is the real number ##g(u,v)##;
OR
2. The map that, for an element of the domain identified by the ordered pair of real numbers ##(u,v)##, maps to an element in the range that is the real number ##g(pu,qv)##.
 
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 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 0 ·
Replies
0
Views
587
  • · Replies 13 ·
Replies
13
Views
946