MathGroup Archive 2001

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

Search the Archive

Re: simple Problem: D[ ]

"Christian Maier" <maier1 at> wrote in message
news:96t91a$pqt at
> I use mathmatica the first time and have a problem with a deriviation:
> in a simple problem:
> f[x]=x^2
> abl=D[f[x],x]
> then Mathematica puts out f[x]'    , but not 2 x
> How does it work correctly?
> Thank aou in advance!

You must write your function so that the "x" variable is correctly
identified as being passed to the expression at the right:

f[x_] := x^2


2 x





If you have a relatively recent version of Mathematica, look in the
documentation under "1.7.1 Defining Functions"

Paul Lutus

  • Prev by Date: Re: simple Problem: D[ ]
  • Next by Date: SetDelayed problems with matrix operation
  • Previous by thread: Re: simple Problem: D[ ]
  • Next by thread: Re: simple Problem: D[ ]