I made a very simple case:
testF[x_, y_, z_] = x^2 + y^2 + z^2
Simplify[testF[x, y, z]]
If {x, y, z} is normalized, the simplified result should just be 1. How could I specify this condition/assumption?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityAs Rahul Narain wrote in a comment,
testF[x_, y_, z_] = x^2 + y^2 + z^2;
Simplify[testF[x, y, z], Assumptions -> x^2 + y^2 + z^2 == 1]
1
This may seem trivial, but it precisely expresses the condition for normality.
Simplify[testF[x, y, z], Assumptions -> x^2 + y^2 + z^2 == 1]
works on my end. $\endgroup$