Notice that the given two points,
g(2)=3 and
g(6)=5, are in . To start, let's write these points as . Remember that the input
x is the
x-coordinate and the output
g(x) is the
y-coordinate.
g(x)=y⇔(x,y)g(2)=3⇔(2,3)g(6)=5⇔(6,5)
Now we are able to write an equation for function
g in . However, we cannot determine the
y-intercept of the equation from the given points. Therefore, we will follow three steps.
- We will first find the of the equation by using the .
- Next, we will write the equation in .
- Finally, we will rearrange the equation to write it in slope-intercept form.
Finding the Slope
We know that the line of function
g passes through the points
(2,3) and
(6,5). Let's substitute these points into the Slope Formula and find the slope.
m=x2−x1y2−y1
m=6−25−3
m=42
m=21
Thus, the slope of the line is
21.
Point-Slope Form
We know the slope of the line and two points that are on the line. We can choose one of these points and write the equation of the line. Let's choose the point
(2,3).
y−3=21(x−2)
Slope-Intercept Form
Finally, we can write the equation of the line in slope-intercept form by isolating the
y-variable of the equation.
y−3=21(x−2)
y−3=21x−1
y=21x+2
Thus, the
y-variable is isolated and we have our equation in slope-intercept form.
y=21x+2