Question
Question: How do you write the equation in point slope and slope intercept form given \(\left( 1,2 \right)\) a...
How do you write the equation in point slope and slope intercept form given (1,2) and (2,5) ?
Solution
The straight line can be represented in many ways. Two of the ways are point slope form and slope intercept form. Point slope form can be represented as y−y1=m(x−x1) where x1,y1 are the coordinates and m is the slope. The intercept form the line is y=mx+c .
Complete step-by-step solution:
The points given in the question are (1,2) and (2,5). Firstly we will find the value of the equation in point slope form. Equation in slope form is y−y1=m(x−x1) which can further be written as x−x1y−y1=x2−x1y2−y1.
Consider (x1,y1)≡(1,2) and (x2,y2)≡(2,5) and put the values respectively in the formula:
⇒x−1y−2=2−15−2
⇒x−1y−2=13
⇒y−2=3(x−1)
∴ The equation in point slope form is y−2=3(x−1).
Now, we shall write the equation in intercept form. The equation in slope-intercept form is y=mx+c.
Consider the two points (x1,y1)≡(1,2) and (x2,y2)≡(2,5). We will find the value of m and c with the help of two points given. Putting the values one by one we get
y1=mx1+c
⇒2=m×1+c
⇒c=2−m
Now putting the value of c in terms of m in the second equation which is
y2=mx2+c
y2=mx2+2−m
Put the values (x2,y2)≡(2,5)
⇒5=m×2+2−m
⇒5=2m+2−m
⇒5−2=2m−m
⇒3=m
Therefore the value of
c=2−m⇒c=2−(3)
⇒c=−1
∴ The slope m= 3 and c=−1 for the equation.
y=mx+c
y=3x−1
∴ The equation in slope intercept form is y=3x−1.
Note: Do remember there are many forms of equations for straight lines. As per the demand of the question you are supposed to write the equation. Equation being in any form should be the same for the same points. For instance you can see the above equations. In both the forms, the equation remains the same, which is y=3x−1.