Sie sind auf Seite 1von 12

INTEGER NUMBER SOLUTIONS OF LINEAR SYSTEMS

Florentin Smarandache, Ph D Associate Professor Chair of Department of Math & Sciences University of New Mexico 200 College Road Gallup, NM 87301, USA E-mail: smarand@unm.edu

Definitions and Properties of the Integer Solution of a Linear System Lets consider
n

(1)
j 1

aij x j

bi , i 1, m

a linear system with all coefficients being integer numbers (the case with rational coefficients is reduced to the same). Definition 1. x j

x0 1, n is a particular integer solution of (1) if j, j


bi , i 1, m .
h

x0 j

, j 1, n and
j 1

aij x 0 j

Lets consider the functions f j : Definition 2. x j


n

, j 1, n , where h

f j (k1,..., kh ), j 1, n is the general integer solution for (1) if:


Z;

(a)
j 1

aij f j (k1 ,..., kh ) bi , i 1, m , irrespective of k1 ,..., kh


Irrespective of x j
x0 j , j

(b)

1, n a particular integer solution of (1) there is

0 0 (k10 ,..., kh ) Z such that f j (k10 ,..., kh ) x j , j 1, n . (In other words the general solution that comprises all the other solutions.)

Property 1. A general solution of a linear system of m equations with n unknowns, r ( A) m n , is undetermined n m -times. Proof: We assume by reduction ad absurdum that it is of order r , 1 r n m (the case r 0 , i.e., when the solution is particular, is trivial). It follows that the general solution is of the form:

x1

u11 p1 ... u1r pr un1 p1 ... unr pr parameters Z

v1 vn , uih , i Z

(S1)

: xn ph

We prove that the solution is undetermined n m -times. The homogeneous linear system (1), resolved in r has the solution: 1 1 Dm Dn 1 x1 xm 1 ... xn D D :
m m Dm Dn 1 xm 1 ... xn D D Let xi xi0 , i 1, n , be a particular solution of the linear system (1). Considering xm 1 D km 1

xm

: xn
we obtain the solution
x1 : xm xm : xn D kn
0 xn , 1 m Dm 1 km 1 m ... Dn kn 0 xm 1 0 xm 1 Dm 1

D kn
km
1 1 ... Dn kn

x10

D km

kj

parameters Z

which depends on the n m independent parameters, for the system (1). Let the solution be undetermined n m -times:
x1 c11k1 ... c1n m kn cn1k1 ... unn m kn Z, k j
m

d1 dn

(S2)

: xn
m

cij , di

parameters Z

(There are such solutions, we have proved it before.) Let the system be: a11 x1 ... a1n xn b1

: am1 x1 ... amn xn bm

xi = unknowns
I.

, aij , bi

Z.

The case bi

0, i 1, m results in a homogenous linear system:


2

(S2)

ai1xi ... ain xn 0; i 1, m . ai1 ci1k1 ... c1n m kn m d1 0


kj

... ain cn1k1 ... cnn m kn ai1c1n


0.
m

dn

ai1c11 ... ain cn1 k1 ...


0

... ain cnn

kn

ai1d1 ... ain dn

For k1 ... kn m For k1 ... kh 1

ai1d1 ... ain d n


1

kh
0,

... kn
i 1, m,

0 and kh 1
0
h 1, n m .

ai1cih ... ain cnh


ai1cih The vectors ... ain cnh

(n) ai1d1 ... ain dd

c1h : Vh , h 1, n m : cnh are the particular solutions of the system. Vh , h 1, n m also linearly independent because the solution is undetermined n m -times V1 ,...,Vn m d is a linear variety that includes the solutions of the system obtained from (S2). Similarly for (S1) we deduce that U1s : , s 1, r Us : U ns are particular solutions of the given system and are linearly independent, because (S1) is V1 : undetermined n m -times, and V is a solution of the given system. : Vn
Case (a) U1,...,Ur , V = linearly dependent, it follows that U1 ,..., U r is a free sub-module of order r n - m of solutions of the given system, then, it follows that there are solutions that belong to V1 ,...,Vn m d and which do not belong to U1 ,..., U r , a fact which contradicts the assumption that (S1) is the general solution. Case (b) U1,...,Ur , V = linearly independent. U1 ,...,U r +V is a linear variety that comprises the solutions of the given system, which were obtained from (S1). It follows that the solution belongs to V1 ,...,Vn
m

d and does

not belong to U1 ,...,U r +V , a fact which is a contradiction to the assumption that (S 1) is the general solution. II. When there is an i 1, m with bi 0 then non-homogeneous linear system (S2) it follows that ai1c11 ... ain cn1 k1 ... ai1c1n m ... ain cnn ai1d1 ... ain d n b1 ; For k1 ... kn m 0 For k1 ... k j 1 k j 1 ... kn m 0 and k j 1
ai1c1 j ... ain cnj ain d1 ... ain d n
0 bi ; ai1c1 j ... ain cnj ai1d1 ... ain d n

ai1xi ... ain xn b1, i 1, m ai1 c11k1 ... c1n m kn m d1 ... ain cn1k1 ... cnn m kn
m

dn

bi bi

kn

ai1d1 ... ain dn

bi it follows that
i 1, m, j 1, n m .

c1 j Vj : ,j cnj 1, n m , are linearly independent because the solution (S2) is

undetermined n m -times.

d1
(?!)

V j , j 1, n m , and d

: dn

are linearly independent. We assume that they are not linearly independent. It follows that s1c11 ... sn m c1n m . d s1V1 ... sn mVn m :

s1cn1 ... sn m cnn


Irrespective of i 1, m : b1 ai1d1 ... ain dn

ai1 s1c11 ... sn m c1n ai1c1n


m

... ain s1cn1 ... sn m cnn


m

ai1c11 ... ain cn1 s1 ....

... ain cnn

sn

0.

Then, bi 0 , irrespective of i 1, m , contradicts the hypothesis (that there is an i 1, m , bi 0 ). It follows that V1,...,Vn m , d are linearly independent. V1 ,...,Vn m d is a linear variety that contains the solutions of the nonhomogeneous system, solutions obtained from (S2). Similarly it follows that G1 ,..., Gr +V is a linear variety containing the solutions of the non-homogeneous system, obtained from (S1). n - m r it follows that there are solutions of the system that belong to __________________________ ?! means to prove that 4

V1 ,...,Vn m d and which do not belong to G1 ,..., Gr +V , this contradicts the fact that (S1) is the general solution. Then, it shows that the general solution depends on the n m independent parameters.

Theorem 1. The general solution of a non-homogeneous linear system is equal to the general solution of an associated linear system plus a particular solution of the nonhomogeneous system. Proof: Lets consider the homogeneous linear solution: a11 x1 ... a1n xn 0
: , ( AX 0) am1 x1 ... amn xn 0 with the general solution: x1 c11k1 ... c1n m kn

d1 dn

: xn
and

cn1k1 ... cnn m kn


x10

x1 :

0 xn xn with the general solution a particular solution of the non-homogeneous linear system AX b ;

x1
(?!)

c11k1 ... c1n m kn

x10
0 xn

xn cn1k1 ... cnn m kn m d n is a solution of the non-homogeneous linear system. We note: a11 ... a1n x1 b1

0 , 0 : 0
d1 x10 :
0 xn

, X

: xn

, b

: bm

am1 ... amn (vector of dimension m ), k1 K : ,C kn m

c11 ... c1n : cn1 ... cnn

,d
m

: , x0 dn

AX A Ck d x 0 A Ck d We will prove that irrespective of

AX 0

b 0 b

x1 :

y10

0 xn yn there is a particular solution of the non-homogeneous system

k1 : kn
with the property:
m

k10
0 kn

Z
,
m

x1 : xn

0 c11k10 ... c1n kn

d1 x10
0 d1 xn

y10
0 yn

0 cn1k10 ... cnn m kn

y10
We note Y 0

:
0 yn

Well prove that those k 0 j (there are such X 0 j because

, j 1, n m are those for which A CX 0

x1 :

xn 0 is a particular solution of the homogeneous linear system and X CK d is a general solution of the non-homogeneous linear system) A CK 0 d X 0 Y 0 A CK 0 d AX 0 AY 0 0 b b 0 .
Property 2 The general solution of the homogeneous linear system can be written under the form: (SG) x1 c11k1 ... c1n m kn m (2)

xn cn1k1 ... cnn m kn m k j is a parameter that belongs to (with d1 d2 ... dn 0 ). Poof: (SG) = general solution. It results that (SG) is undetermined (n m ) -times. Lets consider that (SG) is of the form

x1
(3)

c11 p1 ... c1n

pn

d1

xn cn1 p1 ... cnn m pn m dn with not all di 0 ; well prove that it can be written under the form (2); the system has the trivial solution x1 0 ; :

xn
it results that there are p j

, j 1, n m ,
0 c11 p10 ... c1n m pn m

x1
(4) Substituting p j

d1 dn

0 0

: xn
0 cn1 p10 ... cnn m pn m

kj
kj p0 j pj p
0 j

p0 1, n m in (3) j, j
pj kj pj
,

p0 j

which means that that they do not make any restrictions. It results that x1 c11k1 ... c1n m kn m c11 p10
: xn cn1k1 ... cnn m kn
m

... c1n ... cnn

0 pn

d1 dn

cn1 p10

0 pn

But
0 0 ch1 p1 ... chn m pn dh m Then the general solution is of the form: x1 c11k1 ... c1n m kn m :

0, h 1, n (from (4)).

xn
k j = parameters

cn1k1 ... cnn m kn

, j 1, n m ; it results that d1

d2

... dn

0.

Theorem 2. Lets consider the homogeneous linear system: a11 x1 ... a1n xn 0

: am1 x1 ... amn xn


r ( A) m , ah1,..., ahn

1 , h 1, m and the general solution


7

x1 : xn
then

c11k1 ... c1n m kn cn1k1 ... cnn m kn

ah1 ,..., ahi 1 , ahi 1 ,..., ahn

ci1 ,..., cin

irrespective of h 1, m and i 1, n . Proof: Lets consider some arbitrary h 1, m and some arbitrary i 1, n ; ah1x1 ... ahi 1xi 1 ahi 1xi 1 ... ahn xn ahi xi . Because ah1 ,..., ahi 1 , ahi 1 ,..., ahn ahi it results that
d ah1 ,..., ahi 1 , ahi 1 ,..., ahn xi

irrespective of the value of xi in the vector of particular solutions. For k2 k3 ... kn m 0 and k1 1 we obtain the particular solution:

x1 : xi : xn
For k1 solution:

c11 ci1 cn1


m 1

d | ci1

k2

... kn
x1 : xi : xn

0 and kn

1 it results the following particular

c1n cin cnn

d | cin

hence

d | cij , j 1, n m
Theorem 3. If

d ci1,..., cin

x1 : xn

c11k1 ... c1n m kn cn1k1 ... cnn m kn

k j = parameters

, cij

being given, is the general solution of the homogeneous

linear system

a11 x1 ... a1n xn : am1 x1 ... amn xn


then c1 j ,..., cnj
1,

0
, r ( A)
m n

j 1, n m .
d

Proof: We assume, by reduction ad absurdum, that there is j0 1, n m : c1 j0 ,..., cnj0

we consider the maximal co-divisor 0 ; we reduce to the case when the maximal codivisor is d to the case when it is equal to d (non restrictive hypothesis); then the general solution can be written under the form: ' x1 c11k1 ... c1 ... c1n m kn m j0 dk j0 (5)
: xn
' cn1k1 ... cnj dk j0 0

... cnn m kn
' nj0

where d

cij0 ,.., cnj0 , cij0


x1 : xn

d c and c ,..., c
' c1 j0

' ij0

' ij0

1.

We prove that

' cnj 0

is a particular solution of the homogeneous linear system. Well note: k1 ' c11 ... cij0 d ... c1n m :
C : :
' nj0

: d ... cnn
m

,k

k j0 : kn
m

cn1 ... c

x C k the general solution.


a11 ... a1n
We know that AX
0 A(CK ) 0, A

an1 ... amn We assume that the principal variables are x1,..., xm (if not, we have to renumber). It follows that xm 1,..., xn are the secondary variables. For k1 ... k j0 1 k j0 1 ... kn m 0 and k j0 1 we obtain a particular solution of the system

x1 : xn

' c1 j0 d

' c1 j0 d

' c1 j0

' c1 j0

x1 0 : xn

' c1 j0

0
' cnj d 0

A :
' cnj d 0

d A :
' cnj 0

A :
' cnj 0

' cnj 0

is the particular solution of the system. Well prove that this particular solution cannot be obtained by ' ' x1 c11k1 ... c1 ... c1n m kn m c1 j0 dk j0 j0 (6)
: xn xm
' cn1k1 ... cnj dk j0 0

... cnn m kn ... cm

' cnj 0

' cm 1k1 ... cm 1dk j0

1, n m n m

' cm

1 j0

(7)

: xn
' cn1k1 ... cnj dk j0 0

... cnn m kn

' cnj 0

cm : k j0 ch ,1 cm : ch ,1

1,1

... cm : ...

1j

... cm 0.

1, n m

:
m

cnj ... cn ,n
' m 1 j0

1,1

... c ...

d ... cm 0. :

1, n m

1 d

:
' nj

c d ... cn ,n

(because d 1 ). It is important to point out the fact that those k j k 0 1, n m , that satisfy the j , j system (7) also satisfy the system (6), because, otherwise (6) would not satisfy the definition of the solution of a linear system of equations (i.e., considering the system (7) the hypothesis was not restrictive). From X j0 follows that (6) is not the general solution of the homogeneous linear system contrary to the hypothesis); then c1 j ,..., cnj 1, irrespective of j 1, n m . Property 3. Lets consider the linear system a11 x1 ... a1n xn b1

:
aij , bi

am1 x1 ... amn xn bm , r ( A) m n , x j = unknowns Resolved in , we obtain

10

x1 : xm

f1 xm 1 ,..., xn , x1 ,..., xm are the main variables, fm xm 1 ,..., xn

where fi are linear functions of the form: i i cm ... cn xn 1 xm 1 fi di


i where cm j , di , ei

ei

; i 1, m, j 1, n m .

ei irrespective of i 1, m then the linear system has integer solution. di Proof: For 1 i m, xi , then f j . Lets consider
If

xm : xn : x1 :

u m 1km

u n kn v1 m 1km ... v1 n kn e1 d1

a solution, where um 1 i cm j , i 1, m, j 1, n m calculated after their complete simplification. di


i vm i cm j um j j

em dm is the maximal co-divisor of the denominators of the fractions xm


m vm 1km 1 m ... vn kn

di

is a solution undetermined (n m ) -times which depends on

m independent parameters km 1,..., kn but is not a general solution.

Property 4. Under the conditions of property 3, if there is an ei0 ei i0 i0 i0 i0 1, m : fi0 um ... un xn with um , j 1, n m , and 0 j 1 xm 1 di0 di0 system does not have integer solution. Proof: . xm 1,..., xn in , it results that xi0 Theorem 4. Lets consider the linear system 11

then the

a11 x1 ... a1n xn :


aij , bi

b1

am1 x1 ... amn xn bm , x j = unknowns , r ( A) m n . If there are indices 1 i1


1, 2,.., n , h 1, m , with the property:

... im

n,

ih

a1i1 ... a1im : : 0 and ami1 ... amim b1 a1i2 ... a1im
xi1

is divided by

bm ami2 ... amim


. . .

a1i1 ... a1im 1 b1


xim

: : : is divided by ami1 ... amim 1 bm

then the system has integer number solutions. Proof: We use property 3 di , i 1, m; eih xi , h 1, m
h

Note 1. It is not true in the reverse case. Consequence 1. Any homogeneous linear system has integer number solutions (besides the trivial one); r ( A) m n . Proof: 0 : , irrespective of h 1, m . xi
h

1 , it follows that the linear system has integer number Consequence 2. If solutions. Proof: xi : ( 1) , irrespective of h 1, m ;
h

xih

12

Das könnte Ihnen auch gefallen