If given a value $N$ and told to generate the following:

  • A random matrix $A[N][N]$
  • A solution vector $S[N]$

What would be a "solution vector" of a randomly generated matrix? I am not sure I have heard the term used before or I am simply mixing terms in my mind.

  • $\begingroup$ My hunch is that it S will either be the $x$ or the $b$ in the equation $Ax=b$. The word "solution" implies it may be more likely to be the $x$ You may be able to glean a little more information from the context it arises in. $\endgroup$ – David Reed Jan 13 '18 at 4:39
  • $\begingroup$ @DavidReed So it would be appear that it would be the $x$; but can you derive $x$ upon generation of a random matrix? $\endgroup$ – pstatix Jan 13 '18 at 4:47
  • $\begingroup$ It looks like they want you to use the same parameter to generate the x (viewing it as a 1 column matrix). You would not be able derive x without first having the b. $\endgroup$ – David Reed Jan 13 '18 at 5:06
  • $\begingroup$ @DavidReed So mathematically you cannot solve for $x$ without having $b$ even though you have the matrix? $\endgroup$ – pstatix Jan 13 '18 at 16:27
  • $\begingroup$ Yes, different values of b will give you different values of x $\endgroup$ – David Reed Jan 13 '18 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.