Solution to System with Unknown Variables n > 4

  • Thread starter uwowizard
  • Start date
  • Tags
    System
In summary, the conversation is discussing the search for a general-case method to find at least one solution to a system of equations with known real numbers and unknown variables, where the number of equations is greater than the number of unknowns. The system includes a condition of inequalities for the unknown variables. The conversation suggests using Gaussian elimination or brute force to find a suitable solution.
  • #1
uwowizard
14
0
I'm looking for a general-case method to find at
least one solution to a system such as

a_0 = a_1*x_1 + ... + a_n*x_n
b_0 = b_1*x_1 + ... + b_n*x_n
x_1 + ... + x_n = 1
0<= x_1, ... , x_n <= 1

where a_i, b_i are known real numbers, x_i are unknown and n > 4

Thank you in advance.
 
Physics news on Phys.org
  • #2
If I understand, you can write your system this way:
[tex]\left(\begin{array}{cccc}
a_1&a_2&\cdots&a_n\\
b_1&b_2&\cdots&b_n\\
1&1&\cdots&1\\
0&0&\cdots&0\\
\vdots&\vdots&\ddots&\vdots\\
0&0&\cdots&0
\end{array}\right)\cdot
\left[
\begin{array}{c}x_1\\x_2\\\vdots\\x_n\end{array}
\right]=\left[
\begin{array}{c}
a_0\\b_0\\1\\0\\\vdots\\0
\end{array}\right][/tex]

If you put:

[itex]\mathbf{x}=\left[
\begin{array}{c}x_1\\x_2\\\vdots\\x_n\end{array}
\right][/itex]

[itex]\mathbf{b}=\left[
\begin{array}{c}
a_0\\b_0\\1\\0\\\vdots\\0
\end{array}\right][/itex]

[itex]A=\left(\begin{array}{cccc}
a_1&a_2&\cdots&a_n\\
b_1&b_2&\cdots&b_n\\
1&1&\cdots&1\\
0&0&\cdots&0\\
\vdots&\vdots&\ddots&\vdots\\
0&0&\cdots&0
\end{array}\right)[/itex]

it can be written for short as [tex]A\cdot\mathbf{x}=\mathbf{b}[/tex]

You can use http://en.wikipedia.org/wiki/Gaussian_elimination" (I think :D )

Or probably I have not understood the problem :P
 
Last edited by a moderator:
  • #3
Thanks for the reply. However, the system

a_0 = a_1*x_1 + ... + a_n*x_n
b_0 = b_1*x_1 + ... + b_n*x_n
x_1 + ... + x_n = 1

will have an infinite amount of solutions, and the problem is how to select at least one that satisfy the inequality.

0<= x_1, ... , x_n <= 1
 
  • #4
Sorry, I didn't focus on that condition :D
 
  • #5
uwowizard said:
have an infinite amount of solutions, and the problem is how to select at least one that satisfy the inequality.

0<= x_1, ... , x_n <= 1

That's the big problem here. A lot of the numerical techniques that solve systems of equations either have a square matrix (Gauss-Seidel) or have more equations than unknowns (least-squares).

Whenever you have the case of more unknowns than equations, you have a certain degree of freedom. In this case, you're free to choose whatever values you want for most of the variables (choose simple values between 0 and 1). The real question though is that when you solve for the remaining variables, will you get something between 0 and 1? I would try this, but I can't think of any other method, unless you're willing to do brute force and obtain an approximation answer.
 

1. What is a solution to a system with unknown variables when n is greater than 4?

A solution to a system with unknown variables when n is greater than 4 is a set of values for the unknown variables that satisfies all of the equations in the system.

2. How many solutions can a system with unknown variables n > 4 have?

A system with unknown variables n > 4 can have an infinite number of solutions, no solutions, or a finite number of solutions.

3. How do you solve a system with unknown variables when n is greater than 4?

To solve a system with unknown variables when n is greater than 4, you can use various methods such as substitution, elimination, or matrix operations.

4. Can a system with unknown variables n > 4 have more than one solution?

Yes, a system with unknown variables n > 4 can have more than one solution if it is an inconsistent or dependent system.

5. Why is it important to find a solution to a system with unknown variables n > 4?

It is important to find a solution to a system with unknown variables n > 4 because it allows us to determine the relationship between the variables and solve real-world problems in various fields such as physics, engineering, and economics.

Similar threads

Replies
27
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
1K
  • Linear and Abstract Algebra
Replies
15
Views
1K
  • Linear and Abstract Algebra
Replies
7
Views
2K
Replies
3
Views
695
  • Linear and Abstract Algebra
Replies
1
Views
1K
  • General Math
Replies
2
Views
727
  • Linear and Abstract Algebra
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
Back
Top