Solveeit Logo

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)\left( 1,2 \right) and (2,5)\left( 2,5 \right) ?

Explanation

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 yy1=m(xx1)y-{{y}_{1}}=m(x-{{x}_{1}}) where x1,y1{{x}_{1}},{{y}_{1}} are the coordinates and mm is the slope. The intercept form the line is y=mx+cy=mx+c .

Complete step-by-step solution:
The points given in the question are (1,2)(1,2) and (2,5)(2,5). Firstly we will find the value of the equation in point slope form. Equation in slope form is yy1=m(xx1)y-{{y}_{1}}=m(x-{{x}_{1}}) which can further be written as yy1xx1=y2y1x2x1\dfrac{y-{{y}_{1}}}{x-{{x}_{1}}}=\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}.
Consider (x1,y1)(1,2)({{x}_{1}},{{y}_{1}})\equiv (1,2) and (x2,y2)(2,5)({{x}_{2}},{{y}_{2}})\equiv (2,5) and put the values respectively in the formula:
y2x1=5221\Rightarrow \dfrac{y-2}{x-1}=\dfrac{5-2}{2-1}
y2x1=31\Rightarrow \dfrac{y-2}{x-1}=\dfrac{3}{1}
y2=3(x1)\Rightarrow y-2=3(x-1)
\therefore The equation in point slope form is y2=3(x1)y-2=3(x-1).
Now, we shall write the equation in intercept form. The equation in slope-intercept form is y=mx+cy=mx+c.
Consider the two points (x1,y1)(1,2)({{x}_{1}},{{y}_{1}})\equiv (1,2) and (x2,y2)(2,5)({{x}_{2}},{{y}_{2}})\equiv (2,5). We will find the value of mm and cc with the help of two points given. Putting the values one by one we get
y1=mx1+c{{y}_{1}}=m{{x}_{1}}+c
2=m×1+c\Rightarrow 2=m\times 1+c
c=2m\Rightarrow c=2-m
Now putting the value of cc in terms of mm in the second equation which is
y2=mx2+c{{y}_{2}}=m{{x}_{2}}+c
y2=mx2+2m{{y}_{2}}=m{{x}_{2}}+2-m
Put the values (x2,y2)(2,5)({{x}_{2}},{{y}_{2}})\equiv (2,5)
5=m×2+2m\Rightarrow 5=m\times 2+2-m
5=2m+2m\Rightarrow 5=2m+2-m
52=2mm\Rightarrow 5-2=2m-m
3=m\Rightarrow 3=m
Therefore the value of
c=2m c=2(3) \begin{aligned} & c=2-m \\\ & \Rightarrow c=2-(3) \\\ \end{aligned}
c=1\Rightarrow c=-1
\therefore The slope mm= 3 and c=1c=-1 for the equation.
y=mx+cy=mx+c
y=3x1y=3x-1
\therefore The equation in slope intercept form is y=3x1y=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=3x1y=3x-1.