Detection of elementary functions

In order to learn several types of derivatives, in particular the derivative of the composition of two different functions we need to understand what a composition of functions is.

Example

Let f(x)=sin2x

In this case the function is a composition of two functions:f(x)=sinxh(x)=2x

The composition is: f(x)=g(h(x))

It is read: f(x) is equal to g of h(x)

Example

Let f(x)=(sin3x)2

In this case f(x) is a composition of three functions:g(x)=x2, h(x)=sinx, t(x)=3x

That is: h(t(x))=sin3xf(x)=g(h(t(x)))=(sin3x)2

Example

Let f(x)=cosx3

Can you already identify two elementary functions that compose f(x)? f(x)=cosxh(x)=x3