Graphical Transformation

Graphical Transformation

Komal MiglaniUpdated on 02 Jul 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)

Q: How do transformations affect the periodicity of trigonometric functions?
A:
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.
Q: What's the effect of applying sec(f(x)) to a graph?
A:
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.
Q: How does the transformation f(g(x)) affect the composition of two functions?
A:
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.
Q: What happens to the graph of ln(x) when you apply the transformation ln(x-3) + 2?
A:
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.
Q: What happens to the graph of cos(x) when you apply the transformation 2cos(x/2)?
A:
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.
Q: How does the transformation 1/(x - a) affect the graph of 1/x?
A:
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.
Q: What's the effect of applying arcsin(f(x)) to a graph?
A:
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.
Q: How do transformations affect the inflection points of a function?
A:
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.
Q: How does the transformation |f(x) - c| affect the graph of f(x)?
A:
|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.
Q: What's the geometric interpretation of (f(x))^n for even and odd n?
A:
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.