In this video, we will learn how to graph a function. To graph a function, you have to select x-values and plug them into the equation. Once you plug those values into the equation, you will get a y-value. Your x-values and your y-values make up your coordinates for a single point. Keep plugging in x-values to get coordinates to plot more points on the graph, and then you will see your graphed function once the dots are connected. Be sure to label your graph. After you finish this lesson, view all of our Algebra 1 lessons and practice problems.

## Example of Graphing a Function Rule $y = 2x - 4$ $y = 2(1) - 4 = -2$ $y = 2(2) - 4 = 0$
These coordinates would look like this: $(1,-2)$ and $(2,0)$

## Video-Lesson Transcript

### Example 1 $y=-2x+3$

Let’s pick the x values then solve for its corresponding y values.

We have the values of x as $-3, -2, -1, 0, 1, 2, 3$.

Our function is $y=-2x+3$.

So let’s substitute the values of $x$ for us to have the values of $y$. Now, let’s graph the coordinates. ### Example 2 $y=4x-5$

Let’s pick the x values then solve for its corresponding y values.

We have the values of x as $0, 1, 2, 3,4$.

Our function is $y=4x-5$.

So let’s substitute the values of $x$ for us to have the values of $y$. Now, let’s graph the coordinates. Let’s go over graphing a function rule.

For example: $y = 2x - 4$

Let’s pick the $x$ values then solve for its corresponding $y$ values.

We have the values of $x$ as $-3, -2, -1, 0, 1, 2, 3$.

Our function is $y = 2x - 4$.

So let’s substitute the values of $x$ for us to have the values of $y$. $y = 2x - 4$

If $x= -3$

then $y = 2(-3) - 4$

so $y = -10$

If $x= -2$

then $y = 2(-2) - 4$

so $y = -8$

If $x= -1$

then $y = 2(-1) - 4$

so $y = -6$

If $x= 0$

then $y = 2(0) - 4$

so $y = -4$

If $x= 1$

then $y = 2(1) - 4$

so $y = -2$

If $x= 2$

then $y = 2(2) - 4$

so $y = 0$

And lastly if $x= 3$

then $y = 2(3) - 4$

so $y = 2$

So let’s also write our $x$ and $y$ coordinates $(-3, -10)$ $(-2, -8)$ $(-1, -6)$ $(0, -4)$ $(1, -2)$ $(2, 0)$ $(3, 2)$

Now, let’s graph this.

After connecting the points, it’s important to put arrows on both ends of the line segment. Because we know that these points are the points in the function. But they are not the only points.

The function can move on both ends which the arrows represent.

And then label the graph.