Find an equation of the line containing the given pair of points. (-5,-2) and (-3,-1). The equation of the line in slope-intercept form is y=.

Here is what I came up wiyh: y=1/2x-1/2. Is this correct?
I am confused on this problem. Could someone please help?
Thanks.

Your slope is correct, so

y = (1/2)x+ b
use point(-3,-1)
-1 = =-3/2 + b
b = -1 + 3/2 = 1/2

so y = (1/2)x + 1/2

check with other point
LS = -2
RS = (1/2)(-5) + 1/2
= -5/2 + 1/2 = -2
= LS

you had a sign error somewhere.

Thanks.

To find the equation of a line containing two points, you can use the slope-intercept form of a line equation, which is y = mx + b, where m is the slope and b is the y-intercept.

1. Find the slope (m) using the formula:
m = (y2 - y1) / (x2 - x1)

Given points: (-5, -2) and (-3, -1)
m = (-1 - (-2)) / (-3 - (-5))
= (-1 + 2) / (-3 + 5)
= 1 / 2

2. Now that we have the slope (m), choose one of the points (let's select (-5, -2)) and substitute its values into the slope-intercept form (y = mx + b):
-2 = (1/2)(-5) + b

3. Solve for b:
-2 = -5/2 + b
-2 + 5/2 = b
b = 1/2

4. Now substitute the values of m and b into the slope-intercept form equation to find the complete equation of the line:
y = (1/2)x + 1/2

Therefore, the equation of the line in slope-intercept form is y = (1/2)x + 1/2.

Your answer of y = 1/2x - 1/2 is incorrect.