8
$\begingroup$

How to simplify the expression

a b . x/((a b) . x)

Where a is a scalar and b and x are vectors.

I have tried the usual Simplify, FullSimplify, TensorExpand etc. but the expression does not simplify to 1.

$\endgroup$
0

2 Answers 2

10
$\begingroup$

You'll want to use TensorReduce or TensorExpand with appropriate assumptions for reducing expressions involving Dot:

TensorReduce[a b . x / ((a b) . x), 
 Assumptions -> {a \[Element] Reals, (b | x) \[Element] Vectors[3, Reals]}]

(* 1 *)
$\endgroup$
1
  • $\begingroup$ why use TensorReduce function ? $\endgroup$ Mar 28 at 13:58
2
$\begingroup$

Use TensorExpand with reaonable Assumptions

    In[28]:= Assuming[(x | z) \[Element] Vectors[dim], 
 TensorExpand[{(a x)  \[TensorProduct] (q z ), (a x) . (q z + c  x)} ]]

Out[28]= {a q x\[TensorProduct]z, a c x . x + a q x . z}
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.