gl/ripetizioni

Graph transformations: shifts, reflections, absolute value

How to get the graph of f(x+a), f(x)+b, -f(x), f(-x) and |f(x)| from a known function: rules, direction mistakes and three worked exercises for Year 3.

by Gaetano Livornese

Read the original in Italian

Early October 2026, Year 3 of a technical institute: after the revision of equations, inequalities, absolute value and irrational equations, in many classes the block on functions arrives (domain, composition, inverse, graphs), which comes before the parabola. The test typically falls between five and nine weeks from now, between November and December, and graph transformations are one of those questions that seem easy until you have to draw something.

The starting idea is this: if you know the graph of a function , you can obtain the graph of many others without redoing the study. You only need to know what each change to the formula does to the drawing. Whoever doesn’t know redoes a table of points for every function, takes ten minutes and gets the direction of a shift wrong. Whoever knows starts from a known graph (line, parabola, , ), shifts, reflects, flips, and is done.

This post is precisely about drawing by hand. For the domain and symmetries of a given function there is function study, part 1; for composite and inverse functions, functions in Year 4, where transformations appear in one paragraph, whereas here we treat them in full and with more examples.

The transformations in a table

Start from . Each row says what happens to the graph:

New functionWhat it does to the graph of
moves up by (down if )
moves to the right by (to the left if )
reflection in the -axis
reflection in the -axis
, with vertical stretch by a factor
, with horizontal compression by a factor
the part below the -axis is flipped above it
the part with is kept and mirrored to the left

The first four rows are the ones you always use; let’s go through them one by one.

Vertical shift: the most intuitive

adds to every value of , so every point becomes . The graph moves up or down rigidly, without changing shape. The domain doesn’t change, the range shifts by . An example: from to the vertex goes from to .

Horizontal shift: where mistakes are most common

moves the graph to the right by . With , that is , the graph goes right even though there is a minus sign; with it goes left. At first sight it seems the opposite of what it should be, and it is mistake number one.

The way not to learn it by heart is to ask yourself: which gives me the same value of that I used to get at ? The new function has the same value when the argument of is , that is when , so . The value had at , now has three units further on. The graph has slid to the right.

Example with numbers: if , then . The point has become .

A consequence that gets forgotten: the domain moves too. If is defined for , is defined for .

Reflections: and

changes the sign of every value of : the graph is reflected in the -axis. Domain unchanged, zeros unchanged, points above the axis go below and vice versa.

changes the sign of : the graph is reflected in the -axis. The domain is mirrored (if is defined for , is defined for ), while the intercept with the -axis stays put, because . If you apply both, , you get the reflection in the origin.

A link with what was done on function study: a function is even if , that is if its graph coincides with the mirrored one; it is odd if , that is if reflecting in the origin doesn’t change it.

Stretches: just a mention

multiplies the heights by : with the graph is stretched vertically (the points on the -axis stay fixed). acts on and in the opposite way: with the graph is squeezed horizontally, because the same value of is reached with half the . For example, with we have : squeezing horizontally by 4 here amounts to stretching vertically by 2.

When you combine stretch and shift it is better to factorise: first compresses by a factor of 2 horizontally, then moves right by 2, not by 4.

The most frequent case in tests, however, is shifts, reflections and absolute value: these are the three to be able to do with your eyes closed.

The absolute value: versus

They are two different things and are confused constantly, so they need to be written out calmly.

: the absolute value is outside. The absolute value acts on the ‘s. Where the graph stays as it is; where the value becomes , so that part is flipped above the -axis. The result never has points below the -axis, and at the points where the graph crosses the axis corners generally appear.

: the absolute value is inside. The absolute value acts on the ‘s. For we have and the graph is that of . For we have , so : the graph on the left is the mirror image in the -axis of the one on the right. The part of that was on the left (for ) disappears: it is replaced by the mirror image of the right-hand part. The result is always an even function.

Practical rule so as not to swap them: look at where the absolute value is written. Outside, on the : flip what is below. Inside, on the : copy the right-hand side to the left.

A halfway check

At this point try drawing by hand, without looking at the examples below, and . To train against the clock, the practice tests (15 questions in 50 minutes, one per topic) are at /simulazioni/verifiche-liceo/.

How to draw by hand

  1. Recognise the base function and draw it, marking 3-4 key points: vertex, intercepts with the axes, any asymptotes.
  2. Apply the transformations one at a time, from the inside out (first what acts on , then what acts on ).
  3. Transform the key points, not just the shape: write down where the vertex, the zeros and the intercept end up.
  4. Read off the domain and range from the drawing and check them on a point.

