How to check whether two functions are equal in mathematica?

  • Topic: Mathematica 
  • Thread starter Thread starter tgt
  • Start date Start date
  • Tags Tags
    Functions Mathematica
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
5 replies · 8K views
tgt
Messages
519
Reaction score
2
How to do that?
 
Physics news on Phys.org
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.