Home » Math Theory » Algebra » Function Transformations

Function Transformations

Quick answer

A function transformation moves, flips or stretches the graph of a function. Starting from y = f(x): f(x) + k moves the graph up k units (down if k is negative); f(x − h) moves it right h units; −f(x) reflects it in the x-axis; f(−x) reflects it in the y-axis; a·f(x) stretches it vertically by a factor of a (squashes it if 0 < a < 1). Changes outside the brackets act on y the way you expect; changes inside act on x the opposite way.

Reviewed by the Helping with Math Team · Updated 14 October 2026

Introduction

The concept of function is of paramount importance in mathematics and among other disciplines as well. Functions form one of the most important building blocks of Mathematics. The word function has been derived from the Latin word meaning operation and the words mapping and map are synonymous with it. Functions play an important role in differential and integral calculus.

Let A and B be two non-empty sets. A relation f from A to B, i.e. a subset of A x B is called a function or a mapping or a map from A to B is,

  1. For each a ∈ A there exists b ∈ B such that ( a, b ) ∈ f
  2. ( a, b ) ∈ f and ( a, c ) ∈ f ⇒ b = c

Thus a non-void set f of A x B is a function from A to B if each element of A appears in some ordered pair in f and no two ordered pairs in f have the same first element.

If ( a, b ) ∈ f, then b is called the image of a under f.

Domain, Co-domain and Range of a Function

Let f : A → B. then the set A is known as the domain of f and the set B is known as the co-domain of f. The set of all f-images of elements of A is known as the range of f or image set of A under f and is denoted by f ( A ).

Thus f ( A ) = { f (x) : x ∈ A } = Range of f

Definition

What do we mean by the word “transform”? To transform means to change from one form to another. So, by that definition, transformation of a function means to change it from one form to another. Hence, transformations of functions mean transforming the function from one form to another.

We can thus say that function transformations are mathematical operations that cause change in the shape of a graph. When a graph of a function is changed in appearance or location, we call it a transformation.

Let us understand it by an example.

Graph

Look at the graph f ( x ) = x2 + 3. The graph of this function will be shown below:

Parabola y = x squared plus 3−5−4−3−2−1012345−1012345678y = x² + 3
The graph of y = x² + 3: a U-shaped parabola with its lowest point at (0, 3).

We can clearly see that the graph is 3 units above the quadratic equation f ( x ) = x2

We can see the transformation by plotting both the graphs on the same plane.

y = x squared and y = x squared plus 3−5−4−3−2−1012345−1012345678y = x² (parent)y = x² + 3
Every point of y = x² moves up 3 units to make y = x² + 3.

In how many ways can we transform a function? Let us find out.

Types of Transformations

There are four major types of transformations of functions. They are:

  1. Translation
  2. Rotation
  3. Reflection
  4. Dilation

Let us discuss them one by one.

Transformation of Functions using Translation

Translation transformation slides or moves the object in the space by keeping its size and orientation the same. It is important to note here that, a translation moves every point by a fixed distance in the same direction. The movement is caused by the addition or subtraction of a constant from a function. Let us understand it by an example.

Suppose we have a function, f ( x ) = x2 − 1

The graph of this function will be:

Parabola y = x squared minus 1−5−4−3−2−1012345−2−101234567y = x² − 1
y = x² − 1 has its lowest point at (0, −1).

Now, if we want to translate this graph by f ( x ) = f ( x ) + 1, what will we do?

We will have,

f ( x ) = f ( x ) + 1

⇒ f ( x ) = x2 − 1 + 1

⇒ f ( x ) = x2

So, the graph of the function will now become,

x squared minus 1 moved up 1 to x squared−5−4−3−2−1012345−2−101234567y = x² − 1y = x² (after adding 1)
Adding 1 to every output moves y = x² − 1 up 1 unit, giving y = x².

Transformation of Functions using Rotation

A rotation is a transformation that is performed by “spinning” the object around a fixed point known as the center of rotation. In other words, Rotation Transformation rotates or turns the curve around an axis without changing the size and shape of an object. Let us understand it by an example.

Suppose we have a function f ( x ) = x 2

The graph of this function will be:

Parabola y = x squared−5−4−3−2−1012345−4−3−2−1012345y = x²
The parent quadratic y = x², lowest point at the origin.

Now, suppose we rotate this graph 180° about the origin. What is the new function? A point (x, y) goes to (−x, −y), so y = x² becomes y = −x². The following graph demonstrates the original function as well as the function obtained after rotation.

x squared rotated 180 degrees to minus x squared−5−4−3−2−1012345−4−3−2−1012345y = x²y = −x² (turned 180° about O)
Turning y = x² through 180° about the origin sends (x, y) to (−x, −y), which gives y = −x².

Transformation of Functions using Reflection

A reflection of a function causes the graph to appear as a mirror image of the original function. In other words, switching the sign of the input going into the function leads to the reflection of the function. This also means that Reflection Transformation flips the object across a line by keeping its size and shape. Let us understand it by an example.

Suppose we have a function f ( x ) = x 5

The graph of this function will be:

