How to check whether two functions are equal in mathematica?

5 replies · 9K views · last reply
tgt
Messages
519
Reaction score
2
How to do that?
 
robphy said:
Can you ask it to calculate the difference of the two functions?

Thats a good point, I'd try that.
 
tgt said:
It doesn't work like that.
Oops, you are correct, it wants you to supply arguments to evaluate it at a single point.

You can use TrueQ[f[x]==g[x]] or Simplify[f[x]==g[x]] instead.