# How do you graph the line y=4x?

Apr 16, 2018

See explanation.

#### Explanation:

To graph a linear function you need to substitute 2 values for $x$ and calculate the corresponding function values.

In this example we can have:

$f \left(0\right) = 4 \cdot 0 = 0$

$f \left(1\right) = 4 \cdot 1 = 4$

Now we have to draw two points $\left(0 , 0\right)$ and $\left(1 , 4\right)$ and connect them with a line.

graph{(y-4x)(x^2+y^2-0.05)((x-1)^2+(y-4)^2-0.05)=0 [-10, 10, -5, 5]}