The utility derived from consumption of x,y,z can be differentiated as:
U(x,y,z)=x if y<x<z or z<x<y................................(1).
U(x,y,z)=y if z<y<x or x<y<z................................(2).
U(x,y,z)=z if x<z<y or y<z<x................................(3).
For (1) utility is dependent solely on x so the demand function will be x=M/Px, y=0, z=0.
Similarly for (2) it will be y=M/py, x=0, z=0.
for (3) it will be z=M/Pz, y=0, x=0.
Dont know weder the approach is correct or not..plz do check and let me know..!!!!
"I don't ride side-saddle. I'm as straight as a submarine"