Solve for a variable inside a summation

2 replies · 5K views · last reply
lilly92
Messages
8
Reaction score
0
I need to solve the equation
Equation a = sum from i=1 to n of x_i^2 y_i, minus sum from i=1 to n of x_i^2 y_i^2, minus sum over i not equal to j of x_i y_i x_j y_j.


for x, where a is a known constant and
Equation y_i = b_i / sum of b_i, with y_i on the left and a fraction on the right whose numerator is b_i and whose denominator is the sum of b_i.
.
The bs are known too.
What i need to do is sto find for which xs I'll have a specific value of a, eg a=0.5, i.e. solve for x and substitute the a. I believe that the result will be a group of xs and not a single x-value. Also the last two terms of the first equation are the expansion of the squared sum of the product xy
 
There are n variables "x", x1 to xn, but just one equation. Without additional assumptions or other information, there is no way to solve anything. You can fix all but one to an arbitrary value and then solve the equation for the last one (gives a simple quadratic equation), but I doubt that's what you actually want.
 
lilly92 said:
I need to solve the equation
Equation a = sum from i=1 to n of x_i^2 y_i, minus sum from i=1 to n of x_i^2 y_i^2, minus sum over i not equal to j of x_i y_i x_j y_j.


for x, where a is a known constant and
Equation y_i = b_i divided by the sum of b_i, with the summation over b_i in the denominator.
.
The bs are known too.
What i need to do is sto find for which xs I'll have a specific value of a, eg a=0.5, i.e. solve for x and substitute the a. I believe that the result will be a group of xs and not a single x-value. Also the last two terms of the first equation are the expansion of the squared sum of the product xy

You have variables ##x_1, x_2, \ldots, x_n## but only one equation. Essentially, you have the equation of a quadratic surface in n-dimensional space. There will not be only a single solution, just as a surface does not contain only a single point.