SOLUTION: I'm a little bit confused as to what I am really doing. A few classmates had said to use the foiling method but it does not look right. The directions state: Describe how to transf

Algebra ->  Quadratic-relations-and-conic-sections -> SOLUTION: I'm a little bit confused as to what I am really doing. A few classmates had said to use the foiling method but it does not look right. The directions state: Describe how to transf      Log On


   



Question 837764: I'm a little bit confused as to what I am really doing. A few classmates had said to use the foiling method but it does not look right. The directions state: Describe how to transform the parent function y=x2 (sqaured) to the graph of each function below. Graph both functions on the same axes...
Answer by KMST(5328) About Me  (Show Source):
You can put this solution on YOUR website!
There is a role for algebraic manipulations based on that "foiling method", or a "completing the square" method", depending on what form of the function they give you. However, I am guessing that your problem does not require that. (I have to guess because I do not know what functions or graphs you were given).
Because I am guessing what you need to know, I will cover many possibilities and the answer will be long.

When teachers talk about "transform" and "parent function" to graph a function,
you have to use either
A) your brain, or
B) "recipes" from the book or from the teacher
to change the known graph of the "parent function" into a similar graph for the function given, or to match a given graph.

From the "parent function" y=x%5E2 you can derive many related functions. Their graphs look similar but moved ("translated" or "shifted") left or right, and/or up or down, and/or "stretched" or "shrunken" horizontally or vertically, and/or "flipped".
I'll give you examples, and what my brain tells me about them. They may remind you of "recipes" and "rules" you got from school and books.
When you have to "describe" or "explain", it is better to follow the teacher's (or book's) favorite wordings and recipes, because independent use of your brain may not be understood, or accepted.

The graph of y=x%5E2 looks like this:


SHIFTING/TRANSLATING VERTICALLY:
If you wanted the graph of y=x%5E2%2B3 you would just move each point in that graph 3 units up, so both functions graphed on the same axes would look like this:
(Just for illustration, I marked 3 of the points, and drew the arrows showing how they change from one graph to the other. Your teacher most likely does not want to see the arrows, or the marked points). All the points in the graph move the same way. The whole graph moves (is "translated" or "shifted") 3 units up.
Similarly, the graph of y=x%5E2-2 is like the graph of y=x%5E2 , but with all points moved ("translated" or "shifted") 2 units down.

SHIFTING/TRANSLATING HORIZONTALLY:
If you add a number to the x before applying the function, you have a different effect.
The graph for y=x%5E2 has y=0 for x=0, y=1 for x=1,
and y=4 for x=2 .
The graph for y=%28x-3%29%5E2 would have y=0 for x=3, where x-3=0 .
It would have y=1 for x=4, where x-3=1 .
It would have y=4 for x=5, where x-3=2 .
All the points would be moved 3 units to the right because you have %28x-3%29 where you had just x :
(Just for illustration, I marked 3 of the points, and drew the arrows showing how they change from one graph to the other. Your teacher most likely does not want to see the arrows, or the marked points). All the points in the graph move the same way. The whole graph moves (is "translated") 3 to the right.
Similarly, the graph of y=%28x%2B1%29%5E2 is like the graph of y=x%5E2 , but with all points moved ("translated" or "shifted") 1 unit to the left.

STRETCHING AND SHRINKING VERTICALLY:
A factor in front of the square has a different effect.
The graph of y=2x%5E2 is like the graph of y=x%5E2 , but "vertically stretched", because for each x , y=2x%5E2 assigns a y value twice as great as y=x%5E2 :

Something like that would happen for any other factor greater than 1.
For factors between 0 and 1, the graph would look vertically "shrunken", as shown below for t=x%5E2 and y=0.2%2Ax%5E2%29 .


FLIPPING (also called "reflecting"):
A minus sign in front of the function flips red%28y=x%5E2%29 over the x-axis turning it into green%28y=-x%5E2%29 as shown below:
graph%28300%2C300%2C-5%2C5%2C-25%2C25%2Cx%5E2%2C-x%5E2%29
The "transformation" could be called "flipping" or "reflecting" over the x-axis.
Putting a minus sign in front of the function can be seen as multiplying the whole function times %28-1%29 , since -x%5E2=%28-1%29%2Ax%5E2 .
Any negative factor, would flip and at the same time stretch or shrink the graph vertically, as shown below for red%28y=x%5E2%29 , green%28y=-2x%5E2%29 , and blue%28y=-0.2x%5E2%29
graph%28300%2C300%2C-5%2C5%2C-25%2C25%2Cx%5E2%2C-2x%5E2%2C-0.2x%5E2%29

