To find the equation of a linear function given two points, we can use the point-slope form of a line. First, calculate the slope using the two given points. Then, use one of the points and the slope to write the equation in point-slope form, and finally convert it to slope-intercept form.
To find the slope m of the linear function f(x), we use the formula:
m=x2−x1y2−y1
Substituting the given points (−4,−4) and (5,−2):
m=5−(−4)−2−(−4)=92≈0.2222
Using the point-slope form of the equation y−y1=m(x−x1) with point (−4,−4):
y−(−4)=92(x−(−4))
This simplifies to:
y+4=92(x+4)
To convert to slope-intercept form y=mx+b, we first distribute:
y+4=92x+98
Now, isolate y:
y=92x+98−4
Converting −4 to a fraction with a common denominator:
−4=−936
Thus, we have:
y=92x+98−936=92x−928
The equation of the linear function is:
f(x)=92x−928