differentiate loga(x) + b with respect to a