Chain Rule Question



All,

 

I would like to differentiate the function

y(x):={(a*x+b)/(c*x+d)}^7

and limit the expansion so that the result is similar to a manual
application of the Chain Rule, i.e.

                dy/dx = 7{(ax+b)/(cx+d)}^6*{(ad-cb)/(cx+d)^2} (Maxima syntax
omitted)

                                or the simplified

                dy/dx = 7(ad-cb)(ax+b)^6/(cx+d)^8

 

When applying diff(y(x),x) I receive a completely expanded result. I've
tried setting expon:7 but without the desired result.

Any suggestions?

 

Ron