Question
Question: How do you find the equation of the line containing the given pair of points \(\;\left( {3,1} \right...
How do you find the equation of the line containing the given pair of points (3,1) and (9,3)?
Solution
The equation of a straight line in slope-intercept form is: y=mx+b. Where m is the value of slope and b is the y-intercept. Here, m and b are constants, and x and y are variables. Since x and y are variables that describe the position of specific points on the graph, m and b describe features of the function. A straight line is a linear equation of the first order. The slope of a line is the ratio of change in y over the change in x between any two points on the line.
slope(m)=x2−x1y2−y1
Steps to follow:
Find the slope of the line.
Use the slope to find the y-intercept.
Substitute the value of slope and y-intercept in a straight-line equation.
Complete step-by-step answer:
Here, we want to find a line equation. For that two points are given.
Let us compare points (3,1) and (9,3) with (x1,y1) and (x2,y2)
Therefore, x1=3,y1=1 and x2=9,y2=3.
Now, the first step is to find the slope.
⇒slope(m)=x2−x1y2−y1
Let us substitute all the values.
⇒m=9−33−1
Subtract it.
⇒m=62
Let us take out 2 as a common factor.
⇒m=31
Now, the second step is to find the y-intercept.
For that, we will use a line formula. And substitute the value of ‘m’ in that formula.
⇒y=mx+b
Here, the value of ‘m’ is equal to 31.
⇒y=31x+b...(1)
Now, select any one point to put the value of x and y among the given two points. It does not matter which one of the two points we select because we will get the same answer in either case.
Let us select the first point that is (3,1).
Here, the value of x is 3 and the value of y is 1.
Substitute all the values in equation (1).
So,
⇒1=31×3+b
Apply division into the right-hand side.
⇒1=1+b
Now, let us subtract 1 on both sides.
⇒1−1=1−1+b
So,
⇒b=0
Now, put the value of b in equation (1).
So we get,
⇒y=31x+0
Therefore,
⇒y=31x
Hence, the equation of the line is y=31x.
Note:
Let us find the value of y-intercept by selecting the second point that is (9,3).
Here, the value of x is 9 and the value of y is 3.
Substitute all the values in equation (1).
So,
⇒3=91×3+b
Apply division into the right-hand side.
⇒3=3+b
Now, let us subtract 3 on both sides.
⇒3−3=3−3+b
So,⇒b=0