Message Boards Message Boards

1
|
3802 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Suppressing dependent variables in TraditionalForm

Posted 8 years ago

I am new to Mathematica, and I am doing a computation which involves fourth-order derivatives of a composition f(g(x,y,z)). I would like the output from TraditionalForm[...] to include expressions like "...f'..." and not "...f'(g(x,y,z))..." to simplify the final answer. Is there a way to do this? After perusing a number of forums, I have not yet found an answer.

Thanks!

POSTED BY: Jeremy Leach
2 Replies
Posted 8 years ago

Thank you! This is just the sort of thing I need. Is there some way this can be modified so that y(x) :> y ?

POSTED BY: Jeremy Leach

may be:

    exp = f'[x] + f''[g[x]] + D[x^2 + y[x]^2, x];
    TraditionalForm[exp /. Derivative[n_][x_][___] :> Derivative[n][x]]

enter image description here

POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract