Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to work out how I enter a differential in standard notation? I am familiar with using D, but everything I have tried to enter a differential has failed. The documentation says Esc+d+d+Esc. When I enter that, I then have to enter Ctrl+/ for the denominator followed by Esc+d+d+Esc again followed by x, assuming I am differentiating w.r.t. x. But that leaves me with the problem of how to enter the function I want to differentiate. Even using the math palettes I cannot get this to work. Integrals etc are fine, but I cannot figure out how to enter a derivative w.r.t. some variable.

share|improve this question
If you need working code (not just typesetting), try this: ESC pd ESC CTRL - x RIGHT f[x]. That "-" is the actual "minus" key. Admittedly it is not exactly the standard notation. – Szabolcs Feb 7 '14 at 22:55
This still doesn't show it in standard notation i.e d/dx instead it shows d with subscript of x ? – David McHarg Feb 7 '14 at 22:59
You may be interested in @Jens answer traditional output of derivatives – Kuba Feb 7 '14 at 23:08
@DavidMcHarg What is it exactly that you need? 1. Type it in for display? 2. Type in code that both looks good and it can be evaluated? (difficult, and IMO not worth it) 3. Format the output of evaluations this way? (see the link above) – Szabolcs Feb 8 '14 at 2:43

One thing you can do is the following. Start by entering a derivative in a cell with StandardForm, for example:

D[f[x], x]


Dt[f[x], {x, 2}]

You can then select the cell (via the bracket at the right of the window) and either

  1. Type CMD+Shift+T (or Ctrl+Shift+T on Windows), or
  2. select from the menu Cell > Convert To > TraditionalForm

You should now have an Input cell which has been converted to TraditionalForm; for the examples above this results in

a partial derivative


a second, total derivative

At this point you can set your cursor where the f(x) is and replace it with any expression you prefer. Note that you may need to use grouping parentheses ( ) to ensure the correct derivative is taken. For example,

enter image description here


enter image description here

The above forms aren't the most attractive. Interestingly, however, if you again select the cell, which is now an Input cell in TraditionalForm, you can switch back to StandardForm and again back to TraditionalForm (see 1 or 2 above) and it 'cleans' up the display; in this case it removes the parentheses but still give the correct derivative as Output.

Of course, you can input the expression for which you want the derivative in StandardForm when you begin, but it doesn't sound like that's what you're after.

share|improve this answer
@mr-wizard Thanks for the textual clean-up! I'll try to do it this way in the future. – zentient Feb 8 '14 at 11:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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