Functions and Domains
Transcript
This video introduces functions and their domains and ranges. A function is a correspondence between input numbers, usually the x values and output numbers, usually the y values, that sends each input number to exactly one output number. Sometimes a function is thought of as a rule or machine, in which you can feed in x values as input and get out y values as output. So, non mathematical example of a function might be the biological mother
function, which takes as input and a person, and it gives us output their biological mother. This function satisfies the condition that each input number object person, in this case, get sent to exactly one output person. Because if you take any person, they just have one biological mother. So that rule does give you a function. But if I change things around, and just use the the mother function, which sends to each person, their mother, that's
no longer gonna be a function, because there are some people who have more than one mother, right, they could have a biological mother and adopted mother, or a mother and stepmother or any number of situations. So since there's, there's at least some people who you would put it as input, and then you'd get like more than one possible output that violates this, this rule of functions, that would not be a function. Now, most of the time, we'll work with functions that are described with equations, not in terms of mothers. So for example, we can have the function y equals x squared plus one. This can also be written as f of x equals x squared plus one. Here, f of x is function notation that stands for the output value of y. Notice that this notation is not representing multiplication, we're not multiplying f by x, instead, we're going to be putting in a value for access input and getting out a value
of f of x or y. For example, if we want to evaluate f of two, we're plugging in two as input for x either in this equation, or in that equation. Since F of two means two squared plus one, f of two is going to equal five. Similarly, f of five means I plug in five for x. So that's going to be five squared plus one, or 26. Sometimes it's useful to evaluate a function on a more complicated expression involving other variables. In this
case, remember, the functions value on any expression, it's just what you what you get when you plug in that whole expression for x. So f of a plus three is going to be the quantity a plus three squared plus one, we could rewrite that as a squared plus six a plus nine plus one, or a squared plus six a plus 10. When evaluating a function on a complex expression, it's important to keep the parentheses when you plug in for x. That
way, you evaluate the function on the whole expression. For example, it would be wrong to write f of a plus three equals a plus three squared plus one without the parentheses, because that would imply we were just squaring the three and not the whole expression, a plus three. Sometimes the function is described with a graph instead of an equation. In this example, this graph is supposed to represent the function g of x. Not all graphs actually
represent functions. For example, the graph of a circle doesn't represent a function. That's because the graph of a circle violates the vertical line test, you can draw a vertical line, and I'll intersect the graph in more than one point. But our graph it left satisfies the vertical line test, any vertical line intersects the graph, and at most one point, that means is a function because every x value will have at most one y value that corresponds to it. Let's evaluate gf two, note that two is an x value. And we'll use the graph to find the corresponding y value. So I look for two on the x axis and find the point on the graph. If that has that x value, that's right here. Now I can look at the y value of that point looks like three, and therefore g of two is equal to three. If I try to do the same thing to evaluate g of five, I run into trouble. Five is an x value, I look for
it on the x axis. But there's no point on the graph that has that x value. Therefore, g of five is undefined, or we can say it does not exist. The question of what x values and y values make sense for a function leads us to a discussion of domain and range. The domain of a function is all possible x values that make sense for that function. The range is the y values that makes sense for the function. In this example, we saw that the x value of
five didn't have a corresponding y value for this function. So the x value of five is not in the domain of our function J. To find the x values in the domain, we have to look at the x values that correspond to points on the graph. One way to do that is to take the shadow or projection of the graph onto the x axis and see what x values are hit. It looks like we're hitting all x values, starting at negative eight, and continuing up to four.
So our domain is the x's between negative eight, and for including those endpoints, or we can write this in interval notation as negative eight comma four with square brackets. To find the range of the function we look for the y value is corresponding to points on this graph, we can do that by taking the shadow or projection of the graph onto the y axis, we seem to be hitting our Y values from negative five, up through three. So our
range is wise between negative five and three are an interval notation, negative five, three with square brackets. If we made a function that's described as an equation instead of a graph, one way to find the domain and range are to graph the function. But it's often possible to find the domain at least more quickly, by using algebraic considerations. We think about what x values it makes sense to plug into this expression, and what x values
need to be excluded, because they make the algebraic expression impossible to evaluate. Specifically, to find the domain of a function, we need to exclude x values that make the denominator zero. Since we can't divide by zero, we also need to exclude x values that make an expression inside a square root sign negative. Since we can't take the square root of a negative number. In fact, we need to exclude values that make an expression inside any even root negative because we can't take an even root of a negative number, even though we can take an odd root like a cube root of a negative number. Later, when we look at logarithmic functions, we'll have some additional exclusions that we have to make. But for now, these two principles should handle all functions We'll see. So let's apply them to a couple examples. For the function in part A, we don't have any square root signs, but we do have
a denominator. So we need to exclude x values that make the denominator zero. In other words, we need x squared minus 4x plus three to not be equal to zero. If we solve x squared minus 4x plus three equal to zero, we can do that by factoring. And that gives us x equals three or x equals one, so we need to exclude these values. All other x values should be fine. So if I draw the number line, I can put on one and three and just dig out a hole at both
of those. And my domain includes everything else on the number line. In interval notation, this means my domain is everything from negative infinity to one, together with everything from one to three, together with everything from three to infinity. In the second example, we don't have any denominator to worry about, but we do have a square root sign. So we need to exclude any x values that make three minus 2x less than zero. In other words, we can
include all x values for which three minus 2x is greater than or equal to zero. Solving that inequality gives us three is greater than or equal to 2x. In other words, x is less than or equal to three halves. If I can draw this on the number line, or write it in interval notation, notice that three halves is included. And that's because three minus 2x is allowed to be zero, I can take the square root of zero, that's just zero. And that's
not a problem. Finally, let's look at a more complicated function that involves both the square root and his denominator. Now there are two things I need to worry about. I need the denominator to not be equal to zero, and I need the stuff inside the square root sign to be greater than or equal to zero. from our earlier work, we know the first condition means that x is not equal to three, and x is not equal to one. And the second condition
means that x is less than or equal to three halves. Let's draw both of those conditions on the number line. x is not equal to three and x is not equal to one means we've got everything except those two dug out points. And the other condition x is less than or equal to three halves means we can have three halves, and everything to the left of it not to be in our domain. And to be legit for our function, we need both of these conditions to be true. So I'm going to connect these conditions with an and and that means we're looking for numbers on the number line that are colored both red and blue. So I'll draw that above and purple. So that's everything from three halves to one, I have to dig out one because one was a problem for the denominator. And then I can continue for all the things that are colored both both colors red and blue. So my final domain is going to be let's
see negative infinity, up to but not including one together with one, but not including it to three halves, and I include three half since that was colored both red and blue. Also, in this video, we talked about functions, how to evaluate them, and how to find domains and ranges. This video is a brief introduction to increasing and decreasing functions based on their graphs. In this first example, I've graphed two lines, the first line is an increasing
function. Because as the x values go from left to right, the y values are going up. this can be written more formally, by saying if x two is bigger than x one, these are supposed to be x values. So that means that x two is some x value, that's to the right so that it's bigger than x one. So whenever we have an x value x to this bigger than x one, increasing means that f of x two has to be bigger than f of x one, so that the y values are getting
bigger when the x values are bigger. The second line is an example of a decreasing function. Because here as the x values increased from left to right, the y values are going down. So again, we can write this more formally by saying that whenever we have an x value x two that's bigger than x one, for example, this might be x two, and this might be x one, then the y value f of x two is less than f of x one this time, because here, when we
have a bigger x value, we want to have a smaller y value to be decreasing. This second example gives the graph of a function that's increasing in some places, but decreasing and others. This part of the graph, here the functions decreasing, because as the x values increased from left to right, the y values go down. Over here, we also have a part of the graph where the function is decreasing. Now this part of the graph, the function is increasing, because as x goes from left to right, the y values are going up. I've marked that one in green, for increasing. And finally, on this part of the graph, the functions are neither increasing nor decreasing, it's completely flat or constant. Now we're asked to describe the intervals on which the graph is increasing or decreasing. So we describe those intervals in terms of the x values. It wouldn't make sense to describe them in terms of the y values
because the y values can be the same for different parts of the graph, but the x values are always unique. Describe where this function is decreasing. That's for x values between negative four and negative two, and between four and seven. I can write this using inequalities as negative for less than x less than negative two, for less than x less than seven. It's not important whether I use less than or less than or equal to signs here, I'm going to use less than
or equal to signs at the endpoints of the functions domain where the function stops existing altogether. And I'll use strict less than signs just where the function starts or stops decreasing in the middle of its domain. But again, that's not important. Describe where the function is increasing. That's for x values in between negative two, and one. So I can write that as an inequality as negative two less than x less than one, I can also
describe these intervals in interval notation. So that would be close bracket, negative four, negative to open bracket, a cup sign for union, and then four comma seven, for the decreasing part, and the increasing part is negative two, comma one, I'm going to modify my graph just a little bit. Now by putting arrows on the end, what I have arrows instead of dots are just hard stops, that signifies that the function continues in the same direction forever.
So if I write it like that, then the place where the function is increasing is still the same, it's still going to be from x values going from negative two to one. But now the decreasing part of the function extends further. So this section, these x values extend all the way out to infinity in it, we assume that it keeps going keeps decreasing here. So I would write that as for infinity, and similar the the left part, I would write as negative
infinity, negative two, because the function is going on forever in this direction to set x values go all the way to negative infinity on that chunk. So when talking about increasing and decreasing parts of functions based on graphs, the thing to remember is that x is going to be heading from left to right. As long as you do that, increasing just means that y goes up. Decreasing means that y goes down. And if you're after describing the intervals,
you have to do that in terms of x values. This video is about identifying maximums and minimums for functions from their graphs. We'll start with some definitions. A function f of x has an absolute maximum at the x value of x equals C, if the y value at x equals C is as big as it ever gets. We can write this more precisely by saying that f of c, that's the y value at x equals C is bigger than or equal to f of x, that's the y value
at some other x value for all x values in the domain of f, that biggest y value f a c is called the absolute maximum value for F. And the point with an x value and a y value given is called an absolute maximum point. If I have a graph of a function, then the absolute maximum value, f of c is the highest value that function ever achieves. And the absolute maximum point is the point where it achieves that value. Now it's possible
for a function to have more than one absolute maximum point, if there happens to be a tie where that highest value is achieved. But a function can only have at most one absolute maximum value. function f of x has an absolute minimum at x equals C. If the y value at x equals C is as small as it ever gets. We can write this more precisely by saying that f of c is less than or equal to f of x for all x values in the domain of f. the y value f
of c is called the absolute minimum value of f. And the point c f of c is called an absolute minimum point in the graph of f of x. f of c is now The lowest y value that the graph ever achieves. And the point c f of c is the point where it achieves this very low y value. For example, this function has an absolute minimum value of about negative eight, and it has an absolute minimum point with coordinates, three, negative eight. If
this function stops here, and has domain from x values just from zero to four, then the function will have an absolute maximum value of 10, achieved at the point with coordinates for 10. If however, the function keeps going on forever, then it will have no absolute maximum value at all. absolute maximum minimum values can also be called global maximum and minimum values. A function f of x has a local maximum at x equals C. If the y value at the
x value of c is bigger than any y values nearby, it doesn't have to be the biggest y value anywhere in the domain. For example, for this function, there's bigger y values up here, it just has to be the biggest y value nearby, or more precisely, in an open interval of X values around C. We can write this by saying that f of c is bigger than or equal to f of x for all x values, and an open interval around C, the y value f OC is called a local maximum
value for F. And the point with coordinates c f OC is called a local maximum point, a function f of x has a local minimum at x equals C. If f of c is less than or equal to f of x, for all x values in an open interval around the y value f of c is called a local minimum value. And the point with coordinate c f a c is called a local minimum point. A function might have many local minimum values. In this example, assuming that the domain is from
zero to four, we have a local minimum point at x equals three, because this point here is the lowest point anywhere nearby. It also happens to be an absolute minimum point. Turning our attention to local maximum points. This function has a local maximum point at one to say, because this point here is the highest point anywhere nearby, even though it's not the highest point anywhere in the domain since their highest points higher points over here.
So we have a local max point at one two, which is not an absolute max. different sources use different conventions as far as whether the point 410 up here counts as a local maximum point or not. Some sources do consider it a local maximum, since it's the highest point anywhere nearby. But other sources say that it doesn't count as a local maximum, for the technical reason that you can't get an open interval values around four because the function
is not defined in an open interval around four because it's domain stops at four. So I'll just write this as a caution that some sources do not consider for 10 to be a local max point, because f is not defined. In an open interval around x equals four, local maximum and minimum values can also be called relative maximum and minimum values. Please pause the video for a moment to mark all local maximum minimum points on the graph of this
function, as well as all absolute max and min points. The function has a local max point here at the point with coordinates approximately say 2.7 3.3 It's a local max point because it's the highest point anywhere nearby. There's a local min point right here at the point with coordinates to to, since this is the lowest point anywhere nearby. If this point actually existed, it would also be a local main points as well as an absolute min point.
But this drilled out circle means that point is not actually part of the graph. So there's no local min point here, and no absolute min points. The point here with coordinates 04, is considered by some sources to be a local max point, but by other sources is not considered a local max point. Since the function is not defined in an open interval around zero, turning our attention to absolute maximum and points while there's no absolute max points as the function keeps going up and up and up forever. There's also no absolute min points, because the function just keeps going down and down a little by little and never actually achieves a lowest value. Now if we're talking about local maximum values, that's just the y values of the local maxima endpoints. So there's a local max value at this y value of 3.3. And there's a local min value of two this points y value. There are no absolute max
or min values for this function. In this video, we defined absolute and local, max and min points and values. This video is about symmetry of graphs and functions. We say that a graph is symmetric with respect to the x axis, if the graph has mirror symmetry, with the x axis as the mirror line. This graph here is an example. Here is the mirror line. Notice that the point five three is on this graph. And so it's mirror image, five, negative three
is also on the graph. Similarly, the point two, two is on the graph and its mirror image, two, negative two is on the graph. For any point x, y on a graph, its mirror image when you flip over the x axis will have coordinates the same x coordinate and the opposite of the y coordinates. Therefore, we can say that a graph is symmetric with respect to the x axis. If whenever a point x, y is on the graph, the point x negative y is also on the graph.
We say that a graph is symmetric with respect to the y axis, if it has mirror symmetry, with the y axis as the mirror line. This graph is symmetric with respect to the y axis, here is the mirror line. Notice that the point with coordinates two three is on this graph. Its mirror image, which is also on the graph has coordinates negative two, three, so the same y coordinate, but the opposite x coordinate. And in fact, if I take any point with coordinates
x, y, and I want its mirror image with the y axis as a mirror line, I'm going to get the point with the same height the same y coordinate, but the opposite x coordinate. So I can say that a graph is symmetric with respect to the y axis. If whenever a point x, y is on the graph, the point negative x, y is also on the graph. Finally, a graph is symmetric with respect to the origin if it has 180 degree rotational symmetry around
the origin. This means that if I spin it by 180 degrees, the graph should line up exactly with itself. Rotating a graph by 180 degrees is the same thing as turning it upside down. So one way to see if a graph has symmetry respect to the origin, is to turn it upside down and see if it looks exactly the same. This one does. playing around with points, I noticed that the point one, negative two is on this graph. If I rotate that point around
the origin by 180 degrees, I get to the point with coordinates negative one, two. If I start with a point on the graph with coordinates, two, three, And I rotate by 180 degrees, I get the point with coordinates negative two, negative three. And in general, if I start with a point x, y, and I rotate that 180 degrees around the origin, I get the point with coordinates negative x, negative y. so we can say that a graph is symmetric with respect to the origin.
If whenever a point x, y is on the graph, the point negative x negative y is also on the graph. Please pause the video for a moment and decide which of these graphs are symmetric with respect to the x axis, the y axis and the origin. Some graphs may have more than one type of symmetry. Graph a is symmetric with respect to the origin. Because if you rotate it by 180 degrees, that is you turn it upside down, it looks exactly the same. It does not have any mirror symmetry, so it's not symmetric with respect to the x axis or the y axis. Graph B does have mirror symmetry, I'll draw on the two mirror lines. So it's both symmetric with respect to the x axis and symmetric with respect to the y axis. It also looks exactly the same upside down. So it's also symmetric with respect to the origin. Graph C is symmetric with respect to the y axis, but has no other symmetry.
And graph D is symmetric with respect to the x axis with no other symmetry. We use the words even and odd to describe functions whose graphs have certain kinds of symmetry. A function is even if its graph is symmetric, with respect to the y axis. Remember that being symmetric with respect to the y axis means that whenever a point x, y is on the graph, its mirror image, negative x, y is also on the graph. That is, the y values corresponding to x and negative
x are the same. Using function notation, I can write these points as the points with coordinates x, f of x and negative x, f of negative X, since the y value for a function is given by f of its x value. So we can say that a function f of x is even if F of negative X equals f of x, for all x values in its domain, the function has the same height at x and negative x. For example, we can see the function f of x equals x squared plus three is even.
And one way to see this is by looking at its graph, which looks pretty much like the graph I've drawn. And that is saying that this graph is symmetric across the y axis. But we can also check that this function is even algebraically. without knowing anything about this graph, all we have to do is check that F of negative X is equal to f of x. So if we plug in at negative x for x into this formula, that's negative x squared plus three, but negative
x squared is the same thing as x squared. And so this is exactly the same thing as f of x. And the property of being even is satisfied. We say that a function f of x is odd, if its graph is symmetric with respect to the origin. Recall that a graph is symmetric with respect to the origin means that whenever a point x, y is on the graph, it's 180 80 degree rotated point, negative x, negative y is also on the graph. That is the graph y value at x. And
the graphs y value at negative x are the opposites of each other, same magnitude but opposite sign. If we use function notation, for the coordinates of these points, this one is x, f of x, and this one is negative x, f of negative x, right because the y value for a function at the x value of negative x is just F of negative X. So for a function to be odd, we see that F of negative X, that y value has to be the opposite of f of x, the other guys
y value. A function f of x is odd if F of negative X is the negative of f of x for all x in its domain. Let's look at this example. We could draw its graph and verify the functions odd by seeing that rotational symmetry around the order On this graph, but we can also figure it out algebraically by checking to see if F of negative X is equal to negative of f of x. So let's plug in negative x for x in the formula for F, that gives us five times
negative x minus one over negative x, that simplifies to negative 5x plus one over x. And we can see that that is actually the negative 5x minus one over x by factoring out a negative sign, which is negative f of x. So the property for being odd holds. In this video, we talked about symmetry with respect to the x axis symmetry with respect to the y axis, and symmetry with respect to the origin. functions that are symmetric with respect to the y axis are
even functions and functions that are symmetric with respect to the origin, or odd functions. There's no word for functions that are symmetric with respect to the x axis. And that's because if your graph is symmetric with respect to the x axis, it's not going to be a function. This video gives the graphs of some commonly used functions that I call the toolkit functions. The first function is the function y equals x, let's plot a few points on the graph of this function. If x is zero, y zero, if x is one, y is one, and so on y is always equal to x doesn't have to just be an integer, it can be any real number, and we'll connecting the dots we get a straight line through the origin. Let's look at the graph of y equals x squared. If x is zero, y is zero. So we'll go through the origin again. If x is one, y is one, and x is negative one, y is also one, the x value of two gives a y value of
four and the x value of negative two gives a y value of four also connecting the dots, we get a parabola. That is this, this function is an even function. That means it has mirror symmetry across the y axis, the left side it looks like exactly like the mirror image of the right side. That happens because when you square a positive number, like two, you get the exact same y value as when you square it's a mirror image x value of negative two.
The next function y equals x cubed. I'll call that a cubic. Let's plot a few points when x is zero, y is zero. When x is one, y is one, when x is negative one, y is negative one, two goes with the point eight way up here, and an x value of negative two is going to give us negative eight. If I connect the dots, I get something that looks kind of like this. This function is what's called an odd function, because it has 180 degree rotational
symmetry occur around the origin. If I rotate this whole graph by 180 degrees, or in other words, turn the paper upside down, I'll get exactly the same shape. The reason this function has this odd symmetry is because when I cube a positive number, and get its y value, I get n cube the corresponding negative number to get its y value, the negative number cubed gives us exactly the negative of the the y value we get with cubing the positive number.
Let's look at the next example. Y equals the square root of x. Notice that the domain of this function is just x values bigger than or equal to zero because we can't take the square root of a negative number. Let's plug in a few x values. X is zero gives y is 0x is one square root of one is one, square root of four is two, and connecting the dots, I get a function that looks like this. The absolute value function is next. Again, if we plug
in a few points, x is zero goes with y equals 0x plus one gives us one, the absolute value of negative one is one to two is on the graph and the absolute value of negative two is to I'm ending up getting a V shaped graph. It also has even or a mirror symmetry. Y equals two to the x is what's known as an exponential function. That's because the variable x is in the exponent. If I plot a few points, two to the zero is one Two to the one is to two
squared is four, two to the minus one is one half. I'll plot these on my graph. Let me fill in a few more points. So let's see, two cubed is eight, that's way up here. And negative two gives me 1/4 1/8. Connecting the Dots, I get something that's shaped like this. You might have heard the expression exponential growth, when talking about, for example, population growth, this is function is represents exponential growth, it grows very, very steeply. Every
time we increase the x coordinate by one we double the y coordinate. We could also look at a function like y equals three dx, or sometimes y equals e to the x, where E is just a number about 2.7. These functions look very similar. It's just the bigger base makes us rise a little more steeply. Now let's look at the function y equals one over x. It's not defined when x is zero, but I can plug in x equals one half whenever one half is two. Whenever
one is one, and one over two is one half, by connect the dots, I get this shape in the first quadrant, but I haven't looked at negative values of x, when x is negative, whenever negative one is negative one, whenever negative half is negative two, and I get a similar looking piece in the third quadrant. This is an example of a hyperbola. And it's also an odd function, because it has that 180 degree rotational symmetry, if I turn the page upside
down, it'll look exactly the same. Finally, let's look at y equals one over x squared. Again, it's not defined when x is zero, but I can plug in points like one half or X, let's see one over one half squared is one over 1/4, which is four. And one over one squared, one over two squared is a fourth, it looks pretty much like the previous function is just a little bit more extreme rises a little more steeply, falls a little more dramatically.
But for negative values of x, something a little bit different goes on. For example, one over negative two squared is just one over four, which is a fourth. So I can plot that point there, and one over negative one squared, that's just one. So my curve for negative values of x is gonna lie in the second quadrant, not the third quadrant. This is an example of an even function because it has perfect mirror symmetry across the y axis.
These are the toolkit functions, and I recommend you memorize the shape of each of them. That way, you can draw at least a rough sketch very quickly without having to plug in points. That's all for the graphs of the toolkit functions. If we change the equation of a function, then the graph of the function changes or transforms in predictable ways. This video gives some rules and examples for transformations of functions. To get the most out of this video,
it's helpful if you're already familiar with the graph of some typical functions, I call them toolkit functions, like y equals square root of x, y equals x squared, y equals the absolute value of x and so on. If you're not familiar with those graphs, I encourage you to watch my video called toolkit functions first, before watching this one. I want to start by reviewing function notation. If g of x represents the function, the square root of x, then we can rewrite these expressions in terms of square roots. For example, g of x minus two is the same thing as the square root of x minus two. g of quantity x minus two means we plug in x minus two everywhere we see an x, so that would be the same thing as the square root of quantity x minus two. In this second example, I say that we're subtracting two on the inside of the function, because we're subtracting two before we apply the
square root function. Whereas on the first example, I say that the minus two is on the outside of the function. We're doing the square root function first and then subtracting two. In this third example, g of 3x. We're multiplying by three on the inside of the function. To evaluate this in terms of square root, we plug in the entire 3x for x, and this square root function, that gives us the square root of 3x. In the next example, we're multiplying by three on the outside of the function, this is just three times the square root of x. Finally, g of minus x means the square root of minus x. This might look a little odd, because we're not used to taking the square root of a negative number. But remember that if x itself is negative, like negative to the negative x will be negative negative two or positive two. So we're really be taking the square root of a positive number in that
case, let me record which of these are inside and which of these are outside of my function. In this next set of examples, we're using the same function g of x squared of x. But this time, we're starting with an expression with square roots in it, and trying to write it in terms of g of x. So the first example, the plus 17 is on the outside of my function, because I'm taking the square root of x first, and then adding 17. So I can write this as g of x plus 17. In the second example, I'm taking x and adding 12 first, then I take the square root of the whole thing. Since I'm adding the 12 to x first that's on the inside of my function. So I write that as g of the quantity x plus 12. Remember that this notation means I plug in the entire x plus 12, into the square root sign, which gives me exactly square root of x plus 12. And this next example of doing the square
root first and then multiplying by negative 36, so i minus 36 multiplications, outside my function, I can rewrite this as minus 36 times g of x. Finally, in this last example, I take x multiplied by a fourth and then apply the square root of x. So that's the same thing as g of 1/4 x by 1/4. x is on the inside of my function. In other words, it's inside the parentheses when I use function notation. Let's graph the square root of x and two transformations
of this function, y equals the square root of x goes to the point 0011. And for two, since the square root of four is two, it looks something like this. In order to graph y equals the square root of x minus two, notice that the minus two is on the outside of the function, that means we're going to take the square root of x first and then subtract two. So for example, if we start with the x value of zero, and compute the square root of zero, that's zero, then we subtract two to give us a y value of negative two, an x value of one, which under the square root function had a y value of one now has a y value that's decreased by two, one minus two is negative one. And finally, an x value of four, which under the square root function had a y value of two now has a y value of two minus two or zero, its y value is also decreased by two. If I plot these new points, zero goes
with negative two, one goes with negative one, and four goes with zero, I have my transformed graph. Because I subtracted two on the outside of my function, my y values were decreased by two, which brought my graph down by two units. Next, let's look at y equals the square root of quantity x minus two. Now we're subtracting two on the inside of our function, which means we subtract two from x first and then take the square root. In order to get the same
y value of zero as we had in our blue graph, we need our x minus two to be zero, so we need our original x to be two. In order to get the y value of one that we had in our blue graph, we need to be taking the square root of one, so we need x minus two to be one, which means that we need to start with an x value of three. And in order to reproduce our y value of two from our original graph, we need the square root of x minus two to
be two, which means we need to start out by taking the square root of four, which means our x minus two is four, so our x should be up there at six. If I plot my x values, with my corresponding y values of square root of x minus two, I get the following graph. Notice that the graph has moved horizontally to the right by two units. To me, moving down by two units, makes sense because we're subtracting two, so we're decreasing y's by two units,
but the minus two on the inside that kind of does the opposite of what I expect, I might expect it to to move the graph left I might expect the x values to be going down by two units, but instead, it moves the graph to the right because As the x units have to go up by two units, in order to get the right square root, when I then subtract two units, again, the observations we made for these transformations of functions hold in general, according to the following rules. First of all numbers on the outside of the function, like in our example, y equals the square root of x minus two, those numbers affect the y values, and result in vertical motions, like we saw, these motions are in the direction you expect. So subtracting two was just down by two. If we were adding two instead, that would move us up by two numbers on the inside of the function. That's like our example,
y equals the square root of quantity x minus two, those affect the x values and results in a horizontal motion, these motions go in the opposite direction from what you expect. Remember, the minus two on the inside actually shifted our graph to the right, if it had had a plus two on the inside, that would actually shift our graph to the left. Adding results in a shift those are called translations, but multiplying like something like y equals three times a squared of x, that would result in a stretch or shrink. In other words, if I start with the square root of x, and then when I graph y equals three times the square root of x, that stretches my graph vertically by a factor of three. Like this, if I want to graph y equals 1/3, times the square root of x, that shrinks my graph vertically by a factor of 1/3. Finally, a negative sign results in reflection. For example, if I start
with a graph of y equals the square root of x, and then want to graph y equals the square root of negative x, that's going to do a reflection in the horizontal direction because the negative is on the inside of the square root sign. A reflection in the horizontal direction means reflection across the y axis. If instead I want to graph y equals negative A squared of x, that negative sign on the outside means a vertical reflection, a reflection across the x axis. Pause the video for a moment and see if you could describe what happens in these four transformations. In the first example, we're subtracting four on the outside of the function. adding or subtracting means a translation or shift. And since we're on the outside of the function affects the y value, so that's moving us vertically. So this transformation should take the square root of graph and move it down by four units, that would look something

Ask anything
We've read this whole study set, so questions about it get the best answers.