DoAssignment.ca

A1.2 · Represent and evaluate linear and quadratic functions using function notation

Learn to represent and evaluate linear and quadratic functions using function notation through clear examples and targeted practice.

Ontario Grade 11 Mathematics

Characteristics of Functions

MCR3U – A1.2: Linear and Quadratic Functions in Function Notation

You already know how to write equations like y=2x+1y = 2x + 1 or y=x2−3x+4y = x^2 - 3x + 4 from Grade 10. In this lesson, you will learn a more powerful way to write the same relationships — using function notation. Function notation, such as f(x)=2x+1f(x) = 2x + 1, does everything yy does, plus it lets you name the function, track inputs and outputs clearly, and communicate results efficiently. By the end of this lesson, you will be comfortable reading, writing, and evaluating linear and quadratic functions expressed in function notation.

What you will learn

Prerequisite Bridge: Relations, Functions, and y = mx + b

A relation is any rule that connects input values to output values. A function is a special relation where every input has exactly one output. For example, if you put 3 into the rule 'double and add 1,' you always get 7 — never two different answers. That consistency is what makes something a function.
In Grade 10 you represented linear functions as y=mx+by = mx + b, where mm is the slope and bb is the y-intercept, and quadratic functions as y=ax2+bx+cy = ax^2 + bx + c, where a≠0a \neq 0. The variable yy told you the output, and xx was the input. Function notation keeps that same idea but adds a label so you can refer to specific functions by name.

What Is Function Notation?

Function notation replaces yy with a name followed by (x)(x). The most common name is ff, read as 'f of x,' but any letter works — gg, hh, CC, AA, and so on. The letter inside the parentheses is the input variable.
So y=3x−5y = 3x - 5 becomes f(x)=3x−5f(x) = 3x - 5. Both equations describe exactly the same line. The difference is that f(x)=3x−5f(x) = 3x - 5 has a built-in name (ff) that you can use when communicating results. For instance, f(2)f(2) means 'evaluate function ff when the input is 2.' It does NOT mean ff multiplied by xx — the parentheses here signal substitution, not multiplication.
You can have more than one function in the same problem. Calling them ff and gg keeps them separate without confusion. For a quadratic, y=−2x2+x+6y = -2x^2 + x + 6 becomes g(x)=−2x2+x+6g(x) = -2x^2 + x + 6. The notation works the same way regardless of whether the function is linear or quadratic.
Either form can be used depending on the type of relationship you are representing.
f(x)=mx+bf(x) = mx + b

Evaluating a Function: Substituting a Number

To evaluate f(x)f(x) at a specific number, replace every xx in the rule with that number and simplify. This is called substitution. The result is a single number — the output.
For example, given f(x)=4x−7f(x) = 4x - 7, evaluating at x=3x = 3 means computing f(3)=4(3)−7=12−7=5f(3) = 4(3) - 7 = 12 - 7 = 5. You write this as f(3)=5f(3) = 5, which tells anyone reading your work exactly which function you used and what input produced the output 5.
The same process applies to quadratic functions. Given g(x)=x2−2x+3g(x) = x^2 - 2x + 3, evaluating at x=−1x = -1 gives g(−1)=(−1)2−2(−1)+3=1+2+3=6g(-1) = (-1)^2 - 2(-1) + 3 = 1 + 2 + 3 = 6. Always use brackets around a negative substitution value to avoid sign errors.
f(a)=4(a)−7f(a) = 4(a) - 7

Evaluating a Function at an Expression

