Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: differentiation operator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100690] Re: [mg100645] differentiation operator
  • From: Chee Lim Cheung <CheeLC at sp.edu.sg>
  • Date: Thu, 11 Jun 2009 07:08:12 -0400 (EDT)

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.

Regards
Mr. Chee



                                                                       
             "David Park"                                              
             <djmpark at comcast.net>


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]];

d[x][x^2]
2 x


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


From: Chee Lim Cheung [mailto:CheeLC at sp.edu.sg]

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 f=
or
display only.

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

Am I missing something?

Thanks
Mr. Chee



  • Prev by Date: Re: RandomReal gets stuck
  • Next by Date: Re: Draw a 3D surface
  • Previous by thread: Re: differentiation operator
  • Next by thread: Re: differentiation operator