SOLUTION: How do you solve questions like f(0)=2, f(2)=4 and write an equation for the linear function?

Algebra ->  Functions -> SOLUTION: How do you solve questions like f(0)=2, f(2)=4 and write an equation for the linear function?      Log On


   



Question 278482: How do you solve questions like f(0)=2, f(2)=4 and write an equation for the linear function?
Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
How do you solve questions like f(0)=2, f(2)=4 and write an equation for the linear function?

That's the same problem as 

Find the equation of the line that passes through the
two points (0,2) and (2,4)

except that when you finish you write f(x) instead of y.

Use the slope formula:

m=%28y%5B2%5D-y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29

m=%284-2%29%2F%282-0%29

m=2%2F3

m=1

Use the point slope formula:

y-y%5B1%5D=m%28x-x%5B1%5D%29

y-2=1%28x-0%29

y-2=1%28x%29

y-2=x

y=x%2B2

Change y to f(x)

f(x) = x + 2

Edwin