How do you read and use function notation, evaluate a function and solve for an input?
Working with functional notation: evaluating a function f of x for a given input, finding the input that gives a required output, and identifying a function from its formula.
A focused answer to the SQA National 5 Mathematics functional notation content, covering how to read f of x notation, evaluate a function for a given value including negatives, find the input that produces a given output, and substitute expressions into a function.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
The SQA wants you to read and use function notation: evaluate a function for a given input (including negatives and fractions), find the input that produces a required output by forming and solving an equation, and substitute an expression into a function.
What f(x) means
The notation is read "f of x" and names a function: a rule that takes an input and produces one output. The letter is just the name of the rule (other common names are and ), and whatever is written inside the brackets is the input that replaces in the formula.
So if , then means "put in place of ": . The notation is compact and exact, which is why it is used throughout the course.
Evaluating a function
To evaluate, substitute the given value for every in the formula and simplify. Negative and fractional inputs need care, especially inside powers.
Finding the input for a given output
If you know the output and want the input, set the formula equal to that output and solve the resulting equation.
Substituting an expression
Sometimes the input is itself an expression. Replace every with that whole expression, keeping it in brackets to avoid errors.
This idea of putting one expression in place of the input is the foundation of composite functions, which are studied at Higher.
Reading values from a graph
A function can also be given as a graph rather than a formula. To find from a graph, go to on the horizontal axis, read up to the curve, and across to the value: that height is . To solve , do the reverse: find where the curve is at height and read off the value (or values). The same two questions, evaluating and solving, appear whether the function is a formula or a graph.
Two functions in one question
A question may define more than one function, such as and , and ask you to combine their values. Work out each separately and then combine. For and , the value is . Treat each function name as its own rule, and always read carefully which function and which input each part is asking about.
Examples in context
Function notation is how science and computing describe rules. A formula for the cost of hiring a tool, pounds for days, is a function: gives the cost of a three-day hire. Asking "how many days does buy" means solving , giving . The same notation turns a real-world rule into something you can evaluate or invert.
Try this
Q1. Given , find . [1 mark]
- Cue. .
Q2. Given , find . [2 marks]
- Cue. .
Q3. Given , find when . [2 marks]
- Cue. , so .
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SQA National 5 20182 marksA function is defined as . Evaluate .Show worked answer →
Substitute into the formula, taking care with the square of a negative: (1 mark). Since , this is (1 mark). Markers reward correct substitution with and the final value . A common error is writing .
SQA National 5 20213 marksA function is defined by . Given that , find the value of .Show worked answer →
Set the formula equal to the required output: (1 mark). Solve the equation: (1 mark), so (1 mark). Markers reward forming the equation and solving for .
Related dot points
- Determining and using the equation of a straight line in the forms y equals mx plus c and y minus b equals m times x minus a, including the gradient, the y-intercept, and parallel lines.
A focused answer to the SQA National 5 Mathematics straight line content, covering the equation y equals mx plus c, reading the gradient and y-intercept, the point-gradient form, finding the equation from a gradient and a point, and parallel lines.
- Solving linear equations and inequations in one variable, including equations with brackets, fractions and the unknown on both sides, and representing inequation solutions.
A focused answer to the SQA National 5 Mathematics equations and inequations content, covering solving linear equations with brackets, fractions and the unknown on both sides, and solving linear inequations including the rule for reversing the sign when dividing by a negative.
- Sketching and interpreting quadratic functions and their graphs, and solving quadratic equations by factorising, by the quadratic formula and graphically.
A focused answer to the SQA National 5 Mathematics quadratics content, covering the shape and key features of a parabola, the roots and turning point, and solving quadratic equations by factorising, by the quadratic formula, and from a graph.
- Changing the subject of a formula, including formulae involving brackets, fractions, squares and square roots.
A focused answer to the SQA National 5 Mathematics changing-the-subject content, covering how to rearrange a formula to make a different variable the subject, including formulae with brackets, fractions, squares and square roots.
- Solving simultaneous linear equations in two variables algebraically by elimination and substitution, and graphically as the point of intersection.
A focused answer to the SQA National 5 Mathematics simultaneous equations content, covering solving two linear equations in two unknowns by elimination and by substitution, the link to the point of intersection of two lines, and setting up simultaneous equations from a context.
Sources & how we know this
- SQA National 5 Mathematics Course Specification — SQA (2018)