# How to find a function which provides the following condition

by HD239   Last Updated November 10, 2018 19:20 PM

How to find $$f$$ function such that $$f(1)=1, f(2)=3$$

Tags :

Hint: A linear function $$f(x)=ax+b$$ will do:

You must solve a system: $$a+b = 1$$ $$2a+b=3$$ to get $$a$$ and $$b$$.

greedoid
November 10, 2018 19:17 PM

For example you can take $$f(x)=a(x-1)+f(1)$$

with

$$f(2)=a+1=3$$

hamam_Abdallah
November 10, 2018 19:18 PM