Vertical and Horizontal Transformation: Definition & Equation

Vertical and Horizontal Transformation: Definition & Equation

Edited By Komal Miglani | Updated on Jul 02, 2025 07:49 PM IST

Understanding how the function transforms is important in mathematics. Functional transformation alters the position and size of the graph of the function. Transformation can be of several types like Horizontal transformation and Vertical transformation. It involves moving graphs up and down and helps the analyst to find different insights thus solving complex problems within no time. This makes the study of functions very easy and breaks down the complexity of analysis.

This Story also Contains
  1. Functions
  2. Function Transformations
  3. What are Function Transformations?
  4. Translation of Functions
  5. Dilation of Functions
  6. Reflections of Functions
  7. Graphing Transformations of Functions
  8. Vertical and Horizontal Transformation
  9. Solved Examples Based on Vertical and Horizontal Transformation
Vertical and Horizontal Transformation: Definition & Equation
Vertical and Horizontal Transformation: Definition & Equation

This article will cover the concept of vertical and horizontal transformations. This concept falls under the broader category of sets relation and function, a crucial chapter in class 11 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination (JEE Main), and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more.

Functions

It can be defined as a relationship between two or more set of information. A relation from a set $A$ to a set $B$ is a function from $A$ to $B$ if every element of set $A$ has one and only one image in set $B$.

OR

$A$ and $B$ are two non-empty sets, then a relation from $ A$ to $B$ is said to be a function if each element $x$ in $A$ is assigned a unique element $f(x)$ in $B$, and it is written as

$f: A ➝ B$ and read as $f$ is mapping from $A$ to $B.$

Function Transformations

This process in simple terms means that the curve representing the graph either "moves to left/right/up/down" or "it expands or compresses" or "it reflects", like any kind of change in its shape and position. For example, the graph of the function $f(x) = x^2 + 10$ is obtained by just moving the graph of $g(x) = x^2$ by $10$ units up. Function transformations are very helpful in graphing the functions just by moving/expanding/compressing/reflecting the curve without actually needing to graph it from scratch. This makes the job of analysis very easy and effective.

What are Function Transformations?

A function transformation either "moves" or "resizes" or "reflects" the graph of the parent function. In other words, it performs mainly 3 functions.There are mainly three types of function transformations:

  • Translation
  • Dilation
  • Reflection

Transformation

Function

Change

Translation
Slides or moves the curve.
position
Dilation
Stretches or shrinks the curve.
size
Reflection
Flips the curve and produces the mirror image.
position
NEET Highest Scoring Chapters & Topics
This ebook serves as a valuable study guide for NEET exams, specifically designed to assist students in light of recent changes and the removal of certain topics from the NEET exam.
Download E-book

Translation of Functions

A translation occurs when every point on a graph moves by the same amount in the same direction, which means that the direction and amount points out towards one way. There are two types of translations of functions.

1. Horizontal translation

In this translation, the function moves to the left side or right side. This changes a function $y = f(x)$ into the form $y = f(x ± k)$, where '$k$' represents the horizontal translation. Conditions:

  • if $k > 0$, then the function moves to the left side by '$k$' units.
  • if $k < 0$, then the function moves to the right by '$k$' units.

2. Vertical Translation

In this translation, the function moves to either up or down. This changes a function $y = f(x)$ into the form $f(x) ± k$, where '$k$' represents the vertical translation. Conditions :

  • if $k > 0$, then the function moves up by '$k$' units.
  • if $k < 0$, then the function moves down by '$k$' units.

Dilation of Functions

A dilation is a stretch or a compression. If a graph undergoes dilation parallel to the x-axis, all the x-values are increased by the same scale factor. Similarly, if it is dilated parallel to the y-axis, all the y-values are increased by the same scale factor. There are two types of dilations.

  • Horizontal Dilation
  • Vertical Dilation

1. Horizontal Dilation

The horizontal dilation of a function either stretches/shrinks the curve horizontally. It changes a function $y = f(x)$ into the form $y = f(kx)$, with a scale factor '$\frac{1}{k}$', parallel to the x-axis. The conditions are as follows:

  • If $k > 1$, then the graph shrinks.
  • If $0 < k < 1$, then the graph stretches..

2. Vertical Dilation

The vertical dilation of a function either stretches/shrinks the curve vertically. It changes a function $y = f(x)$ into the form $y = k f(x)$, with a scale factor '$k$', parallel to the y-axis. The conditions are as follows:

  • If $k > 1$, then the graph stretches.
  • If $0 < k < 1$, then the graph shrinks.

Reflections of Functions

A reflection of a function is just the image of the curve with respect to either x-axis or y-axis. This occurs whenever we see the multiplication of a minus sign happening somewhere in the function. The conditions are as follows:

  • $y = - f(x)$ is the reflection of $y = f(x)$ with respect to the x-axis.
  • $y = f(-x)$ is the reflection of $y = f(x)$ with resepct to the y-axis.

Graphing Transformations of Functions

Identifying the transformation by looking at the original and transformed graphs is easy. But when a graph is given, graphing the function transformation sometimes becomes difficult.So, we can simplify the process more with the following procedure. Here, we are transforming the function $y = f(x)$ to $y = a f(b (x + c)) + d$.

  • Step 1: We note down some coordinates on the original curve that define its shape. i.e., we now know the old x,y coordinates.
  • Step 2: To find the new $x$-coordinate of each point,we just set "$b (x + c) =$ old $x$-coordinate" and solve this for x.
  • Step 3: To find the new $y$-coordinate of each point, we just apply all outside operations (of brackets) on the old $y$-coordinate. i.e., find $ay + d$ to find each new $y$-coordinate where '$y$' is the old $y$-coordinate.

Vertical and Horizontal Transformation

Vertical shift $f(x) → f(x) ± a$

A vertical shift of a function occurs if we add or subtract the constant to the function $y = f(x)$

For $a > 0$, the graph of $y = f(x) + a$ is obtained by shifting the graph of $f(x)$ upwards by $‘a’$ units,

whereas the graph of $y = f(x) − a$ is obtained by shifting the graph of $f(x)$ downwards by ‘$a$’ units.

For Example:

The graph of the function $f(x)=x^2+4$ is the graph off $(x)=x^{\wedge} 2$ shifted up by 4 units;

The graph of the function $f(x)=x^2-4$ is the graph of $f(x)=x^2$ shifted down by $4$ units.

Horizontal shift: $f(x) → f(x±a)$

A horizontal shift of a function occurs if we add or subtract the same constant to each input $x$.

For $a > 0$, the graph of $y = f(x + a)$ is obtained by shifting the graph of $f(x)$ to the left by ‘a’ units.

The graph of $y = f(x − a)$ is obtained by shifting the graph of $f(x)$ to the right by ‘$a$’ units.

For Example:

$f(x) = |x + 3|$

The graph of $f(x) = |x + 3|$ is the graph of $y = |x|$ shifted leftwards by $3$ units. Similarly, the graph of $f(x) = |x − 3|$ is the graph of $y = |x|$ shifted rightward by $3$ units

Recommended Video Based on Vertical and Horizontal Transformation


Solved Examples Based on Vertical and Horizontal Transformation

Example 1: The area bounded by the lines $y=|| x-1|-2|$ and $\mathrm{y}=2$ is

1) $8$

2) $10$

3) $12$

4) $6$

Solution

Given the equation of curve are

$y = ||x-1|-2|$

and, $y = 2$

Plot the curve on the graph

We have to find area of triangle $ACD$ and triangle $BDE$

$\begin{aligned} & \text { Area }=\frac{1}{2} \times 2 \times C D+\frac{1}{2} \times 2 \times D E \\ & \text { Area }=C D+D E=8\end{aligned}$

Example 2: Which of the following is the graph of $y = |x| + 5$?

1)

2)

3)

4)

Solution

As we have learnt in

Vertical and Horizontal Transformation -

For $a > 0$, the graph of $y = f(x) + a$ is obtained by shifting the graph of $y = f(x)$ upwards by ‘$a$’ units

The graph of $y=|x|$

Now to draw the graph of $y=|x|+5$, the graph of $|x|$ is shifted upwards by $5$ units as shown below


Frequently Asked Questions (FAQs)

1. What is the difference between vertical and horizontal dilation functions?

The difference that occurs is because vertical dilations occur when we scale the output of a function, whereas horizontal dilations occur when we scale the input of a function.

2. 

Ans :

3. 

Ans : 

4. 

Ans :

5. 

Ans:

2. What is vertical and horizontal scaling of functions?

A vertical scaling multiplies or divides every y-coordinate by a constant while does not change x-coordinate. A horizontal scaling multiplies or divides every x-coordinate by a constant while leaving the y-coordinate unchanged.

3. What is the difference between vertical and horizontal stretch transformation?

