I’m practicing composite functions and I think my brain has put on roller skates. If I have f(x) = 2x – 3 and g(x) = x^2 + 1, I’m trying to understand the difference between f(g(x)) and g(f(x)).
My attempt is that for f(g(x)), I replace the x in f with the whole g(x), so I get f(g(x)) = 2(x^2 + 1) – 3, which simplifies to 2x^2 – 1. That feels right-ish, like the algebra goblin is nodding politely.
But then for g(f(x)), I think I should put 2x – 3 into g, giving g(f(x)) = (2x – 3)^2 + 1. This is where I start doubting myself because the order seems to change everything, and I’m not sure if I’m understanding the “inside function first” idea properly.
Am I thinking about composite functions the right way, or am I secretly mixing up the function sandwiches?















