Docsity

Corso completo matematica discreta, Appunti di Matematica Discreta

Toggle sidebar
bg1
20/2/2018 MD
.Ayunti di uno student .India
20/2
•hrolutione matemahia
.Esemjni :Toueehi Hanoi ,tanellasioui ,Disuguagliante di Bernoulli .
•hrdnaiene fate
•Esistenta Scemfontiehe in trim .
•Mannino woman dinked
•Florene ali Bezout .
22/2
•Divisive enelidea
,divisibilitei .
.Algorithm di Euclide th il MCD
.Relasiene the MCD eMCM usando he soon posited
in mini
•Congruent
.Teorema di Bezant ealgorithm .
'
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Anteprima parziale del testo

Scarica Corso completo matematica discreta e più Appunti in PDF di Matematica Discreta solo su Docsity!

20/2/2018 MD^. Ayunti di^ uno student . India

  • hrolutione matemahia .

Esemjni :^ Toueehi^ Hanoi^ ,^ tanellasioui^ , Disuguagliante di^ Bernoulli^.

  • hrdnaiene fate
  • Esistenta

Scemfontiehe in^ trim.

Mannino woman dinked
  • Florene ali (^) Bezout.
  • Divisive enelidea ,^ divisibilitei^ . . Algorithm di (^) Euclide (^) th il MCD . Relasiene the (^) MCD (^) e (^) MCM (^) usando he (^) soon posited
in

mini

  • Congruent . Teorema (^) di Bezant e algorithm. '

20/

INDUHONE

gioeo della tone di Hanoi n { }

ntriesaaasduab @

P(n)⇐ coun^ sipnfou case BAs€_ D- W PG) ✓ @ Dmostn^ de^ se^ se^ poo ' fore eou a- (^) I , spew ' face

aueheeoum

Fm Part^ )^ ⇒

P(n) Pass (^) indnttioo (^). tone (^) .tt It Se (^) so

face

P(n - D in

kpesti (^) ,^ above^ so^ face Pln^ )^ in^ 26+1^ pass. INDUFRONE m=t PC^ 1) Base^

then (^) Pfut (^) ) ⇒ PAD Passo^ Allow t^ n Pan^ )

Ee Auuueuta^ 2%^ all^

' aims

, dope^

to auui (^)? × stipend.o^ iniwale ( (^) its (^) ) × et⇒ a.)^ × /^ .EE#ox Aumeuta (^) del 6% (^) dopw auui (^)? P(n) I^ we

¥. proposition

Atxyz rtnx^ Beenoueli^ x > -1^ are (^) pudessou were (^) o

Xp ( m ) Quindi

ftxjo (^) false. ⇒ (

I. )°z it

who

=

1+2-1 KEEFE

do (^) dimostn

per

indutioue (^) son (^). See uerd be^ disuguegliunta ,

lo stipend

.ro

initial i awueutotoabweuo del^ 20%.

Basf PG^ )^

ok

PG (^) ) (^) FHD '

zttrx Tpotesi Induttiva^ =^ Fl^ passe precedent

Che (^) assumoeoueto (^). Pase Pcm)^ ⇒^ Parti^ )^?^ Fm ( (^) HXTE^^ ( ntD×

↳ PGHD

togglienxyqweutita

'

positive

nt ' . etxretxs 5¥ etxtfxxtyjn.IE#nIEny

Per

Ip.^ lmdnttiva^ , soppmgo PH^ Even

Ho dimostneto eke PCNTD

,

assumed one^ Pcm^ )^ forever.^ Auevo^ dimostneto

per
PCD
, pi^ per^
PK )..

Quindi

per
involution motewotiaehodmostnetd
per
tutto
Base PG^ )

ftp.tuduttiae

Passe fn^ P(n)→^ Parti )

Gm

PF

Jnduaioue

forte

Tl

pass
E del

tips

P (d) n ... np ( n ) - Parti )

Fm (^) I P(o)a (^)... n (^) PhD ] →^ P(ntD F#) th : Ogui mumero^ n^ intro^ maggiore di^ L Si^ pw saompoue in (^) Primi n= p (^) ;pips... pr

fatten Primi^.

do dimostniauw

per hdusoioue MEN E^ prims se m^ >^1 e l^ '

rwieo modo^ per senivoa^ m=^ a. b^ a=r^ e^ b=m

oppure a=meb=

Dimostnetioue M^ >^1

Gso 1 n I^ prims ⇒ goi finite Case (^2) m non I

primo ⇒^

J (^) a (^) ,b > ^ (^). n = a b . I

compost (^ ooimoudeue^ essen^ )

per (^) jerk primo a < (^) me b (^) < n QuinditperIp^. lmduttioefoete assume^ the^ a. b^ w sampngomo in^ pnimi a^ =p^ ,^ ... pr b (^) = q ,^ ... 4k

m= a. b^ = ( p , .pr)(9.. ,.. .qD
th mostneto P (2) n PG ) a. AP( n - i ) → Pfn)

P( (^) 2) uero (^). bnebob (^) fn (^). pfn) }

→ Past

Def MCD^ (^ a.^ b)

MCD ( 9 , 6) = 3

↳

pin grande runners^ intro^ positives ehe^ divide^ a^ eb^.

psi scn.ve^ andre^ An Tdiutden und dire^ Fr (^). cr = n (^) c. r , me 21

MCD ( o ,o) =?
Non esiste , perehi tutti inumeri diuidomo 0.

MCD ( 5,0 ) = 5

MCD ( -5,0 ) = 5 Amehe 51-5 peruke 5 f D= -

Division Euelidae

¥f 17=2.8+ a]qb

⇒ a=^ b.^ qte Of z <^ b^.

It.^ Dati^ a^ ,b€2^ eaeb^ >^ o ,^ esistouo^ esono^ uuiciq ,^ re^ EZ

a=bqtr drab
Per a > o .^ Lo^ olimostro^ th nidusiene Sn a .

Cast a^ <^ b

9=0 ,^ R=^ a a= b. (^) ota

y y

q r Case azb

a '=a- b ( < a)

w ↳ (^) ease

precedent

Per

Iptmdultivadfgb

, a^ ' = b. 9 '+e '

One Savino bad^ auto^ imaubii
a 'tb=^ bq 't R ' + b

w : = b^ ( (^) q '

  • (^) e) + r^ ' ~ U
q

e tho mostsato ehedeti abesstouo^ qr

Omicta '^ d. qe ( de dimostnoa )

{ a=b. qtr (^) , drab

a = bqtrs , 0 err <^ b

quindi

o = blaohtr - en (^) ⇒ (^) blq. g.) , =p. c)^. ⇒ (^) BG. g.) =o^ b^ > o (^) (q - q )^ =0 ⇒

multiple di^ b^ e^ <^ b^ ⇒^ es^ -^ r=o

Gngmeuze D¥ : a=b

y

(c) a. b. CEZ , a > o

mad

se a ,b differisomo

per uu

multiple

di c Goi (^) be

different

the aeb

e- multplodic F^ k€21 a- b= or

a= (^) btcr

at cfk)=b

Est 2=16^ (7)

¥ 1¥ 7=0 (7) 0 2

-. 14=0 ( 7)^ stem^ usto -3 (^) = (^4) (7)

1,5ft

15=7 ° 2+

  • 15 = (^) 7. (^) t (^) 2) - 1-
aggimgo

e soltnettob perreudoa position ie^ rest

  • 15=7 (^) (. 2) - 7+7-
a -=b (c)^ < ⇒ a ,b hauuolo^ stem rest^ diuisi^ per c
Dim :
a = b^ (c) a=cq+r

]

Aggimuge

ok amboi member .

kct a^ =^ b^ atch^ = cktcqtr

afcg (^) bfe

6 b c(qtk)+r

e air

RCD
I made^ seoaupdizioue infirm

I (^) made

algorithms

euelide

I mind MCM ( 252,198 ) = 22.32^. 7.11 = 2772

MCDC 252,198 )

252 = 22. 32.7 2772. eg = 252. eqg
Relation the

MCD e MCM (^).

198 =^2. zn. μ A

McD=z. 32 MCDC (^) a. b). MCM (^) ( (^) a. b) = a. b

I 11

(2-32). ( i.^ 5.7.11^ ) =^ (

Th . Benoit

.

Fx

,gEZ MCD^ (^ a.^

b) = xatyb

EI precedent

MCDC how^ ,^351 ) =^3 (^3) = x. (^106) + y

. 351 ⇒ non E semplice peak

leineoguitede rieeuohuoylio^21

Procedure

low (^351) how 1 0 hey (^351 0 ) 1 -^ 2.0^ -^0 - (^66) - 2( 351 ) 318 2. setfige

Inge

  • 2 tInje\Irige

351 - ^( 318 ) 33 -1 3

-29^2^02 21 io

  • M 32
q |^ ze - 61
3 |^ -32 93

(^3) = (^) x. (^) row +

yss ,^

efnetioue diofautee

-32 $=}= 93 Ci^ Somo^ altre^ solution^ x= - 32+ y= 93 -^ low G (^) saw

infinite

solution. EZ

hozox =3^ ( 351 )^ Iwoare^ x .
X= -32 ( es . prec. )
howl -32^ )

+903.35*3.0=

quindi

x= -

ogninumeroe (^) eougcwo a^ se^ stem^.

  • 93.351^ E^ multiple di 351
, quimdi^

27/3 Altunh di Uno stwbnle^. India argomenti.

  • Equarieui diofantee della^ forma m=^ axtby.

