gl/ripetizioni

Functions in Year 4: composite, inverse, graphs

Domain, composite function, inverse function and graph transformations with worked examples: the Year 4 maths test at the classical high school.

by Gaetano Livornese

Read the original in Italian

End of September 2026, Year 4 at the liceo classico (the Italian high school focused on Latin, Greek and the humanities): after the revision of conic sections the chapter on functions is closing — domain, composition, inverse, graph transformations. The test falls in five to eight weeks, so between the end of October and mid-November. With 2 hours of maths a week there is no time to practise in class: whatever you do not fix at home arrives at the test as it is.

The level here is that of the classical high school, not the science one: no technicalities that the classical track does not need, but the ideas — composition, inverse, transformations — have to be understood well, because they are the basis of calculus and logarithms that will arrive in the following years.

What a function is, in practice

A function from a set to a set is a rule that associates with every element of one and only one element of . The key phrase is “only one”: if for a certain two different values of correspond, that is not a function, it is just a relation.

In the Cartesian plane this is read with the vertical line test: if a vertical line meets the graph at more than one point, that graph does not represent a function. The circle , for example, is not the graph of a function: a vertical line passing through the inside cuts it at two points.

The domain is the set of values of for which the rule makes sense. I will not go over it in full here — I have already covered it in detail, with all the conditions case by case, in domain and symmetries of a function. The two conditions that come back most often in the test on composite and inverse functions are those on fractions and irrational expressions:

When the function you are working with is a composition of several pieces, each piece generates its own condition and all of them have to be put in a system, never as a union — this is the point on which most marks are lost, and it is the reason why it is worth rereading that post before the test.

Composite function: the order matters

Given two functions and , the composite function is defined by

It is read from right to left: first you apply , then you apply to the result. It is a detail that seems obvious written like this, but it is the source of the commonest mistake in the chapter.

is not equal to , almost never. Let us check it with a simple example: and .

They are two different functions: composition is not commutative. When the question writes you have to start from , substitute its result in place of in , and that is all — without swapping the order “because it seems more convenient”.

The domain of the composite function

Here is the second delicate point. The domain of is not simply the domain of : an extra condition is needed.

That is: must lie in the domain of (otherwise does not even exist), and the value you obtain must lie in the domain of (otherwise does not accept it).

Example: (domain ) and (domain ). The composite is

The domain of is all of , but it is also necessary that be , that is . The domain of the composite is , much smaller than the domain of alone. Whoever stops at the domain of and ignores the condition on gets the domain wrong almost every time.

Injective function and inverse function

A function admits an inverse only if it is injective (one-to-one): different values of must correspond to different values of . In a formula, is injective if

Graphically it is checked with the horizontal line test: if a horizontal line meets the graph at more than one point, is not injective on that domain and has no inverse (on the whole domain).

The case that confuses most is : taken on the whole of it is not injective, because — a horizontal line at cuts the graph at two points. It becomes injective, and therefore invertible, only if you restrict the domain, for example to : there every positive has only one that produces it.

How to find the inverse

The procedure is always the same, three steps:

  1. Write .
  2. Swap and : you get .
  3. Solve for : that is .

Example: .

So .

With restricted to :

So , with domain (which coincides with the range of the restricted ).

Graph of the inverse: symmetry about

The graph of is obtained from that of by reflection in the line . It is a direct consequence of the swap in the procedure: every point of the graph of becomes the point on the graph of , and is exactly the reflection in .

Two practical consequences to remember for the test:

  • domain and range swap: and vice versa;
  • if you can draw , you can already draw without doing any calculation: reflect the graph in the bisector of the first and third quadrants.

Graph transformations

Knowing a few basic graphs (line, parabola, hyperbola , absolute value) and the transformation rules lets you sketch by eye much more complex functions, without doing a full study. The main rules:

Translations.

The typical mistake is the sign in the horizontal translation: shifts to the right, not to the left, because to get the same value of as before you now need an that is 3 units larger.

Reflections.

Absolute value. These are two different transformations that are often confused:

flips upwards only the part of the graph that lies below the -axis, leaving the part above unchanged — because the modulus changes sign only for negative values.

deletes the part of the graph with and replaces that zone with the mirror image of the part with , because for negative equals evaluated at its positive opposite — the resulting graph is always symmetric about the -axis.

The typical mistake: domain of fractions and irrational expressions, not the composition itself

The point on which the test on functions does the most damage is not the composition rule itself, but the domain when fractions and irrational expressions combine with each other or inside a composition. Two examples that sum up the problem:

Here the condition is not : under a root that sits in the denominator the inequality must be strict, because if the denominator becomes zero anyway. Correct condition: .

Here you need to study the sign of a fraction, not of a single factor: has to be solved by studying the sign of numerator and denominator separately (with the denominator in any case ), not by “solving” the inequality as if it were a product of whole numbers. It is exactly the type of compound condition that the post on the domain covers in full, with the system of conditions compared step by step.

Three worked examples

1. Composite function, domain included

Given and , find , and their respective domains.

They are two different functions with different domains: direct confirmation that composition is not commutative, both in the expression and in the domain.

2. Inverse with a restricted domain

Find the inverse of restricted to , and check the result.

I set and swap:

Since the restriction is , that is , the absolute value is removed by choosing the positive sign:

So , domain . Check: . It works.

3. Transformations in sequence

Start from the graph of and describe the graph of .

It is best to read the transformations from the inside out, in the order in which they act on the variable:

  1. : shifts the graph 1 unit to the left. Vertex at .
  2. The minus sign in front of : reflects in the -axis. Vertex still at , but the parabola now opens downwards.
  3. : shifts upwards by 3. Final vertex at .

The final graph is a parabola with concavity downwards, vertex , obtained without expanding the expression: just reading the transformations one at a time, in the right order.

Frequently asked questions

Does every function have an inverse? No. It has to be injective on the domain considered. If it is not (like on the whole of ), either you restrict the domain or the inverse does not exist.

How do I tell at a glance from the graph whether a function is injective? Horizontal line test: if every horizontal line cuts the graph at most once, it is injective.

Why is the graph of the inverse symmetric about and not about the -axis? Because finding the inverse means swapping and , and the swap is geometrically exactly the reflection in the bisector , not in a coordinate axis.

How I organise things with those who have 2 hours a week

With only two weekly hours of maths the time to practise in class is almost zero: the teacher explains, and the consolidation part — the one where you really learn to tell from , or to read a transformation without expanding the calculations — stays at home. In online lessons I work with targeted exercises on the two points that cost the most marks at the classical high school: the domain of composite fractional/irrational functions, and reading transformations in the correct sequence. It is the same reasoning scheme needed afterwards for logarithms and exponentials, so the time invested now is not used up with this test.

To get an idea of where you stand you can try the mock test on functions: it is calibrated on the Year 3 syllabus of the science high school, which covers the same content — domain, composite, inverse, transformations — that the classical high school does in Year 4, so it remains a good testing ground even if your class is different. The correct answer to every question is free, the guided solution unlocks with the first lesson.

The domain alone, with all the conditions case by case, is covered in domain and symmetries of a function; for the rest of the Year 4 syllabus at the classical high school (and how it fits with the physics of the same year) there is Year 4: the whole maths syllabus in one formula sheet and, for the physics of the same class, Year 4 physics at the classical high school: energy and circular motion. The general picture of the subject is on the maths page; if you want a hand organising your revision before the test, start with the free introductory call. The most used inverse of the Year 4 syllabus is the logarithm as the inverse of the exponential: I wrote about it in exponentials and logarithms in Year 4.

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.