Professional Documents
Culture Documents
The input
The relationship
The output
Names
First, it is useful to give a function a name.
The most common name is "f", but we can have other names like "g" ... or even
"marmalade" if we want.
what goes into the function is put inside parentheses () after the name of the
function:
f(x) = x2 shows us that function "f" takes "x" and squares it.
an input of 4
becomes an output of 16.
It could be anything!
So this function:
f(x) = 1 - x + x2
Is the same function as:
f(q) = 1 - q + q2
h(A) = 1 - A + A2
w(θ) = 1 - θ + θ2
The variable (x, q, A, etc) is just there so we know where to put the values:
f(2) = 1 - 2 + 22 = 3
y = x2
an input (x)
a relationship (squaring)
and an output (y)
Relating
At the top we said that a function was like a machine. But a function doesn't
really have belts or cogs or any moving parts - and it doesn't actually destroy
what we put into it!
Example: this tree grows 20 cm every year, so the height of the tree
is related to its age using the function h:
h(age) = age × 20
h(10) = 10 × 20 = 200 cm
What Types of Things Do Functions
Process?
"Numbers" seems an obvious answer, but ...
... which numbers?
A Function is Special
But a function has special rules:
(one-to-many) (many-to-one)
This is NOT OK in a function But this is OK in a function
X: x Y: x2
3 9
1 1
0 0
4 16
-4 16
... ...
It is a function, because:
(But the fact that "6" in Y has no relationship does not matter)
If it crosses more than once it is still a valid curve, but is not a function.
Some types of functions have stricter rules, to find out more you can
read Injective, Surjective and Bijective
Infinitely Many
My examples have just a few values, but functions usually work on sets with
infinitely many elements.
Example: y = x3
We can't show ALL the values, so here are just a few examples:
X: x Y: x3
-2 -8
-0.1 -0.001
0 0
1.1 1.331
3 27
and so on... and so on...
We have a special page on Domain, Range and Codomain if you want to know
more.
So Many Names!
Functions have been used in mathematics for a very long time, and lots of
different names and ways of writing functions have come about.
Here are some common terms you should get familiar with:
Example: z = 2u3:
Example: f(4) = 16:
Example: h(year) = 20 × year:
h() is the function
"year" could be called the "argument", or the "variable"
a fixed value like "20" can be called a parameter
We often call a function "f(x)" when in fact the function is really "f"
Ordered Pairs
And here is another way to think about functions:
They are called ordered pairs because the input always comes first, and the
output second:
(input, output)
( x, f(x) )
Example:
(4,16) means that the function takes in "4" and gives out "16"
"2 is related to 4", "3 is related to 5" and "7 is related 3".
"if it contains (a, b) and (a, c), then b must equal c"
Which is just a way of saying that an input of "a" cannot produce two different
results.
Example: {(2,4), (2,5), (7,3)} is not a function because {2,4} and {2,5}
means that 2 could be related to 4 or 5.
So a set of coordinates is also a function (if they follow the rules above, that is)
Explicit vs Implicit
One last topic: the terms "explicit" and "implicit".
Explicit is when the function shows us how to go directly from x to y, such as:
y = x3 − 3
When we know x, we can find y
Graphing
The Function Grapher can only handle explicit functions,
The Equation Grapher can handle both types (but takes a little longer,
and sometimes gets it wrong).
Conclusion
a function relates inputs to outputs
a function takes elements from a set (the domain) and relates them to
elements in a set (the codomain).
all the outputs (the actual values related to) are together called
the range
a function is a special type of relation where: