2

I have this problem:

Let $f$ and $g$ be the following straight line functions: $f(x) = ax + b$, $g(x) = cx + d$. Determine conditions on $a$ and $b$ such that $f \circ g$ = $g \circ f$.

This is what I got:

$$ad-d=cb-b$$

and then

$$a(d - d/a) = b(c-1)$$

Is it correct?

Thank you

Clarinetist
  • 19,519
zeeks
  • 241

1 Answers1

1

Your condition very nearly works perfectly, but it doesn't work if $a=0.$ Instead of factoring out $a,$ you should factor out $d,$ giving you $$d(a-1)=b(c-1).$$

Cameron Buie
  • 102,994