Skip to content
Gioi Toan
Start learning
A staircase built from growing columns of blocks

Notes on Lesson 9.4: Representing simple functions (Representing simple functions) (Toán Vinschool, Learner's Book 7)

Lesson summary

A function is a rule that gives EACH input exactly ONE output.

The machine "multiply by 3 then subtract 2" is written x→3x−2x\to3x-2, or y=3x−2y=3x-2.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Hiểu hàm số cho mỗi đầu vào một đầu ra, tìm đầu ra từ đầu vào và ngược lại

Picture a machine: put a number in, the machine does a calculation, and gives a number out. Put the same number in and the same number always comes out. That machine is a function.

Practise now

Key ideas: what do you need to know?

What a function is

A function is a rule that gives EACH input exactly ONE output.

You can draw it as a function machine: input →\to [×3\times3] →\to [−2-2] →\to output. With input 5: 5×3=155\times3=15, 15−2=1315-2=13.

Common mistakesThinking that one input can give two different outputs in the same function.

Writing a function with symbols

The machine "multiply by 3 then subtract 2" is written x→3x−2x\to3x-2, or y=3x−2y=3x-2.

You can record the results in a table of input and output:

xx0123
3x−23x-2−2-2147
xx3x−23x-2
0−2-2
11
24
37

Common mistakesGetting the order wrong when writing symbols: the machine "+4+4 then ×2\times2" written as x+4×2x+4\times2. You need brackets: 2(x+4)2(x+4).

Going backwards: finding the input

If you know the output and want to find the input, run the machine backwards: reverse the order of the steps and use the inverse operation.

The machine ×3\times3 then −2-2, output 22: backwards it is +2+2 then ÷3\div3: (22+2)÷3=8(22+2)\div3=8. Check: 8×3−2=228\times3-2=22.

Common mistakesRunning backwards but keeping the same order: with the machine ×3\times3 then −2-2, output 22, you calculate 22÷322\div3 then +2+2. You must +2+2 first and only then ÷3\div3.

Worked examples

Example 1

Function machine: +4+4 then ×2\times2. Find the output when the input is 3 and −5-5.

Show the solution to example 1

Step 1: With 3: 3+4=73+4=7, 7×2=147\times2=14.
Step 2: With −5-5: −5+4=−1-5+4=-1, −1×2=−2-1\times2=-2.
Result: 14 and −2-2.

Example 2

Function machine: ×5\times5 then −3-3. The output is 32. Find the input.

Show the solution to example 2

Step 1: Reverse the order and swap the operations: +3+3 then ÷5\div5.
Step 2: 32+3=3532+3=35, 35÷5=735\div5=7.
Step 3: Check: 7×5−3=327\times5-3=32.
Result: The input is 7.

Example 3

The table below gives input 1, 2, 3, 4 and output 5, 6, 7, 8. Write the function.

Show the solution to example 3

Step 1: Each output is 4 greater than the input.
Step 2: Check every column: 1+4=51+4=5, 4+4=84+4=8.
Result: x→x+4x\to x+4.

TipFinding the input: go from the output back, each step "undoes" one operation, undo the one put on last first.

Terms

Function
A rule giving each input exactly one output.
Input
The number put into the function.
Output
The number the function gives back.
Function machine
A diagram of the steps that turn the input into the output.
Inverse operation
An operation that undoes the other one.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 6.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 1 of 1Multiple choice · Recall

A function machine does: multiply by 4 then add 1. When the input is 3, what is the output?

Choose one option

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice questions for you

Additional exercises

  • Tìm đầu vào khi biết đầu ra bằng phép toán ngược (Recall, Understanding, Applying)
  • Lập bảng giá trị và nhận biết quy luật hàm số (Understanding, Applying, Advanced applying)
  • Viết hàm số từ bảng hoặc từ mô tả bằng lời (Recall, Understanding, Applying, Advanced applying)
  • Tính đầu ra từ máy hàm số hoặc công thức hàm số (Understanding, Applying)
  • Phỏng đoán và thuyết phục về tính duy nhất của đầu ra (Applying, Advanced applying)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in

Skills in this lesson

Tap a skill to see what to secure first, what comes next, and more practice.