I learned not use the Norm[] function when computing vector derivative, so I use the dot product instead:
In: D[x.x, x]
Out: 1.x + x.1
What does the result mean? Is 1=(1, 1, .., 1) here? Why can't it show just 2x as the result?
And Mathematica won't resolve it when I define x?
In: 1.x + x .1 /. x -> {3, 4}
Out: {0.3 + 1.{3, 4}, 0.4 + 1.{3, 4}}
$Assumptions = (x) \[Element] Vectors[2, Reals];but it didn't help. Also, if I useArray[a, 3], can I resolveaat some point? For example, take a derivative and then compute it for certain vector.D[x.x, {x}] /. x -> {1, 2, 3}doesn't seem to work – Soid Apr 11 '21 at 20:41