# Solve equations for composite functions?

Posted 1 year ago
3974 Views
|
5 Replies
|
4 Total Likes
|
 Hello Ladies and Gentlemen, Please need instruction, how to enter equations for composite function . Entered f(g(1)) : f(x)=x^2+2;g(x)=4x-5 , if copied/pasted into Wolfram/Alpha. This is displayed {f(g(1))/f(x) = x^2 + 2, g(x) = 4 x - 5}. Entered f(g(1)),f(x)=x^2+2;g(x)=4x-5 , if copied/pasted into Wolfram/Alpha. This is displayed solve f(x) = x^2 + 2 g(x) = 4 x - 5 for f(x) g(x). How to input? Solve for f(g(1)) where f(x)=x^2+2 and g(x)=4x-5 ? if it is correctly entered the and calculated the correct answer should be 3.Thanks Answer
5 Replies
Sort By:
Posted 1 year ago
 f[x_] := x^2 + 2 g[x_] := 4 x - 5 In:= f[g] Out= 3 Answer
Posted 1 year ago
 you can also use the shortcut notation for composition (@*): f@*g or f@*g@1 Answer
Posted 1 year ago
 If input : f[x] := x^2 + 2 g[x] := 4 x - 5 In:= f[g] Then Input reads : x^2+2g does not give correct input Answer
Posted 1 year ago
 if f@*g input , then input g(1). need input f(g(x)) need input : f(g(1)) , where f(x)=x^2+3 and g(x)=4x-5 if input correct , then output should calculate: f(g(1)) = 3 This calculation (solution) should be accomplished by WolframAlpha as : not contained in input of the problem. Answer
Posted 1 year ago
 You need to enter you functions correctly. Also, I forgot some parenthesis around the second example. g took precedence over the composition. In:= f[x_] := x^2 + 2 g[x_] := 4 x - 5 In:= f@*g@1 Out= 3 In:= (f@*g) Out= 3 Regards,Neil Answer