Vertical stretch or shrink occurs when the required function is multiplied by a number. Horizontal stretch or shrink occurs when the input is multiplied by a number.

4. What is horizontal function translation?

Horizontal translations refer to movements of a graph of a function horizontally along the x-axis by changing the x values only and not y values.

5. How to calculate horizontal scale?

 Horizontal scaling of function $f(x)$ is given by $g(x) = ± f(Cx)$.

6. What is a vertical transformation in mathematics?
A vertical transformation is a change to a function that affects its y-values (output). It involves shifting, stretching, or compressing the graph of a function vertically without changing its x-values. This type of transformation alters the height of the graph.
7. How does a horizontal transformation differ from a vertical transformation?
A horizontal transformation affects the x-values (input) of a function, while a vertical transformation affects the y-values (output). Horizontal transformations shift, stretch, or compress the graph left or right, changing its width, while vertical transformations affect the graph's height.
8. What does the equation f(x) + k represent in terms of transformations?
The equation f(x) + k represents a vertical shift of the function f(x). If k is positive, the graph shifts up by k units. If k is negative, the graph shifts down by |k| units. This transformation affects only the y-values of the function.
9. How does multiplying a function by a constant, as in kf(x), affect its graph?
Multiplying a function by a constant k results in a vertical stretch or compression of the graph. If |k| > 1, the graph stretches vertically by a factor of k. If 0 < |k| < 1, the graph compresses vertically by a factor of 1/k. If k is negative, the graph also reflects over the x-axis.
10. What transformation is represented by f(x - h)?
The equation f(x - h) represents a horizontal shift of the function f(x). If h is positive, the graph shifts right by h units. If h is negative, the graph shifts left by |h| units. This transformation affects the x-values of the function.
11. What is the relationship between f(sin(x)) and sin(f(x))?
f(sin(x)) composes f with the sine function, restricting the input of f to [-1, 1] and creating a periodic function. sin(f(x)) applies the sine function to the output of f, creating a function that oscillates between -1 and 1. These transformations are generally not equivalent and can produce very different graphs.
12. How does the transformation f(-x) affect a function's graph?
The transformation f(-x) results in a reflection of the function's graph over the y-axis. It reverses the sign of all x-values, effectively "flipping" the graph horizontally while keeping the y-values the same.
13. What is the difference between f(2x) and 2f(x)?
f(2x) represents a horizontal compression of the graph by a factor of 1/2, making it narrower. 2f(x) represents a vertical stretch of the graph by a factor of 2, making it taller. These transformations affect different aspects of the graph and produce distinct results.
14. How can you identify a vertical reflection from a function's equation?
A vertical reflection is indicated by a negative sign outside the function, as in -f(x). This transformation flips the graph over the x-axis, reversing the sign of all y-values while keeping the x-values the same.
15. What effect does the transformation f(x/2) have on a function's graph?
The transformation f(x/2) results in a horizontal stretch of the function's graph by a factor of 2. It makes the graph wider by doubling the distance between each point and the y-axis, effectively "spreading out" the x-values.
16. How do composite transformations work, such as in 2f(x - 3) + 1?
Composite transformations involve multiple operations applied in a specific order. In 2f(x - 3) + 1, the transformations are applied from inside to outside: first, shift right by 3 units [f(x - 3)], then stretch vertically by a factor of 2 [2f(x - 3)], and finally shift up by 1 unit [+1].
17. Why is the order of transformations important?
The order of transformations is crucial because they are not commutative. Applying transformations in different orders can lead to different final results. Generally, horizontal transformations are applied before vertical ones, and within each category, shifts are typically applied last.
18. How does the absolute value function |f(x)| transform a graph?
The absolute value function |f(x)| "folds" the negative part of the graph over the x-axis. Any part of the original function below the x-axis is reflected above it, creating a V-shaped graph at any x-intercepts. This transformation preserves the shape of the positive part of the function.
19. What is the difference between a rigid and non-rigid transformation?
Rigid transformations preserve the shape and size of the graph, only changing its position or orientation. These include translations (shifts) and reflections. Non-rigid transformations alter the shape or size of the graph, such as stretches, compressions, and dilations.
20. How can you determine if a transformation will affect the domain or range of a function?
Horizontal transformations (involving x) can affect the domain, while vertical transformations (involving y) can affect the range. For example, horizontal shifts change the input values, potentially altering the domain, while vertical stretches or compressions can expand or contract the range.
21. What does it mean when a transformation is described as "inside" or "outside" the function?
An "inside" transformation occurs within the function's parentheses, affecting the input (x-values), such as f(x - 2) or f(2x). An "outside" transformation occurs outside the function's parentheses, affecting the output (y-values), such as f(x) + 3 or 2f(x).
22. How does the reciprocal transformation 1/f(x) affect a function's graph?
The reciprocal transformation 1/f(x) inverts the function, swapping y-values with their reciprocals. This creates a reflection over the line y = x, turns vertical asymptotes into x-intercepts (and vice versa), and can significantly alter the function's shape and behavior.
23. What is the relationship between f(x+h) and f(x-h)?
f(x+h) and f(x-h) represent horizontal shifts in opposite directions. f(x+h) shifts the graph h units to the left, while f(x-h) shifts the graph h units to the right. They are mirror images of each other with respect to the y-axis.
24. How does scaling affect the period of trigonometric functions?
Scaling the input of a trigonometric function, as in f(kx), affects its period. If k > 1, the period decreases (the function completes its cycle faster). If 0 < k < 1, the period increases (the function completes its cycle slower). The new period is calculated as (original period) / |k|.
25. What is the effect of the transformation f(|x|) on a function's graph?
The transformation f(|x|) "folds" the left side of the graph over the y-axis. It creates a mirror image of the right side (x ≥ 0) on the left side (x < 0), effectively making the function symmetric about the y-axis.
26. How do transformations affect the zeros (roots) of a function?
Horizontal transformations directly affect the zeros of a function. A horizontal shift of h units will shift all zeros by h units in the same direction. Vertical transformations generally do not change the x-coordinates of the zeros, but may create or eliminate zeros if they involve vertical shifts.
27. What is the difference between f(x^2) and [f(x)]^2?
f(x^2) composes the original function with x^2, potentially changing its domain and overall shape significantly. [f(x)]^2 squares the output of f(x), always resulting in non-negative y-values and often creating a U-shaped graph (if f(x) crosses the x-axis).
28. How do transformations affect the continuity of a function?
Most transformations preserve the continuity of a function. However, some transformations like the reciprocal (1/f(x)) can introduce discontinuities at points where the original function equals zero. Absolute value transformations can create sharp corners, affecting differentiability but not continuity.
29. What is the effect of combining a horizontal stretch with a vertical compression?
Combining a horizontal stretch with a vertical compression can sometimes result in a graph that looks similar to the original, but with different scaling. For example, f(x/2)/2 stretches the graph horizontally by a factor of 2 and compresses it vertically by a factor of 1/2, maintaining some proportional relationships.
30. How do transformations affect the asymptotes of a function?
Vertical asymptotes are affected by horizontal transformations, shifting left or right accordingly. Horizontal asymptotes are affected by vertical transformations, shifting up or down or being stretched/compressed. Oblique asymptotes can be affected by both types of transformations, changing their position and slope.
31. What is the relationship between f(x) and f(x) + f(-x)?
f(x) + f(-x) creates a function that is always symmetric about the y-axis (an even function). It combines the original function with its reflection over the y-axis, effectively "averaging" the function's behavior on both sides of the y-axis.
32. How does the transformation max(f(x), 0) affect a function's graph?
The transformation max(f(x), 0) replaces all negative y-values of f(x) with zero. This creates a graph that follows f(x) when it's above the x-axis and follows the x-axis when f(x) would be below it, effectively "cutting off" the negative part of the function.
33. What is the geometric interpretation of the transformation f(ax + b) + c?
The transformation f(ax + b) + c represents a sequence of transformations: first, a horizontal compression by a factor of 1/|a| (and reflection if a < 0), then a horizontal shift by -b/a units, and finally a vertical shift by c units. This combines scaling, reflection, and translation in both directions.
34. How do transformations affect the concavity of a function?
Vertical stretches or compressions can change the "steepness" of the concavity but not its direction. Reflections over the x-axis (as in -f(x)) reverse the concavity. Horizontal transformations can affect the interval over which concavity occurs but generally don't change its nature.
35. What is the effect of the transformation |f(x)| on the range of a function?
The transformation |f(x)| ensures that all output values are non-negative. It "folds" any negative part of the range over the x-axis, potentially reducing the range to only non-negative values. This can significantly alter the range, especially for functions that originally included negative values.
36. How do transformations affect the inverse of a function?
Transformations on a function f(x) correspond to "opposite" transformations on its inverse f^(-1)(x). For example, a vertical stretch of f(x) corresponds to a horizontal stretch of f^(-1)(x), and a right shift of f(x) corresponds to an up shift of f^(-1)(x).
37. What is the difference between a dilation and a translation in function transformations?
A dilation involves stretching or compressing a graph, changing its scale but not its position. It's represented by multiplying x or f(x) by a constant. A translation shifts the entire graph without changing its shape or size, represented by adding or subtracting constants to x or f(x).
38. How does the transformation f(x^(1/n)) affect the graph of a function?
The transformation f(x^(1/n)) "stretches" the input horizontally, but non-uniformly. For odd n, it affects the entire domain. For even n, it's only defined for non-negative x, creating a "half" version of the original function, often with a vertical tangent at x=0.
39. What is the effect of the transformation f(e^x) on the domain and range of a function?
The transformation f(e^x) changes the domain to all real numbers (since e^x is always positive) and often compresses the graph horizontally as x increases. The range remains the same as the original function f, but the behavior of the function can change significantly, often becoming asymptotic.
40. How do transformations affect the extrema (maximum and minimum points) of a function?
Vertical transformations directly affect the y-coordinates of extrema: shifts translate them, stretches/compressions scale them. Horizontal transformations affect the x-coordinates: shifts translate them, stretches/compressions scale their distance from the y-axis. The nature of extrema (local vs. global) is generally preserved.
41. How does the transformation f(x) + g(x) relate to the individual functions f(x) and g(x)?
The transformation f(x) + g(x) represents the sum of the two functions, adding their y-values for each x. Graphically, it's like "stacking" the two functions vertically. This can create new behavior, such as new zeros where the functions have equal but opposite values.
42. What is the effect of the transformation f(|x|) + |f(x)| on a function's graph?
This complex transformation combines several effects: f(|x|) creates symmetry about the y-axis, while |f(x)| reflects any negative y-values above the x-axis. The sum of these creates a graph that is both symmetric about the y-axis and always on or above the x-axis.
43. How do transformations affect the end behavior of a function?
Vertical transformations can shift or scale the end behavior but generally don't change its fundamental nature. Horizontal transformations can affect the rate at which end behavior is approached. More complex transformations like reciprocals can radically alter end behavior, potentially changing infinite limits to zero approaches or vice versa.
44. What is the geometric interpretation of the transformation f(x^2 + y^2) in three-dimensional space?
In 3D space, f(x^2 + y^2) creates a surface of revolution. It takes the graph of f and rotates it around the z-axis, with the distance from the z-axis determined by x^2 + y^2. This often creates symmetric, circular contours in the xy-plane.
45. How does the transformation f(x) * g(x) relate to the graphs of f(x) and g(x)?
The transformation f(x) * g(x) represents the product of the two functions. Graphically, it multiplies the y-values of f(x) and g(x) for each x. This can lead to interesting behaviors, such as zeros where either function is zero, and can amplify or diminish certain features of the individual functions.
46. What is the effect of the transformation f(1/x) on a function's graph?
The transformation f(1/x) "inverts" the x-axis, mapping x-values near zero to large x-values and vice versa. This often "flips" the graph horizontally and can introduce asymptotic behavior near x=0. It also typically changes the domain, excluding x=0 and potentially altering which x-values produce real outputs.
47. How do transformations affect the symmetry of a function?
Some transformations preserve symmetry (like vertical stretches), some destroy it (like horizontal shifts), and some create new symmetries (like f(|x|) creating symmetry about the y-axis). Odd symmetry can be changed to even symmetry by squaring the function, for example. Understanding how transformations affect symmetry is key to predicting a transformed function's behavior.
48. What is the relationship between the transformations ln(f(x)) and e^(f(x))?
ln(f(x)) and e^(f(x)) are inverse transformations of each other. ln(f(x)) compresses the positive range of f(x) into all real numbers, while e^(f(x)) expands the entire range of f(x) into positive numbers only. They can dramatically alter the shape and behavior of the original function, often in opposite ways.
49. How does the transformation f(x mod n) affect periodic functions?
The transformation f(x mod n) creates a function that repeats every n units along the x-axis. For non-periodic functions, this introduces periodicity. For already periodic functions, it can change the period or create more complex repetitive patterns, effectively "wrapping" the function within intervals of length n.
50. What is the effect of the transformation f(x^n) for increasing values of n?
As n increases, f(x^n) tends to "flatten" the graph near x=0 for |x|<1 and steepen it

Articles

Back to top