Is it possible to do total derivatives (d/dx) instead of partial derivatives (∂/∂x)?
07-29-2023, 02:10 AM
Post: #1
 sam_12156 Junior Member Posts: 2 Joined: Jul 2023
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
07-29-2023, 04:30 PM
Post: #2
 Albert Chan Senior Member Posts: 2,496 Joined: Jul 2018
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)
07-29-2023, 05:08 PM
Post: #3
 sam_12156 Junior Member Posts: 2 Joined: Jul 2023
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!!!
 « Next Oldest | Next Newest »

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