๐ What is a Function?
In simple terms, a function is like a machine. You put something in (the input), and the machine gives you something else out (the output). The special thing about a function is that for every input, you always get the same output.
๐งฎ Understanding f(x) Notation
The notation "f(x)" is just a way to write a function. Here's what it means:
- ๐ท๏ธ "f" is the name of the function. You can call it anything, like "g" or "h", but "f" is common.
- ๐ "x" is the input. It's the value you're putting into the function.
- ๐ฆ "f(x)" is the output. It's the value you get after applying the function to "x". You can also think of $f(x)$ as 'y'.
โ Example: A Simple Function
Let's say our function is $f(x) = 2x + 1$. This means: "Take the input (x), multiply it by 2, and then add 1."
- ๐ข If we put in $x = 3$, then $f(3) = 2(3) + 1 = 6 + 1 = 7$. So, the output is 7.
- โ If we put in $x = 0$, then $f(0) = 2(0) + 1 = 0 + 1 = 1$. So, the output is 1.
- โ If we put in $x = -1$, then $f(-1) = 2(-1) + 1 = -2 + 1 = -1$. So, the output is -1.
๐ Representing Functions
Functions can be represented in a few ways:
- ๐๏ธ Equation: Like $f(x) = 2x + 1$ (the example above).
- ๐ Graph: A visual representation on a coordinate plane.
- ๐ผ Table: A table showing inputs (x) and their corresponding outputs (f(x)).
Here's an example of a table for $f(x) = 2x + 1$:
| x (Input) |
f(x) (Output) |
| -2 |
-3 |
| -1 |
-1 |
| 0 |
1 |
| 1 |
3 |
| 2 |
5 |
โ๏ธ Practice Quiz
Let's test your understanding. For the function $f(x) = x - 5$, find the following:
- โ What is $f(10)$?
- โ What is $f(0)$?
- โ What is $f(-5)$?
- โ What is $f(5)$?
- โ What is $f(2)$?
- โ What is $f(-1)$?
- โ What is $f(1)$?
Answers:
- $f(10) = 5$
- $f(0) = -5$
- $f(-5) = -10$
- $f(5) = 0$
- $f(2) = -3$
- $f(-1) = -6$
- $f(1) = -4$