Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.3K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How assign a function which is a derivative of another function

Posted 11 years ago

I am trying to assign a function which is a derivative of a previous on:

f[x_] := x^2;
D[f[x], x]

I would like j to be the derivative of f, so it would be also a function of x (namely, 2x)

How do I do that?

Trying to use do it with the following line gives an error

j[x_] := D[f[x], x]
j[1]
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard
Be respectful. Review our Community Guidelines to understand your role and responsibilities. Community Terms of Use