MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: differentiation operator

  • To: mathgroup at
  • Subject: [mg100784] Re: [mg100645] differentiation operator
  • From: "David Park" <djmpark at>
  • Date: Sun, 14 Jun 2009 05:37:47 -0400 (EDT)
  • References: <004901c9e9e0$a4ba7900$ee2f6b00$@net> <22643639.1244693328354.JavaMail.root@n11>

Lim Cheung,


When I bring up the Classroom Assistant palette, go to the Calculator
Advanced tab, and press the 2nd button in the 5th row it pastes the partial
differential form in my notebook. This has the partial symbol with var as a
subscript and another box to enter the expr. If I fill x into the var box,
and x^2 into the expr box, and then press Shift-Enter, the entire expression
will evaluate to obtain 2x.


If you type x^2, select it, and then press the palette button, it will paste
the differential operator on the x^2. You will then still have to fill in
the x and use Shift-Enter.


Does this not evaluate properly for you? If not, there is some bug in your
installation and you should contact WRI.


True, this form does not look exactly like 'd/dx' but I would think it would
be good enough.


Or, perhaps you want a restricted paste button that already has the x filled
in. If so, you could use the following expression to create the button in
your notebook:



\*SubscriptBox[\(\[PartialD]\), \(x\)]\[SelectionPlaceholder]\)]


You can create this statement by writing Defer@PasteButton[]. Then click in
the partial expression from the Classroom Assistant. Then fill var with x,
and fill expr with a selection placeholder (esc spl esc).  When you evaluate
that you will obtain a button that will paste the operator onto any selected
expression. You could make your own palette with the button by using


Otherwise, I don't really understand what your objective or problem is. 


You could also try out the Notation package.



David Park

djmpark at  




From: Chee Lim Cheung [mailto:CheeLC at] 


Hi David Park

Thank you for your reply. I tried the d/dx operator (like what we see in
Calculus textbooks) in the Classroom Assistant palette but it seems to be
for display only. (Am i missing something here?) I guess the solution is to
format it to behave like a differentiation operator. Any ideas on that? We
would like d(f[x])/dx to function in the same way as D[f[x],x].

Thank you all for your suggestions.

Mr. Chee

Inactive hide details for "David Park" <djmpark at>"David Park"
<djmpark at>

"David Park" <djmpark at> 

10/06/2009 23:32


"'Chee Lim Cheung'" <CheeLC at>, <mathgroup at>



RE: [mg100645] differentiation operator


I don't see why you say that the differential operator on the palette
doesn't work. If you paste it in a notebook and then fill in x and the
expression and then evaluate, it will work.

Otherwise, you could do something like:

d[x_] = Function[expr, D[expr, x]];

2 x

David Park
djmpark at  

From: Chee Lim Cheung [mailto:CheeLC at] 

Hi All

My students have asked me whether it is possible to define the operator
df[x]/dx for differentiation rather than D[f[x],x]. The operator is
available in a palette but it does not seem to do anything other than for
display only.

Example: d/dx(x^2)=2x rather than D[x^2,x]=2x.

Am I missing something?

Mr. Chee

  • Prev by Date: Re: Inverse / Laplace Transform Halved
  • Next by Date: Re: Combined Set, SetDelayed
  • Previous by thread: Re: differentiation operator
  • Next by thread: Re: differentiation operator