Function Mappings and Common Functions for the ESAT

Updated July 2026

In ESAT Mathematics 2, understanding the precise definition of a function is crucial. This topic covers why functions must be one-to-one or many-to-one mappings, the convention that square roots are always positive, and how to manipulate the modulus function. One key fact is that every input must have exactly one output.

Core concept

A function is a rule that assigns exactly one output value to every valid input value. If a rule produces multiple outputs for a single input, such as y=±xy = \pm\sqrt{x}, it is not a function.

What defines a function?

In mathematics, a function is defined as a rule or mapping from a set of input values to a set of output values. While we often use algebraic expressions to represent these rules, not every expression qualifies as a function. To understand what makes something a function, we must look at how inputs are transformed into outputs.

We typically use the notation f(x)f(x) to represent the value of a function for a given input xx. For example, if we have f(x)=x2+3f(x) = x^2 + 3, the rule takes an input xx, squares it, and adds 33. We often combine this with a statement about the allowed inputs, such as xRx \in \mathbb{R}, which means xx can be any real number on the xx axis. While mathematicians might strictly distinguish between the function ff and its value f(x)f(x), or use mapping notation like f:xx2+3f: x \to x^2 + 3, for the ESAT you can safely treat f(x)=f(x) = \dots and y=y = \dots as ways of describing the same relationship.

The criteria for a function

For an expression to be called a function, it must satisfy three specific requirements:

  1. There must be a rule, usually an algebraic expression, that maps inputs to outputs.
  2. There must be a clear list of permitted input values, known as the Domain. In the ESAT, if a domain is not specified, you should assume it is the set of all real numbers for which the expression is defined. Some functions have inherent domains, such as logarithms, which only accept positive xx values. Other times, the domain is restricted manually, such as f(x)=x2+3f(x) = x^2 + 3 for x2x \geq 2.
  3. For every input value in the domain, there must be exactly one output value.

Consider the expression f(x)=±xf(x) = \pm\sqrt{x}. If we input x=16x = 16, we get two possible outputs: 44 and 4-4. Because a single input leads to more than one output, this expression is not a function. The only exception is at x=0x = 0, where there is only one output, but for the mapping to be a function, the 'single output' rule must hold for every value in the domain.

One-to-one and many-to-one mappings

While every input must have only one output, it is perfectly acceptable for different inputs to produce the same output. This leads to two classifications of functions:

  • One-to-one functions: Each input gives a unique output that is not shared by any other input. An example is g(x)=x3g(x) = x^3, where every value of xx results in a distinct value of yy.
  • Many-to-one functions: Different input values can result in the same output value. A classic example is f(x)=x2f(x) = x^2. Here, f(2)=4f(2) = 4 and f(2)=4f(-2) = 4. Even though two inputs give the same output, it is still a function because each individual input only points to one specific output.

Graphical tests for functions

You can determine if a relationship is a function by looking at its graph. If any vertical line drawn through the domain crosses the graph more than once, it is not a function because that xx value has multiple yy values.

img-11.jpeg

Once you have confirmed a relationship is a function using the vertical line test, you can determine if it is one-to-one or many-to-one using the horizontal line test. If every horizontal line crosses the graph at most once, the function is one-to-one. If you can find a horizontal line that crosses the graph more than once, the function is many-to-one.

img-12.jpeg

img-13.jpeg

The square root function

In the ESAT, the notation f(x)=xf(x) = \sqrt{x} always refers to the positive square root. This is a standard convention. Unless otherwise stated, the domain for this function is x0x \geq 0, as the square roots of negative numbers (complex numbers) are not part of the ESAT specification.

Looking at the graph of y=xy = \sqrt{x}, you can see it passes the vertical line test (it is a function) and the horizontal line test (it is one-to-one).

img-14.jpeg

The modulus function

The modulus function, written as f(x)=xf(x) = |x|, outputs the positive value of whatever is inside the bars. For example, 7=7|7| = 7, 2=2|-2| = 2, and 0=0|0| = 0. You should be comfortable working with the modulus both algebraically and graphically.

A helpful technique for sketching the graph of y=f(x)y = |f(x)| is to first sketch the graph of y=f(x)y = f(x). You then reflect any part of the graph that lies below the xx axis in the xx axis itself, while leaving the parts above the xx axis unchanged. This ensures that all yy values are non-negative.

img-15.jpeg

Key takeaways

  • A function must provide exactly one output for every input in its domain.
  • The vertical line test identifies if a mapping is a function: a vertical line must never cross the graph more than once.
  • The horizontal line test distinguishes between one-to-one and many-to-one functions.
  • The symbol x\sqrt{x} strictly denotes the non-negative square root in the context of functions.
  • To graph y=f(x)y = |f(x)|, reflect any parts of y=f(x)y = f(x) that are below the xx axis into the upper half-plane.
Tips

When you see a modulus sign in an equation, consider two cases: one where the expression inside is positive, and one where it is negative. This is often the quickest way to solve modulus problems algebraically.

Cautions

Never assume x\sqrt{x} means ±x\pm\sqrt{x} in a function context. In the ESAT, x\sqrt{x} is the unique positive root. If a question requires both roots, it will explicitly use the ±\pm sign.

Insight

The distinction between one-to-one and many-to-one is essential for understanding inverses. Only one-to-one functions have an inverse function because the reverse mapping must also satisfy the 'single output' rule to qualify as a function.

Frequently asked questions

Is the equation of a circle x2+y2=r2x^2 + y^2 = r^2 a function?

No. If you rearrange for yy, you get y=±r2x2y = \pm\sqrt{r^2 - x^2}. For most values of xx, there are two possible yy values. Graphically, a vertical line would cross the circle twice, failing the vertical line test.

What is the difference between a mapping and a function?

A mapping is a general term for a rule connecting sets. A function is a specific type of mapping where each input maps to exactly one output. Therefore, all functions are mappings, but not all mappings are functions.

Why is the domain important in the ESAT?

The domain defines where the function exists. For instance, x\sqrt{x} is only a function if x0x \geq 0. Restricting the domain can also turn a many-to-one function into a one-to-one function, which is necessary for defining an inverse.

Does f(x)=xf(x) = |x| count as a one-to-one or many-to-one function?

It is many-to-one. For example, 3=3|-3| = 3 and 3=3|3| = 3. Since two different inputs produce the same output, it is many-to-one.

Ready to test your knowledge?

You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.