Function composition problem

55 Views Asked by At

if $f(x)=x-1$ and $(g ∘ f)(x) = x^2 -1$, what's $g(3)$?

I've tried to find the definition of $g(x)$ but there may be an easier way? Thanks.

2

There are 2 best solutions below

0
On BEST ANSWER

We have $$g(3)=g(f(4))=(g\circ f)(4)=15 $$ In fact we even find the general formula for $g$: $$g(x)=g(f(x+1))=(g\circ f)(x+1)=(x+1)^2-1 $$

0
On

We see that $f(4) =3$, and this is the only number for which this is true. Thus, $g(3) = g(f(4)) = 16 - 1 = 15$.