Composition of functions
There are different ways to define a function of more than one variable in Mathematica. For each of the following, give the dimension of the domain space and the dimension of the range space:
Problem
In[11]:=
Problem
In[12]:=
Problem
In[13]:=
Taking the composition of two functions is relatively easy (don't forget to evaluate the functions above first):
In[14]:=
Out[14]=
However, try:
In[15]:=
Out[15]=
This doesn't work. It SHOULD work (Why?), but it doesn't. To get around this problem, we will often define functions of more than one variable in the following way:
In[16]:=
Now:
In[17]:=
Out[17]=
Problem
Will work with the above definitions? Should it? If so, modify the definitions so it does.
Created by Mathematica (September 14, 2004)