OTHER CHANGES:
You could talk about stretching and shrinking horizontally, and about flipping over the y-axis. That would involve applying a factor to the x before applying the function.
However, with y=x%5E2 (squaring) as the "parent function", I would avoid those moves.

COMBINATIONS:
You could do several transformations to the function in a certain order.
Sometimes the same result can be obtained in more that one way.

EXAMPLES:
Say you are given the graph below. How was y=x%5E2 transformed to get that?
It was flipped upside down, so there is a minus sign up front.
The graph looks stretched vertically, so there is a factor up front with an absolute value greater than 1.
The vertex has been moved from (0,0) 4 units to the left, and 8 units up to (-4,8).
A shift 4 units to the left means that what was squared is %28x%2B4%29.
A shift up by 8 units means there is a %22%2B+8%22 at the end.
What about the vertical stretch?
For y=x%5E2 , points where x is 1 unit away from the vertex at (0,0) have
y=1%5E1=1 , 1 unit away from the y=0 at the vertex.
This function, for x 1 unit away from the vertex we are at x=-4-1=-5 or at x=-4%2B1=-3 . At those points we seem to have y=-4 , so we are 8-%28-4%29=12 units away from the y=8 at the vertex, so 12 (with the minus sign for the flip) is my factor, and I can write the function as
y=-12%28x%2B4%29%5E2%2B8
I would say that from y=x%5E2 the function has been
flipped (or reflected) over the x-axis,
vertically stretched by a factor of 12,
shifted (or moved, or translated) 4 units left, and
shifted (or moved, or translated) 8 units up.

Say you are given the function green%28y=-2%28x%2B1%29%5E2%2B3%29 .
The transformations from red%28y=x%5E2%29 are listed below, followed by the graphs.
The x%2B1 that is squared means a 1 unit shift to the left.
The -2 at front means a vertical stretch by a factor of 2, and an upside down flip.
The %22%2B+3%22 at the end means a shift up by 3 units.


If my function were y=5%282x%2B3%29%5E2%2B8 , I would use algebra to re-write it a way I like better:
y=5%282x%2B3%29%5E2%2B8 --> y=5%282%28x%2B3%2F2%29%29%5E2%2B8 --> y=5%2A2%5E2%28x%2B3%2F2%29%5E2%2B8 --> y=20%28x%2B3%2F2%29%5E2%2B8 .
Then I would say the transformations from y=x%5E2 are:
a 3%2F2=1.51 unit shift to the left,
a vertical stretch by a factor of 20, and
a shift up by 8 units.
Someone else may say that there was a horizontal shrinking by a factor of 2 and a vertical stretching by a factor of 5, but those two changes compound into the vertical stretch by a factor of 20 I listed. It is different ways to state the same thing.

IF MORE ALGEBRA KNOWLEDGE IS TO BE USED:
If someone gave me something like y=4%28x-2%29%28x-3%29 I might think of foiling,
but I would not need to do that.
I know that, with zeros (x-intercepts) at x=2 and x=3 ,
the vertex and axis of a symmetry of that quadratic function is halfway between the zeros, at x=2.5=5%2F2.
At that point, y=4%282.5-2%29%282.5-3%29=4%2A0.5%2A%28-0.5%29=4%2A%28-0.25%29=-1 .
That, and the 4 in front, tells me that y=3%28x-2%29%28x-3%29 is y=x%5E2 transformed by
a 2.5=5%2F2 unit shift right,
a 1 unit shift down, and
a vertical stretch by a factor of 4 .

If someone was mean enough to give me something like y=3x%5E2-15x%2B10 , I would "complete the square" as follows.
y=3x%5E2-15x%2B10
y=%283x%5E2-15x%29%2B10
y=3%28x%5E2-5x%29%2B10
y=3%28x%5E2-5x%2B25%2F4-25%2F4%29%2B10
y=3%28x%5E2-5x%2B25%2F4%29-3%2A25%2F4%2B10
y=3%28x%5E2-5x%2B25%2F4%29-75%2F4%2B10
y=3%28x%5E2-5x%2B25%2F4%29-35%2F4
y=3%28x-5%2F2%29%5E2-35%2F4
That function is y=x%5E2 transformed by
a 2.5=5%2F2 unit shift right,
a 35%2F4=8.75 unit shift down, and
a vertical stretch by a factor of 3 .