0% found this document useful (0 votes)
38 views9 pages

Analysis of Polynomial Functions

1) The document appears to be a student assignment discussing recurrence relations and analyzing algorithm complexity. 2) It examines cases where T(n) = aT(n/b) + f(n) and derives solutions for different values of a and b. 3) The key conclusions are that T(n) = O(n^k) where k depends on the values of a and b, and that the master theorem can be applied to solve certain recurrence relations.

Uploaded by

Nibir Dowerah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views9 pages

Analysis of Polynomial Functions

1) The document appears to be a student assignment discussing recurrence relations and analyzing algorithm complexity. 2) It examines cases where T(n) = aT(n/b) + f(n) and derives solutions for different values of a and b. 3) The key conclusions are that T(n) = O(n^k) where k depends on the values of a and b, and that the master theorem can be applied to solve certain recurrence relations.

Uploaded by

Nibir Dowerah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

D AA Wgnment no

NameBuyonku R«heng
Cclege Rollno MCA/21/o 2P
Rol 2406 2004 3 022
AS TO no

Senurn MA 1" e ( Rebeat


Subjut dsagn Cnd Aralynis e
fog-1

douir causes alorn sih Ain locA niallis

l o dno 1
Kar a21 d s>1 be onulon, e t ! n ) be a
c l oy nnd lt Tn be nsd on t non nuqoku
AYlaqe y he
tecwce
To-aT/A)+ {(»)
wheu we
inlinpur/sb mean her LyA]
ox
n . Ghen TCn) Aos he
olleng
Gmplolc beumds:

e
0,then T(r)=e ( )
-0(7),on T)-0,1Ë 1m)
3 o)=(ru"){ 80me Consrer

ED7 om A)E )
tx some Conom
o n d al
sunillaxga n ,then
Tov bn).
o opng Che Maato h09Umm fo s0
oles 'ssfend On ooment
byang lo
wdetstand Cehat Soys. Tn aah
ani o
anei on

Tnulely, thu laget ef he boo njon


okestmines the &eulion to tk uwnnte
in CAse , tounin 3 +he
he
Aamgo,then Ke seluiby T ) -e
) s in Cose 3 th andion ) i s h la
then ha zeulion is
T)-et)
i n Cae3tRa exnclion (n)is ha dasgor, Hn
fha 3ufon
TO-D)
Iv) , as in tase 2
,ha w
si2e
Si2e
cios aa hu &a n
u mulibly a eg ah ne lada
TOn- ("n)
e(4og).
Beyond R inluiton e mslt àLsore e
80ma RochniCalas
e 1ot on
Smalot thn
i muste
Smaler
,

polyven
That ,{(») must be
hon
Ga fecally smalls
C
Bome
Conson E>o.

nthe hetd Co
16l ny msl
) be lare Hhan n r ale musr e
oly noial lgor ond in addi.uon

) ) This coniion is Aallated


sai mo e t polgominl
boumded uboxs.tEad
Acecn ted
elwe Cases 1
ood 2
whcn () k malt than »J
bur
not fab poly nomi ally Smalle
imil hue belsan Coe
2 nd 3 fren (»)
l tRan
bu m ysto mly asger,
unclion ) talk nlo oye +hs2
651
sculily (ondiho n cdsa 3 bfo kdd.
hi-4

2 M mChod o t8Ar
asymlo b bounds r t h 4oVoui'n

n )4T%)t
D T) 4T(4)4»
I 4T ( ) t n

Ton)- T ( t
TC T(2)+1
v) T) 3T( lan
s2(2) T-4T()+n

Ho a= 4-2,ond (n) = n
we comaxe nogeneg2
Pag 5

T ) 4 T() t»
Conpaun ith T()=4Tyrp
a T/)t 4 (n)
ond b= 2

a24 end b>1


lo=
6-0()
masle ieetem

TU)-e(g4 koym))- 0(g*)


Tn)= 4T(N/)+ n3
6
Poge
T)9 ) t
3P) Jor tho ocwouna

ehone nloy - e()


ef a o fu Mas The m
nd conude that th seluLi n i
TC)= 0 ( )

T)= T(2a/2)+t1
a-1 2 )-1
m°- 1
Co
o-nd
nd
2
okis ,ha
)-O(02e()
thus the setuon le the uuwttane

DTo)a3T(41)t »lg
a3 4, (n) nlgn
3 O ( 0.93
4
hre e o. 2
3 Con showha
CA
uloouly condli hetds e ( ) .
as sullitie otly lge n, ux ha tka

4 (oneguentty by cae 3,he


solulion fo th scunt is Tn)=0(n
TA maler melAod doa n o a p o
ha tcwonu.

3 Musl tho d ahas tRar Hi


seluson f
T) T2)+O(1) is
Tn)=0 (lg)
2T).
Tn A G ven ucwotne, a 1 andL=2

p Hent, Can 2 emaslir mhod a ophlcase

TO-( (slgn)=

O4 Aon he uhod be opplied


to the
TO) 4T/) +» Iy
03mp ec

uyepet eumd
fage-9

JJe hae the ec sUUaN

TO)- 4T (V)t vlg


ftec a
1, b 2, {o)*ng
ng 2
() (n°)
Nouo fo oPPly Moslor heoem tase 3 ,w e ntola
eatlu Sucl that () _a (n
ut hexe use
n' e ny such connnn
omd hene (A C
ap Maslo
80s otuinb*poniox
T)-41)tn*legn
16 T)t» loqn 4»*og(
-44 |legn + Deg (2 +
)

+no/nnt

tnog (nD/2)
Page-9

TO)-e(» lo

5 e the Mast uth od be cojolied Sa

T)=2T(-/h) talg»

oxnT)- a M») *+6 (*b/)


a=1 >1 ,*>=0, p
numb ,then

Rexe a 2 28 ) »nlg ha yau&


h>-1.
Ao) alt o th Masl a ota mi

D(-D/n q)
nlog)

You might also like