Function Composition

f(x) is purple
g(x) is blue
h(x) is grey
f(g(x)) is red
change the definition of f(x) so that f(g(x)) = h(x)

This document requires an HTML5-compliant browser.
f(x)
g(x)
h(x)

Try these combinations:

g(x) = 2*x, h(x) = pow(x,2)/2
g(x) = sqrt(x), h(x) = pow(x,2)-2*x+1
g(x) = sin(x), h(x) = tan(x)
g(x) = exp(x), h(x) = x+1

App generated by Geometry Expressions