Derivative of a complex function wrt x_i

onako
Messages
86
Reaction score
0
Given a function
<br /> \sum_{j=0}^m(b_{ij}-euclid(x_i, x_j))^2,<br />
where euclid(x_i, x_j) denotes the Euclidean distance (1D or 2D) between x_i and x_j.
I'm supposed to find the derivative with respect to x_i.
The sum sign and the dimensionality are the problem for me.
Any help on how to solve this is appreciated.
 
Physics news on Phys.org
try writing out the sum to help

\sum_{j=0}^m(b_{ij}-euclid(x_i, x_j))^2 = (b_{i1}-euclid(x_i, x_1))^2 + (b_{i2}-euclid(x_i, x_2))^2 +..+(b_{ii}-euclid(x_i, x_i))^2+..+(b_{im}-euclid(x_i, x_m))^2

now differentiate term by term
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top