Section A — Chapters 1–22
Introduction to Functions
Junior Cycle — 1st Year
- ✓By the end of this lesson students will be able to define what a function is.
- ✓By the end of this lesson students will be able to identify the domain, codomain, and range of a function given a set of inputs and outputs.
- ✓By the end of this lesson students will be able to understand and use function notation, such as f(x).
- ✓By the end of this lesson students will be able to evaluate a function for a given input value (object).
- ✓By the end of this lesson students will be able to find the input value (object) given an output value (image).
Key concepts
A function is a special type of rule that takes an input value and assigns it to exactly one output value. Think of it like a machine: you put something in, and it gives you one specific thing out. For every input, there is only one output.
An object is an input value to a function. It is what you 'put into' the function.
An image is the output value that a function produces for a given object. It is what you 'get out' of the function.
The domain of a function is the set of all possible input values (objects) that the function can take.
The codomain of a function is the set of all possible output values. It is the set where all the images are expected to be found. The range is always a subset of the codomain.
The range of a function is the set of all actual output values (images) that the function produces when applied to the objects in its domain. It is a subset of the codomain.
Function notation is a way to write functions using symbols. The most common notation is f(x), which is read as 'f of x'. Here, 'f' is the name of the function, and 'x' represents the input value (object). So, f(x) represents the output value (image) of the function f when the input is x.
Key facts to remember
- 1A function assigns exactly one output to each input.
- 2The input values are called objects.
- 3The output values are called images.
- 4The domain is the set of all possible input values.
- 5The codomain is the set of all possible output values.
- 6The range is the set of all actual output values, and it is a subset of the codomain.
- 7Function notation f(x) means 'the value of function f at x'.
- 8To evaluate f(x) for a specific value, substitute that value for x in the function's rule.
Worked examples
Example 1
Given the function f(x) = 3x + 2, find the image of 4. In other words, find f(4).
Answer
f(4) = 14
The object is 4, and its image is 14.
Example 2
A function g maps the set A = {1, 2, 3} to the set B = {2, 4, 6, 8} by the rule g(x) = 2x. Identify the domain, codomain, and range of this function.
Answer
Domain = {1, 2, 3}, Codomain = {2, 4, 6, 8}, Range = {2, 4, 6}
Notice that the range is a subset of the codomain.
Example 3
For the function h(x) = x - 5, if the image is 10, what is the object? In other words, find x when h(x) = 10.
Answer
The object is 15.
When the image is 10, the corresponding object (input) is 15.
Common mistakes
- ✗Confusing domain and range: Remember, domain is for inputs (objects), range is for outputs (images).
- ✗Assuming the codomain is always the same as the range: The range is only the *actual* outputs, while the codomain is the *possible* outputs. The range is a subset of the codomain.
- ✗Incorrectly substituting values: Make sure to replace *all* instances of 'x' with the input value when evaluating a function.
- ✗Not following the order of operations (BODMAS/PEMDAS) when evaluating functions.
- ✗Thinking a function can have multiple outputs for a single input. This is not a function.
Exam tips
- ★Always read the question carefully to identify what you are asked to find: an image, an object, the domain, or the range.
- ★Show all your working steps clearly, especially when substituting values into a function. This helps you get partial marks even if your final answer is incorrect.
- ★Use brackets when substituting negative numbers to avoid sign errors, e.g., f(-2) = 3(-2) + 2.
- ★If a mapping diagram is given, draw arrows from each domain element to its unique image to visualise the function and easily identify the range.
Ready to practise?
Try a problem on this topic
Snap a photo or type a question — get step-by-step working instantly.
