2
$\begingroup$

I want to derivate some general functions like

D[F[x[r_, p_], y[r_, p_]], r]

or this simpler one

D[F[G[x_]], x] .

When I execude these commands I do not get a general derivative for arbitrary functions, but some code wit Pattern^(1,0) or F1(1,0). What do these Patterns mean? Can't figure it out by myself.

Thanks for your help!

$\endgroup$
0

1 Answer 1

3
$\begingroup$

The full form of G[x_] is G[Pattern[x, Blank[]]], so taking the derivative with respect to x applies the chain rule, treating Pattern as any other symbol. In particular, the result will contain Derivative[1, 0][Pattern][x, Blank[]].

See also the documentation for Blank, Pattern, Derivative and FullForm.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.