Download Careers360 App
Graphical Transformation

Graphical Transformation

Edited By Komal Miglani | Updated on Jul 02, 2025 08:09 PM IST

Graph is a visual representation of the function. Graphical transformations are used to alter the position and size of a graph. The primary types of transformations are Vertical stretches, horizontal stretches, reflections, etc. It is used for variety of reasons like geometry, graphical designing and data visualization.

This article is about the graphical transformations which falls under the category of Functions and graphs. This is an important topic for both board exams and competitive exams.

Graphical Transformation

Graphs are the visual representations of functions. Graphical transformations are used to change the shape, size and position of the graphs. Graphical transformations can be done by altering the functions which changes the coordinates of the graph leading to graphical transformation. Hence, graphical transformations are basically the transformation of functions.

The transformation of the graphs can be classified into Dilation transformation, Rotation transformation, Reflection transformation and Translation transformtion.

Dilation Transformation

Dilation transformaton is when the function is transformed such that the graph of the function is either stretched or shrinked.

$f(x) → af(x) , a>1$

Stretching of a graph along the y-axis occurs if we multiply all outputs y of a function by the same positive constant (here '$a$' ).

$\mathrm{f}(\mathrm{x}) \rightarrow \frac{1}{\mathrm{a}} \mathrm{f}(\mathrm{x})$ $(a > 1)$

Shrinking of a graph along the y-axis occurs if we multiply all outputs y of a function by the same positive constant (here '$\frac{1}{a}$' ).

For Example :

The graph of the function $f(x)=3 x^2$ is the graph of $y=x^2$ stretched vertically by a factor of $3$ , whereas the graph of $f(x)=\frac{1}{3} x^2$ is the graph of $y=x^2$ compressed vertically by a factor of $3$ .


$f(x)$ transforms to $f(ax), (a>1)$

Shrink the graph of f(x) ‘a’ times along the x-axis after drawing the graph of f(x),

$f(x)$ transforms to $f(x/a), (a>1)$

Stretch the graph of f(x) ‘a’ times along the x-axis after drawing the graph of f(x),


For Example: The graph of f(x)=sin x, f(x)=sin(2x), and f(x) = sin(x/2) .

Rotation Transformation

Rotation transformaton is when the function is transformed such that the graph of the function is rotated $90^o, 180^o$ or $270^o$.

To rotate a graph, change the coordinates $(x,y)$,

$90^o$: $(x,y) \rightarrow (-y,x)$

$180^o$: $(x,y) \rightarrow (-x,-y)$

$270^o$: $(x,y) \rightarrow (y,-x)$

Reflection Transformation

Reflection transformation is when the function is transformed such that the graph of the function is flipped to the opposite side without any change in the shape of size.

Transformation $f(x) → f(-x),$

When we multiply all inputs by $−1$, we get a reflection about the y-axis

So, to draw $y = f(-x)$, take the image of the curve $y=f(x)$ in the $y$-axis as a plane mirror

For example,

The graph of $y=e^x,$ $y= e^(-x) $

$f(x) → -f(x) :$

When multiplying all the outputs by $−1$, we get a reflection about the $x$-axis.

To draw $y = -f(x)$ take an image of $f(x)$ in the x-axis as a plane mirror

For example

The graph of $y=e^x,$ $y=-e^x $ (Transformation $f(x) \rightarrow-f(x)$ )


Translation Transformation

Translation transformaton is when the function is transformed such that the graph of the function is shifted.

To translate a graph,

- Horizontally to the left, $f(x) → f(x+a)$

- Horizontally to the right, $f(x) → f(x-a)$

- Vertically upwards, $f(x) → f(x)+a$

- Vertically downwards,$f(x) → f(x)-a$

Other Transformations

$f(x) →|f(x)|$

When $y = f(x)$ given

  1. Leave the positive part of $f(x)$ (the part above the $x$-axis) as it is
  2. Now, take the image of the negative part of $f(x)$ (the part below the x-axis) about the $x$-axis.

OR

Take the mirror image in the x-axis of the portion of the graph of $f(x)$ which lies below the $x$-axis

For Example:

$y=x^3$ $y=|x3|$ $y=|x3|$ and $y=x^3$


Transformation $f(x) →f(|x|) $

When $y = f(x)$ given

  1. Leave the graph lying right side of the $y$-axis as it is
  2. The part of $f(x)$ lying on the left side of the $y$-axis is deleted.
  3. Now, on the left of the $y$-axis take the mirror image of the portion of $f(x)$ that lying on the right side of the $y$-axis.

For Example:

$y = f(x)$ $ y = f(x) and y = f(|x|) $ $y = f(|x|) $


Transformation $f(x) → |f(|x|)|$

  1. First $f(x)$ is transforms to $|f(x)|$
  2. Then $|f(x)|$ transforms to $|f(|x|)|$

