Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Chapter · Functions

Functions: the foundation everything else builds on

Functions is the very first chapter in Add Math, and that placement is deliberate. A function is simply a rule that turns each input into exactly one output, and once that idea is solid, composite functions, inverses, and almost everything later in the course become far easier to see.

What a function actually is

Strip away the notation and a function is a very ordinary idea: it is a rule that takes an input and gives back exactly one output. Put a number in, follow the rule, get a number out.

A vending machine is a function, press B4 and you always get the same snack. A function that sometimes gave you two different snacks for the same button would not be trustworthy, and in mathematics it would not be a function at all.

Add Math gives these everyday words precise names. The input is the object; the output it produces is the image.

The full set of allowed inputs is the domain, and the set of outputs the rule actually produces is the range. The one rule that matters most is the one from the vending machine: each object has exactly one image.

That single condition is what makes a rule a function.

The quick test

One input, one output. If a single input could lead to two different outputs, it is not a function.

Holding onto this one sentence clears up most of the confusion students have in this chapter.

Reading function notation without fear

The notation is where many students first feel lost, but it is only shorthand for the rule. When you see

f(x)=2x+3f(x) = 2x + 3

read it as: "the function ff takes an input, doubles it, then adds 33." The xx is just a placeholder for whatever you feed in.

So f(5)f(5) means put 55 where the xx is: f(5)=2(5)+3=13f(5) = 2(5) + 3 = 13. You will also see the mapping form, f:x2x+3f : x \mapsto 2x + 3, which says exactly the same thing, the arrow reads as "maps to".

Everything else in the chapter is built on this simple act of substitution. If you can reliably put a number, or even another expression, in place of xx and simplify, you already have the core skill the whole topic depends on.

Composite functions: doing one rule, then another

A composite function is what you get when you apply one function, then feed its output straight into a second function. If f(x)=2x+3f(x) = 2x + 3 and g(x)=x2g(x) = x^{2}, then fg(x)fg(x) means "do gg first, then do ff to the result".

You substitute g(x)g(x) into ff:

fg(x)=f(x2)=2x2+3fg(x) = f(x^{2}) = 2x^{2} + 3

The order matters, and this trips up a lot of students. If you reverse it and do ff first, you get a completely different result:

gf(x)=g(2x+3)=(2x+3)2gf(x) = g(2x + 3) = (2x + 3)^{2}

Read composites right to left

In fg(x)fg(x), the function nearest the xx acts first, so gg goes first, then ff. In general fg(x)fg(x) and gf(x)gf(x) are not the same.

Deciding the order before you substitute is what keeps these questions from going wrong.

Inverse functions: running the rule backwards

The inverse function, written f1f^{-1}, undoes what ff does. If ff takes 33 to 99, then f1f^{-1} takes 99 back to 33.

Applying a function and then its inverse returns you to where you started: ff1(x)=xff^{-1}(x) = x.

To find an inverse, there is a reliable three-step routine. Take f(x)=2x+3f(x) = 2x + 3.

First write y=2x+3y = 2x + 3. Next make xx the subject: y3=2xy - 3 = 2x, so x=y32x = \dfrac{y - 3}{2}.

Finally swap the letter back to xx to express the inverse as a function:

f1(x)=x32f^{-1}(x) = \frac{x - 3}{2}

You can check it works by composing: f(f1(x))=2x32+3=xf\big(f^{-1}(x)\big) = 2 \cdot \dfrac{x - 3}{2} + 3 = x, which returns the original input, exactly as an inverse should. Not every function has an inverse, only one-to-one functions do, because the inverse itself has to obey the one-input-one-output rule.

Why functions are the foundation for the whole syllabus

Functions come first because almost everything after them is a function in a particular costume. A quadratic is a function.

An exponential or a logarithm is a function. When you differentiate or integrate in the Form 5 chapters, you are working on functions.

The language of object, image, domain and range never goes away, it just gets applied to richer rules.

This is why a weak grip on functions quietly makes later chapters feel harder than they are. If substitution is shaky, quadratics feel shaky; if you cannot picture a rule and its inverse, later graph work feels arbitrary.

Time spent making this first chapter genuinely solid pays back across the whole two years.

It runs through both papers

Function ideas appear across the exam, Paper 1 (2 hours, 80 marks, Sections A and B) and Paper 2 (2 hours 30 minutes, 100 marks, Sections A, B and C), with no Paper 3. Because marking is analytic, laying out each substitution step clearly earns method marks even when a final answer slips.

How one-to-one teaching can help

Because functions underpin so much, a small gap here echoes through everything that follows, and it is often invisible, hidden as "I'm just bad at the later chapters". Working one-to-one, a teacher can trace a struggle in, say, differentiation right back to a shaky idea of what a function is, and repair the foundation instead of drilling the symptom.

Our teachers are experienced; lessons are online and taught in English, while the SPM papers are set bilingually in Bahasa Melayu and English.

If the early chapters never felt solid, you are welcome to begin with a one-hour paid trial class at the teacher's own rate (from RM50 per hour, depending on experience). We won't promise a grade, but we can help you build the base the rest of Add Math is meant to stand on.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

What is a function, in the simplest terms?

It is a rule that takes each input and gives back exactly one output. Put a number in, follow the rule, get one number out.

If a single input could give two different outputs, it is not a function, that one condition is the whole idea.

Does the order matter in a composite function?

Yes. In fg(x)fg(x) the function nearest xx acts first, so you do gg then ff.

In general fg(x)fg(x) and gf(x)gf(x) give different results, so always decide the order before substituting.

How do I find the inverse of a function?

Write y=f(x)y = f(x), rearrange to make xx the subject, then swap the letter back to xx. For f(x)=2x+3f(x) = 2x + 3 this gives f1(x)=x32f^{-1}(x) = \dfrac{x - 3}{2}.

You can confirm it by composing f(f1(x))f\big(f^{-1}(x)\big), which should return xx.

Why is Functions the first chapter in Add Math?

Because nearly everything after it is a function in disguise, quadratics, logarithms, and the calculus chapters all rest on the same ideas of object, image, domain and range. A solid grip on functions quietly makes the whole rest of the course easier.

Source:SRC-FORMAT

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply