Question
Question: How do you write an equation of a line with point \(\left( 2,4 \right)\) and slope 2?...
How do you write an equation of a line with point (2,4) and slope 2?
Solution
We are given point (2,4) and slope 2, we are asked to find expression that define equation of line, to do so we will learn about slope-point form (y−y0)=m(x−x0) to get the equation of the line, once we get the line we will convert it to the standard form of line given as ax+by+c=0 When we get this form at that point our solution is achieved.
Complete step-by-step solution:
We are given a point (2,4) and the slope 2. We are asked to find the equation of a line.
To find the solution we will understand how to define an equation of line and what slope means with respect to the line.
Now, the slope of any line is the angle made by the line with the positive x-axis.
Slope is given as tanθ
There is another way to find the slope, we first find two points on the line say (x1,y1) and (x2,y2) then slope is given as m=x2−x1y2−y1
Now the standard equation of a line is given as –
ax+by+c=0
And there is another form of line which is called point slope form.
Which is given as y−y0=m(x−x0)
Where ‘m’ denotes the slope of the line and (x0,y0) is our point that lies on the line.
We will use first the point slope form of the line to get the equation of line then we change it into the standard form of line as we have slope of the line as ‘2’, it means we have m=2 .
Also we have that the line passes through (2,4) or say (2,4) lies on the line so, we consider (x0,y0)=(2,4)
Now we have m=2 and (x2,y0)=(2,4)using there in (y−y0)=m(x,x0) we get –
y−4=2(x−2)
Opening brackets we get –
y−4=2x−4
Now we have our equation as –
y−4=2x−4
We will use algebra to change it into standard form we add ‘4’ on both side of y−4=2x−4
y−4+4=2x−4+4
So, we get –
y=2x (as −4+4=0)
Now, subtracting 2x on both side, we get –
y−2x=2x−2x
So we get –
−2x+y=0 (as 2x−2x=0)
**Hence, we get our equation of line as –
−2x+y=0 in standard form or we simply called y=2x **
Note: While solving the algebraic operation, if we have to multiply a term with the bracket containing multiple terms then we multiply that given term with each entry of the brackets like a(b+c)=ab+ac
If we do it like a(b+c)=ab+c , then this is an incorrect step, we do not multiply just by one term we solve by multiplying with all terms.