0
$\begingroup$

It is posible to stop derivative evaulation in an expression?

Given

A = f[x]g[x];
F = W[t, n] /. W[x_, n_] -> D[A, {x, n}]

I would like F to be PartD(t, n)(f(t)g(t)) with the derivative not calculated, and when I evaluate

F /. n -> 0

I would like to get the general partial derivative

f[t]g[t]

P.S. Sorry for language mistakes.

$\endgroup$
  • $\begingroup$ Could just do the usual Leibniz rule: Sum[Binomial[n, k] Derivative[n - k][f][t] Derivative[k][g][t], {k, 0, n}] $\endgroup$ – J. M.'s technical difficulties Oct 18 '18 at 10:09
  • $\begingroup$ A=f[x]*g[x] is simple example. For general case i dont know how A look like. $\endgroup$ – zbyneksmetana Oct 18 '18 at 10:14
  • 2
    $\begingroup$ So you want something like Inactive[D][A, {x, n}]? $\endgroup$ – J. M.'s technical difficulties Oct 18 '18 at 10:16
  • $\begingroup$ Thanks ... maybe it will help. $\endgroup$ – zbyneksmetana Oct 18 '18 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.