Complex set of linear equations

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm trying to find $beta$'s which solve the following problem:



$sum Vi beta i = V$ Or that at least minimize ($sum Vi beta i - V)$



where $Vi$ are vectors.



Additionally, there are a few other constraints/properties for these numbers.



$sum beta i =1 $ and $beta i gt 0$



Also, the sum of the vector components is also 1.



Another formulation is imagine you have a population of Things. For each one of these, you can apply some random input (from a set of 6 inputs, not necessarily equally likely), and you get some output that depends solely on the input, given the Thing. I need to find the best distribution of inputs so that, if I apply them to the entire population, my output match some control totals that are pre-established. In this case though, I don't need to exactly match everything, but find the solution which gives the closest (or close enough) set of outputs to my controls.



I'm not really sure where to start.



I've tried setting it up as a matrix equation, by collapsing some of my vector categories to get a square matrix, and inverting it, but I get a lot of negative $beta$'s.



Are there numerical methods which try to solve this sort of thing?



Thanks!







share|cite|improve this question



















  • You are asking, in effect, how to solve a linear system over the field of complex numbers. The standards methods (e.g. Gauss-Jordan elimination) will do that, and if the linear system is inconsistent (has no solutions) then one can ask about least squares methods (to minimize the residuals $(sum V_i beta_i) - V$).
    – hardmath
    Aug 3 at 19:35














up vote
0
down vote

favorite












I'm trying to find $beta$'s which solve the following problem:



$sum Vi beta i = V$ Or that at least minimize ($sum Vi beta i - V)$



where $Vi$ are vectors.



Additionally, there are a few other constraints/properties for these numbers.



$sum beta i =1 $ and $beta i gt 0$



Also, the sum of the vector components is also 1.



Another formulation is imagine you have a population of Things. For each one of these, you can apply some random input (from a set of 6 inputs, not necessarily equally likely), and you get some output that depends solely on the input, given the Thing. I need to find the best distribution of inputs so that, if I apply them to the entire population, my output match some control totals that are pre-established. In this case though, I don't need to exactly match everything, but find the solution which gives the closest (or close enough) set of outputs to my controls.



I'm not really sure where to start.



I've tried setting it up as a matrix equation, by collapsing some of my vector categories to get a square matrix, and inverting it, but I get a lot of negative $beta$'s.



Are there numerical methods which try to solve this sort of thing?



Thanks!







share|cite|improve this question



















  • You are asking, in effect, how to solve a linear system over the field of complex numbers. The standards methods (e.g. Gauss-Jordan elimination) will do that, and if the linear system is inconsistent (has no solutions) then one can ask about least squares methods (to minimize the residuals $(sum V_i beta_i) - V$).
    – hardmath
    Aug 3 at 19:35












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm trying to find $beta$'s which solve the following problem:



$sum Vi beta i = V$ Or that at least minimize ($sum Vi beta i - V)$



where $Vi$ are vectors.



Additionally, there are a few other constraints/properties for these numbers.



$sum beta i =1 $ and $beta i gt 0$



Also, the sum of the vector components is also 1.



Another formulation is imagine you have a population of Things. For each one of these, you can apply some random input (from a set of 6 inputs, not necessarily equally likely), and you get some output that depends solely on the input, given the Thing. I need to find the best distribution of inputs so that, if I apply them to the entire population, my output match some control totals that are pre-established. In this case though, I don't need to exactly match everything, but find the solution which gives the closest (or close enough) set of outputs to my controls.



I'm not really sure where to start.



I've tried setting it up as a matrix equation, by collapsing some of my vector categories to get a square matrix, and inverting it, but I get a lot of negative $beta$'s.



Are there numerical methods which try to solve this sort of thing?



Thanks!







share|cite|improve this question











I'm trying to find $beta$'s which solve the following problem:



$sum Vi beta i = V$ Or that at least minimize ($sum Vi beta i - V)$



where $Vi$ are vectors.



Additionally, there are a few other constraints/properties for these numbers.



$sum beta i =1 $ and $beta i gt 0$



Also, the sum of the vector components is also 1.



Another formulation is imagine you have a population of Things. For each one of these, you can apply some random input (from a set of 6 inputs, not necessarily equally likely), and you get some output that depends solely on the input, given the Thing. I need to find the best distribution of inputs so that, if I apply them to the entire population, my output match some control totals that are pre-established. In this case though, I don't need to exactly match everything, but find the solution which gives the closest (or close enough) set of outputs to my controls.



I'm not really sure where to start.



I've tried setting it up as a matrix equation, by collapsing some of my vector categories to get a square matrix, and inverting it, but I get a lot of negative $beta$'s.



Are there numerical methods which try to solve this sort of thing?



Thanks!









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Aug 3 at 19:29









Ilya

6




6











  • You are asking, in effect, how to solve a linear system over the field of complex numbers. The standards methods (e.g. Gauss-Jordan elimination) will do that, and if the linear system is inconsistent (has no solutions) then one can ask about least squares methods (to minimize the residuals $(sum V_i beta_i) - V$).
    – hardmath
    Aug 3 at 19:35
















  • You are asking, in effect, how to solve a linear system over the field of complex numbers. The standards methods (e.g. Gauss-Jordan elimination) will do that, and if the linear system is inconsistent (has no solutions) then one can ask about least squares methods (to minimize the residuals $(sum V_i beta_i) - V$).
    – hardmath
    Aug 3 at 19:35















You are asking, in effect, how to solve a linear system over the field of complex numbers. The standards methods (e.g. Gauss-Jordan elimination) will do that, and if the linear system is inconsistent (has no solutions) then one can ask about least squares methods (to minimize the residuals $(sum V_i beta_i) - V$).
– hardmath
Aug 3 at 19:35




You are asking, in effect, how to solve a linear system over the field of complex numbers. The standards methods (e.g. Gauss-Jordan elimination) will do that, and if the linear system is inconsistent (has no solutions) then one can ask about least squares methods (to minimize the residuals $(sum V_i beta_i) - V$).
– hardmath
Aug 3 at 19:35















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2871417%2fcomplex-set-of-linear-equations%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2871417%2fcomplex-set-of-linear-equations%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?