WOLFRAM|DEMONSTRATIONS PROJECT

Solving a Linear System with Uncertain Coefficients

​
size
6
choose
matrix
vector
row
1
2
3
4
5
6
column
1
2
3
4
5
6
set
real
uncertain
nothing
p
2
n
0
value × 10^n jump 10^-p
Element:
m(1,1)1.±0.
Solution:
{1.±0,1.±0,1.±0,1.±0,1.±0,1.±0}
This Demonstration shows the LinearSolve solution of linear algebraic systems with uncertain numbers of the form
x±Δx
as entries. The rules are extracted from the authors' Uncertain Calculus package. The elements of the initialization diagonal matrix and right-hand side vector are
1±0.
. The "size" of the linear system can be set from 2×2 to 10×10.
A slider is used to set the "real" and "uncertain" parts of the matrix and the vector's uncertain entries for selected "row" and "column". The slider intervals for the real
x
and uncertain
Δx
parts of the uncertain number
x±Δx
are
[-1,1]
and
[0,1]
, respectively. These values are multiplied by
n
10
, where
n
ranges from -5 to 5. The slider jump is
-p
10
, where
p
ranges from 1 to 6.
For the sizes up to 5, the entire matrix, the solution, and the right-hand side vector are all shown in the pane. For the sizes from 6 to 10, only the acting element of the matrix or vector is shown, but the setting "nothing" lets you inspect the values of the matrix and vector elements by using consecutively the corresponding "row" and "column" controller settings. When all elements of the matrix and vector have zero uncertainty, the solution coincides with the standard one. The uncertainty of elements changes the uncertainty of the solution.