Can h(x)=(cos x)^x be written as a composition of two functions f and g where f(x)=x^n and g(x)=cosx ? where h=fog(adsbygoogle = window.adsbygoogle || []).push({});

REASON FOR ASKING: I am wondering this in connect with a differentiation I was having trouble with (but can now solve thanks to this forum). I mistakenly thought that I could apply the chain rule for composition of functions. Seems it doesn't apply. (https://www.physicsforums.com/showthread.php?p=2796762#post2796762)

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Can h(x)=(cos x)^x be written as a composition of two functions f and

**Physics Forums | Science Articles, Homework Help, Discussion**