Clilstore Facebook WA Linkedin Email
Login

This is a Clilstore unit. You can link all words to dictionaries.

Functions and graphs

0:06
Hi, I’m Rob. Welcome to Math Antics!
0:08
In this algebra basics lesson, we’re gonna learn about functions.
0:12
Outside of the realm of math, the word “function” simply refers to what something does.
0:16
But in math, the word “function” has a more specific meaning.
0:20
In math, a function is basically something that relates or connects one “set” to another “set” in a particular way.
0:27
A set is just a group or collection of things.
0:30
Often it’s a collections of numbers, but it doesn’t have to be.
0:33
A set could be a collection of other things like letters, names, or just about anything.
0:38
Sets are sometimes shown visually like this,
0:41
but more often you’ll see sets written using a common math notation
0:44
where some or all of the members of the set are put
0:47
inside curly brackets with commas between them like this.
0:51
A set can have a finite or an infinite number of elements.
0:54
For example, a set containing all the letters of the alphabet has only 26 elements,
0:59
while the set of all integers has an infinite number of elements.
1:03
Okay, so a set is just a collection of things, and a function relates one set to another.
1:08
But how exactly does it do that?
1:10
Well, to understand how functions work it will help if we start by naming the two sets the input set and the output set.
1:16
A function is something that takes each value from an input set and relates it (or maps it) to a value in an output set.
1:23
And you’ll often hear these input and output sets referred to by special math names.
1:27
The input set is usually called “The Domain”
1:30
and the output set is usually called “The Range”.
1:33
And it’s really common to see some or all of a function’s inputs and outputs listed in what we call a “function table”.
1:40
A function table normally has two columns:
1:42
one on the left for the input values
1:44
and one on the right for the corresponding output values.
1:47
The function itself is often written above the function table
1:50
and in the form of some sort of mathematical rule or procedure.
1:54
For example, let’s say that the input set of a function is a list of common polygon names like
1:59
{triangle, square, pentagon, hexagon and octagon}
2:03
The function itself could be a simple rule that says, “Output the number of sides.”
2:07
That means, if we input “triangle” into the function, the output will be 3.
2:12
And if we input “square” the output will be 4.
2:15
If we input “pentagon”, the output will be 5, and so on…
2:19
So this function simply relates the name of a polygon to its number of sides.
2:23
That’s cool… but most of the functions that you’ll encounter in Algebra will be a little more abstract than that.
2:29
They’ll usually just relate one variable to another variable in the form of an equation …like this one: y = 2x
2:36
In this equation, if we treat ‘x’ as the set of numbers that we can input (the domain),
2:41
and ‘y’ as the set of numbers that we get as outputs (the range),
2:45
what we have is a very simple algebraic function.
2:48
And just like the polygon example, we can make a function table to show some of the possible input-output combinations.
2:55
For this function, we could choose any number at all for the value of ‘x’,
2:58
but to keep things simple, let’s just try inputting 1, 2, and 3 as values of ‘x’
3:02
and see what outputs we get for our table.
3:05
If we input the value 1 (in other words, if we substitute the value 1 for the ‘x’ in our equation)
3:10
then we get y = 2 × 1 which simplifies to y = 2.
3:15
And since ‘y’ is our output variable, we put a 2 in the output column.
3:20
Next, if we input the value 2 into our function,
3:23
we get y = 2 × 2, which means y = 4. So the output value is 4.
3:28
And last, if we input the value 3 into our function,
3:31
we get y = 2 × 3, which means y = 6. So the output value is 6.
3:37
…see the pattern?
3:38
For each input value, the output value is twice as big.
3:41
Which is what we would expect because the original equation says that 'y' (the output) is equal to 2 times ‘x’ (the input)
3:49
Okay, so we’ve seen some examples of functions that relate inputs to outputs,
3:53
but there’s an important limitation about functions that we need to know.
3:56
To understand what that limitation is, let’s try to make a function table for the equation ‘y squared’ equals ‘x’.
4:02
Again, the ‘x’ variable in this equation will be our set of inputs and the ‘y’ variable will be our set of outputs.
4:08
Since ‘y’ is our output variable, it will help if we first solve this equation for ‘y’
4:13
and we do that by taking the square root of both sides.
4:16
But because of negative numbers, we need to take both the positive and negative root of ‘x’
4:20
since there are two possible solutions to our equation.
4:23
But, won’t that mess up our function table?
4:25
If we input an ‘x’ value of 4, the positive (or principal) root would be 2,
4:30
but we also have the negative root as a solution.
4:32
If x = 4, then y = 2 and y = -2 are BOTH possible solutions to the equation ‘y squared’ equals ‘x’.
4:41
So in this case, for each value of ‘x’ that we input into the equation, we’ll get TWO values of ‘y’ as outputs.
4:46
Can a function do that?
4:48
[whistle blowing]
4:49
Upon review, the equation gave two outputs for a single input,
4:53
therefore it’s ruled not a function.
4:56
You see, functions aren’t allowed to have what we call “one-to-many” relations,
5:00
where one particular input value could result in many different output values.
5:04
“One-to-many” relations certainly do exist as we can see from this example, but we don’t call them functions.
5:10
For something to be called a function, it has to produce only one output value for each input value.
5:16
So a function doesn’t just relates a set of inputs to a set of outputs.
5:20
A function relates a member of an input set to exactly one member of an output set.
5:25
The equation y = 2x qualifies as function because no matter what number you put in,
5:30
you’ll always get just one number as an output.
5:33
But the equation ‘y squared’ equals ‘x’ does not qualify as a function
5:37
because a single input can produce more than one output.
5:40
Let’s look at another simple algebraic equation to see if it’s a function:
5:44
y = x + 1.
5:46
Again, the ‘x’ values will be inputs (the domain) and the ‘y’ values will be the outputs (the range).
5:52
Let’s quickly generate a function table for a few possible input values, like the integers -3 through +3.
5:58
If you watched our last video about graphing on the coordinate plane,
6:01
you may notice that each row of this function table is basically just an ordered pair.
6:06
It’s an ‘x’ value followed by a ‘y’ value.
6:09
We could even re-write all the inputs and outputs in ordered pair form if we wanted to.
6:13
And that means, you can also GRAPH all of these pairs of inputs and outputs on the coordinate plane.
6:18
You can GRAPH a function!
6:20
Here are the points from our function table plotted on the coordinate plane,
6:24
and here’s the resulting graph we get if we connect those points.
6:27
It forms a straight line and it’s an example of what is called a “linear function”.
6:32
In Algebra, there are lots of different kinds of functions that have interesting graphs:
6:36
quadratic functions,
6:37
cubic functions,
6:38
trig functions,
6:39
and many more.
6:41
These graphs may look like just a bunch of squiggly lines, but they’re all functions.
6:45
And we tell they’re functions just by looking at their graphs because they all pass the “Vertical Line Test”.
6:51
Remember how functions aren’t allowed to have more than one output value for a particular input value?
6:56
Well, the Vertical Line Test helps us see if a graph has any of those
7:00
one-to-many relations that would disqualify it as a function.
7:03
Here’s how it works…
7:05
Imagine that a vertical line is drawn on the same
7:08
coordinate plane as the graph that you want to test.
7:10
Then, imagine moving that vertical line left and right
7:13
across the domain, paying close attention to the point
7:17
where the vertical line intersects with the graph.
7:20
If that vertical line only intersects the graph
7:22
at exactly one point for every possible value of ‘x’ in the domain,
7:27
then that means there’s only one output value for each input value.
7:31
There’s only one ‘y’ value for each ‘x’ value
7:34
so the graph qualifies as a function.
7:36
Okay, so all of these graphs pass the Vertical Line Test and are functions.
7:40
But what’s an example of a graph that doesn’t pass the Vertical Line Test?
7:44
Well here’s one. It’s the graph of our equation ‘y squared’ equals ‘x’.
7:49
The domain of this equation doesn’t include any negative input values,
7:52
so there are some places where our vertical line wouldn’t interest the graph at all.
7:56
And that’s okay.
7:57
And there’s one place where the vertical line would intersect the graph at just one point,
8:01
which is also okay.
8:03
But, as we move to the right on the ‘x’ axis,
8:06
you can see that our vertical line is now intersecting the curve in TWO places.
8:10
That means this equation is giving us two possible outputs for some of its inputs,
8:14
which means that it’s not considered a function.
8:17
Okay… now before we wrap up,
8:19
we need to talk briefly about some common function notation that can be pretty confusing
8:23
the first time you see it in math books.
8:26
So far, we’ve been writing functions like this: y = 2x and y = x + 1
8:32
But you’ll often see these same exact functions written like this instead.
8:36
But Why?
8:37
Why did the variable ‘y’ get replaced by that ‘f’ parentheses ‘x’ thingy?
8:42
And what does that even mean?
8:44
Well, it turns out that a really common way to represent a function is this…
8:48
This notation simply means that a function (named ‘f’) takes an input value (named ‘x’) and gives an output value (named ‘y’)
8:55
And you say it like this:
8:56
A function of ‘x’ equals ‘y’
8:59
or ‘f’ of ‘x’ equals ‘y’ for short.
9:02
The problem with this notation is that you could easily misinterpret it
9:05
as a variable ‘f’ being multiplied implicitly by a variable ‘x’ to give an answer of ‘y’.
9:11
But that’s NOT what this means.
9:13
In this case, ’f’ is not the name of a variable and it’s not being multiplied.
9:17
Instead, ’f’ is the name of the function.
9:20
It would be a lot more clear if mathematicians just used the entire word “function” as the name
9:24
and then used the names “input” and “output” instead of ‘x’ and ‘y’.
9:28
These two notations mean exactly the same thing.
9:31
But the first one uses an abbreviation for the function name and standard variable names for the input and output.
9:37
These are the most common names, but you could use others if you wanted to.
9:41
Okay, so that’s the basic notation, but how did the equation get changed to f(x) instead of ‘y’?
9:48
Well, it comes from the idea that if two things are equal in math, you can substitute one thing for the other.
9:54
Since we’ve agreed on this general notation for a function, f(x) = y,
9:58
that means you can use f(x) or ‘y’ interchangeable.
10:02
Either one can represent the output set of a function.
10:06
But if they’re interchangeable, why would you use the more complicated f(x) when you could just use ‘y’ instead?
10:12
Well, using f(x) highlights the fact that you’re dealing with a function
10:16
with a specific input variable and not just an equation.
10:20
And… it gives us a handy notation for evaluating functions for specific values.
10:24
For example, you could start off by saying, let the function f(x) = 3x + 2.
10:30
Then you could then ask someone to evaluate the function for the input value 4 by saying what is f(4).
10:37
That means you’ll substitute a 4 in place of any ‘x’s that are in the function.
10:42
For this function, that would mean f(4) = 14.
10:46
And you could do this for other values too.
10:48
f(5) = 17,
10:49
and f(6) = 20
10:51
Pretty easy, huh?
10:53
Alright, so that’s what functions are in math.
10:56
They’re things that relate an input value to exactly one output value.
11:00
And the set of all input values is called the domain
11:02
while the set of output values is usually called the range.
11:06
In algebra, functions typically come in the form of equations that can be graphed
11:10
on the coordinate plane by treating the input and output values as ordered pairs.
11:15
Of course, there’s a LOT more to learn about functions,
11:18
but this basic introduction should help you get started working with them in Algebra.
11:22
Don’t forget to practice using what you’ve learned in this video by doing some exercises.
11:26
As always, thanks for watching Math Antics and I’ll see ya next time.
11:31
Learn more at www.mathantics.com
Clilstore TOOLS WebsiteACTIVITIES

Short url:   https://clilstore.eu/cs/5112