McIntyre MathsYear 10 Mathematics

Lesson 1 · Relations and functions

Year 10 Mathematics · Functions and polynomials · Outcome MA5-FNC-P-01
Learning intentionTo introduce relations and functions, and to use function notation, domain and range.
Success criteria · I can…
  • classify a relation as one-to-one, one-to-many, many-to-one or many-to-many
  • decide whether a relation is a function, including by the vertical line test
  • evaluate f(a)f(a) and find the domain and range of a function

Lesson flow

Warm-up · Substitution

Slide 2

Quick questions to get started.

(a) Evaluate 3x−43x-4 when x=−2x=-2.
Show answerHide answer
Answer
−10-10
Why
3(−2)−4=−6−4=−103(-2)-4=-6-4=-10.
(b) Evaluate x2−x+6x^2-x+6 when x=−3x=-3.
Show answerHide answer
Answer
1818
Why
(−3)2−(−3)+6=9+3+6=18(-3)^2-(-3)+6=9+3+6=18. Put brackets around a negative input so that (−3)2=9(-3)^2=9, not −9-9.
(c) Solve x2=9x^2=9.
Show answerHide answer
Answer
x=3x=3 or x=−3x=-3
Why
Both 323^2 and (−3)2(-3)^2 equal 99. One equation, two answers: this idea returns when we meet one-to-many relations.

Relations

Slides 3–4
Relation
A relation links an input xx to an output yy. Each pair is written as an ordered pair (x,y)(x,y).
  • xx is the input (the independent variable)
  • yy is the output (the dependent variable)
Think of a black box: for y=2x+1y=2x+1, the input 44 gives the output 99.
TypeExampleWhat happens
One-to-oney=2x+1y=2x+1Each xx has its own yy, and each yy has its own xx.
One-to-manyx=y2x=y^2x=4x=4 gives y=2y=2 or y=−2y=-2.
Many-to-oney=x2y=x^2x=2x=2 and x=−2x=-2 both give y=4y=4.
Many-to-manyx2+y2=4x^2+y^2=4A circle: one xx gives two yy values, and one yy gives two xx values.

Example 1 · Types of relation

Slide 5

Classify each relation

Say whether each relation is one-to-one, one-to-many, many-to-one or many-to-many.

(a) y=x−5y=x-5
Show answerHide answer
Answer
One-to-one.
Why
Each xx gives one yy, and each yy comes from exactly one xx.
(b) y=x2+3y=x^2+3
Show answerHide answer
Answer
Many-to-one.
Why
x=2x=2 and x=−2x=-2 both give y=7y=7, but each xx gives only one yy.
(c) x=y2+1x=y^2+1
Show answerHide answer
Answer
One-to-many.
Why
x=5x=5 gives y=2y=2 or y=−2y=-2, while each yy gives only one xx.
(d) x2+y2=25x^2+y^2=25
Show answerHide answer
Answer
Many-to-many.
Why
x=3x=3 gives y=4y=4 or y=−4y=-4, and y=4y=4 gives x=3x=3 or x=−3x=-3. Test with a number: choose an xx and count the yy values, then choose a yy and count the xx values.

Functions

Slide 6
Function
A function is a relation where each xx gives exactly one yy. So a function is one-to-one or many-to-one.
Domain and range
The domain is all the allowed xx values (inputs). The range is all the possible yy values (outputs).
Line tests
Vertical line test: a vertical line crosses the graph of a function at most once. If it crosses twice or more, the relation is not a function.
Horizontal line test: a horizontal line crosses the graph of a one-to-one function at most once. If it crosses twice or more, the function is many-to-one.

Example 2 · Is it a function?

Slides 7–8

Identify the functions

Decide which of these are functions.

(a) {(−2,3),(0,3),(1,−4),(5,0)}\{(-2,3),(0,3),(1,-4),(5,0)\}
Show answerHide answer
Answer
Function (many-to-one).
Why
Each xx appears once. The repeated y=3y=3 is allowed. Only a repeated xx with different yy values would break the rule.
(b) y=4−x2y=4-x^2
Show answerHide answer
Answer
Function (many-to-one).
Why
Each xx gives exactly one yy.
(c) The graph shown after part (c).
Show answerHide answer
Answer
Not a function.
Why
The graph is x=y2−1x=y^2-1. The vertical line x=3x=3 crosses it twice, at y=2y=2 and y=−2y=-2, so one input has two outputs.
xy-2-11234-3-2-11230
Part (c)

Your turn

Decide which are functions. Give a reason for each.

(a) {(1,3),(2,5),(3,3),(4,7)}\{(1,3),(2,5),(3,3),(4,7)\}
Show answerHide answer
Answer
Function.
Why
Each xx appears once. The repeated y=3y=3 is allowed.
(b) {(0,1),(2,4),(0,−3)}\{(0,1),(2,4),(0,-3)\}
Show answerHide answer
Answer
Not a function.
Why
x=0x=0 gives both y=1y=1 and y=−3y=-3.
(c) y=x2−2y=x^2-2
Show answerHide answer
Answer
Function (many-to-one).
Why
Each xx gives one yy.
(d) x=4x=4
Show answerHide answer
Answer
Not a function.
Why
The graph is a vertical line, so the single input x=4x=4 has infinitely many outputs. The equation has no yy, so it is easy to miss.

