Answers:
(a) y = mx + b
(b) y = (-b/a)x + b
Step-by-step explanation:
The equation of a line has the form:
y = mx + b
Where x and y are the variables, m is the slope and b is the y-intercept.
So, the equation of a line with slope m and y-intercept b is:
y = mx + b
On the other hand, if we have an equation with the x-intercept equal to a, then when x = a, y is equal to 0.
So, we can write the following equation:
y = mx + b
0 = ma + b
Now, we can solve the equation for m as follows:
0 - b = ma + b - b
-b = ma
-b/a = ma/a
-b/a = m
Therefore, an equation with x-intercept a is an equation with slope -b/a, so the equation of the line with x-intercept a and y-intercept b is:
y = (-b/a)x + b