UNSW Sydney · FACULTY OF MATHEMATICS

DPST1012 Chap.2 Functions, Domain, Range and Graphs

- one subject, every graph, every model, every mark
7 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 2 of 12 · DPST1012

Functions, Domain, Range and Graphs

The definition that decides everything

Week 2 opens the first topic, Functions, with a single definition: a function maps every element of an input set to exactly one element of an output set. The worksheets test it on everyday tables such as menus, accommodation prices, step counts and class timetables.

Two inputs may share an output, as when two drinks cost the same, but one input may never have two outputs, which is why a timetable with two classes in one slot fails. Inputs and outputs can be numerical or non numerical.

Notation, domain and range

Function notation f : x ↦ f(x) and the equation y = f(x) say the same thing, and questions move between them.

The domain is the set of inputs and the range is the set of outputs actually produced. Sets are unordered, so the order in which a range is listed does not matter.

For a formula with no context, the domain is every real number the formula accepts, which means excluding zeros of denominators and negative values under square roots; in context the domain is usually smaller.

Graphs, interpolation and the line tests

The graph of a function is its set of ordered pairs plotted on a number plane.

Joining neighbouring points is interpolation and turns a table into a continuous model that can be read in two directions: up from an input to find an output, or across from an output to find every input that produces it. The vertical line test checks whether a curve is a function at all, and the horizontal line test checks whether it is one-to-one, the property that matters again when inverse functions arrive in Week 4.

In this chapter

What this chapter covers

  • 01

    A function as a mapping between two sets

  • 02

    Numerical and non numerical inputs

  • 03

    Function notation and y = f(x)

  • 04

    Domain and range from tables and formulas

  • 05

    Graphs as sets of ordered pairs

  • 06

    Interpolation and extrapolation

  • 07

    One-to-one functions and the line tests

Worked example · free

Decide the domain and range of two rules and evaluate them

Q [5 marks]. For p(x) = 5 − √(x + 1) and q(x) = 2/(x − 3), state the domain and range of each and evaluate p(8) and q(1). This mark allocation is AskSia's, not an official University marking scheme.
Figure 2.1.Figure 2.1. A library's loan rule as a mapping. DVD and Magazine both map to 7, which is allowed; each loan type still has a single arrow leaving it.Input set: loan typeOutput set: days allowedBookDVDLaptopMagazine1721
Figure 2.1. A library's loan rule as a mapping. DVD and Magazine both map to 7, which is allowed; each loan type still has a single arrow leaving it.
  • 1The root in p needs x + 1 ≥ 0, so the domain of p is x ≥ −1.
  • 1√(x + 1) takes every value from 0 upwards, so p(x) = 5 − √(x + 1) takes every value up to 5: range p(x) ≤ 5.
  • 2q is undefined at x = 3, so its domain is every real number except 3, and since 2/(x − 3) is never 0 its range is every real number except 0.
  • 1p(8) = 5 − √9 = 2 and q(1) = 2/(1 − 3) = −1.
p: domain [−1, ∞), range (−∞, 5], p(8) = 2. q: domain ℝ without 3, range ℝ without 0, q(1) = −1.
Sia tip — Write the domain condition as an inequality first, then turn it into interval notation; it stops a dropped minus sign.
Glossary

Key terms

Function
A rule that assigns to every element of an input set exactly one element of an output set.
Domain
The set of all input values for which a function is defined or which the context allows.
Range
The set of output values that a function actually produces from its domain.
Ordered Pair
A pair of numbers written (x, y) in which the order matters, used to plot one input with its output.
One-to-One Function
A function in which every output comes from exactly one input, so it passes the horizontal line test.
Interpolation
Estimating a value between two known data points, usually by joining them with a line or curve.
FAQ

Functions, Domain, Range and Graphs FAQ

Can two different inputs give the same output?

Yes, and the rule is still a function. A menu where two dishes cost the same price is a valid function. What is not allowed is a single input with two different outputs.

How do I find the domain of a formula quickly?

Look for a denominator and remove the x-values that make it zero, then look for an even root and require its contents to be zero or positive. Anything else a polynomial or exponential accepts is usually fine.

What is the difference between the vertical and horizontal line tests?

A vertical line crossing a graph more than once means some input has two outputs, so the graph is not a function. A horizontal line crossing more than once means an output repeats, so the function is not one-to-one.

Why do worksheets ask me to change times to 24-hour format?

Times such as 1:00 could mean morning or afternoon, and a function needs unambiguous inputs. A 24-hour clock gives every time of day a single numerical label that can be plotted on an axis.

Why does a graph need a break in its axis?

When every output is far from zero, such as temperatures between 19 and 27 degrees, starting the axis at zero squashes the data into a thin band. A marked break lets the scale start near the smallest value while warning the reader that zero has been skipped.

Study strategy

Exam move

For every table you meet, say aloud which column is the input and why, write the domain and range as sets, and then answer one 'evaluate' and one 'solve' question from it. Keep a list of the questions you misread, because reading direction is most of this topic.

Working through Functions, Domain, Range and Graphs in DPST1012? Sia is AskSia’s AI Mathematics tutor — ask any DPST1012 Functions, Domain, Range and Graphs question and get a clear, step-by-step explanation grounded in how DPST1012 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 100 of your UNSW Sydney subjects - and 1,000+ Bibles across every Australian university.
Sia - your DPST1012 tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
DPST1012 · Fundamentals of Mathematics B - independent study guide on the AskSia Library. More UNSW Sydney subjects · Microeconomics across all universities