what is the equation of the line through x-intercept,-1, and y-intercept ,2

*What is the equation of the line through x-intercept,-1, and y-intercept ,2?*

The x-intercept is the point (-1,0) and the y-intercept is the point (0,2).

The equation of a line is:

y = mx + b

Where m = the slope of the line and b is the y-intercept. We already know the y-intercept, b=2. So all we need is the slope, m. The slope is defined as the change in y over the change in x between any two points (x

_{1},y_{1}) and (x_{2},y_{2}) on the line: (y

_{2}- y_{1})m = ------------

(x

_{2}- x_{1})We have two points: the x-intercept (-1,0) and the y-intercept (0,2). Hence:

(y

m = ---------- = -------- = --- = 2

(x

_{2}- y_{1}) (2 - 0) 2m = ---------- = -------- = --- = 2

(x

_{2}- x_{1}) (0 - (-1)) 1Therefore the equation of the line is:

**y = 2x + 2**