Answer:
y=2x+4
Step-by-step explanation:
Hi there!
We are given the points (0, 4) and (2,8)
We want to write the equation of the line that passes through these two points
There are 3 ways to write the equation of the line, but the most common way is with slope-intercept form, which is y=mx+b, where m is the slope and b is the y intercept
So, to use this way, we need to find the slope of the line
The slope can be calculated using the formula [tex]\frac{y_2-y_1}{x_2-x_1}[/tex], where [tex](x_1, y_1)[/tex] and [tex](x_2, y_2)[/tex] are points
We are already given the points needed to find the slope, but let's label them to avoid any confusion
[tex]x_1=0\\y_1=4\\x_2=2\\y_2=8[/tex]
Now substitute these values into the formula.
m=[tex]\frac{y_2-y_1}{x_2-x_1}[/tex]
m=[tex]\frac{8-4}{2-0}[/tex]
Subtract
m=[tex]\frac{4}{2}[/tex]
Divide
m=2
The slope of the line is 2
Here is the equation of the line so far:
y=2x+b
Now we need to find b
As stated before, b is the y intercept of the line, which is the point in where the line passes through the y axis; the value of x at this point is 0
One of the points we were given earlier is actually the y intercept of the line; that point is (0, 4) *notice how x=0 at this point
The value of b is the value of y at the y intercept; in this case, the value of b is 4
Substitute 4 as b into the equation
y=2x+4
Hope this helps!
See more on this topic here: https://brainly.com/question/27172025