If the base function is a parabola, the same steps become those of the chapter on the parabola: vertex, zeros, axis. It is worth arriving there with the transformations already in hand.

Three worked exercises

1. and its absolute value

You are asked for: vertex, intercepts, graph of .

Completing the square:

so the parabola is shifted right by 2 and down by 1. Vertex . Zeros: gives , that is and . Intercept with the -axis: . A fifth point symmetric about the axis : .

The function is negative only between the zeros, for . For exactly that piece is flipped: the vertex becomes , the zeros stay at and , the rest doesn’t change. In formulas:

Check on the vertex: for the second branch gives , consistent with . The graph has two corners, at and , and between the two the flipped parabola is concave down.

To see what would change with the absolute value inside, the graph of is built like this: to the right of the -axis the original parabola stays, with , , , ; to the left these points are mirrored: , , . It is a symmetric “W”, with two minima at . The original piece to the left of the -axis (the branch that came down from towards the vertex) no longer appears: it has been erased and replaced by the mirror image of the right-hand one.

A question that links to equations: how many solutions does have? It splits into , that is , with , and into , that is , with a double root. The solutions are , , : three intersections with the line , and they can be seen straight away in the drawing, because the line touches the flipped vertex and cuts the two outer branches.

2. From to

The base graph starts at and rises: domain , range , points , .

is a horizontal shift to the left by 2; the final moves down by 1. The starting point goes to . Domain: , that is . Range: .

Points to plot, obtained by calculating directly and checking:

  • : , point ;
  • : , point , which is the intercept with the -axis;
  • : , intercept with the -axis;
  • : , point ;
  • : , point .

Consistency check: the base points and shifted by give and , which are exactly the ones found by calculating.

3. From to

The hyperbola has asymptotes and . The shift of in and of in moves everything, asymptotes included:

Domain , range . You don’t need a table of points to know where the branches are: for the term is positive, so the branch lies above ; for it is negative, so the branch lies below.

Intercepts: with the -axis, gives , point . With the -axis: , so , , point . Other points: gives , gives , gives .

If the same function is given to you as (a homographic function, i.e. a ratio of two linear expressions), you recognise it by rewriting it: , and so it is the same hyperbola shifted. The vertical asymptote is where the denominator vanishes, the horizontal one is the ratio of the coefficients of .

Typical mistakes

  • The sign in the horizontal shift. goes right. Check with a point: if , the new graph passes through .
  • The absolute value on instead of on , or vice versa: look at where it sits and apply the inside/outside rule.
  • Confusing and . The first flips what is below, the second replaces the left-hand part with the mirror image of the right. In example 1 the two functions have very different drawings.
  • Forgetting that the domain moves together with the graph: in the domain is , not .
  • Applying the transformations in the wrong order, in particular with stretch and shift together: factorise and read from the inside out.

Drawing is the quickest way to check an equation or inequality with an absolute value. When you solve algebraically, you split it into two cases; the graph tells you how many results to expect and where they lie. The inequality reads as “the part of the graph of below the line ”. The algebraic rules, with the conditions to be written first, are in absolute value and irrational equations in Year 3; here the drawing is enough to see whether the result is plausible.

To practise

The practice tests in the catalogue are 15 questions in 50 minutes, one per topic, and are a good way of seeing whether the graph part holds up against the clock: you will find them at /simulazioni/verifiche-liceo/. There is no dedicated test on graph transformations alone: in the index you will find the topics that already exist.

How we work in lessons

I always start from the drawing: whoever arrives at this chapter in difficulty usually doesn’t have a problem with formulas, but doesn’t yet have the reflex of transforming the key points. We work on one base function at a time, with one transformation at a time, and only afterwards combine them. I have you draw two or three graphs by hand on paper in the lesson and then ask you to explain to me out loud why the direction is what it is. If the test is still far away we build the method; if it is close we work directly on typical papers. The subject is maths; for details on the format of lessons there is the pricing page.

If you want to understand where to restart, the free 30-minute introductory call is a short conversation in which we look together at a piece of homework or a notebook and decide whether you really need a path or a couple of tips are enough.

Keep reading

Want to put what you read into practice?

Let's talk for 30 minutes, free: we look together at where you are stuck and I tell you honestly how I can help.

Or message me on WhatsApp.