Solveeit Logo

Question

Question: How do you write an equation of a line given point \(\left( -4,-2 \right)\) and \(\left( 4,0 \right)...

How do you write an equation of a line given point (4,2)\left( -4,-2 \right) and (4,0)\left( 4,0 \right)?

Explanation

Solution

To write an equation of a line passing through the given points first we need to find the slope of the line by using the formula y2y1x2x1\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}. Then by using the general equation formula of line (yy2)=(y2y1x2x1)(xx2)\left( y-{{y}_{2}} \right)=\left( \dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}} \right)\left( x-{{x}_{2}} \right) we will get the desired answer.

Complete step by step answer:
We have been given the points (4,2)\left( -4,-2 \right) and (4,0)\left( 4,0 \right).
We have to write the equation of a line passing through the given points.
Now, we know that the slope of a line passing through the points (x1,y1)\left( {{x}_{1}},{{y}_{1}} \right) and (x2,y2)\left( {{x}_{2}},{{y}_{2}} \right) is given by the formula y2y1x2x1\dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}}.
Now, we have x1=4,y1=2,x2=4,y2=0{{x}_{1}}=-4,{{y}_{1}}=-2,{{x}_{2}}=4,{{y}_{2}}=0
Now, substituting the values in the formula we will get
0(2)4(4)\Rightarrow \dfrac{0-\left( -2 \right)}{4-\left( -4 \right)}
Now, simplifying the above obtained equation we will get
0+24+4 28 14 \begin{aligned} & \Rightarrow \dfrac{0+2}{4+4} \\\ & \Rightarrow \dfrac{2}{8} \\\ & \Rightarrow \dfrac{1}{4} \\\ \end{aligned}
Now, we know that the equation of the line passing through the given points is given by (yy2)=(y2y1x2x1)(xx2)\left( y-{{y}_{2}} \right)=\left( \dfrac{{{y}_{2}}-{{y}_{1}}}{{{x}_{2}}-{{x}_{1}}} \right)\left( x-{{x}_{2}} \right).
Substituting the values we will get
(y0)=14(x4)\Rightarrow \left( y-0 \right)=\dfrac{1}{4}\left( x-4 \right)
Now, simplifying the above obtained equation we will get
y=14x1\Rightarrow y=\dfrac{1}{4}x-1
Hence above is the required equation of the line.

Note: The equation of slope-intercept form of the line is given as y=mx+cy=mx+c, where m is the slope of the line and c is the y-intercept of the line. Alternatively we can use the formula yy1xx1=y1y2x1x2\dfrac{y-{{y}_{1}}}{x-{{x}_{1}}}=\dfrac{{{y}_{1}}-{{y}_{2}}}{{{x}_{1}}-{{x}_{2}}} to find the equation of a line passing through the points (x1,y1)\left( {{x}_{1}},{{y}_{1}} \right) and (x2,y2)\left( {{x}_{2}},{{y}_{2}} \right) without finding the slope of the line.