Give a piece-wise function p(x) where p(2)=5 and p(-1)=3

9 answers

p(x) = for x<0, p(x)=3
for x>0, P(x)=2x+1
give a logarithmic function g(x) such that g(49)=2
g(x)=logbase7(x)
Give two functions f(x) and g(x) such that f(g(2))=7
f(x) = 7
g(x) = whatever you want.

Maybe a bit more specific constraints?
i still don't get it.

Thanks
it doesn't matter what value g(2) is, because f(x)=7 whatever x is.

On a bit more realistic note, you can dream up lots of scenarios. Looking at exponential stuff, for instance,

suppose f(0) = 7. So, we could say

f(x) = 2x^2+9x+7
Then, all we need is some g(x) such that g(2) = 0. Since f(0) = 7, f(g(2)) will be 7.

So, let g(x) = 3^x - 9

Now we have

f(g(2)) = f(3^2-9) = f(0) = 7
Thanks
Give two functions f(x) and g(x) such that (fg)(-1)=4