22.6k views
0 votes
Eva draws a line that includes the points (2,0) and (-2,2). Which function gives all the points (x,y) on this line?

User Newmaniese
by
5.4k points

2 Answers

3 votes

Answer:

y= -1/2x+1

Explanation:

User Manismku
by
5.8k points
6 votes

Answer:

The function that gives all the points on the line is y = 1-0.5x

Explanation:

To calculate the function, we need to give the equation of the straight line that joins the two points.

mathematically, we can represent the equation of a straight line as;

y = mx + c

where m is the slope and c is the y-intercept

Let’s first calculate the slope using the two points we have

mathematically

m = (y2-y1)/(x2-x1)

where (x1,y1) = (2,0) and (x2,y2) = (-2,2)

Plugging these values into the equation we have;

y = (2-0)/(-2-2) = 2/(-4) = -1/2 or simply -0.5

Now we need to get c

The equation in its current state is

y = -0.5x + c

we can use any of the points to get c.

Let’s use (2,0); here x = 2 and y = 0

0 = -0.5(2) + c

0 = -1 + c

c = 1

Thus our equation is;

y = -0.5x + 1

or simply

y = 1-0.5x

User Sylvernus Akubo
by
5.8k points