**Video Transcript**

##
Transcript
**Graphing Functions**

Stephanie Gawking is a math enthusiast, and her hobby is **astronomy**. From her backyard, she gazes through her telescope and dreams of discovering a new celestial body.

She sees a shooting star - which is a small, fast meteor. Although she knows the average speed of a shooting star is 30,000 miles per hour, she wonders about its path and how far it'll travel in a given amount of time.

### What is a function?

To show the relationship between distance and time, we can look at a **graph**; the path of the star MAY be the **graph of a function**, but how do we know for sure?

A function is a special **relationship between two variables**; in this case, the variables are the distance and the time. For each minute that passes, the star travels to a new location in the sky. If the graph of the star's path is a **function**, then for every input, time, there is a unique output, the location or the distance traveled. Let’s take a look at the function f(x) = 2x + 8. Notice that we used the **function notation, f(x)**, this is just a fancy way of representing 'y'.

### Graphing a function

Okay, let’s graph the function. It’s already written in **slope-intercept form**, **y = mx + b**. The y-intercept is equal to 8, and the slope, or rise over run, is equal to 2.

OR, you can write the values for 'x' and 'y' in a table. For instance, when x = 0, y = 8. When x = 1, y = 10, and so on. Next, plot a few points and connect the points on the line. We know the graph displays a function because each 'x' has only one 'y'. To double check that the graph is a function, we can also do a **vertical line test**. Draw in several vertical lines, if the lines touch the graph in only one place, then the graph is a function. If any line touches the graph in more than one place, it's not a function - it's that simple!

### Graphing Parabolas

Let’s graph y = x2. To do this, we can create a function table and calculate a few points, then graph. If x = -2, then y = 4. If x = -1, y = 1, and so on. Notice the shape of this function. This distinctive u-shape is called a **parabola**. When you have a **quadratic equation**, the graph is always a parabola. How do we know if a quadratic equation is a function? For each x, there is only one y, and the graph passes the vertical line test.

### Vertical Line Test

Looking through her telescope, Stephanie sees a constellation. It’s so curvy; is it a **function**? Let’s use the vertical line test to see if it is.
Oh look! It passes the test! So this **graph** is also a function - for each input, 'x', there is one output, 'y'. Here’s another awesome constellation, but does its graph form a function? Because the graph passes the vertical line test, it sure does!

And, what about this one? It’s u-shaped, but it’s turned sideways. It fails the vertical line test, so no, it’s not a function. For each input, there is more than one output. Whoa nelly! This one looks like a circle. Is it a function? It fails the test, so no way.

Stephanie adjusts her telescope. Holy moly! Stop the presses! What's that? She thinks she's finally discovered a new celestial body. It’s a dream come true. Wait, is that a firefly?