composition of functions?

Mads Frederik Toft shared this question 11 months ago
Answered

I have been thinking would it be possible if lets say we an expression

h(x) = (x+1)^3 to get Geogebra to recognize that this consists of two functions

h(u) = u^3 and u = x+1

Is that possible ?

Comments (6)

photo
1

In CAS you can factor(ize) or expand terms - not perfect in any cases...

e.g. Factor(x³ + 3x² + 3x + 1)

If you want to force this terms you have to define it

g(x):=x+1

f(x):=g(x)^3

What is your intension?

photo
1

Its simply that if input a function which consists of two functions, such that

h(x) = f(g(x)) that I thought could be fun to see if one make the Geogebra understand that are two in one function :)

photo
1

How would the user interface work for that?

photo
1

I imagine some sort og decompose command?

photo
1

then abs(x) is f(g(x)) being g(x)=x^2 and f((x)=sqrt(x) ?

i think there is not method for decompose

I think it is a blackbox

photo
1

Sorry, I don't see a good use-case for that :(

© 2020 International GeoGebra Institute