Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: simple Problem: D[ ]

  • To: mathgroup at
  • Subject: [mg27337] Re: simple Problem: D[ ]
  • From: "Paul Lutus" <nospam at>
  • Date: Wed, 21 Feb 2001 03:17:16 -0500 (EST)
  • References: <96t91a$>
  • Sender: owner-wri-mathgroup at

"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[ ]