Question
Question: What is the line equation that has \[x-\] intercept \[=4\] and \[y\]\[-\] intercept \[=-5\]?...
What is the line equation that has x− intercept =4 and y$$$$- intercept =−5?
Solution
In order to find the line equation, firstly we will be considering the general line equation i.e. y=mx+c and then we will be determining the value of c and from that we will be determining the value of m which is the slope. And upon solving, we will be solving the obtained equations and we will get the equation of line required.
Complete step by step solution:
Now let us learn about the line equations. The general line equation is of the form y=mx+c where, m is the slope and c is the y$$$$- intercept. There are three major forms of line equations. They are: point-slope form, standard from and slope-intercept form.
Now let us start finding out the line equation that has x− intercept =4 and y$$$$- intercept =−5.
Let us consider the equation y=mx+c.
Now we will be determining the value of c.
As the x−axis crosses the y−axis at x=0, we will be substituting 0 for x.
We get,
y=m(0)+c
Upon solving, we get, y=c.
From the given question, we have that y$$$$-intercept=−5. Since y=c, we can state that c=−5.
Now consider y=mx+c
Then we get, y=mx−5
Now, let us determine the value of m i.e. slope.
m=change in xchange in y
Now let us determine the intercepts into the points.
For y$$$$- intercept, we have P1(x1,y1) i.e. (0,−5).
For x− intercept, we have P2(x2,y2) i.e. (4,0).
\Rightarrow $$$$m=\dfrac{\text{change in y}}{\text{change in x}}$$$$=\dfrac{{{y}_{2}}-{{y}_{2}}}{{{x}_{2}}-{{x}_{1}}}$$$$=\dfrac{0-\left( -5 \right)}{4-0}=\dfrac{0+5}{4}=\dfrac{5}{4}
Now upon substituting the value of m in the equation y=mx−5, we get the line equation as y=45x−5.
This can also be simplified and written as 4y=5x−20
∴ The line equation that has x−intercept=4 and y$$$$-intercept=−5 is 4y=5x−20.
Note: For a non vertical line, if it passes through (x0,y0) with the slope m, then the equation of line would be y−y0=m(x−x0).
Now let us plot our obtained line equation.