cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Symbolic differentiation error

SOLVED
Highlighted
Newbie

Symbolic differentiation error

There may be a Mathcad bug in the attached Mathcad file.

The symbolic partial derivative evaluated with respect to the variable C59 should be zero as the equation can be simplified to not include any C59 terms.

When the differentiate operator is used on the un-simplified equation with respect to C59 a non-zero symbolic derivative results. I'm afraid that this may affect the symbolic results of other equations.

Other than simplifying the equations, is there a workaround to this issue?

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Symbolic differentiation error

Its not a bug at all - just tell Mathcad to simplify when you take the derivative of the unsimplified term.

Mathcad will only do very basic simplifications if you just use symbolic evaluation

simplify0.png

so normally you would have to tell Mathcad to simplify the evaluation and probably also how (expand, factor, collect,...)

simplyfy1.png

Nevertheless I would suggest always to simplify expressions whenever possible before doing symbolic operations on them.

2 REPLIES 2

Re: Symbolic differentiation error

Its not a bug at all - just tell Mathcad to simplify when you take the derivative of the unsimplified term.

Mathcad will only do very basic simplifications if you just use symbolic evaluation

simplify0.png

so normally you would have to tell Mathcad to simplify the evaluation and probably also how (expand, factor, collect,...)

simplyfy1.png

Nevertheless I would suggest always to simplify expressions whenever possible before doing symbolic operations on them.

Re: Symbolic differentiation error

Thank you for your response!