50.8k views
5 votes
Write a linear equation for f(5)=7 and f(-2)=0

User Cwharland
by
7.0k points

1 Answer

14 votes

Answer:

y = x + 2

Explanation:

We start by writing the coordinates pair

(x, f(x))

So we have;

(5,7) and (-2,0)

We start by getting the slope;

m = y2-y1/x2-x1

m = 0-7/-2-5 = -7/-7 = 1

The equation of a linear equation has the general form;

y = mx + c

m is the slope and c is the y-intercept

y = x + c

to get the value of c, we make a simple substitution

we can use the x and y values of any point

7 = 5 + c

c = 7-5

c = 2

So the equation is;

y = x + 2

User Merbin Jo
by
7.7k points