Answer:
[tex]f(x)=-\frac{1}{2}x+1[/tex]
Step-by-step explanation:
step 1
Find the slope of the linear function
take two points of the graph
(0,1) and (4,-1)
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
we have
substitute the values
[tex]m=\frac{-1-1}{4-0}[/tex]
[tex]m=\frac{-2}{4}[/tex]
[tex]m=-\frac{1}{2}[/tex]
step 2
Find the equation of the linear function in slope intercept form
[tex]f(x)=mx+b[/tex]
where
m is the slope
b is the y-intercept
we have
[tex]m=-\frac{1}{2}[/tex]
[tex]b=1[/tex] -----> the y-intercept is the point (0,1)
substitute
[tex]f(x)=-\frac{1}{2}x+1[/tex]