Function notation is especially useful when the input is an expression rather than a single number. For example, f(x+1)f(x + 1) means replace every xx in the rule with the entire expression (x+1)(x + 1).
Given f(x)=3x+2f(x) = 3x + 2, finding f(x+1)f(x + 1) works like this: replace xx with (x+1)(x + 1) to get f(x+1)=3(x+1)+2=3x+3+2=3x+5f(x+1) = 3(x+1) + 2 = 3x + 3 + 2 = 3x + 5. Notice the result is still a linear expression — you expanded and simplified using the distributive property from Grade 9.
For a quadratic, h(x)=x2−xh(x) = x^2 - x, evaluating h(2t)h(2t) means replace xx with 2t2t: h(2t)=(2t)2−(2t)=4t2−2th(2t) = (2t)^2 - (2t) = 4t^2 - 2t. This kind of evaluation appears when you investigate how a function behaves for a scaled input, and it requires careful use of exponent rules.
f(x+1)=3(x+1)+2f(x+1) = 3(x+1) + 2

Interpreting Function Notation in Context

Function notation is not just symbolic — it carries meaning. If C(n)=5n+20C(n) = 5n + 20 represents the cost in dollars of printing nn posters, then C(0)=20C(0) = 20 means it costs CAD 20 even before any posters are printed (a fixed setup fee). C(10)=5(10)+20=70C(10) = 5(10) + 20 = 70 means 10 posters cost CAD 70.
A statement like C(n)=95C(n) = 95 is an equation you can solve: 5n+20=95⇒5n=75⇒n=155n + 20 = 95 \Rightarrow 5n = 75 \Rightarrow n = 15. So 15 posters cost exactly CAD 95. Reading and writing statements in function notation this way makes the relationship between input and output explicit and easy to follow.
For a quadratic in context, if h(t)=−5t2+20th(t) = -5t^2 + 20t models the height in metres of a ball tt seconds after it is thrown, then h(0)=0h(0) = 0 (ball starts at ground level), h(2)=−5(4)+20(2)=−20+40=20h(2) = -5(4) + 20(2) = -20 + 40 = 20 (ball is 20 m high at 2 s), and h(4)=−5(16)+80=0h(4) = -5(16) + 80 = 0 (ball returns to ground at 4 s).

Function Notation at a Glance: Linear vs. Quadratic

FeatureLinear ExampleQuadratic Example
Standard formf(x)=mx+bf(x) = mx + bg(x)=ax2+bx+c, a≠0g(x) = ax^2 + bx + c,\ a \neq 0
Sample rulef(x)=3x−1f(x) = 3x - 1g(x)=2x2−x+4g(x) = 2x^2 - x + 4
Evaluate at x=2x = 2f(2)=3(2)−1=5f(2) = 3(2)-1 = 5g(2)=2(4)−2+4=10g(2) = 2(4)-2+4 = 10
Evaluate at x=−3x = -3f(−3)=3(−3)−1=−10f(-3) = 3(-3)-1 = -10g(−3)=2(9)−(−3)+4=25g(-3) = 2(9)-(-3)+4 = 25
Evaluate at expressionf(x+1)=3x+2f(x+1) = 3x+2g(2x)=8x2−2x+4g(2x) = 8x^2-2x+4

Worked example

Evaluating a Linear Function at a Number and an Expression

Let f(x)=6x−4f(x) = 6x - 4. Find: (a) f(−2)f(-2), (b) f(0)f(0), (c) f(x+3)f(x + 3).
  1. Write the function rule
    Start by clearly restating the rule so every substitution is visible.
    f(x)=6x−4f(x) = 6x - 4
  2. Evaluate part (a): substitute x=−2x = -2
    Replace every xx with (−2)(-2). Use brackets to protect the negative sign, especially in front of the coefficient 6.
    f(−2)=6(−2)−4=−12−4=−16f(-2) = 6(-2) - 4 = -12 - 4 = -16
  3. Evaluate part (b): substitute x=0x = 0
    Replace xx with 00. Multiplying by 0 removes the xx-term, leaving only the constant.
    f(0)=6(0)−4=0−4=−4f(0) = 6(0) - 4 = 0 - 4 = -4
  4. Evaluate part (c): substitute the expression (x+3)(x + 3) for every xx
    Replace xx with the entire expression (x+3)(x + 3). Distribute 6 across the bracket using the distributive property, then collect like terms.
    f(x+3)=6(x+3)−4=6x+18−4=6x+14f(x+3) = 6(x+3) - 4 = 6x + 18 - 4 = 6x + 14
