SameQ vs. Equal. Use == instead of ===. The triple === is used to test if they are the same expression. It does not test mathematical equivalence. Read the "Background & Context" of SameQ for more discussion.
– Michael E2Aug 29 '20 at 15:25
If you want True, then I'd suggest Simplify[difference] == 0. -- BTW, folks generally prefer code to be posted than images. It makes it easier for them to test their ideas on your example(s).
– Michael E2Aug 29 '20 at 15:30
@MichaelE2 == or Equal does not give a True/False output. It gives this uninformative output. I can put any rubbish in there and it would show it the same.
– MihailAug 29 '20 at 15:31
Simplify[k*t^2/(2 t) + k/(2 t) == (k*t^2 + k)/(2*t)] gives True. You need to put the expressions into the same form to compare them.
– flintyAug 29 '20 at 16:39
1
I did have a suggestion. Did you see it? (Actually, two, but I mean the Simplify one.)
– Michael E2Aug 29 '20 at 17:33
SameQvs.Equal. Use==instead of===. The triple===is used to test if they are the same expression. It does not test mathematical equivalence. Read the "Background & Context" of SameQ for more discussion. – Michael E2 Aug 29 '20 at 15:25True, then I'd suggestSimplify[difference] == 0. -- BTW, folks generally prefer code to be posted than images. It makes it easier for them to test their ideas on your example(s). – Michael E2 Aug 29 '20 at 15:30==orEqualdoes not give a True/False output. It gives this uninformative output. I can put any rubbish in there and it would show it the same. – Mihail Aug 29 '20 at 15:31Simplify[k*t^2/(2 t) + k/(2 t) == (k*t^2 + k)/(2*t)]givesTrue. You need to put the expressions into the same form to compare them. – flinty Aug 29 '20 at 16:39Simplifyone.) – Michael E2 Aug 29 '20 at 17:33