2

Is there a way in mathematica to factorize/simplify a dot product? I.e. I have something like a.b + a.c (obviously more complicated expressions) and I would like to factorize terms like

TensorSimplify[a.b+a.c] and return a.(b+c)

Thanks in advance

  • 1
    Dot performs several different operations depending on the shape of the arguments provided; it seems to me that these shapes need to be defined before simplification can be attempted. – Mr.Wizard Jun 26 '19 at 16:54
  • 1
    Yes, of course a,b and c are defined as vectors... – Siddhartha Morales Jun 27 '19 at 10:31
  • 1
    Related: (23423), (66910). Possible duplicate: (126485) – Mr.Wizard Jun 27 '19 at 16:58
  • 1
    Ok, defining up values are usefull, but it is not what I wanted. As I say, I would like to simplify dot expressions when all the objects are vectors. Let's say that p1+p2+..+pn = 0, and then I would like to simplify expressions of the type p_i.p_j+..- etc. Also, as far as I know there is no function that can factorize dot products, like the one that I wrote in the question. – Siddhartha Morales Jul 03 '19 at 12:13

0 Answers0