Sdusiene

generate = selnteue part cohere^ + solution^ '

emofbea

. a Esercisi ml (^) tenure di (^) Blunt

  • Confmenhe

della

forma

AX = b (^) ( a^ ).

  • tuners (^) mod I m
  • (^) Un (^) intern he Un (^) inverse mod In (^) ) se eselo (^) Ie non

he

fetton commie^ con^ m (^).

4g =^0 (+9¥omogeuue associate^ ) Tq (^) -

Posrpuettou 9.hr^ al post di y e al^ post di Z - 4k e view 0
Non a interests be

sd dell '

oueogewe , poo

'

seppiawo ehe^ be^ solution^ generale di^ uu^ srstaue^

e-

cay
Posto de^ :^ Sol^.^ PARTICOLARE^ t^ Sol^.^ OROGENEA

Quindi

,^ come^ fatto^ nellie^ pog. pea ,^ a^ t^ postiauu^ seminar^ nmltipli^

di 4 e a

y multiple^

. di 9 70=9 (^70 - (-140+96)t^ AH 4 end^ e-^ come somnare e^ sdtnoue (^) mua state (^) qweutite.

Quimdi

per

tnouorealtre solution

,

utilisiawo l^

'

omogeuea associate

⇒ YI

  • no (9)

^§8f¥

5 140 =^9 (^15 )^ +5^ ⇒^ -140=9^ fi 5) -^5 ⇒^ -140=9^ ft^ 5)^ -^ 9+9^ -^5 ⇒^ -^ 140=9^ (-16^ )^ +

Prime aveuawo

is

y=
  • 140+98 =)^ - 140=9 ( -^1 6)^ +4^ ⇒^ -^ 140+9^ (^16 ) =^4 ⇒

i. y=¢

r T^ - ^4

z = 70 - 4k =^70 - 4 ( 16 ) =^6 ⇒ Domfue

y=4 ,

Z (^) = 6 xtyt Z^ =^13 ⇒^ xt^ 4+6=13^ ⇒^ ×^ = (^83) Cent (^). = 3+4. ⇐out (^) ) t (^) 6. (^) Go out (^) )

Es (^). da risluece

Su Marte in an

village

's (^) a. some (^45) Martian = (^13) rossi ,^15 verdi , 17 blue^.

Se due^ Merriam^ di^ colon^ divers^ si^ ineouttwwo^ ,^ allow^ eauebiauo^ adore

ed terror . Possonw diveutace tutti delle stem alone?

Solution (^) : Bisogno impostor in^ P ' di

equations :

Rosso (^) imeoutre blue → (^) NR ,^ ttv^ ,^16 B

signifies

sommwaaluettore

(My)^ il uettore (Ig (^) )

Verde ineoutne blu→n4 R

,^ lbv^ ,^1513

(ttf) + ¥ ,^ ) Rosso (^) imeoutne verde →^ ^3R ,^15 V ,^1713 = Gf) + (f) X= not di (^) nose del (^) tip (^) (I , )^ y^ = (1) , (^) z=(if ) 1H+×EH ftp.kt?ChxEt+gtIttEH::t.EHxEH#tzEtts:tsEI?yiIEIoa

APPLKARE MATRKE^ A VETORI

Zx -

y
  • Z = (^) - 13 ⇐ ;÷÷÷÷¥ks÷hfIIItEstEi÷aEIBf¥d . HEMI C ' e '
solution

, pooohi^ range

metric

eoeffic.^ e eago metric^ complete^ =^

(^2) ( - i ,^ 3)

One

bisogno

controlled ehe x.
y ,

2- Siano inter .

da 2-^ Elibere^

,^ me^ se sagliessi z^ =L^ ⇒ y (^) =5g €^21 Si vole^ subito^ de^ mae E^ interepeeehe 47 mansard^ Moi^ multiple di (^3) perehe

he RZ dice :

3g

  • 32=47 (^) ⇒ 3 (
y
  • ⇒ = 47 se (^) y ,^ ZEZ^ conebbe dire de 3. ni (^) inter = 47 IMPOSFIBKE
, perches^47

soabbe multiple di^3.

INVERSO MODU (^6) ( c)

€ uu '

operation aueloga alla^ diuisrome^ put the^ i^ mumeri^ modulo^ (c)^.

Per esaupro se from .nu in R^ b^

'

inverse di 3 e-^

Is pdehe^

}=s.

the (^) ( modulo 7)

di 3 il sew inverse I 5 perehe 3.5 = 1 ( 7)

Eseeupro :

15 × = 6 (7) ⇐ > 5× = 2 (7)

⇐ uerfieeto perote homoltiphaeto per 3

.

Sap piano ehe^ 3.5^ =^1 (^ 7)^ pdehi 5 e^3 saw^ inverse^ l^

