P1 Chapter 1: Functions
Functions: Your Ultimate Math Toolkit 🛠️
Introduction
1. Introduction
Alright, let's dive into one of the most fundamental ideas in A-Level Maths: Functions. Think of them as well-behaved mathematical machines: you put a number in (the input), and you get a specific number out (the output). In this chapter, we're going to build your entire toolkit for dealing with them. First, we'll master Domain and Range: figuring out exactly what numbers can go in and what can come out. Then, we'll get creative by plugging one function machine into another with Composite Functions. After that, we'll learn how to run the machine backwards by finding Inverse Functions. And finally, we'll become graph wizards with Graph Transformations, learning how to shift, stretch, and flip any function's graph. By the end of this, you'll be able to manipulate and understand functions like a pro. Let's get this done!
2. Defining the Domain and Range of a Function
Alright, let's get into one of the most fundamental concepts in functions: domain and range. Think of a function, , as an exclusive event. The domain is the VIP guest list: it's the complete set of all possible input values (-values) that are allowed to enter the 'function party'. If an -value isn't on the list, it gets rejected at the door! So, what gets a value blacklisted? Two main culprits in AS Maths:
1. Division by zero: The denominator of a fraction can't be zero. For , the value causes chaos, so the domain is all real numbers except 2, written as .
2. Square roots of negatives: We can't take the square root of a negative number in the real number system. For , the expression must be zero or positive. So, , which means the domain is .
The range is the result of the party: it's the complete set of all possible output values ( or -values) that the function can produce from the allowed inputs, written as a condition on . To figure out the range, you need to think about the function's behaviour. What's the highest or lowest value it can hit? For a quadratic like , the vertex is at , which is the minimum point. The function can go up forever but never dips below 2. So, its range is .
1. Division by zero: The denominator of a fraction can't be zero. For , the value causes chaos, so the domain is all real numbers except 2, written as .
2. Square roots of negatives: We can't take the square root of a negative number in the real number system. For , the expression must be zero or positive. So, , which means the domain is .
The range is the result of the party: it's the complete set of all possible output values ( or -values) that the function can produce from the allowed inputs, written as a condition on . To figure out the range, you need to think about the function's behaviour. What's the highest or lowest value it can hit? For a quadratic like , the vertex is at , which is the minimum point. The function can go up forever but never dips below 2. So, its range is .

If the domain is restricted and the vertex is outside it, use the end of the domain instead: with , the least value is .
The two syllabus examples: for with , and gets smaller but never reaches , so the range is . For with , , so the range is .
A function is one-one if different inputs always give different outputs: every horizontal line meets its graph at most once. A quadratic is one-one on either side of its vertex, but not across it.
The two syllabus examples: for with , and gets smaller but never reaches , so the range is . For with , , so the range is .
A function is one-one if different inputs always give different outputs: every horizontal line meets its graph at most once. A quadratic is one-one on either side of its vertex, but not across it.
Worked example
Worked Example: Domain and Range of a Radical Function
Let's Dissect This Function 🧐
Given the function , determine its domain and range.
- 1First, let's tackle the domain. We need to identify any values of that would 'break' the function. The only potential issue here is the square root. The expression inside a square root cannot be negative.
- 2Solving this simple inequality gives us the complete set of allowed -values. This is our domain.
- 3Now for the range. Let's build the function up, starting from the square root part. We know that the output of a basic square root function is always non-negative.
- 4Our function has , not just . When we multiply an inequality by a negative number, we must flip the inequality sign. Think of it as reversing the direction on the number line.
- 5The final step is to add the 5 to complete the function. This shifts all our possible output values up by 5. This gives us the final boundary for our range.
- 6Since , we have found our range. The function's output can be 5 or any value less than 5. We state this formally using function notation.
Answer
3. Composite Functions: Structure and Existence
Alright, let's break down composite functions. Imagine you're editing a video. First, you use an app to add a slow-mo effect (that's function ), and then you upload that result to another app to add music (that's function ). The final video is the result of a composite function, written as . The notation is key: actually means . You always apply the function closest to the first. So, we work from the inside out: goes into , and the result, , goes into .
To find the algebraic expression for , you literally substitute the entire expression for into every instance of in the function . But here's the crucial part, and a classic exam question: the composite function doesn't always exist. For to be valid, the output of the first function () must be a valid input for the second function (). In technical terms, the range of must be a subset of the domain of . Think of it like plugging a USB-C cable (the range of ) into a laptop port (the domain of ). If the laptop only has old USB-A ports, it's not going to work!
To find the algebraic expression for , you literally substitute the entire expression for into every instance of in the function . But here's the crucial part, and a classic exam question: the composite function doesn't always exist. For to be valid, the output of the first function () must be a valid input for the second function (). In technical terms, the range of must be a subset of the domain of . Think of it like plugging a USB-C cable (the range of ) into a laptop port (the domain of ). If the laptop only has old USB-A ports, it's not going to work!

