# Is it possible to ask sage check symbolic equality by comparing parts within equations?

So I have a case with two complicated equations, when substitutes with certain parameters, those two functions equal each other. I know that sage is capable on comparing simple equations like `2*x+4==2*x+4 and print(True)`

could print `True`

properly, but when functions grow more complicate, it couldn't.

But when I call `show()`

on my functions that sage return to me after symbolic substitution, they're identical, like everything. Which makes me wonder since everything are exactly the same, why sage couldn't properly evaluate equality? And is there any way I could hack around it? Perhaps like breaking them into small parts and ensure each parts are identical?

You can try comparing the coefficients if they are polynomials. Or better, expanding the difference of the equations (equation1-equation2) and simplifying the result would be more practical for complicated equations. I would try:

Thierry, you are right... Editing my answer.