@kangkan , in case of perfect complements , because of the kink , we do not resort to differentiation for optimization. Here the requirement should be
If u = min ( ax, by )
Then ax=by
"Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth."