Reputation: 133
for example, I have two vectors:
a,b
I need to simplify the following simple equation :
|a+b|==|a-b|
We can know by artificial calculation:
a.b==0
Now I tried the following expression in Mathematica:
In[1040]=
Reduce[{a, b} \[Element] Vectors[2, Reals] && (a + b).(a + b) == (a - b).(a - b)]
but keep it as it is.
Out[1040]=
Reduce[(a | b) \[Element] Reals && (a + b).(a + b) == (a - b).(a - b)]
Upvotes: 0
Views: 398
Reputation: 2336
With a little help with TensorReduce
:
assumptions = Element[#, Vectors[2, Reals]] & /@ {a, b};
Reduce@TensorReduce[(a + b).(a + b) == (a - b).(a - b), Assumptions->assumptions]
Output:
a.b == 0
Upvotes: 1