Answer: f(−2)=−16f(-2) = -16, f(0)=−4f(0) = -4, f(x+3)=6x+14f(x+3) = 6x + 14.
Check: Verify f(−2)f(-2): 6(−2)−4=−12−4=−166(-2) - 4 = -12 - 4 = -16, correct. Verify f(x+3)f(x+3) by testing x=−2x = -2: f(−2+3)=f(1)=6(1)−4=2f(-2+3) = f(1) = 6(1)-4 = 2. Using the simplified expression: 6(−2)+14=−12+14=26(-2)+14 = -12+14 = 2, matches.

Worked example

Evaluating a Quadratic Function and Solving f(x) = k

Let g(x)=−x2+5x−2g(x) = -x^2 + 5x - 2. Find: (a) g(3)g(3), (b) g(−1)g(-1), (c) the value(s) of xx such that g(x)=4g(x) = 4.
  1. Write the function rule
    Restate the quadratic rule to keep track of the negative leading coefficient.
    g(x)=−x2+5x−2g(x) = -x^2 + 5x - 2
  2. Evaluate part (a): substitute x=3x = 3
    Replace xx with 33. Square first, then multiply by the coefficient −1-1, then add the remaining terms.
    g(3)=−(3)2+5(3)−2=−9+15−2=4g(3) = -(3)^2 + 5(3) - 2 = -9 + 15 - 2 = 4
  3. Evaluate part (b): substitute x=−1x = -1
    Replace xx with (−1)(-1). Squaring a negative gives a positive: (−1)2=1(-1)^2 = 1. Multiply by the leading coefficient −1-1 to get −1-1, then continue.
    g(−1)=−(−1)2+5(−1)−2=−1−5−2=−8g(-1) = -(-1)^2 + 5(-1) - 2 = -1 - 5 - 2 = -8
  4. Set up the equation for part (c)
    Writing g(x)=4g(x) = 4 means you need the input(s) that produce an output of 4. Replace g(x)g(x) with the rule and set it equal to 4.
    −x2+5x−2=4-x^2 + 5x - 2 = 4
  5. Rearrange into standard form
    Move all terms to one side so the equation equals 0. Add x2x^2, subtract 5x5x, and add 22 to both sides.
    x2−5x+6=0x^2 - 5x + 6 = 0
  6. Factor the quadratic
    Find two numbers that multiply to 66 and add to −5-5. Those numbers are −2-2 and −3-3, so the factored form is (x−2)(x−3)(x-2)(x-3).
    (x−2)(x−3)=0(x - 2)(x - 3) = 0
  7. Apply the zero-product property and solve
    If a product equals zero, at least one factor must equal zero. Set each factor equal to zero separately to find the two possible input values.
    x=2, x=3x = 2, \ x = 3
Answer: g(3)=4g(3) = 4, g(−1)=−8g(-1) = -8, and g(x)=4g(x) = 4 when x=2x = 2 or x=3x = 3.
Check: Verify g(2)=−(4)+10−2=4g(2) = -(4) + 10 - 2 = 4, correct. Verify g(3)=−(9)+15−2=4g(3) = -(9) + 15 - 2 = 4, correct. Notice that the answer to part (a) already told us g(3)=4g(3) = 4, which is consistent.

Common mistakes and how to avoid them

