79.5k views
1 vote
Write a linear function f with the values f(0)=7 and f(2)=12.

User Bobsickle
by
5.0k points

2 Answers

0 votes
f(x)=ax+b
f(0)=a*0+b
7=0+b
b=7
f(2)=2a+7
12=2a+7
2a=12-7=5
a=2.5
f(x)=2.5x+7
User Rafael Miceli
by
5.5k points
4 votes

\bf f(\stackrel{x}{0})=\stackrel{y}{7}\qquad \qquad \qquad f(\stackrel{x}{2})=\stackrel{y}{12}

so we're really looking for the equation of a line that runs through (0,7) and (2,12),


\bf (\stackrel{x_1}{0}~,~\stackrel{y_1}{7})\qquad (\stackrel{x_2}{2}~,~\stackrel{y_2}{12}) \\\\\\ % slope = m slope = m\implies \cfrac{\stackrel{rise}{ y_2- y_1}}{\stackrel{run}{ x_2- x_1}}\implies \cfrac{12-7}{2-0}\implies \cfrac{5}{2} \\\\\\ % point-slope intercept \stackrel{\textit{point-slope form}}{y- y_1= m(x- x_1)}\implies y-7=\cfrac{5}{2}(x-0) \\\\\\ y-7=\cfrac{5}{2}x\implies y=\cfrac{5}{2}x+7
User Sylvestre
by
6.0k points