$f = ax^2 - b$ and $g = cx + d$ Where $a,b,c,d$ are all coefficients. Find $a,b,c,d$ when $f◦g = g◦f$.
Here is what I have: \begin{align*} f◦g &= a(cx + d)^2 -b = a(c^2)(x^2) + 2acdx + ad^2 - b\\ g◦f &= c(ax^2 - b) + d = acx^2 - bc + d \end{align*}
And then I get stuck... I tried manipulating variables to make them equal to each other but can't find the answer. Apparently you have to use coefficient rule, but I don't know how.
Any help is appreciated.
Assuming this: $(f◦g)(x)= a(cx + d)^2 -b = a(c^2)(x^2) + 2acdx + ad^2 - b$ and
$(f◦g)(x) = c(ax^2 - b) + d = acx^2 - bc + d$. As $(f◦g)(x)=(f◦g)(x)$ implies that $ac^2x^2=acx^2$, $2acdx=0x$ and $ad^2-b=-bc+d$. $ac^2x^2=acx^2$ implies that $c=1$ or $c=0$ and $a$ is any number. The second equation $2adx=0x$ implies that $a=0$ or $d=0$. The third one $ad^2-b=-bc+d$ becomes $ad^2-b=-b+d$ if $c=1$ which implies that $d=0$ and $b$ is any number. If $c=0$ then $ad^2-b=d$ implies that $b=0$, $d=1$($a=1$) or $d=0$($a$ is any number). Putting all together if $c=1$ then $a$ and $b$ are any numbers and $d=0$. If $c=0$ then $b=0$, $d=1$,$a=1$ or $b=0$, $d=0$, $a$ any number. So I think you are not lost. There are more than one answer to the problem. I just gave several of them. There are more.