'

new dell^ '^ altro^ Modulo^ (7)^.^ Quimdi^ :

15 × = (^6) (7) →^ 3.5 × = 3. (^2) (7) mdtiM0M5_. 5 × (^) =-D§. z (^) (7)

  • ,
⇒ 5 x = 2 (7)
=L (7)

←

Divider x3 e- come multiplier

a (^) per 5 TEOREMA

Mu inverse di he mad (c) esiste # RCD ( k

, c)^ =L

Dine

inverse Emu^ ×^ tale^ ehe^ :

kx = 1 ( c)

(

k × = 1 - Cy

kxtcy = 1 a-

diofautea

,

Questa

operation

si pus risdon

poets I^ e^

read (^) ( w

, c)^ per ipotesi^

. Two (^) x. y an^ Bebout (^) ⇒ kx =^1 ( c (^) )

. ' inverse (^) D

Benut non solo^ mi

fomia l^

' (^) inverse

, me^ auehe^ come^ tnuarlo^.

:

Inverso × di 5 modulo 12 :

5 ×^ = 1 ( 12 )

5 x = 1-^ my → 5×+14=1 MCD^ ( (^12) , 5) = (^) ( (^2) , 5) (^) =(2,1 ) =^ ( (^0) , 1) =L BE tout 12 5 (^12 1 ) 5 0 1 2 1 - 2 1

  • 2 5 1 = 12ft) +5^ (5)^ →
X=5 l^

' inners di^5 I^5 Stems^ ⇒ 5.5=1 (^) ( 12 ) w (^) w

y

x

Leumi G-^ 8/. Aytmti di (^) who student (^). 6/

  • Sistlmi d- conguhne

linear .

  • Terrine einere dei rest .

Eseupie

di

compute quadrate^ . 8/3 (^) Altunti di^ who^ student^.

  • (^) Dimostremleue (^) del (^) tenure di Rlteut

Se n divide^ mk e MCD^ (^ mi^ m^ )^ =^1 alhra n divide K

e Se (^) in (^) frimo divide un^ modotto divide unoebi (^) Lettieri.

Uniuta scomposisiehe in

mini.

  • Crithi (^) oh ' divisibility .
  • Calcohe dei

rest oh

' ah (^) mod (^) ( n ) .

X = 5 + say risdue he^ Ieg.
per qwobmque^ y
se y = 214 ) ⇒ x= 5 they risolve be I e best eg.

× =^ 5+14.2 risolve^ he^ I^ e^ he^ I^.

Sostituisco be I

equation

×= (^5) +14g nelle seconds X^ I (^1) (8)

y

= 1 (8)

14 y =^ -4^ (8)

(^14) y =^4 (8) 7

y

= 2 (^ 4)

y

= 2 (4) ⇒^ y = 2+4 Z^ sostituisa he^

g

delle

Prime equation

× = 5+11<(2+42)*

X =^ 33+56 Z

× = 33 ( 56 ) SOLIEI

EQ (^).

Sostituisco he^ @ Mello^ I

equation × =3^ (5) (^) : 33+56 Z (^) =-3 (^) (5)

56 z I -30 (5)

56 Z^ = 0 (5) Z (^) = (^0) (5) Sostituisa Z (^) nellie (^) @ : Z (^) = Ot

5Y

X =^ 33+56 ( 5y )

× = 33+
y

x (^) = 33 ( (^280) ) ⇒^ Sol (^). I (^) ,I

, #^ equ

M.C.ru (^). ( (^14) , 8,5 )^ =^280

Es

×= 215 )^ X=2t5y

{ x= 3177 {^ 2+sy= s G) 5y=

SITE

}x⇒2twoeiw]

y

= (^) 3+2.

× = 2+5 (3+2-7) I

× = 17+35 Z

Tate le solution. saw x = 17 ( 35 )

Quimdi le 2

egweziomi

initial . diueutaw wine she^ , ooe^ '^ ×^ It ( 35μm^ .cm (^) (7-5) ¥{×¥÷zYy!

}

⇒ area

{ ×± '^7135 ' last^. × (^) -=4 ( (^) ie ) X= (^17) +

35g

17+35 y = 4 ( 11 ) One^ tnuiawohex

35g =^4

  • 17 (^ M^ ) ×^ =^ 17+35 (^) y

35g

= -13 GD X =^ 17+35 ( hotmz )

35 =^ - 2 ( M ) X =

s¥y I^ q 17+350+

( y )^ x^ =^ 367T

38522g

= 9 ( m ) ×^ I^367 ( 385 )

  1. 6 = r (^) ( (^11) ) -5.7. μ

y =^

y =^54 (^11 )

y =^
  • ^ (^) ( n (^) )

y =^ no^ (a)

y = (^) to (^) + MZ