Skip to main content
1-Visitor
April 7, 2023
Solved

Matrix terms are reversed when evaluated symbolically

  • April 7, 2023
  • 1 reply
  • 2273 views

when evaluating frequency equation for a MDOF model, if the stiffness and mass matrices are defined in terms of mass, elasticity, and etc constants, the resulting terms of the symbolic evaluation are reversed. (see below). I know that the result in terms of the constants is the correct answer. However, I dont understand why the determinant using values only gives reversed terms? Any ideas or pointers are apprieciated.

 

Thanks 

 

MI_10648350_1-1680891008662.png

 

 

 

 

Best answer by Werner_E

I see no problem here.

There is no rule or convention about the order in a set of multiple solutions to an equation.

Its quite possible that the symbolics returns the solutions in a different order depending on if just numbers are used or variables & units.

As we don't know how the symbolic "solve" is implemented internally we can't say why.


 

WHY IS MATHCAD GIVING ME a DIFFERNT result than expected? 

 


Mathcad gives you a correct result - it can't know what you expect 😉

1 reply

1-Visitor
April 7, 2023

Here's a follow up. 

 

correction: Im not sure which is the correct answer. when solving the equation by hand the roots are as follows 

MI_10648350_1-1680899010138.png which Im assuming the correct answer. Also the matrix terms are as expected 

MI_10648350_2-1680899172356.png However, when solving it in terms of the constants EI,m,L. The terms are as follows 

MI_10648350_4-1680899685201.png where 

 

MI_10648350_3-1680899535346.png

MI_10648350_6-1680899832717.png

 

WHY IS MATHCAD GIVING ME a DIFFERNT result than expected? 

 

 

 

 

 

 

Werner_E25-Diamond IAnswer
25-Diamond I
April 7, 2023

I see no problem here.

There is no rule or convention about the order in a set of multiple solutions to an equation.

Its quite possible that the symbolics returns the solutions in a different order depending on if just numbers are used or variables & units.

As we don't know how the symbolic "solve" is implemented internally we can't say why.


 

WHY IS MATHCAD GIVING ME a DIFFERNT result than expected? 

 


Mathcad gives you a correct result - it can't know what you expect 😉

1-Visitor
April 7, 2023

Thanks Wener_E! it seems logical. It was my initial thought, but what about the embedded matrices? I cant make sense of those extra terms?