# How do you write a linear function f with the values #f(2)=-1# and #f(5)=4#?

##### 1 Answer

Use the two points to compute the slope, m, then use one of the points in the form

#### Explanation:

The equation for the slope, m, of a line is:

The equation

The equation

Substitute

Substitute 2 for x and -1 for y and the solve for b:

Substitute

Check:

This checks

Equation [5] is the answer.