Function notation

Slide 9
Function notation
f(x)f(x) is read “ff of xx”. The equation y=x2+x−4y=x^2+x-4 can be written f(x)=x2+x−4f(x)=x^2+x-4. Other names such as g(x)g(x), h(x)h(x) and p(x)p(x) work the same way.

f(3)f(3) means substitute x=3x=3. For f(x)=x2+x−4f(x)=x^2+x-4, f(3)=32+3−4=8f(3)=3^2+3-4=8, so the point (3,8)(3,8) is on the graph.

Example 3 · Using f(x)

Slides 10–11

Evaluate

For f(x)=x2+3x−4f(x)=x^2+3x-4, find:

(a) f(0)f(0)
Show answerHide answer
Answer
f(0)=−4f(0)=-4
Why
0+0−4=−40+0-4=-4.
(b) f(−2)f(-2)
Show answerHide answer
Answer
f(−2)=−6f(-2)=-6
Why
(−2)2+3(−2)−4=4−6−4=−6(-2)^2+3(-2)-4=4-6-4=-6.
(c) f(k)f(k)
Show answerHide answer
Answer
f(k)=k2+3k−4f(k)=k^2+3k-4
Why
Replace every xx with kk.
(d) f(x+1)f(x+1)
Show answerHide answer
Answer
f(x+1)=x2+5xf(x+1)=x^2+5x
Why
(x+1)2+3(x+1)−4=x2+2x+1+3x+3−4=x2+5x(x+1)^2+3(x+1)-4=x^2+2x+1+3x+3-4=x^2+5x. Keep brackets around x+1x+1, and note that f(x+1)f(x+1) is not f(x)+1f(x)+1.

Your turn

For g(x)=3x2+2x−5g(x)=3x^2+2x-5, find:

(a) g(0)g(0)
Show answerHide answer
Answer
−5-5
Why
g(0)=−5g(0)=-5.
(b) g(−1)g(-1)
Show answerHide answer
Answer
−4-4
Why
3(1)−2−5=−43(1)-2-5=-4.
(c) g(a)g(a)
Show answerHide answer
Answer
3a2+2a−53a^2+2a-5
Why
Replace every xx with aa.
(d) g(a+1)g(a+1)
Show answerHide answer
Answer
3a2+8a3a^2+8a
Why
3(a+1)2+2(a+1)−5=3a2+6a+3+2a+2−5=3a2+8a3(a+1)^2+2(a+1)-5=3a^2+6a+3+2a+2-5=3a^2+8a. Expand (a+1)2(a+1)^2 fully as a2+2a+1a^2+2a+1.

Example 4 · Domain and range

Slide 12

Domain and range

Write down the domain and range of each function.

(a) y=5−2xy=5-2x
Show answerHide answer
Answer
Domain: all real xx. Range: all real yy.
Why
A straight line carries on forever in both directions.
(b) y=−x2+4y=-x^2+4
Show answerHide answer
Answer
Domain: all real xx. Range: y≤4y\le 4.
Why
−x2-x^2 is never positive, so the largest value of yy is 44, at x=0x=0. Sketch the downward parabola first.
(c) y=1xy=\dfrac{1}{x}
Show answerHide answer
Answer
Domain: x≠0x\ne 0. Range: y≠0y\ne 0.
Why
We cannot divide by zero, and 11 divided by a number is never 00.

Check in · Functions

Slide 13
Let f(x)=3−x2f(x)=3-x^2.
(a) Find f(−2)f(-2).
(b) Write down the domain and range of ff.
(c) Is ff one-to-one? Explain.
Show answerHide answer
Answer
(a) f(−2)=−1f(-2)=-1.
(b) Domain: all real xx. Range: y≤3y\le 3.
(c) No.
Why
(a) 3−(−2)2=3−4=−13-(-2)^2=3-4=-1.
(b) −x2≤0-x^2\le 0, so f(x)≤3f(x)\le 3.
(c) f(−2)=−1f(-2)=-1 and f(2)=−1f(2)=-1, so two inputs give the same output. It is many-to-one, and the horizontal line y=−1y=-1 crosses the graph twice.

Exit ticket

Slide 14
1. Is x2+y2=9x^2+y^2=9 a function? Explain.
Show answerHide answer
Answer
No.
Why
x=0x=0 gives y=3y=3 and y=−3y=-3. A circle fails the vertical line test (it is many-to-many).
2. If h(x)=2x2−3h(x)=2x^2-3, find h(−3)h(-3) and state the range.
Show answerHide answer
Answer
h(−3)=15h(-3)=15. Range: y≥−3y\ge -3.
Why
2(9)−3=152(9)-3=15. The smallest value of 2x22x^2 is 00, so h(x)≥−3h(x)\ge -3.