Graph of y = x to the fifth−3−2−10123−2−10123y = x⁵
y = x⁵ passes through (−1, −1), (0, 0) and (1, 1) and rises steeply.

Now, if we were to find the reflection of this function, it would be given by

f ( x) = − f ( x )

This means that the reflection of the function f ( x ) = x 5 will be f ( x ) = − x 5

The following graph demonstrates the original function as well as the function obtained after reflection

x to the fifth and its reflection minus x to the fifth−3−2−10123−2−10123y = x⁵y = −x⁵ (reflection)
y = −x⁵ is the mirror image of y = x⁵ in the x-axis.

Transformation of Functions using Dilation

Dilation or scaling is a transformation that changes the size and/or the shape of the graph of the function. It is the only one of the four that changes how steep or wide the graph is; translations, rotations and reflections keep the graph the same size.

Let us understand it by an example.

Suppose we have a function f ( x ) = x 3

The graph of this function will be:

Graph of y = x cubed−3−2−10123−3−2−101234y = x³
y = x³ passes through (−1, −1), (0, 0), (1, 1) and (2, 8).

Now, if we multiply the function by 2, we will have, 2 f ( x ) = 2 x 3

This means that every point on the graph of the original function gets multiplied by two. The graph shows the original function as well as the function obtained after dilation:

x cubed and 2 x cubed−3−2−10123−3−2−101234y = x³y = 2x³ (stretched)
Doubling every output stretches y = x³ vertically: (1, 1) becomes (1, 2).

Rules

The following are the rules for function transformations:

  1. For transformation of f ( x ) to f ( x ) + a, f ( x) is shifted upwards by a units. For example, if we have a function, f ( x ) = x2 + x and we want to move it 3 units up, the transformation of f ( x ) will be

f ( x ) → f ( x ) + 3

⇒ f ( x ) = x2 + x + 3

So, if we have a point ( x , y ) on the function f ( x ), it will now be transformed to (x, y + 3 ).

  1. For transformation of f ( x ) to f ( x ) − a, f ( x) is shifted downwards by a units. For example, if we have a function, f ( x ) = x2 + x and we want to move it 3 units down, the transformation of f ( x ) will be

f ( x ) → f ( x ) − 3

⇒ f ( x ) = x2 + x − 3

So, if we have a point ( x , y ) on the function f ( x ), it will now be transformed to (x, y − 3 ).

  1. For transformation of f ( x ) to f ( x + a ) , f ( x) is shifted left by a units. For example, if we have a function, f ( x ) = x2 + x and we want to move it 3 units left, the transformation of f ( x ) will be

f ( x ) → f ( x + 3 )

⇒ f ( x ) = ( x + 3 ) 2 + ( x + 3 )

So, if we have a point ( x , y ) on the function f ( x ), it will now be transformed to (x − 3, y ).

  1. For transformation of f ( x ) to f ( x − a ) , f ( x) is shifted right by a units. For example, if we have a function, f ( x ) = x2 + x and we want to move it 3 units right, the transformation of f ( x ) will be

f ( x ) → f ( x − 3 )

⇒ f ( x ) = ( x − 3 ) 2 + ( x − 3 )

So, if we have a point ( x , y ) on the function f ( x ), it will now be transformed to (x + 3, y ).

  1. For transformation of f ( x ) to − f ( x ) , f ( x) is flipped upside down. This means that f ( x) is reflected about the x -axis. For example, if we have a function, f ( x ) = x2 + x and we want reflect it over x-axis, the transformation of f ( x ) will be

f ( x ) → − f ( x )

⇒ f ( x ) = − ( x ) 2 − x

So, if we have a point ( x , y ) on the function f ( x ), it will now be transformed to (x , − y ).

  1. For transformation of f ( x ) to f (- x ) , the graph of f ( x ) is reflected in the y-axis. This means that f ( x) is reflected about the y -axis. For example, if we have a function, f ( x ) = x2 + x and we want reflect it over y-axis, the transformation of f ( x ) will be

f ( x ) → f ( − x )

⇒ f ( x ) = ( − x ) 2 + ( − x )

So, if we have a point ( x , y ) on the function f ( x ), it will now be transformed to ( − x , y ).

Let us now learn about some basic parent functions

2-31
Transformation explorer

y = (x − 2)² − 3
From y = x²: right 2, down 3. Orange dot: the point that started at the origin.

Try it: choose a parent function and move the sliders for y = a·f(x − h) + k. The dashed graph is the parent; the green graph is the result.

Absolute Value Parent Function

The absolute value function f ( x) is defined by

f(x) = |x|, which equals −x when x < 0, 0 when x = 0 and x when x > 0,

and is called the absolute value function. It is also called a modulus function. We observe that the domain of the absolute function is the set R of all real numbers and the range is the set of all non-negative real numbers. This means that,

R+ = { x ∈ R : x ≥ 0 }

Graph of Absolute Value Function

The graph of the absolute value function is shown in the below figure.

V shaped graph of y equals absolute value of x−5−4−3−2−1012345−10123456y = |x|
y = |x| is a V shape: the line y = −x to the left of 0 and y = x to the right.