To find the range of , put the range of into . And to undo a composite, undo the steps in reverse order: . You'll meet composites again later in this same paper: the chain rule in P1 Differentiation is the rule for differentiating a composite function.
Worked example
Worked Example: Forming a Composite Function and its Domain
Time to Put the Theory into Practice! 🚀
The functions and are defined as follows:
for
for
Find the composite function and state its domain and range.
for
for
Find the composite function and state its domain and range.
- 1First, let's identify the order of operations for . This means we apply first, then . To check if can even exist, we must verify that the range of the first function () is compatible with the domain of the second function ().Range of is .
Domain of is .
Since the range of () is a subset of the domain of (), the function exists. ✅ - 2Now that we know it exists, we can find the expression for . We do this by substituting the entire expression for into the variable in the function .
- 3This is a critical step that many students miss. The domain of a composite function is always the same as the domain of the first function that was applied, which in this case is . Don't be fooled by the simple final expression!The domain of is .
Therefore, the domain of is also . - 4Finally, to find the range of the composite function , we consider what output values are produced when we apply its domain () to its expression ().We have with a domain of .
The minimum value will occur at the minimum input, .
.
As increases, increases. Therefore, the range of is .
Answer
We have with a domain of .
The minimum value will occur at the minimum input, .
.
As increases, increases. Therefore, the range of is .
The minimum value will occur at the minimum input, .
.
As increases, increases. Therefore, the range of is .
4. Inverse Functions and their Properties
Alright, let's talk about inverse functions. Think of a function as a process, like putting on your shoes. The inverse function, denoted (and be careful, that '-1' is not a power, it's just notation!), is the reverse process: taking your shoes off. If , then . Simple, right?
The absolute deal-breaker for an inverse to exist is that the original function must be one-to-one. This means every output has a unique input. A function like is many-to-one because both and give the output 4. If you tried to 'undo' 4, where would you go? Back to 2 or -2? An inverse can't have this ambiguity. To fix this, we often restrict the domain. For , if we say it only applies for , it becomes one-to-one, and its inverse is . This is a classic exam trick!
Graphically, an inverse function is a reflection of the original function in the line . This is a massive visual cue for you in an exam. If you sketch and on the same axes, they should be perfect mirror images across that diagonal line.
The absolute deal-breaker for an inverse to exist is that the original function must be one-to-one. This means every output has a unique input. A function like is many-to-one because both and give the output 4. If you tried to 'undo' 4, where would you go? Back to 2 or -2? An inverse can't have this ambiguity. To fix this, we often restrict the domain. For , if we say it only applies for , it becomes one-to-one, and its inverse is . This is a classic exam trick!
Graphically, an inverse function is a reflection of the original function in the line . This is a massive visual cue for you in an exam. If you sketch and on the same axes, they should be perfect mirror images across that diagonal line.

