I am trying to do partial differentiation using symbolic, but getting some error. Attaching herewith the work.
G[x_, y_] := x y
D[G[x, y], y]
(\[PartialD]G (x, y))/\[PartialD]y
want to use symbolic for better understanding. Kindly help.
You need to use square bracket and subscript notation for partial derivative to make it work.
Thank you for your reply. I want to use the other option.
G[x, y] := x y
[PartialD][G (x, y)]/[PartialD]y
still getting error.
I don't think you can change the behaviour of the symbol for partial derivatives, however you can use another letter:
\[GothicD] /: \[GothicD][func_]/\[GothicD][var_] := D[func, var];
G[x_, y_] := x y;