My attempt to understand horizontal transformations of functions

Click For Summary
SUMMARY

This discussion focuses on the horizontal transformations of functions, specifically analyzing the function transformation from f(x) to f(2x + 1). The key transformations include a horizontal compression by a factor of 2 and a leftward shift by 1/2 unit. The incorrect manipulation of equations was highlighted, emphasizing that f(2x + 1) cannot be equated to f(x) directly. The relationship between inverse functions and horizontal transformations was also examined, concluding that inverse functions reflect across the line y = x rather than directly relating to horizontal shifts.

PREREQUISITES
  • Understanding of function transformations, including translations and compressions.
  • Familiarity with algebraic manipulation of functions.
  • Knowledge of inverse functions and their graphical representations.
  • Basic graphing skills for visualizing function transformations.
NEXT STEPS
  • Study the properties of function transformations, focusing on horizontal and vertical shifts.
  • Learn about the graphical representation of inverse functions and their properties.
  • Explore specific examples of function transformations using quadratic functions like f(x) = x^2.
  • Investigate the relationship between function composition and transformations in detail.
USEFUL FOR

Mathematics students, educators, and anyone interested in understanding function transformations and their applications in algebra and calculus.

logicgate
Messages
13
Reaction score
2
TL;DR
I just want to know if my attempt is valid and correct. If it's not, then how can I improve it to make it better.
So assuming I have a graph of a parent function f(x) and I want to graph for example the function f(2x+1). I need to find a way to manipulate the function f(x) to make it look like the function f(2x+1).
For the parent function f(x) I have coordinates of (x , y).
And for the function f(2x+1) I have coordinates of (???, y).
Since both functions have the y coordinate the same, I can equate both functions : f(2x+1) = f(x).
My goal is to manipulate both sides so that the new function f(2x+1) becomes the same as the parent function.
I begin with subtracting one from both sides : f(2x) = f(x-1)
Then divide both sides by 2 : f(x) = f((x-1)/2)
This tells me that the x-coordinate of f(2x + 1) is (x-1)/2
Which means that if I want to move from parent function to f(2x+1), from every point on parent function I have to move one step to the left then divide by 2 to get into the function f(2x+1)
Is my approach valid ?
 
Mathematics news on Phys.org
You should recognise that ##f(2x+1)## is a new function, which is a composition of ##f## and the function ##2x + 1##. I would call this function ##g(x) = f(2x+1)##.

Then ##g(0) = f(1)## and we see that ##g## is ##f## shifted to the left.. Also, ##g(1) = f(3)##, so ##g## is a compressed version of ##f## (horizontally compressed by a factor of 2).

That seems a conceptually clearer way to look at it. Using ##f## for both functions leads to a conceptual tangle.
 
Last edited:
logicgate said:
So assuming I have a graph of a parent function f(x) and I want to graph for example the function f(2x+1).
f(2x + 1) = f(2(x + 1/2)). Here we have two transformations of the graph of y = f(x): a compression toward the y-axis by a factor of 2, and a translation (a rigid shift) to the left by 1/2 unit. These transformations must be "built into" the graph of y = f(x) in that order.

Using a specific example of ##f(x) = x^2##, y = f(2x) results in a thinner (i.e., compressed toward the y-axis version of the graph of y = f(x).
The graph of y = f(2(x + 1/2)) shifts all the points of the graph of y = f(2x) to the left by 1/2 unit. This can be easily verified.

Checking with a few points -- (0, 0), (1, 1), and (2, 4) lie on the graph of ##y = f(x) = x^2##.
From the work above, the graph of ##y = f(2x) = 4x^2## should contain (0, 0), (1, 4), and (2, 16).

Similarly, the graph of ##y = f(2x + 1) = f(2(x + 1/2))## should contain (-1/2, 0), (1/2, 4), and (3/2, 16). One can verify that these are points on the latter graph by noting that ##f(2x + 1) = 4x^2 + 4x + 1## and substituting the three x-values of the sample points into the ##4x^2 + 4x + 1## expression to find the corresponding y-values.
 
  • Like
Likes   Reactions: PeroK
logicgate said:
I begin with subtracting one from both sides : f(2x) = f(x-1)
Then divide both sides by 2 : f(x) = f((x-1)/2)
Neither of these is correct. First, you've started with an equation that isn't true; namely, f(x) = f(2x + 1). As pointed out by @PeroK, this is the wrong way of looking at things. Second, adding -1 to both sides doesn't result in the equation you showed. ##f(2x+ 1) - 1 \ne f(2x)##. The algebra simply doesn't work that way. For example, is ##\sqrt{2*4 + 1} - 1 = \sqrt 8##?

Similarly, your second equation is also wrong. ##\frac 1 2 f(2x) \ne f(x)##. For example, is \frac 1 2 (2 * 2)^2 = 2^2##?
 
Thanks for the answer. I have a question : Do inverse functions relate to horizontal transformations of graphs ?
Like for example the function |x-1| is treated as |x| shifted one unit to the right. Is it because the inverse of x-1 is x + 1 ?
 
logicgate said:
Thanks for the answer. I have a question : Do inverse functions relate to horizontal transformations of graphs ?
Like for example the function |x-1| is treated as |x| shifted one unit to the right. Is it because the inverse of x-1 is x + 1 ?
Inverse functions graphically are related by swapping the x and y axes.
 
logicgate said:
Do inverse functions relate to horizontal transformations of graphs ?
In general, no. Assuming that y = f(x) has an inverse, the graph of ##y = f^{-1}(x)## is the reflection across the line y = x of the graph of y = f(x). Your examples of y = x - 1 and y = x + 1 are reflections of each other across the line y = x.
 
  • Like
Likes   Reactions: PeroK

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 53 ·
2
Replies
53
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K