This reflection visually represents the core property of inverses: the inputs and outputs swap. Consequently, the domain of becomes the range of , and the range of becomes the domain of . This relationship is your key to solving a huge range of problems, especially those asking for the domain or range of an inverse. The recipe: write , make the subject, then swap the letters (swapping first and then making the subject, as in the example below, gives the same answer); when a square root appears, the domain of decides whether you take the plus or the minus root.
Worked example
Worked Example: Finding the Inverse of a Function with a Restricted Domain
Let's Reverse-Engineer This Function ⚙️
The function is defined by for .
(i) Find an expression for .
(ii) State the domain of .
(i) Find an expression for .
(ii) State the domain of .
- 1First up, we set the function equal to . This just makes the algebraic manipulation cleaner.Let
- 2This is the crucial step for finding any inverse. We literally swap the roles of input () and output () by swapping the variables in the equation.
- 3Now, we need to perform algebraic gymnastics to make the subject of this new equation. This will give us the formula for our inverse function.Self-check: We take the positive square root because the original domain was . This means the range of must be . Our expression satisfies this, whereas would not.
- 4We're almost there! Just replace with the formal notation to present the final answer for part (i).
- 5For part (ii), we use the core principle: the domain of the inverse is the range of the original function. Let's find the range of for .The vertex of the parabola is at . Since the domain is , the function starts at its minimum point and increases. Therefore, the range of is .
This means the domain of is .
Answer
The vertex of the parabola is at . Since the domain is , the function starts at its minimum point and increases. Therefore, the range of is .
This means the domain of is .
This means the domain of is .
5. Transformations of Functions
Alright, let's get into graph transformations. Think of this as the ultimate editing tool for functions. Changes outside act on and behave as you expect; changes inside act on and behave the opposite way. Let's break it down, using the words the examiner expects when a question says "describe fully":
1. : translation by .
This is the most straightforward. If is positive, the whole graph moves up by units. If is negative, it moves down. The shape doesn't change at all.
2. : translation by .
Heads up, this one feels a bit backwards! If you see , the graph actually moves left by units. If you see , it moves right. Why? For , you need to put in to get . So, the point that was at has moved to . In general, a translation by turns into .
3. : stretch parallel to the -axis, scale factor .
Every y-coordinate gets multiplied by ; points on the -axis stay where they are.
1. : translation by .
This is the most straightforward. If is positive, the whole graph moves up by units. If is negative, it moves down. The shape doesn't change at all.
2. : translation by .
Heads up, this one feels a bit backwards! If you see , the graph actually moves left by units. If you see , it moves right. Why? For , you need to put in to get . So, the point that was at has moved to . In general, a translation by turns into .
3. : stretch parallel to the -axis, scale factor .
Every y-coordinate gets multiplied by ; points on the -axis stay where they are.

4. : stretch parallel to the -axis, scale factor .
Like the horizontal translation, this one is counter-intuitive: every x-coordinate is divided by . So has scale factor (squeezed to half its width) and has scale factor . Points on the -axis stay where they are.
5. : reflection in the -axis. : reflection in the -axis.
"Describe fully" needs the name and the details: "Translation by ", "Stretch parallel to the -axis with scale factor 3". Words like "shift" or "flip" on their own lose the mark.
Combining transformations. When two transformations act in different directions (one on , one on ), the order does not matter. When both act on , or both on , it can, so check your order by substituting. For , stretch first, then translate: translating first would give , a different curve. For there are two correct orders: translate by then stretch with factor (giving , then ), or stretch with factor then translate by (giving , then ). "Stretch first, then translate by " is wrong: it gives . To move a point: for the new , undo what happens inside the bracket; for the new , do what happens outside, in the usual order of operations.
Worked example
Worked Example: Applying a Sequence of Transformations
The Ultimate Graph Glow-Up Challenge 💅
The graph of is a parabola with vertex at and roots at and . Sketch the graph of , stating the coordinates of the vertex and the roots of the transformed function.
- 1First, let's identify the transformations and check the order. The function is . The change inside the bracket acts on , so its order against the others doesn't matter. The two changes outside both act on , so do them in the usual order of operations: multiply by first, then add 3. Check by substituting: reflecting gives , and adding 3 gives . ✓ (Adding 3 first and then reflecting would give , which is wrong.)Transformation 1: Stretch parallel to the -axis, scale factor 2. .
Transformation 2: Reflection in the -axis. .
Transformation 3: Translation by . . - 2Now, let's list our key points from the original graph, . We have the vertex and the two roots.Original points:
Root 1:
Root 2:
Vertex: - 3Apply the first transformation: the horizontal stretch by a factor of 2. We multiply each x-coordinate by 2.
- 4Next, apply the reflection in the x-axis to our new points. We negate each y-coordinate.
- 5Finally, apply the vertical translation. We add 3 to each of the y-coordinates from the previous step.
- 6We've done it! The original parabola which opened upwards with a minimum at is now a parabola that opens downwards with a maximum point (the new vertex) at . The points that were roots are now at and . We can now sketch this transformed graph.Final Coordinates:
New Vertex:
Transformed 'Roots': and
The transformed graph does not have roots on the x-axis since its maximum point is above the axis and it opens downwards.
Answer
Final Coordinates:
New Vertex:
Transformed 'Roots': and
The transformed graph does not have roots on the x-axis since its maximum point is above the axis and it opens downwards.
New Vertex:
Transformed 'Roots': and
The transformed graph does not have roots on the x-axis since its maximum point is above the axis and it opens downwards.
Practice this in the app
Unlock the full chapter: practice questions, flashcards, mock papers and notes, free.
Continue revising