I have this function I wish to use in composing a Jacobian. I've simplified it as follows:
$$f(x,y) =-A \sqrt{|x + y|}\ log(B + \frac{C}{\sqrt{|x + y|}})$$
So, I need to calculate the partial derivatives.
After some refresher study it appears I need to use the chain rule and product rule.
So, let $H(x,y) = \sqrt{|x + y|}$
Then the derivative is
$$\frac{df}{dx}=-A[\frac{dH}{dx}log(B+\frac{C}{H}) + H\frac{d}{dx}log(B+\frac{C}{H}]$$
$$=-A[\frac{sign(x)sign(x+y)}{2H}log(B+\frac{C}{H})+\frac{H}{(B+\frac{C}{H})ln(10)}\frac{d}{dx}(B+\frac{C}{H})]$$
$$\frac{d}{dx}(B+\frac{C}{H})=\frac{-C}{2}|x+y|^{-3/2}sign(x)sign(x+y)$$
so $$\frac{df}{dx}=\frac{-A}{2H}sign(x)sign(x+y)[log(B+\frac{C}{H})-\frac{C}{(B+\frac{C}{H})ln(10)})]$$
is this correct?
I haven't done this since 1988, so I may have missed something or lack the notation you prefer.
thanks much!