B Does changing the equation of a function require a new function name?

  • B
  • Thread starter Thread starter Abu
  • Start date Start date
  • Tags Tags
    Beginner Function
AI Thread Summary
Changing the equation of a function typically warrants a new function name to avoid confusion, especially when the transformation alters the graph significantly, such as a vertical stretch. For example, if f(x) = x^2 is modified to g(x) = 2x^2, it is advisable to use g(x) to represent the new function. The notation f(2x) does not accurately reflect the transformation since it leads to f(2x) = 4x^2, which is different from the original function. It is important to distinguish between the function itself and its graphical representation, as changes in scaling or transformations can create new functions. Therefore, using distinct names for modified functions enhances clarity in mathematical communication.
Abu
Messages
39
Reaction score
1
Hi everyone. I'm getting slightly confused about the general function notation used. I was wondering if the name of the function were to change if there was an edit to the equation.

What I mean is let's say we have the graph f(x) = x^2. If I were to vertically stretch this equation by a factor of 2, would I still identify it as f(x), or instead g(x) because now it is an entirely new graph that doesn't follow the original equation of f(x) = x^2... instead, it could be:
f(x) = 2x^2
g(x) = 2x^2
f(2x) = 2x^2

Do all of these work and I am just overthinking it? I am inclined to say that the last two are correct and the first one is incorrect because it directly contradicts the statement that f(x) = x^2
Thanks.
Note: this is not a homework question, just didn't know how to clearly explain my question any other way.
 
Mathematics news on Phys.org
I think you should use a new function name. Unless you are done with the original f(x) and don't need it anymore.
Sometimes people get confused by f(x) = something, then what to do with f(2x).
Try this. Use f(z) = z2, instead. Now what is f(2x) ?. Just substitute 2x everywhere you see a z: So f(2x) = (2x)2 = 4(x2), not 2(x2)
The z is just a placeholder. You can have f(α), f(ω), f(θ), etc.
 
Abu said:
Hi everyone. I'm getting slightly confused about the general function notation used. I was wondering if the name of the function were to change if there was an edit to the equation.

What I mean is let's say we have the graph f(x) = x^2. If I were to vertically stretch this equation by a factor of 2, would I still identify it as f(x), or instead g(x) because now it is an entirely new graph that doesn't follow the original equation of f(x) = x^2... instead, it could be:
f(x) = 2x^2
g(x) = 2x^2
f(2x) = 2x^2

Do all of these work and I am just overthinking it? I am inclined to say that the last two are correct and the first one is incorrect because it directly contradicts the statement that f(x) = x^2
You are correct that the first equation is simply wrong. For exactly the reason you give. If f(x) = x2 then f(x) is not 2x2.

The second equation is also correct. To stretch a graph vertically, you can double every function value. The doubled function, g, would indeed be given by g(x) = 2x2.

The third equation is incorrect. if f(x) = x2 then f(2x) = (2x)2 = 4x2
 
scottdave said:
I think you should use a new function name. Unless you are done with the original f(x) and don't need it anymore.
Sometimes people get confused by f(x) = something, then what to do with f(2x).
Try this. Use f(z) = z2, instead. Now what is f(2x) ?. Just substitute 2x everywhere you see a z: So f(2x) = (2x)2 = 4(x2), not 2(x2)

jbriggs444 said:
The third equation is incorrect. if f(x) = x2 then f(2x) = (2x)2 = 4x2

Ah okay. Thank you two so much! Really silly mistake on the third one now that I look back on it...

So to clarify, if the statement is f(x) = x^2, all this means is that whatever is put into the brackets of f(x), it must follow the x^2 after it. It is okay to use variations of f(x) to explain multiple graphs (that include the x^2), but it is not recommendable because the repeated f can be distracting or confusing, which is why it was better to say g(x).
Am I correct on this?

Thank you!
 
Last edited:
Abu said:
Hi everyone. I'm getting slightly confused about the general function notation used. I was wondering if the name of the function were to change if there was an edit to the equation.

What I mean is let's say we have the graph f(x) = x^2. If I were to vertically stretch this equation by a factor of 2, would I still identify it as f(x), or instead g(x) because now it is an entirely new graph that doesn't follow the original equation of f(x) = x^2... instead, it could be:
f(x) = 2x^2
g(x) = 2x^2
f(2x) = 2x^2

Do all of these work and I am just overthinking it? I am inclined to say that the last two are correct and the first one is incorrect because it directly contradicts the statement that f(x) = x^2
Thanks.
Note: this is not a homework question, just didn't know how to clearly explain my question any other way.
A function is a mapping of one entity to another. So ##f\, : \,x \mapsto x^2## which we abbreviate by ##f(x)=x^2## is a function. A graph is a geometric object, here a curve in a plane. The plane is given by ##\mathbb{R}^2=\{(x,y)\,\vert \,x\in \mathbb{R},y\in \mathbb{R}\}## and the curve is a set of points in this plane, namely ##\{(x,y)\,\vert \,x\in \mathbb{R},y=f(x)\}## which we can write shorter as ##\{(x,f(x))\,\vert \,x \in \mathbb{R}\}##. So these are two different views on ##x \to x^2##.

As if this wasn't enough, you also mix up the scaling of your drawing into the question. When you say "stretch", then what exactly do you stretch? If it is the drawing, e.g. by changing the scales, then nothing will change. It only looks differently as you changed the measures.

If you stretch the variable, say by a factor two, then you get a new variable ##u=g(x)=\frac{1}{2} x## which gives you twice as much space if you will. But what exactly happens is, that you changed coordinates ##f(u)=f(g(x))=(\frac{1}{2}x)^2=\frac{1}{4}x^2=u^2##. So the function ##f## is still ##u \mapsto u^2## but as a function of ##x## we have ##f \circ g\, : \,x \mapsto \frac{1}{4}x^2## which you must respect, if you still want to draw it in the same ##(x,y)-##plane. If you rub out ##x## and write it ##u##, nothing will change geometrically, but they are different coordinates now. The function "map a number to its square" which we called ##f## hasn't changed, only the coordinates.

The same goes for the ##y-##coordinate, when you change ##y=f(x)=2v## as in your example. So in any case it is important to distinguish the function itself from its graphical representation and the scaling of the axis.
 
  • Like
Likes Abu
fresh_42 said:
A function is a mapping of one entity to another. So ##f\, : \,x \mapsto x^2## which we abbreviate by ##f(x)=x^2## is a function. A graph is a geometric object, here a curve in a plane. The plane is given by ##\mathbb{R}^2=\{(x,y)\,\vert \,x\in \mathbb{R},y\in \mathbb{R}\}## and the curve is a set of points in this plane, namely ##\{(x,y)\,\vert \,x\in \mathbb{R},y=f(x)\}## which we can write shorter as ##\{(x,f(x))\,\vert \,x \in \mathbb{R}\}##. So these are two different views on ##x \to x^2##.

As if this wasn't enough, you also mix up the scaling of your drawing into the question. When you say "stretch", then what exactly do you stretch? If it is the drawing, e.g. by changing the scales, then nothing will change. It only looks differently as you changed the measures.

If you stretch the variable, say by a factor two, then you get a new variable ##u=g(x)=\frac{1}{2} x## which gives you twice as much space if you will. But what exactly happens is, that you changed coordinates ##f(u)=f(g(x))=(\frac{1}{2}x)^2=\frac{1}{4}x^2=u^2##. So the function ##f## is still ##u \mapsto u^2## but as a function of ##x## we have ##f \circ g\, : \,x \mapsto \frac{1}{4}x^2## which you must respect, if you still want to draw it in the same ##(x,y)-##plane. If you rub out ##x## and write it ##u##, nothing will change geometrically, but they are different coordinates now. The function "map a number to its square" which we called ##f## hasn't changed, only the coordinates.

The same goes for the ##y-##coordinate, when you change ##y=f(x)=2v## as in your example. So in any case it is important to distinguish the function itself from its graphical representation and the scaling of the axis.
Wow, thanks for your reply! I understand now that I should have been more clear in my statement and accurately distinguish what I was referring to.

On a side note... I was also thinking that there are limits to what you can express with one function notation. For example, if I were to say f(x) = √x, and I wanted to vertically stretch the variable by a factor of two, it would look like this:
2√x
There is no way I can show that in the form f(x) because I can't just change a variable in this case to get 2√x. Therefore, I would need to identify a new function, and say g(x) = 2√x.

Am I correct that there are limits to what you can show with one function name, as denoted by the example mentioned?
Thanks so much everyone.
 
You can change the function ##f## to a new function ##g=2\cdot f## or the scaling on the ##y-##axis, i.e. stretch only the image. It's like counting one or two boxes on the paper to equal one. But here you actually get a new function. I hope you meant what you wrote, as ##f(x)=\sqrt{x}=+\sqrt{x}## and you have only one half of the parabola, which is correct. Functions can be added, multiplied or stretched:
$$
(f+g)(x) = f(x)+g(x)\, , \,(c\cdot f)(x) = c \cdot f(x) \; , \; (f\cdot g)(x)= f(x) \cdot g(x)
$$
where the last one must not be confused by the consecutive application of the two: ##(f\circ g)(x) = f(g(x))##. So there are quite a few things which can be done with functions. Your example is a stretch, you doubled the function itself and got a new one: twice the first.
 
  • Like
Likes Abu
fresh_42 said:
You can change the function ##f## to a new function ##g=2\cdot f## or the scaling on the ##y-##axis, i.e. stretch only the image. It's like counting one or two boxes on the paper to equal one. But here you actually get a new function. I hope you meant what you wrote, as ##f(x)=\sqrt{x}=+\sqrt{x}## and you have only one half of the parabola, which is correct. Functions can be added, multiplied or stretched:
$$
(f+g)(x) = f(x)+g(x)\, , \,(c\cdot f)(x) = c \cdot f(x) \; , \; (f\cdot g)(x)= f(x) \cdot g(x)
$$
where the last one must not be confused by the consecutive application of the two: ##(f\circ g)(x) = f(g(x))##. So there are quite a few things which can be done with functions. Your example is a stretch, you doubled the function itself and got a new one: twice the first.
Ah okay, so you would need to make a new function and use the letter g instead. Thanks for your help, appreciate it.
 
Back
Top