Or

(i) $f(x) \rightarrow|f(x)|$
(ii) $f(x) \rightarrow f(|x|)$

For Example:

$y = f(x)$ $ y = |f(x)| $

$y = f(|x|)$


$ y = |f(|x|)|$

=

$y=f(x) → |y| = f(x)$

$y = f(x)$ is given

  1. Remove the part of the graph which lies below x-axis
  2. Plot the remaining part
  3. take the mirror image of the portion that lies above the x-axis about the x-axis.

Solved Examples Based on Graphical Transformation

Example 1: Which of the following is the graph of $|y| = cos x$?

1)

2)

3)

4)

Solution:
$
y=f(x) \rightarrow|y|=f(x)
$

$y=f(x)$ is given
1. Remove the part of the graph which lies below $x$-axis
2. Plot the remaining part
3. take the mirror image of the portion that lies above x -axis about the x -axis.

First draw $y=\cos x$
Then,
1. Remove the part of the graph which lies below $x$-axis
2. Plot the remaining part
3. take the mirror image of the portion that lies above $x$-axis about the $x$-axis

Example 2: The area bounded by the lines $y=|| x-1|-2|$ and $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


$\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 3: The number of elements in the set $\{x \in \mathbb{R}:(|x|-3)|x+4|=6\}$ is equal to :

1) $3$

2) $4$

3) $1$

4) $2$

Solution

$\begin{aligned} & x \neq-4 \\ & (|x|-3)(|x+4|)=6 \\ & \Rightarrow \quad|x|-3=\frac{6}{|x+4|}\end{aligned}$

No. of solutions = $2$


Frequently Asked Questions (FAQs)

1. What is a graphical transformation?
A graphical transformation is a change made to a function's graph that alters its shape, size, or position without changing its fundamental nature. These changes can include shifts, stretches, compressions, or reflections of the original graph.
2. How does a vertical shift affect a graph?
A vertical shift moves the entire graph up or down on the y-axis. If you add a constant to the function (e.g., f(x) + k), the graph shifts up by k units. If you subtract a constant, the graph shifts down by k units.
3. What's the difference between f(x+2) and f(x)+2?
f(x+2) represents a horizontal shift of the graph 2 units to the left, while f(x)+2 represents a vertical shift of the graph 2 units up. The placement of the "+2" inside or outside the parentheses determines whether the shift is horizontal or vertical.
4. How does multiplying a function by -1 affect its graph?
Multiplying a function by -1 (i.e., -f(x)) reflects the graph over the x-axis. This means every y-coordinate changes sign, effectively flipping the graph upside down.
5. What does it mean to "stretch" a graph vertically?
A vertical stretch occurs when you multiply the function by a constant greater than 1 (e.g., 2f(x)). This makes the graph taller by stretching it away from the x-axis, increasing the magnitude of all y-values.
6. How does a horizontal compression differ from a horizontal stretch?
A horizontal compression makes the graph narrower by bringing points closer to the y-axis, while a horizontal stretch makes the graph wider by moving points away from the y-axis. Compression occurs when you multiply x by a constant > 1, and stretching occurs when you multiply x by a constant between 0 and 1.
7. What transformation is represented by |f(x)|?
The absolute value transformation |f(x)| reflects the negative part of the function over the x-axis, making all y-values positive. This creates a "V-shape" at any x-intercepts where the original function crossed the x-axis.
8. How do you recognize a reflection over the y-axis?
A reflection over the y-axis is represented by f(-x). This transformation changes the sign of all x-coordinates, effectively flipping the graph left-to-right.
9. What's the effect of a combined transformation like 2f(x-3)+1?
This combined transformation involves multiple steps: first, shift the graph 3 units right (x-3), then stretch it vertically by a factor of 2 (2f), and finally shift it up 1 unit (+1). The order of these operations matters in determining the final graph.
10. How does 1/f(x) transform a graph?
The reciprocal transformation 1/f(x) inverts the graph, swapping y-values with their reciprocals. This often results in asymptotes where the original function crossed the x-axis and can dramatically change the graph's shape.
11. What happens to a graph when you apply f(x^2)?
The transformation f(x^2) compresses the graph horizontally and creates symmetry around the y-axis. For functions that were only defined for positive x-values, this transformation will create a mirror image in the negative x region.
12. How does adding a negative sign inside the function, like f(-x), differ from -f(x)?
f(-x) reflects the graph over the y-axis (left-right flip), while -f(x) reflects the graph over the x-axis (up-down flip). The placement of the negative sign determines which axis serves as the line of reflection.
13. What's the geometric interpretation of f(ax) where a > 1?
When a > 1, f(ax) represents a horizontal compression of the graph. The graph becomes narrower, with all x-coordinates divided by a, effectively squeezing the graph closer to the y-axis.
14. How do transformations affect the domain and range of a function?
Horizontal transformations (involving x) can change the domain, while vertical transformations (involving y) can change the range. For example, a horizontal shift might change which x-values are valid, while a vertical stretch might extend the range of y-values.
15. What does it mean when we say transformations are "commutative"?
Transformations are not always commutative, meaning the order in which you apply them can affect the final result. For instance, shifting then stretching a graph may produce a different result than stretching then shifting.
16. How does sqrt(f(x)) transform a graph?
The square root transformation sqrt(f(x)) compresses the graph vertically for y-values greater than 1, stretches it for y-values between 0 and 1, and is undefined for negative y-values. This can significantly alter the shape of the original function.
17. What's the difference between f(|x|) and |f(x)|?
f(|x|) affects the x-values, creating a mirror image of the positive x portion of the graph in the negative x region. |f(x)| affects the y-values, reflecting the negative y portion of the graph above the x-axis.
18. How do transformations affect the zeroes of a function?
Horizontal transformations can change the x-coordinates of the zeroes (roots) of a function. Vertical stretches or compressions don't change the x-coordinates of the zeroes, but vertical shifts will change whether a point is a zero or not.
19. What happens to the graph of sin(x) when you apply the transformation sin(2x)?
sin(2x) compresses the graph of sin(x) horizontally by a factor of 2. This means the period of the function is halved, and the graph completes its cycle twice as fast as the original sine function.
20. How does the transformation f(x+k) affect the x-intercepts of a graph?
The transformation f(x+k) shifts the graph k units to the left. Consequently, if the original function had x-intercepts at x = a, the new function will have x-intercepts at x = a - k.
21. What's the geometric meaning of [f(x)]^2?
[f(x)]^2 squares all y-values of the original function. This transformation reflects any part of the graph below the x-axis above it, and stretches the graph vertically for |y| > 1 while compressing it for |y| < 1.
22. How do transformations affect the symmetry of a function?
Some transformations can preserve symmetry (like vertical stretches), while others can create or destroy it. For example, f(-x) can make an asymmetric function symmetric about the y-axis, while a horizontal shift can make a symmetric function asymmetric.
23. What happens to the graph of a function when you apply f(x/2)?
f(x/2) stretches the graph horizontally by a factor of 2. This means all x-coordinates are doubled, making the graph wider and stretching it away from the y-axis.
24. How does the transformation af(x) + b combine vertical stretch and shift?
In af(x) + b, 'a' determines the vertical stretch (if |a| > 1) or compression (if 0 < |a| < 1), and 'b' determines the vertical shift. The graph is first stretched or compressed by factor 'a', then shifted up or down by 'b' units.
25. What's the effect of the transformation f(x) + f(-x) on a graph?
f(x) + f(-x) creates a function that is always symmetric about the y-axis. It adds the original function to its reflection over the y-axis, effectively "mirroring" any asymmetric parts of the graph.
26. How do transformations affect the concavity of a function?
Vertical reflections (-f(x)) will change the concavity of a function (concave up becomes concave down and vice versa). Horizontal reflections (f(-x)) and shifts don't change concavity, but stretches and compressions can make the concavity more or less pronounced.
27. What happens to the graph of tan(x) when you apply the transformation tan(x) + 1?
tan(x) + 1 shifts the entire graph of tan(x) up by 1 unit. This includes shifting the horizontal asymptotes up by 1 unit. The vertical asymptotes remain in the same x-positions.
28. How does the transformation max(0, f(x)) affect a graph?
max(0, f(x)) replaces all negative y-values with 0. This transformation effectively "cuts off" any part of the graph below the x-axis, making it coincide with the x-axis in those regions.
29. What's the geometric interpretation of e^(f(x))?
e^(f(x)) exponentiates all y-values of the original function. This transformation always results in positive y-values, stretches parts of the graph where y > 1, compresses parts where 0 < y < 1, and brings negative y-values close to, but never reaching, y = 0.
30. How do transformations affect the continuity of a function?
Most basic transformations (shifts, stretches, reflections) preserve continuity. However, some transformations like |f(x)| can introduce points of non-differentiability, and others like 1/f(x) can introduce discontinuities where f(x) = 0.
31. What happens to the graph of a quadratic function under the transformation f(x+2) - 3?
For a quadratic function, f(x+2) - 3 shifts the parabola 2 units to the left and 3 units down. The vertex of the parabola moves accordingly, but the shape (width and direction of opening) remains unchanged.
32. How does the transformation f(|x|) affect even and odd functions differently?
For even functions (symmetric about y-axis), f(|x|) doesn't change the graph. For odd functions, it reflects the negative x portion of the graph over the y-axis, making the resulting function even.
33. What's the effect of applying log(f(x)) to a graph?
log(f(x)) compresses the graph vertically for y > 1, stretches it for 0 < y < 1, and is undefined for y ≤ 0. This can dramatically change the shape of the graph and often introduces a vertical asymptote at x-values where f(x) approaches 0 from the positive side.
34. How do transformations affect the end behavior of a function?
Vertical transformations can change the y-values approached in the end behavior, while horizontal transformations can change which x-values are associated with the end behavior. However, the general trend (increasing, decreasing, or oscillating) usually remains the same unless a reflection is involved.
35. What happens when you apply sin(f(x)) to a graph?
sin(f(x)) compresses all y-values to the range [-1, 1]. This can create a highly oscillatory graph, especially where the original function had large positive or negative values. The resulting graph will cross y = 0 wherever the original function crossed y = nπ (where n is any integer).
36. How does the transformation f(cx) + d combine horizontal compression and vertical shift?
In f(cx) + d, 'c' determines the horizontal compression (if |c| > 1) or stretch (if 0 < |c| < 1), and 'd' determines the vertical shift. The graph is first compressed or stretched horizontally by factor 1/c, then shifted up or down by d units.
37. What's the geometric meaning of [f(x)]^(1/3)?
[f(x)]^(1/3) applies a cube root to all y-values. This stretches the graph vertically for -1 < y < 1, compresses it for |y| > 1, and preserves the sign of y (unlike square root). This can "soften" sharp corners in the original graph.
38. How do transformations affect the relative extrema of a function?
Vertical stretches amplify the difference between extrema and other points, while compressions reduce these differences. Reflections can turn maxima into minima and vice versa. Shifts move the location of extrema but don't change their relative positions to each other.
39. What happens to the graph of cos(x) when you apply the transformation 2cos(x/2)?
2cos(x/2) stretches the cosine graph horizontally by a factor of 2 (doubling its period) and vertically by a factor of 2 (doubling its amplitude). The resulting graph oscillates between y = -2 and y = 2, completing one full cycle every 4π units.
40. How does the transformation 1/(x - a) affect the graph of 1/x?
1/(x - a) shifts the hyperbola horizontally by 'a' units to the right. The vertical asymptote moves from x = 0 to x = a, and the horizontal asymptote remains at y = 0.
41. What's the effect of applying arcsin(f(x)) to a graph?
arcsin(f(x)) compresses all y-values to the range [-π/2, π/2]. It's only defined where -1 ≤ f(x) ≤ 1, potentially restricting the domain. This transformation can create horizontal asymptotes at y = ±π/2 where f(x) approaches ±1.
42. How do transformations affect the inflection points of a function?
Horizontal transformations change the x-coordinates of inflection points, while vertical transformations can change their y-coordinates. Stretches and compressions can make inflection points more or less pronounced, but they don't create or eliminate them.
43. What happens when you apply tan(f(x)) to a graph?
tan(f(x)) creates vertical asymptotes wherever f(x) = (n + 1/2)π, where n is any integer. The resulting graph can be highly oscillatory and is periodic if the original function was bounded.
44. How does the transformation |f(x) - c| affect the graph of f(x)?
|f(x) - c| creates a "V-shape" wherever f(x) = c. It reflects the part of the graph below y = c above this line, effectively making c the minimum y-value of the new function.
45. What's the geometric interpretation of (f(x))^n for even and odd n?
For even n, (f(x))^n reflects any negative y-values to positive, creating symmetry about y = 0 if it didn't exist before. For odd n, the overall shape is similar to f(x) but more exaggerated, with faster growth for |y| > 1 and slower for |y| < 1.
46. How do transformations affect the rate of change of a function?
Vertical stretches increase the rate of change, while vertical compressions decrease it. Horizontal stretches decrease the rate of change, while horizontal compressions increase it. Shifts don't affect the rate of change, but reflections can reverse its sign.
47. What happens to the graph of ln(x) when you apply the transformation ln(x-3) + 2?
ln(x-3) + 2 shifts the natural log graph 3 units right and 2 units up. The vertical asymptote moves from x = 0 to x = 3, and the entire graph is elevated by 2 units.
48. How does the transformation f(g(x)) affect the composition of two functions?
f(g(x)) applies function f to the output of function g. This can lead to complex changes in the graph, potentially altering its domain, range, and overall shape based on the properties of both f and g.
49. What's the effect of applying sec(f(x)) to a graph?
sec(f(x)) creates vertical asymptotes wherever f(x) = (n + 1/2)π, where n is any integer. The resulting graph oscillates between these asymptotes and is always greater than or equal to 1 in absolute value.
50. How do transformations affect the periodicity of trigonometric functions?
Horizontal stretches or compressions change the period of trigonometric functions. If we transform sin(x) to sin(bx), the new period is (2π)/|b|. Vertical transformations and shifts don't affect the period, but can change the amplitude and midline of the function.

Articles

Back to top