Post Reply 
Is it possible to do total derivatives (d/dx) instead of partial derivatives (∂/∂x)?
07-29-2023, 02:10 AM
Post: #1
Is it possible to do total derivatives (d/dx) instead of partial derivatives (∂/∂x)?
I could only find the partial derivative template and the diff() function but I want to know if its possible to return the total derivative.

For example
1. d/dx (3(x^2)+2y) = 6x +2dy/dx
2. ∂/∂x (3(x^2)+2y) = 6x

i'd like to be able to get the result of the first equation

For the diff function I entered diff(3(x^2)+2y,x) and it returned 3*2*x
Find all posts by this user
Quote this message in a reply
07-29-2023, 04:30 PM
Post: #2
RE: total derivatives (d/dx) instead of partial derivatives (∂/∂x)?
(07-29-2023 02:10 AM)sam_12156 Wrote:  For the diff function I entered diff(3(x^2)+2y,x) and it returned 3*2*x

Setup y not as constant, but as function of x:

CAS> diff(3*x^2+2*y(x),x)

3*2*x+2*diff(y(x),x)
Find all posts by this user
Quote this message in a reply
07-29-2023, 05:08 PM
Post: #3
RE: Is it possible to do total derivatives (d/dx) instead of partial derivatives (∂/∂x)?
(07-29-2023 04:30 PM)Albert Chan Wrote:  
(07-29-2023 02:10 AM)sam_12156 Wrote:  For the diff function I entered diff(3(x^2)+2y,x) and it returned 3*2*x

Setup y not as constant, but as function of x:

CAS> diff(3*x^2+2*y(x),x)

3*2*x+2*diff(y(x),x)

Thank you so much!!!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)