CEMC Banner

Grade 6 Math Circles
Intro to Functions - Solutions

For Questions 1–4, it can be helpful to organise your answers into a table like this:

x 3 2 1 0 1 2 3
f(x)=x+3 0 1 2 3 4 5 6

If an answer is undefined, you can leave your answer as “undefined” or “DNE” (which stands for “Does Not Exist”).

For an extra challenge in Questions 1–3, try finding the range of each function!

  1. Evaluate each function for x=3,x=2,x=1,x=0,x=1,x=2, and x=3. Find the domain of each function.

    1. f(x)=x2

      Solution:

      x 3 2 1 0 1 2 3
      f(x) 5 4 3 2 1 0 1

      Domain: R

      Range: R

    2. g(x)=3x5

      Solution:

      x 3 2 1 0 1 2 3
      g(x) 14 11 8 5 2 1 4

      Domain: R

      Range: R

    3. h(x)=x+25

      Solution:

      x 3 2 1 0 1 2 3
      h(x) 28 27 26 25 24 23 22

      Domain: R

      Range: R

    4. j(x)=x+52

      Solution:

      x 3 2 1 0 1 2 3
      j(x) 1 32 2 52 3 72 4

      Domain: R

      Range: R

    5. k(x)=14x

      Solution:

      x 3 2 1 0 1 2 3
      k(x) 34 12 14 0 14 12 34

      Domain: R

      Range: R

    6. l(x)=10010x

      Solution:

      x 3 2 1 0 1 2 3
      l(x) 130 120 110 100 90 80 70

      Domain: R

      Range: R

  2. Evaluate each function for x=3,x=2,x=1,x=0,x=1,x=2, and x=3. Find the domain of each function.

    1. f(x)=x2+2

      Solution:

      x 3 2 1 0 1 2 3
      f(x) 11 6 3 2 3 6 11

      Domain: R

      Range: {f(x)R,f(x)2}

    2. g(x)=x22

      Solution:

      x 3 2 1 0 1 2 3
      g(x) 92 2 12 0 12 2 92

      Domain: R

      Range: {g(x)R,g(x)0}

    3. h(x)=x2

      Solution:

      x 3 2 1 0 1 2 3
      h(x) 9 4 1 0 1 4 9

      Domain: R

      Range: {h(x)R,h(x)0}

    4. j(x)=2x2

      Solution:

      x 3 2 1 0 1 2 3
      j(x) 18 8 2 0 2 8 18

      Domain: R

      Range: {j(x)R,j(x)0}

    5. k(x)=0.5x2+x

      Solution:

      x 3 2 1 0 1 2 3
      k(x) 1.5 0 0.5 0 1.5 4 7.5

      Domain: R

      Range: {k(x)R,k(x)0.5}

    6. l(x)=x2+4x+3

      Solution:

      x 3 2 1 0 1 2 3
      l(x) 0 1 0 3 8 15 24

      Domain: R

      Range: {l(x)R,l(x)1}

  3. Evaluate each function for x=3,x=2,x=1,x=0,x=1,x=2, and x=3. Find the domain of each function.

    1. f(x)=x3

      Solution:

      x 3 2 1 0 1 2 3
      f(x) 27 8 1 0 1 8 27

      Domain: R

      Range: R

    2. g(x)=x4

      Solution:

      x 3 2 1 0 1 2 3
      g(x) 81 16 1 0 1 16 81

      Domain: R

      Range: {g(x)R,g(x)0}

    3. h(x)=x5

      Solution:

      x 3 2 1 0 1 2 3
      h(x) 243 32 1 0 1 32 243

      Domain: R

      Range: R

  4. Evaluate each function for x=3,x=2,x=1,x=0,x=1,x=2, and x=3. Find the domain of each function.

    1. f(x)=1x+1

      Solution:

      x 3 2 1 0 1 2 3
      f(x) 12 1 DNE 1 12 13 14

      Domain: {xR,x1}

    2. g(x)=32x

      Solution:

      x 3 2 1 0 1 2 3
      g(x) 12 34 32 DNE 32 34 12

      Domain: {xR,x0}

    3. h(x)=xx4

      Solution:

      x 3 2 1 0 1 2 3
      h(x) 37 13 15 0 13 1 3

      Domain: {xR,x4}

    4. j(x)=x+1x+2

      Solution:

      x 3 2 1 0 1 2 3
      j(x) 2 DNE 0 12 23 34 45

      Domain: {xR,x2}

    5. k(x)=5x5x+2

      Solution:

      x 3 2 1 0 1 2 3
      k(x) 1513 54 53 0 57 56 1517

      Domain: {xR,x25}

    6. l(x)=x2x

      Solution:

      x 3 2 1 0 1 2 3
      l(x) 3 2 1 DNE 1 2 3

      Domain: {xR,x0}

  5. The cost of a taxi ride is a base rate of $3.50 plus $1.50 per kilometre travelled.

    1. Express the cost of a taxi as a function. Use C as the function name (to represent “Cost”), and use d as the variable name (to represent “distance”).

      Solution: C(d)=3.5+1.5d, where d is the number of kilometres travelled.

    2. Calculate the cost of a 10km trip.

      Solution: The trip is 10km long, so we have d=10.

      C(10)=3.5+1.5(10)=3.5+15=18.5 dollars.

    3. Calculate the cost of a 175km trip.

      Solution: The trip is 175km long, so we have d=175.

      C(175)=3.5+1.5(175)=3.5+262.5=266 dollars.

    4. What is the domain of the function C(d)?

      Solution: It doesn’t make sense to travel a negative distance (but any non-negative distance is fine), so the domain is {dR,d0}.

    5. What is the range of the function C(d)?

      Solution: The domain is {dR,d0}, so the lowest that a taxi trip could cost would be C(0)=3.5 dollars. In addition to this, there’s no theoretical maximum to how far the taxi could travel, so the taxi trip could get arbitrarily expensive! Thus, the range is {C(d)R,C(d)3.5}.

  6. At a particular buffet restaurant, it costs each person $26 to eat dinner. The restaurant also charges a fee of $0.30 for every 100g of leftover food at the end of the meal.

    1. Express the total cost of a meal as a function. Use C as the function name (to represent “Cost”), and use f as the variable name (to represent “food”).

      Solution: C(f)=26+0.3f, where f is the number of 100g of leftover food.

    2. Calculate the total cost of a meal, where the person leaves 100g of leftover food.

      Solution: The person had 100g of leftover food, so f=1.

      C(1)=26+0.3(1)=26+0.3=26.3

    3. Calculate the total cost of a meal, where the person leaves no leftover food.

      Solution: The person had 0g of leftover food, so f=0.

      C(0)=26+0.3(0)=26+0=26

    4. Calculate the total cost of a meal, where the person leaves 670g of leftover food.

      Solution: The person had 670g of leftover food, so f=6.7.

      C(6.7)=26+0.3(6.7)=26+2.01=28.01

    5. What is the domain of the function C(f)?

      Solution: It doesn’t make sense to leave behind a negative amount of food (but you can leave behind any non-negative amount of food), so the domain is {fR,f0}.

    6. What is the range of the function C(f)?

      Solution: The domain is {fR,f0}, so the lowest total cost of a meal at the restaurant would be $26, when the person has no leftovers. In addition to this, there’s no theoretical maximum to how much food a person could leave behind, so the fee charged for leftovers could become arbitrarily expensive! Thus, the range is {C(f)R,C(f)26}.

  7. A farmer is planning to purchase some straight fencing to build an enclosed pasture for their chickens. Each metre of fencing costs $10 to purchase and install.

    1. Construct a function that takes in the farmer’s budget, which is the amount of money they plan to spend purchasing fencing, and outputs the maximum area of the pasture that could be built. Use A as the function name (to represent “Area”), and use b as the variable name (to represent “budget”). (Hint: The area of the pasture can be maximised by building it in the shape of a square.)

      Solution: A(b)=(b÷10÷4)2=(b40)2

      The area is the side length of the pasture squared. Since a square has four sides, the side length is the total amount of fencing purchased, divided by four. Since each metre of fencing costs $10, the total amount of fencing purchased is the amount of money spent, divided by ten.

    2. What is the area of the largest pasture that could be constructed with a budget of $200?

      Solution: The amount of money spent would be $200, so b=200.

      A(200)=((200)40)2=52=25m2

    3. What is the area of the largest pasture that could be constructed with a budget of $1000?

      Solution: The amount of money spent would be $1000, so b=1000.

      A(1000)=((1000)40)2=252=625m2

    4. What is the domain of the function A(b)?

      Solution: It doesn’t make sense to spend a negative amount of money (but any non-negative amount of money is fine), so the domain is {bR,b0}.

    5. What is the range of the function A(b)?

      Solution: The domain is {bR,b0}, so the least amount of fencing that could be purchased is 0m. (Of course, that is only enough for 02=0m2 of pasture, which isn’t useful at all!) There is also no theoretical maximum to how large the farmer’s budget could be, so the size of the pasture could become arbitrarily large. Thus, the range is {A(b)R,A(b)0}.