It is important to note here that for x > 0 the graph of the absolute value function coincides with the graph of the identity function, i.e. the line y = x and for x < 0 it is coincident to the line y = -x.

Linear Equation Parent Function

The parent function of a linear equation is f ( x ) = x. the graph of this function is given by:

Straight line y = x−5−4−3−2−1012345−4−3−2−1012345y = x
The linear parent function y = x: a straight line through the origin at 45°.

Quadratic Equation Parent Function

All quadratic functions have the highest exponent of 2, their graphs are all parabolas. The parent function of a quadratic equation is f ( x ) = x 2. The graph of this function is given by:

Parabola y = x squared−5−4−3−2−1012345−1012345678y = x²
The quadratic parent function y = x².

Examples

Example 1

What Does the Transformation Given Below do to the Graph?

a) f ( x ) → f ( x ) − 2

b) f ( x ) → f ( x − 2 )

Solution

a) f ( x ) → f ( x ) − 2

We can see that the y-coordinates of the function are being changed by 2 units. Let us recall that for transformation of f ( x ) to f ( x ) − a, f ( x) is shifted downwards by a units and if we have a point ( x , y ) on the function f ( x ), it will now be transformed to (x, y − a ). Therefore, we will have,

The transformation here is translation 2 units down.

b) f ( x ) → f ( x − 2 )

We can see that the x-coordinates of the function are being changed by 2 units. Let us recall that for transformation of f ( x ) to f ( x − a ) , f ( x) is shifted right by a units.

Hence, the transformation here is translation 2 units right.

Example 2

How is the Graph of y = f( x − 4 ) − 5 Related to the Graph of y = f ( x ) ?

Solution

When the graph of y = f ( x ) is moved right by 4 units, we get y = f ( x − 4 ). When the graph of y = f ( x − 4 ) is moved down by 5 units, we get y = f( x − 4 ) − 5. Hence, the graph of y = f( x − 4 ) − 5 is located 4 units right, 5 units down of the graph of y = f ( x ) . Hence, the point ( x, y ) moves to ( x + 4, y − 5 ).

Key Facts and Summary

  1. Transformations of functions mean transforming the function from one form to another.
  2. There are four major types of transformations of functions: Translation, Rotation, Reflection and Dilation.
  3. Translation transformation slides or moves the object in the space by keeping its size and orientation the same.
  4. A rotation is a transformation that is performed by “spinning” the object around a fixed point known as the center of rotation.
  5. A reflection of a function causes the graph to appear as a mirror image of the original function.
  6. Dilation or scaling is a transformation that changes the size and/or the shape of the graph of the function. It is the only manner in which we can change the size of the function.
  7. For transformation of f ( x ) to f ( x ) + a, f ( x) is shifted upwards by a units.
  8. For transformation of f ( x ) to f ( x ) − a, f ( x) is shifted downwards by a units.
  9. For transformation of f ( x ) to f ( x + a ) , f ( x) is shifted left by a units.
  10. For transformation of f ( x ) to f ( x − a ) , f ( x) is shifted right by a units.
  11. For transformation of f ( x ) to − f ( x ) , f ( x) is flipped upside down.
  12. For transformation of f ( x ) to f (- x ) , the graph of f ( x ) is reflected in the y-axis.

Related lessons: absolute value function, domain, co-domain and range of a function, real numbers and subtraction. More practice: interpreting linear functions in a form of y = mx + b and its graph worksheets, shape transformations worksheets and understanding the properties of rotations reflections and translations of 2d figures worksheets.

Function transformations FAQs

What are the four types of function transformations?

Translations (shifts up, down, left or right), reflections (flips in the x-axis or y-axis), stretches or compressions (dilations), and rotations. In school algebra the first three are the ones written as rules on f(x).

Why does f(x − 3) move the graph right, not left?

The new graph reaches each height 3 units later. f(x − 3) at x = 5 gives f(2), so the point that was at x = 2 is now at x = 5: 3 units to the right.

What is the difference between −f(x) and f(−x)?

−f(x) changes the sign of every y value, so the graph flips over the x-axis. f(−x) changes the sign of every x value, so it flips over the y-axis.

What does 2f(x) do to a graph?

It doubles every y value, so the graph is stretched vertically by a factor of 2. Points on the x-axis stay where they are.

In what order do you apply transformations?

For y = a·f(x − h) + k: shift left or right by h, stretch or reflect using a, then shift up or down by k. Doing the stretch after the vertical shift gives a different graph.

What is a parent function?

The simplest function of a family, such as y = x, y = x² or y = |x|. Every other function in the family is a transformation of it.

Practice with worksheets

Link/Reference Us

We spend a lot of time researching and compiling the information on this site. If you find this useful in your research, please use the tool below to properly link to or reference Helping with Math as the source. We appreciate your support!

  • "Function Transformations". Helping with Math. Accessed on November 18, 2026. https://helpingwithmath.com/function-transformations/.

  • "Function Transformations". Helping with Math, https://helpingwithmath.com/function-transformations/. Accessed 18 November, 2026.

  • Function Transformations. Helping with Math. Retrieved from https://helpingwithmath.com/function-transformations/.