112k views
4 votes
Write a linear function f with f(−2)=6 and f(0)=−4 .

User Cleveland
by
5.2k points

2 Answers

3 votes

Answer:

f(x)=-5x-4

Explanation:

You are given two points (-2, 6) and (0, -4)

Find the slope: m=(-4-6)/[(0-(-2)]=-5

So you have y=-5x+b

next, find the y intercept b.

the y intercept is when x=0. in this case, the y intercept is -4

so the linear function is f(x)=-5x-4

User Carrizo
by
4.5k points
5 votes

Answer:

y = -5(x) - 4

Explanation:

Use the equation of a line and substitution.

Information given:

point 1: (-2,6)

x1 = -2 and y1 = 6

point 2: (0,4)

x2 = 0 and y2 = 4

Equation of a line: y = m(x) + b

m = slope

To find slope, you do the equation of a linear slope, which is:

m =
(rise)/(run) in other words m =
(Y2 - Y1)/(X2-X1)

plug in your values


(6-(-4))/(-2-0)

= -5

Great, we've found slope, now to find b

plug in the slope you found: y = -5(x) + b

Plug in and solve for each point given, aka (x,y) into the linear equation for both points.

FIRST POINT:

6 = -5(-2) + b

6 = 10 + b

6 - 10 = b

b = -4

SECOND POINT:

-4 = -5(0) + b

-4 = 0 + b

-4 - 0 = b

b = -4

We got -4 for both, meaning that this equation is correct, so if you add in b, your final equation will be y = -5(x) - 4.

Plug this into desmos.com/calculator, and you'll see this linear equation runs through both points given in the problem.

User Kdkeck
by
5.0k points