this is a simple question and I feel like I should be able to figure it out myself, but I'm finding conflicting answers, so please forgive me for the simplicity of this question...
I understand composition of functions such as f(g(x)) is basically plugging g(x) into f(x) equation.
What I don't understand, is the order for solving...
For example:
f(x) = 2x^2+1
g(x) = 1-2x
--> Solve for g(f(1))
If you solve f(1) equation and then plug the answer into g(x), you get
f(1) = 2x^2 + 1
Solves to 3....
plug into g(x) = 1-2(3)
Solves to 5.
But if simply plug f(1) into g(x) and then solve, you get:
1-2(2(1)^2 +1)
Solves to -3
Which is the correct order?
I understand composition of functions such as f(g(x)) is basically plugging g(x) into f(x) equation.
What I don't understand, is the order for solving...
For example:
f(x) = 2x^2+1
g(x) = 1-2x
--> Solve for g(f(1))
If you solve f(1) equation and then plug the answer into g(x), you get
f(1) = 2x^2 + 1
Solves to 3....
plug into g(x) = 1-2(3)
Solves to 5.
But if simply plug f(1) into g(x) and then solve, you get:
1-2(2(1)^2 +1)
Solves to -3
Which is the correct order?