# Suppressing dependent variables in TraditionalForm

**URL:** <https://community.wolfram.com/t/suppressing-dependent-variables-in-traditionalform/7843>\
**Category:** Questions\
**Created:** [February 6, 2016, 1:41am UTC](https://community.wolfram.com/t/suppressing-dependent-variables-in-traditionalform/7843 "2016-02-06T01:41:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![veevoshouse](https://avatars.discourse-cdn.com/v4/letter/v/eada6e/32.png) [@veevoshouse](https://community.wolfram.com/u/veevoshouse)\
**Post date:** [February 6, 2016, 1:41am UTC](https://community.wolfram.com/t/suppressing-dependent-variables-in-traditionalform/7843/1 "2016-02-06T01:41:35Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![nma](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@nma](https://community.wolfram.com/u/nma)\
**Post date:** [February 6, 2016, 2:16am UTC](https://community.wolfram.com/t/suppressing-dependent-variables-in-traditionalform/7843/2 "2016-02-06T02:16:34Z")

</div>

may be:

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

```

 ![8148Untitled.png](https://global.discourse-cdn.com/wolfram/original/3X/7/3/73d6bdac59e7534d08d6f007bcc715eac3135b6e.png)

---

<div class="post-metadata">

**Author:** ![veevoshouse](https://avatars.discourse-cdn.com/v4/letter/v/eada6e/32.png) [@veevoshouse](https://community.wolfram.com/u/veevoshouse)\
**Post date:** [February 8, 2016, 8:11pm UTC](https://community.wolfram.com/t/suppressing-dependent-variables-in-traditionalform/7843/3 "2016-02-08T20:11:23Z")

</div>

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