Reading f(x)f(x) as multiplication: 'ff times xx.'
Correction: f(x)f(x) means 'function ff evaluated at input xx.' The parentheses signal substitution, not multiplication.
Forgetting to square the entire substituted value, e.g. writing −x2-x^2 at x=−3x = -3 as −(−3)2=9-(-3)^2 = 9 instead of −9-9.
Correction: (−3)2=9(-3)^2 = 9, so −(−3)2=−(9)=−9-(-3)^2 = -(9) = -9. Always square first, then apply the negative coefficient.
When evaluating f(x+1)f(x + 1), only replacing one occurrence of xx and missing others.
Correction: Every single xx in the rule must be replaced by (x+1)(x+1). Rewrite the full rule, then substitute.
Dropping brackets around a negative input, e.g. writing 3⋅−23 \cdot -2 instead of 3(−2)3(-2), which can cause sign errors.
Correction: Always use brackets: 3(−2)=−63(-2) = -6. This habit prevents errors in longer expressions.
Confusing f(x)=kf(x) = k (find the input) with f(k)f(k) (find the output).
Correction: f(k)f(k) asks you to substitute kk and calculate the output. f(x)=kf(x) = k asks you to set up and solve an equation to find the input(s) that give output kk.

Lesson summary

Check your understanding

Question 1

Given f(x)=5x−3f(x) = 5x - 3, what is f(−2)f(-2)?
  1. -13
  2. 7
  3. -7
  4. 13
Show answer and explanation
-13
f(−2)=5(−2)−3=−10−3=−13f(-2) = 5(-2) - 3 = -10 - 3 = -13. The key is to use brackets: 5×(−2)=−105 \times (-2) = -10, then subtract 3.

Question 2

Which expression correctly represents f(x+2)f(x + 2) for f(x)=4x−1f(x) = 4x - 1?
  1. 4x+14x + 1
  2. 4x+74x + 7
  3. 4x−1+24x - 1 + 2
  4. 4x2+74x^2 + 7
Show answer and explanation
4x+74x + 7
Replace every xx with (x+2)(x+2): f(x+2)=4(x+2)−1=4x+8−1=4x+7f(x+2) = 4(x+2) - 1 = 4x + 8 - 1 = 4x + 7. Option C forgets to distribute the 4; options A and D are expansion errors.

Question 3

Let g(x)=−x2+3xg(x) = -x^2 + 3x. What is g(−2)g(-2)?
  1. −10-10
  2. 1010
  3. −2-2
  4. 22
Show answer and explanation
−10-10
g(−2)=−(−2)2+3(−2)=−(4)+(−6)=−4−6=−10g(-2) = -(-2)^2 + 3(-2) = -(4) + (-6) = -4 - 6 = -10. A common error is computing −(−2)2-(-2)^2 as +4+4 instead of −4-4.

Question 4

For h(x)=x2−4x+3h(x) = x^2 - 4x + 3, which values of xx satisfy h(x)=0h(x) = 0?
  1. x=1x = 1 and x=3x = 3
  2. x=−1x = -1 and x=−3x = -3
  3. x=2x = 2 only
  4. x=4x = 4 and x=0x = 0
Show answer and explanation
x=1x = 1 and x=3x = 3
Set x2−4x+3=0x^2 - 4x + 3 = 0 and factor: (x−1)(x−3)=0(x-1)(x-3) = 0, giving x=1x = 1 or x=3x = 3. You can verify: h(1)=1−4+3=0h(1) = 1 - 4 + 3 = 0 and h(3)=9−12+3=0h(3) = 9 - 12 + 3 = 0, both correct.

Key terms

Function
A relation where every input value produces exactly one output value.
Function notation
A way of writing a function using a name and an input variable, such as f(x)f(x), instead of just yy.
Input
The value you substitute into a function; also called the independent variable, usually represented by xx.
Output
The result you get after substituting the input into the function rule; also called the dependent variable, represented by f(x)f(x) or yy.
Evaluate
To find the output of a function by substituting a specific value or expression for the input variable.
Linear function
A function whose rule has degree 1, producing a straight-line graph. In function notation: f(x)=mx+bf(x) = mx + b.
Quadratic function
A function whose rule has degree 2, producing a parabolic graph. In function notation: g(x)=ax2+bx+cg(x) = ax^2 + bx + c, where a≠0a \neq 0.
Substitution
The process of replacing a variable with a specific number or expression and then simplifying the result.

Continue through MCR3U

View the complete Ontario Grade 11 Mathematics learning path

About this lesson

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 11 Mathematics (MCR3U), expectation A1.2. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question