ln 2 = 1 + max{c m,n/2 2 t 1, t + C m 1,n/2 1} + m 107

Size: px
Start display at page:

Download "ln 2 = 1 + max{c m,n/2 2 t 1, t + C m 1,n/2 1} + m 107"

Transcription

1 Errata to The Analyss of Algorthms, Second Prntng Usually just the corrected segment of text s gven. Negatve lne numbers ndcate the number of lnes from the bottom. p, l 3. (Only for n > does n 0.1 become notcably larger than lg n. p 18, ex. 4. t( ln(1 p ln (1+ ln ln(1 p ( ln /( ln(1 p ln + t( ln(1 p. ln 1 p 0, ex.. Show that the number of tmes you go around the loop n the Eucldean Algorthm (Algorthm 1.5 s no more than lg n. p 1, l 1 (m n our example p 7, l. A trangular matrx s one n whch all the elements above p 7, ex.. prevous exercse can be wrtten as p 36, l 1, Step 5 s done the same number of or one less tme than Step 4 each tme Step s done. p 49, l 7. order. The frst element n each fle has subscrpt p 49, l 9. once agan the frst remanng element has subscrpt p 49, Step 3. Steps 3 5 and 6 8 are p 5, eq. ( max{c m,n/ t 1 + m, t + C m 1,n/ + m 1}. p 53, eq. ( C m,n 1 + max{c m,n/ t 1 + m, t + C m 1,n/ + m 1} C m,n 1 + max{c m,n/ t 1 + m, t + C m 1,n/ + m 1} max{c m,n/ t 1, t + C m 1,n/ 1} + m 107 provded n s even, m, and n m +. Now comes a clever porton of the proof, a crucal observaton: by eq. ( max{c m,n/ t 1, t + C m 1,n/ 1} C m,n/, so we have p 53, l 9. left sde of eq. p 55, ex. 3. C m,m+1 p 55, l 0. A predcate P s called -complete f, whenever P (x s true for all x n δ + (y, then P (y s also true. (In partcular, P (y s true when δ + (y s empty. p 55, l 10. A relaton s confluent f x y mples x y. Confluence s mportant because, n a Noetheran confluent relaton, p 61 l 1. For example, the formula 0 n a s not n closed form, because the summaton sgn stands for the addton of n + 1 elements. p 65, l 10. The second sum p 67, No perod at the end of equaton 31. p 7 l 19. n Steps 3 and 6 of Splt. p 74, TABLE.1

2 Poston Input Intermedate Output 0 A A A A A A 1 G B A A A A C C B B B B 3 H A C C C C 4 I F F F F F 5 F G G G G G 6 A I I I H H 7 J J J I I I 8 B H H H J J 9 J J J J J J p 74, l 9. ; ths tme wth l 6, r 8. Splt selects the element n poston 6 (I as the splttng element and produces the results shown n the fourth ntermedate column of Table.1. Qucksort (level calls Qucksort (level 3 wth l 6, r 6 (Qucksort (level 3 returns from Step 1, and then wth l 8, r 8 (Qucksort (level 3 returns from Step 1. Then (level and (level 1 fnsh to gve the results n the output column of Table.1. p 75 ex. 4. What s the worst-case tme for the varaton of Qucksort? p 77, l 18. would look n locaton of x p 79 l 5. the sequence {0, c 0, c 0 + c 1, c 0 + c 1 + c,... } p 81, eqs A n a, 77 where a 0 j< p j. Now defne 1 n q Prob(the step s done or more tmes j p j. 78 Wth ths defnton q 1 a. Thus A 1 n q. 79 p 81 l 18. If the q are easer to compute than the p (as they were n Secton p 85 l 17 [the degree of R( s less than that of D(]. For example, p 88 l 11. The method n ths secton p 98 ex. 3. m ( ( e t t x 1 dt Γ m (x e t t x 1 dt + e t 1 t m t x 1 dt m 0 m p 104, l 11. Suppose, for example, that you need to smplfy ( n+ x, where x < 1. p 110. The smudges on ths page appear to be on the plate. If so, a new plate should be shot. p 16 l 10. ω n/ (ω 1/ + ω 1/ n ω n/ ( cos(π/3 n. Lkewse, 0

3 p 130, ex.. ( ( m m j. + j m p 133, l and eq In general, the Strlng number [ n k] s the sum of all the products of (n k dfferent ntegers taken from 1 to n 1; that s, [ ] n 1 n k. k 1 1< < < n k n 1 p 134, l 3 and eq In general, the Strlng number { n k} s the sum of all the products of n k ntegers taken from 1 to k; that s, { } n 1 k. k 1 1 n k k p 135, l 1. One of these ways, however, has one part empty. p 144, eq. 3. ( ( r s + ( 1 s!(s + 1 ( r n!n!(s n!(s n + 0 p 145, l 5. Many results on hypergeometrc functons can be generalzed to basc hypergeometrc functons, whch are obtaned p 146, eq. 43. N( N + ( 1 N(A j1 A j... A j. p 146, eq. 44. p 147 eq. 45. p 147 eq. 46. p 147, l 6. pgeonhole p 150, l k N(A 1 A... A N φ(n n + 1 k ( 1 1 j 1<j < <j k N(A 1N(A N(A N, 1 j 1<j < <j k n p j1 p j p j, φ(n n (1 (1 1p1 1p (1 1pk. mn {g L (x} y max {g U (x}. x 0 x x 1 x 0 x x 1 p 150, l. where x wll be requred to be n some range x 0 x x 1 and U (alternately L s an upper (lower bound on f (n+1 (x/(n + 1! n the range of x. p 151, eq. 15. e x 1 + x for x 0 and e x 1 1 x 3 for 0 x < 1. 15

4 4 p 151, l 11. for some c n the range 0 c x. Usng Prncple 9 (wth n 0 gves p 151, eq (1 1/ p 153, l. n N, testng 1 + (n 1 N,..., n N 1. (Actually, there s no need to test aganst N because we know the value s less than or equal to N. p 154, l 7. The trees for ( ( d 0 and d d each contan a sngle node. p 154, l 15. For testng values up to N we need a tree wth at least N leaves. p 154, l 1. tree has at least N leaves. p 154, l 10. A bnomal tree wll have at least N leaves p 154, l 6. h tems by dong at most (h!n 1/h + h 1 tests. p 159, l 19 a m+1 > 0, we have p 159, l 8 to 6 U a m+ + a m+3 r + (f(r 0 m+1 a r /r m+, whch s fnte. Ths establshes eq. (45 wth the C for eq. (3 equal to a m+1 / p 163, eq. 71. ( [ ( ] 1 e 1/ O p 164, ex. 7. Show that (n s the varable p 165, l 4. at x 0 f lm n [f(x 0 s n (x 0 ] 0. p 169, l 15. Backtrackng s a method of organzng a search through p 173, l. The probablty that a clause does not contan the lteral p 175 l 18. for another example. p 175, l 10. Let s use r k for the probablty that P ( k 1 (false,..., false true. p 175, 1. only lterals for the frst k varables and all the lterals are postve, where k s p 176, l. that a clause does not have ths form. p 177, l 9. Now eq. (10 s a decreasng functon of [because (1 p p 179, eq p 179, eq t( ln(1 p ln (1+ ln ln(1 p ( ln ln + t( ln(1 p ln /( ln(1 p ( t+ln /( ln(1 p N v+1 ln. (1 ln + t( ln(1 p p 183, l 5. sum s smaller than the ntegral, but t s larger than the ntegral that s obtaned f the curve s shfted rght one unt. p 186, The Bernoull numbers B m, whch occur as coeffcents n the Bernoull polynomals, are defned by the recurrence B 0 1, B n 1 n n 1 ( n + 1 B for n Except for B 1 all the Bernoull numbers of odd ndex are zero. The frst few Bernoull numbers are gven n Table 4.1.

5 Hgher-degree approxmatons can be obtaned by ntegratng eq. (153 by parts. To do ths we wll need to ntegrate B 1 (x. As the ntegraton by parts proceeds, t wll gve rse to a sequence of polynomals called Bernoull polynomals. The Bernoull polynomal B m (x s defned recursvely as mb m 1 (x dx wth the constant of ntegraton equal to B m. An equvalent defnton s p 186, ex. Show that 1 <n p 188, ex. 1. f( 1 <m f( + n m f(x dx 1 n (f(n f(m + B 1 ({x}f (x dx. m 5 EXERCISES 1. Show that 1 <n 1/ 3 n3/ 1 n1/ n 1/ n 5/ and that 1/ 3 n3/ 1 n1/ n 1/. Hnt: Use the generalzed Euler 1 <n summaton formula wth m 3. p 190, l 3. approaches B 1 m ({x} dx/x m+1. p 190, eq B m ({x} 1 x m+1 dx R mn n B m ({x} x m+1 dx 173 p 191, ex. 4 and 5. Every lower lmt of 0 should be changed to 1 on the summatons. p 19, eq A 1 + k ( ( N 1 k (N k + O N N + O k(n k. p 196, ex. 3 p 06 eq j n 1 j(j ( 1 1 j n 3(3(3T n/ 3 + n/ + n/ + n p 09, l 8. wth boundary condton T p 09 eq. 70. T k k k 1 1 j(j 1. p 10 ex. 6. Solve T (n / r nt (n + bn. (Ths exercse fts wthout resettng any addtonal pages. p 16 eq. 10. p 17 l 19. T n a(n + 1 lg(n b 3a + c n + c a b.

6 6 The classcal algorthm for matrx multplcaton (Algorthm 1.9 [modfed to save one addton n the nner loop] p 17 EXERCISES 1. Consder a sequence of k 1 numbers wth the mddle number frst, then the smaller numbers, and then the larger numbers. The small part (and also the large part obey the same rule. For k 3 the bnary sequence 100, 001, 011, 010, 110, 101, 111 s such a sequence. Show that the sequence formed by these rules causes the Splt algorthm to produce an equal dvson each tme.. Show that the sequence of the last exercse results n Splt extng the frst tme t gets to Step Show that f Splt exts the frst tme t gets to Step 7 and f the tme to go around the loop n Step 3 s equal to the tme to go around the loop n Step 6, then the tme for Qucksort obeys the recurrence T n an + b + T n1 + T n when the splttng element s such that Splt dvdes the data nto sets of sze n 1 and n (where n n 1 + n + 1. Remove the prevous exercse 1 and renumber the remanng ones. The changes on p. 17 result n pages beng retypeset. Some thought should be gven to ways to reduce the number of reset pages. p 0, l 9. Snce s less than 3, p 3, l. The materal p 6 l. F n+1 (1/ 5(φ n+1 ˆφ n+1. p 35, eq z n b n z n. 0 n<k 0 n a T n + n k p 36, l 6. By replacng wth k the left sde of eq. (190 can be rewrtten as p 37, l 7 to 8. T p (z (1 λ p z ( 1 ( 1βp+1 c p,q λ βp β p 1 pz q, (0 0 q max{0,q β p+1} q so usng d q (p for the coeffcent of z q n T p (z/(1 λ p z βp, we have ( 1 d q (p ( 1 βp+1 c p,q λ p (03 β p 1 max{0,q β p+1} q ( 1 ( 1 βp+1 λ q p c p,q λ q+ p. (04 β p 1 max{0,q β p+1} q Now replace q by ( q + and drop the prme to obtan ( q 1 d q (p ( 1 βp+1 λ q p c p, λ p β p 1. (05 max{ q, β p+1} 0

7 Fnally replace by to obtan d q (p ( 1 βp+1 λ q p 0 mn{q,β p 1} 7 ( q 1 c p, λ p β p 1. (06 Thus the form of d q (p s an exponental n q (.e., λ q p tmes a polynomal n q of degree β p 1 [.e., the rest of the rght sde of eq. (06]. To obtan the coeffcent of z q n the generatng functon G(z for the homogenous case, t s necessary to sum the contrbutons from each T p (z to obtan d q (p. (07 p 39, eq p j f 1,0 1 + f 1, , p 39, l 5. so the soluton that matches p 40, ex.. Fnd the general soluton of the recurrence F n+ + F n+1 + F n n. Hnt: Frst try to fnd a partcular soluton of the form c 1 n + c 0. p 40, ex. 4. T n 4T n 1 5T n p 47, l 3. the grand medan and the remanng elements. The remanng p 48, l. For eq. (53 p 49, eq. (55. Solvng eq. (56 gves β 1 9 β + α + β β + 4α + 4β ( β. (56 β (57 p 49, l 8. β p 49, l 10 gve p 49, eq. (59. p 56, ex n 7830 J n+1 (z n z J n(z + J n 1 (z 0, p 56, ex. 4. Show that the F (n F 1 (n, (b + a/(c + 1; b; c + 1 s a soluton to the recurrence ncf n+1 + [(1 cn + a]f n + (b nf n 1 0. Fnd the general soluton to the recurrence. ncf n+1 + [(1 cn + a]f n + (b nf n 1 0. Fnd the general soluton to the recurrence. p 59, 46. r +1 (n[b(n B(n 1] r 0 (nb(n r k+1 (nb(n k 1. 0 <k+1 p 61, ex. 4. Show that ths equaton s satsfed by n r

8 8 p 63, eq. 83. ( A ( 1! A 1 + Y 0 1 j< 1. j! For large the sum s close to e 1. p 66. Exercses move to page 68. p 66, eq a 0 (nb j (n 1 k a (nb j (n. p 68. New secton called Annhlaton of the Nonhomogeneous Part. These two changes cause the rest of the chapter (pp to be reset. p 7, l 6. wth the boundary condtons p 1 δ 0 p 73, eq p 73, eq G n (z ( 1n n!z G n (z ( 1n z [ n ( 1 n ( z. n p 73, l 10 The rght sde of eq. (143 s the product p 74, l 17. P 1 and P p 75 eq ] ( z 1 n! [ ] n z 1, q q 1 + q 11 + q 10 (q 13 ( q 1 ( 1 + q 11 ( 1 + q 10 +, p 75 eq p 76 eq. 170 q q 1 + q 11 + q 10 q q q 13 q 13 + q 1 3 q 1 + q 1 + q 11 q 11 + q q 13 q 1 + q 11 q 10 p 78, l 10. The boundary condton s C 0 0. p 78, eq. 7. C n n C for n 1, 7 n p 79, eq <n nc n (n 1C n 1 n (n 1 + n (n 1 + C C 9 0 <n 0 <n 1 n + C n 1 for n, 10

9 p 79, eq a frst order lnear equaton. The soluton for the boundary condton C 1 s C n j j j j p 79, eq. 14. <j n 1 n n <j n n (n + 1(H n C n (n + 1(H n+1 1 n ln n + O(n. 14 p 87, l 8-9. To smplfy ths equaton, we can use the fact that C(x obeys eq. (159. We can rewrte eq. (159 as p 87, l 8. We can apply eq. (37 to the last term of p 87, l 3 and apply eq. (37. Thus we have p 87, eq. 54. C C n C n+1 C n. p 88, eq. 55. K n 0 n 1 0 n 1 p, ex. 3. t n n n 1 t p 95, eq p 98, eq C n 1 K + C n+1 C n + δ n0. aze z + e pz [ a(1 pze (1 pz + e p(1 pz( a(1 p ze (1 p z. az 0 <v (1 p e (1 p z 0 j< e p(1 pj z + v G 0 ((1 p v z 0 l 3 + l 4 0 j<v e p(1 pj z 9 p 98, eq C n l 1 + (l 1 n + H n + nh n. 113 p 98, l 5. we consdered the recurrence p 304, 11. If we say that the heght of a tree s the number of nodes on the longest path to the root, then the number of such trees wth heght no more than n s gven by p 304, 6. The frst term n the recurrence allows for the empty tree. p 308, ex. 4. φ n (1 p(φ 1 φ n + φ φ n φ n φ 1 for n,

10 10 p 314, ex. 1. f n (x mn 0 y x {y ln y + f n 1(x y} p 315, 9 label any of the leaves n ts left subtree. p 3, eq. 04. t n n 1 + (t + t n, 04 1 n 1 p 331, Step 4. If > F t+1 and Y true, then set M Ft+1 true. p 339, eq c 11 + c 1 + c 13, p 339, eq. 73 p 339, eq. 77 p 340, eq. 85 p 340, eq. 91 x 3 (l c 11 λ λ 3 + λ λ 3 (λ 1 λ (λ 1 λ 3. c 11 λ 1 (3λ 1 + 1(λ 1 1. (λ + 1λ 3λ + 1 λn + O(0.738 n. λ l+1 (3λ + 1(λ 1 + O(0.738l 0.336λ l. p 341, l 16. where I s the dentty matrx and A s the matrx p 34, eqs T Polyphase Merge Lλ (3λ + 1(λ 1 + O(0.401l 1 j n nlλ (3λ + 1(λ 1 + O(1 λ L lg N + O( L lg N. (3λ + 1(λ 1 lg λ p 34, l 14. Merge about 80 percent faster than Smple Merge p 343. Check wth Q. Stout to see f there are any more errors on ths page. p 344, eq p 345, eq d P k (t dt µp k 1 (t (kλ + µp k (t + (k + 1λP k+1 (t, A(t, v at + ( t p (1 p t A(t, v 1. p 346, l 1. (usng the boundary condtons of the orgnal problem, whch reduces to p 346,. The general soluton of eq. (16 s the functon

11 p 348, eq ( sn q x (n, x ps qr ( sn q y (n, y ps qr p 351, eq z (n, z rn + p, ps qr, rn + p ps qr ( sn q rn + p, ps qr ps qr ( n+ a n x(c + a[n ], d + b[n ], y(c + a[n ], d + b[n ], z(c + a[n ], d + b[n ]. ( n+ 1 + p 355, 1. When n 1, H n s zero except for 0, and H 10 1, so F obeys p 356, ex. 8 n T n (n T n 1, 1 + T n 1, for n 3. p 356, ex. 8 The number of k-dmensonal cubes (k-cubes n an n-cube obeys the recurrence p 360, l 5. The materal n ths secton s adapted from Cohen [81], [Carefully check that the above correcton s made correctly!] p 370. Parent Class Parent Class Parent Class Parent Class 3 4, ,1 1,3 9 30, , ,16 3 4,5 3 33,34 6, ,18 6 7, ,40 8 9, ,1 8 9, , ,13 TABLE 9.1. The nontrval equvalence classes for the flow graph n Fgure 9.5. Two nodes are equvalent f there exsts a node wth arcs to both of them. The equvalence classes wth just one node are not gven. p 377, l 17. Input: A text strng T whch s an array p 378, l. next j equals the largest such that p 380, l 6. calls to Unon and Fnd. p 380, eq. 3. nt 0 + t 1 f(a, S p 387, l 3. Ths s a much better p 388, Step 4. If y t, then set z y, y parent(y, parent(z t, and repeat ths step. p 389, Fg A dot s needed n the mddle of the three long paths. That s n the rght path of the thrd fgure, the second from the left path of the fourth fgure and the lower part of the rghtmost path of the fourth fgure. p 393, TABLE 9.9. Ax 1 p 393, l. to evaluatng the polynomal 0 k<n x ky k at the ponts y j ω j for 0 j < n. 11

12 1 p 394, l 4 and many other p 395, l 1. so eq. (37 p 397, l one for each of the two subpart, p 398. Level Calculaton y 0 y 0 + y 1 x j + x j+4 y 1 y 0 y 1 x j x j+4 1 y 0 y 0 + y x j + x j+4 + x j+ + x j+6 y y 0 y x j + x j+4 x j+ x j+6 y 1 y 1 + ω y 3 x j x j+4 + ω x j+ ω x j+6 y 3 y 1 ω y 3 x j x j+4 ω x j+ + ω x j+6 0 y 0 y 0 + y 4 x 0 + x 4 + x + x 6 y 4 y 0 y 4 x 0 + x 4 + x + x 6 +x 1 + x 5 + x 3 + x 7 x 1 x 5 x 3 x 7 y 1 y 1 + ωy 5 x 0 x 4 + ω x ω x 6 +ωx 1 ωx 5 + ω 3 x 3 ω 3 x 7 y 5 y 1 ωy 5 x 0 x 4 + ω x ω x 6 ωx 1 + ωx 5 ω 3 x 3 + ω 3 x 7 y y + ω y 6 x 0 + x 4 x x 6 +ω x 1 + ω x 5 ω x 3 ω x 7 y 6 y ω y 6 x 0 + x 4 x x 6 ω x 1 ω x 5 + ω x 3 + ω x 7 y 3 y 3 + ω3 y 7 x 0 x 4 ω x + ω x 6 +ω 3 x 1 ω 3 x 5 ω 5 x 3 + ω 5 x 7 y 7 y 3 ω3 y 7 x 0 x 4 ω x + ω x 6 ω 3 x 1 + ω 3 x 5 + ω 5 x 3 ω 5 x 7 p 399, l. dfferent ways and then does not make any addtonal use of the orgnal p 399, l 1. the varable q used n Step has a leadng zero, followed by the j hgher-order bts of the n reversed order, followed by k j 1 tralng zeros. p 399, Step. For 0 < n do the rest of ths step. If k j 1 0, then set q 0 k j k j+1... k , odd ω q x + k j 1, p 401, l 8. We need (see exercse p 405, l 13. (for specal values of such numbers are called Mersenne prmes n the frst case and Fermat prmes n the second case. p 40, l 4. Arrays T 1, T, T 3, T 4, and T 5. p 454 eq. 3 F (x 1 x (y µ exp ( π σ dy.

13 p 454 eq. 33 p 463 eq. 70. Prob(X 70 x f(x 1 (x µ exp ( π σ. ( ( p 463 eq. 73. Prob( X ( 400 p 463 l 1. reduce the lmt to p 464 eq. 83. ( n p (1 p n exp[ ax + n ln(1 p + pe a ] p 478, l 17. rather than a j. p 479 eq p 479 eq p 488, eq. 7 p 494, eq. 5 Γ dz z z [y a bx ] 0, [y a bx ]x y a 1 3 y x a ( ( f(x x m n 1 1 x 1 /x 1 b 1 3 x b 1 3 x 0, x 0, 13 1 e πθ d(e πθ π dθ π. ( x /x ( 1 1 x n /x x m n + (x 1 + x + + x n x m n 1 +, (5 p 496, ref. 16 Mlton Abramowtz and Irene A. Stegun (eds. p 501, ref Ene neue Art von Zahlen, hre Egenschaften und Anwendung n der mathematschen Statstk p 505, eq..79 A q. p 531, Delete Euler, number 353. p 531, Euleran number n (3

Bernoulli Numbers and Polynomials

Bernoulli Numbers and Polynomials Bernoull Numbers and Polynomals T. Muthukumar tmk@tk.ac.n 17 Jun 2014 The sum of frst n natural numbers 1, 2, 3,..., n s n n(n + 1 S 1 (n := m = = n2 2 2 + n 2. Ths formula can be derved by notng that

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

Section 8.3 Polar Form of Complex Numbers

Section 8.3 Polar Form of Complex Numbers 80 Chapter 8 Secton 8 Polar Form of Complex Numbers From prevous classes, you may have encountered magnary numbers the square roots of negatve numbers and, more generally, complex numbers whch are the

More information

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence) /24/27 Prevew Fbonacc Sequence Longest Common Subsequence Dynamc programmng s a method for solvng complex problems by breakng them down nto smpler sub-problems. It s applcable to problems exhbtng the propertes

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chnese for ther wonderful remander theorem. Glenn Stevens 1. Introducton The Chnese remander theorem says we can unquely solve any par of

More information

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 493 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces you have studed thus far n the text are real vector spaces because the scalars

More information

1 Matrix representations of canonical matrices

1 Matrix representations of canonical matrices 1 Matrx representatons of canoncal matrces 2-d rotaton around the orgn: ( ) cos θ sn θ R 0 = sn θ cos θ 3-d rotaton around the x-axs: R x = 1 0 0 0 cos θ sn θ 0 sn θ cos θ 3-d rotaton around the y-axs:

More information

THE SUMMATION NOTATION Ʃ

THE SUMMATION NOTATION Ʃ Sngle Subscrpt otaton THE SUMMATIO OTATIO Ʃ Most of the calculatons we perform n statstcs are repettve operatons on lsts of numbers. For example, we compute the sum of a set of numbers, or the sum of the

More information

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0 Bézer curves Mchael S. Floater September 1, 215 These notes provde an ntroducton to Bézer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41, The greatest common dvsor of two ntegers a and b (not both zero) s the largest nteger whch s a common factor of both a and b. We denote ths number by gcd(a, b), or smply (a, b) when there s no confuson

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

More information

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0 Bezer curves Mchael S. Floater August 25, 211 These notes provde an ntroducton to Bezer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of the

More information

REAL ANALYSIS I HOMEWORK 1

REAL ANALYSIS I HOMEWORK 1 REAL ANALYSIS I HOMEWORK CİHAN BAHRAN The questons are from Tao s text. Exercse 0.0.. If (x α ) α A s a collecton of numbers x α [0, + ] such that x α

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Formulas for the Determinant

Formulas for the Determinant page 224 224 CHAPTER 3 Determnants e t te t e 2t 38 A = e t 2te t e 2t e t te t 2e 2t 39 If 123 A = 345, 456 compute the matrx product A adj(a) What can you conclude about det(a)? For Problems 40 43, use

More information

Math 426: Probability MWF 1pm, Gasson 310 Homework 4 Selected Solutions

Math 426: Probability MWF 1pm, Gasson 310 Homework 4 Selected Solutions Exercses from Ross, 3, : Math 26: Probablty MWF pm, Gasson 30 Homework Selected Solutons 3, p. 05 Problems 76, 86 3, p. 06 Theoretcal exercses 3, 6, p. 63 Problems 5, 0, 20, p. 69 Theoretcal exercses 2,

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

Using T.O.M to Estimate Parameter of distributions that have not Single Exponential Family

Using T.O.M to Estimate Parameter of distributions that have not Single Exponential Family IOSR Journal of Mathematcs IOSR-JM) ISSN: 2278-5728. Volume 3, Issue 3 Sep-Oct. 202), PP 44-48 www.osrjournals.org Usng T.O.M to Estmate Parameter of dstrbutons that have not Sngle Exponental Famly Jubran

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

Min Cut, Fast Cut, Polynomial Identities

Min Cut, Fast Cut, Polynomial Identities Randomzed Algorthms, Summer 016 Mn Cut, Fast Cut, Polynomal Identtes Instructor: Thomas Kesselhem and Kurt Mehlhorn 1 Mn Cuts n Graphs Lecture (5 pages) Throughout ths secton, G = (V, E) s a mult-graph.

More information

NP-Completeness : Proofs

NP-Completeness : Proofs NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem

More information

This model contains two bonds per unit cell (one along the x-direction and the other along y). So we can rewrite the Hamiltonian as:

This model contains two bonds per unit cell (one along the x-direction and the other along y). So we can rewrite the Hamiltonian as: 1 Problem set #1 1.1. A one-band model on a square lattce Fg. 1 Consder a square lattce wth only nearest-neghbor hoppngs (as shown n the fgure above): H t, j a a j (1.1) where,j stands for nearest neghbors

More information

18.781: Solution to Practice Questions for Final Exam

18.781: Solution to Practice Questions for Final Exam 18.781: Soluton to Practce Questons for Fnal Exam 1. Fnd three solutons n postve ntegers of x 6y = 1 by frst calculatng the contnued fracton expanson of 6. Soluton: We have 1 6=[, ] 6 6+ =[, ] 1 =[,, ]=[,,

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

Canonical transformations

Canonical transformations Canoncal transformatons November 23, 2014 Recall that we have defned a symplectc transformaton to be any lnear transformaton M A B leavng the symplectc form nvarant, Ω AB M A CM B DΩ CD Coordnate transformatons,

More information

11 Tail Inequalities Markov s Inequality. Lecture 11: Tail Inequalities [Fa 13]

11 Tail Inequalities Markov s Inequality. Lecture 11: Tail Inequalities [Fa 13] Algorthms Lecture 11: Tal Inequaltes [Fa 13] If you hold a cat by the tal you learn thngs you cannot learn any other way. Mark Twan 11 Tal Inequaltes The smple recursve structure of skp lsts made t relatvely

More information

8.6 The Complex Number System

8.6 The Complex Number System 8.6 The Complex Number System Earler n the chapter, we mentoned that we cannot have a negatve under a square root, snce the square of any postve or negatve number s always postve. In ths secton we want

More information

Chapter 4: Root Finding

Chapter 4: Root Finding Chapter 4: Root Fndng Startng values Closed nterval methods (roots are search wthn an nterval o Bsecton Open methods (no nterval o Fxed Pont o Newton-Raphson o Secant Method Repeated roots Zeros of Hgher-Dmensonal

More information

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Solutions to exam in SF1811 Optimization, Jan 14, 2015 Solutons to exam n SF8 Optmzaton, Jan 4, 25 3 3 O------O -4 \ / \ / The network: \/ where all lnks go from left to rght. /\ / \ / \ 6 O------O -5 2 4.(a) Let x = ( x 3, x 4, x 23, x 24 ) T, where the varable

More information

Exercises. 18 Algorithms

Exercises. 18 Algorithms 18 Algorthms Exercses 0.1. In each of the followng stuatons, ndcate whether f = O(g), or f = Ω(g), or both (n whch case f = Θ(g)). f(n) g(n) (a) n 100 n 200 (b) n 1/2 n 2/3 (c) 100n + log n n + (log n)

More information

Lecture 5 Decoding Binary BCH Codes

Lecture 5 Decoding Binary BCH Codes Lecture 5 Decodng Bnary BCH Codes In ths class, we wll ntroduce dfferent methods for decodng BCH codes 51 Decodng the [15, 7, 5] 2 -BCH Code Consder the [15, 7, 5] 2 -code C we ntroduced n the last lecture

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

Formal solvers of the RT equation

Formal solvers of the RT equation Formal solvers of the RT equaton Formal RT solvers Runge- Kutta (reference solver) Pskunov N.: 979, Master Thess Long characterstcs (Feautrer scheme) Cannon C.J.: 970, ApJ 6, 55 Short characterstcs (Hermtan

More information

Causal Diamonds. M. Aghili, L. Bombelli, B. Pilgrim

Causal Diamonds. M. Aghili, L. Bombelli, B. Pilgrim Causal Damonds M. Aghl, L. Bombell, B. Plgrm Introducton The correcton to volume of a causal nterval due to curvature of spacetme has been done by Myrhem [] and recently by Gbbons & Solodukhn [] and later

More information

FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP

FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP C O L L O Q U I U M M A T H E M A T I C U M VOL. 80 1999 NO. 1 FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP BY FLORIAN K A I N R A T H (GRAZ) Abstract. Let H be a Krull monod wth nfnte class

More information

Poisson brackets and canonical transformations

Poisson brackets and canonical transformations rof O B Wrght Mechancs Notes osson brackets and canoncal transformatons osson Brackets Consder an arbtrary functon f f ( qp t) df f f f q p q p t But q p p where ( qp ) pq q df f f f p q q p t In order

More information

HMMT February 2016 February 20, 2016

HMMT February 2016 February 20, 2016 HMMT February 016 February 0, 016 Combnatorcs 1. For postve ntegers n, let S n be the set of ntegers x such that n dstnct lnes, no three concurrent, can dvde a plane nto x regons (for example, S = {3,

More information

Problem Solving in Math (Math 43900) Fall 2013

Problem Solving in Math (Math 43900) Fall 2013 Problem Solvng n Math (Math 43900) Fall 2013 Week four (September 17) solutons Instructor: Davd Galvn 1. Let a and b be two nteger for whch a b s dvsble by 3. Prove that a 3 b 3 s dvsble by 9. Soluton:

More information

Implicit Integration Henyey Method

Implicit Integration Henyey Method Implct Integraton Henyey Method In realstc stellar evoluton codes nstead of a drect ntegraton usng for example the Runge-Kutta method one employs an teratve mplct technque. Ths s because the structure

More information

Edge Isoperimetric Inequalities

Edge Isoperimetric Inequalities November 7, 2005 Ross M. Rchardson Edge Isopermetrc Inequaltes 1 Four Questons Recall that n the last lecture we looked at the problem of sopermetrc nequaltes n the hypercube, Q n. Our noton of boundary

More information

Learning Theory: Lecture Notes

Learning Theory: Lecture Notes Learnng Theory: Lecture Notes Lecturer: Kamalka Chaudhur Scrbe: Qush Wang October 27, 2012 1 The Agnostc PAC Model Recall that one of the constrants of the PAC model s that the data dstrbuton has to be

More information

Math1110 (Spring 2009) Prelim 3 - Solutions

Math1110 (Spring 2009) Prelim 3 - Solutions Math 1110 (Sprng 2009) Solutons to Prelm 3 (04/21/2009) 1 Queston 1. (16 ponts) Short answer. Math1110 (Sprng 2009) Prelm 3 - Solutons x a 1 (a) (4 ponts) Please evaluate lm, where a and b are postve numbers.

More information

Georgia Tech PHYS 6124 Mathematical Methods of Physics I

Georgia Tech PHYS 6124 Mathematical Methods of Physics I Georga Tech PHYS 624 Mathematcal Methods of Physcs I Instructor: Predrag Cvtanovć Fall semester 202 Homework Set #7 due October 30 202 == show all your work for maxmum credt == put labels ttle legends

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty Addtonal Codes usng Fnte Dfference Method Benamn Moll 1 HJB Equaton for Consumpton-Savng Problem Wthout Uncertanty Before consderng the case wth stochastc ncome n http://www.prnceton.edu/~moll/ HACTproect/HACT_Numercal_Appendx.pdf,

More information

Inductance Calculation for Conductors of Arbitrary Shape

Inductance Calculation for Conductors of Arbitrary Shape CRYO/02/028 Aprl 5, 2002 Inductance Calculaton for Conductors of Arbtrary Shape L. Bottura Dstrbuton: Internal Summary In ths note we descrbe a method for the numercal calculaton of nductances among conductors

More information

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1 P. Guterrez Physcs 5153 Classcal Mechancs D Alembert s Prncple and The Lagrangan 1 Introducton The prncple of vrtual work provdes a method of solvng problems of statc equlbrum wthout havng to consder the

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

Chapter 12. Ordinary Differential Equation Boundary Value (BV) Problems

Chapter 12. Ordinary Differential Equation Boundary Value (BV) Problems Chapter. Ordnar Dfferental Equaton Boundar Value (BV) Problems In ths chapter we wll learn how to solve ODE boundar value problem. BV ODE s usuall gven wth x beng the ndependent space varable. p( x) q(

More information

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1 C/CS/Phy9 Problem Set 3 Solutons Out: Oct, 8 Suppose you have two qubts n some arbtrary entangled state ψ You apply the teleportaton protocol to each of the qubts separately What s the resultng state obtaned

More information

MA 323 Geometric Modelling Course Notes: Day 13 Bezier Curves & Bernstein Polynomials

MA 323 Geometric Modelling Course Notes: Day 13 Bezier Curves & Bernstein Polynomials MA 323 Geometrc Modellng Course Notes: Day 13 Bezer Curves & Bernsten Polynomals Davd L. Fnn Over the past few days, we have looked at de Casteljau s algorthm for generatng a polynomal curve, and we have

More information

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng

More information

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

COMPLEX NUMBERS AND QUADRATIC EQUATIONS COMPLEX NUMBERS AND QUADRATIC EQUATIONS INTRODUCTION We know that x 0 for all x R e the square of a real number (whether postve, negatve or ero) s non-negatve Hence the equatons x, x, x + 7 0 etc are not

More information

arxiv: v1 [math.co] 12 Sep 2014

arxiv: v1 [math.co] 12 Sep 2014 arxv:1409.3707v1 [math.co] 12 Sep 2014 On the bnomal sums of Horadam sequence Nazmye Ylmaz and Necat Taskara Department of Mathematcs, Scence Faculty, Selcuk Unversty, 42075, Campus, Konya, Turkey March

More information

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011 Stanford Unversty CS359G: Graph Parttonng and Expanders Handout 4 Luca Trevsan January 3, 0 Lecture 4 In whch we prove the dffcult drecton of Cheeger s nequalty. As n the past lectures, consder an undrected

More information

1 (1 + ( )) = 1 8 ( ) = (c) Carrying out the Taylor expansion, in this case, the series truncates at second order:

1 (1 + ( )) = 1 8 ( ) = (c) Carrying out the Taylor expansion, in this case, the series truncates at second order: 68A Solutons to Exercses March 05 (a) Usng a Taylor expanson, and notng that n 0 for all n >, ( + ) ( + ( ) + ) We can t nvert / because there s no Taylor expanson around 0 Lets try to calculate the nverse

More information

Prof. Dr. I. Nasser Phys 630, T Aug-15 One_dimensional_Ising_Model

Prof. Dr. I. Nasser Phys 630, T Aug-15 One_dimensional_Ising_Model EXACT OE-DIMESIOAL ISIG MODEL The one-dmensonal Isng model conssts of a chan of spns, each spn nteractng only wth ts two nearest neghbors. The smple Isng problem n one dmenson can be solved drectly n several

More information

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look

More information

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016 U.C. Berkeley CS94: Spectral Methods and Expanders Handout 8 Luca Trevsan February 7, 06 Lecture 8: Spectral Algorthms Wrap-up In whch we talk about even more generalzatons of Cheeger s nequaltes, and

More information

MMA and GCMMA two methods for nonlinear optimization

MMA and GCMMA two methods for nonlinear optimization MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons

More information

PHYS 705: Classical Mechanics. Calculus of Variations II

PHYS 705: Classical Mechanics. Calculus of Variations II 1 PHYS 705: Classcal Mechancs Calculus of Varatons II 2 Calculus of Varatons: Generalzaton (no constrant yet) Suppose now that F depends on several dependent varables : We need to fnd such that has a statonary

More information

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule: 15-745 Lecture 6 Data Dependence n Loops Copyrght Seth Goldsten, 2008 Based on sldes from Allen&Kennedy Lecture 6 15-745 2005-8 1 Common loop optmzatons Hostng of loop-nvarant computatons pre-compute before

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

More information

Digital Signal Processing

Digital Signal Processing Dgtal Sgnal Processng Dscrete-tme System Analyss Manar Mohasen Offce: F8 Emal: manar.subh@ut.ac.r School of IT Engneerng Revew of Precedent Class Contnuous Sgnal The value of the sgnal s avalable over

More information

E Tail Inequalities. E.1 Markov s Inequality. Non-Lecture E: Tail Inequalities

E Tail Inequalities. E.1 Markov s Inequality. Non-Lecture E: Tail Inequalities Algorthms Non-Lecture E: Tal Inequaltes If you hold a cat by the tal you learn thngs you cannot learn any other way. Mar Twan E Tal Inequaltes The smple recursve structure of sp lsts made t relatvely easy

More information

2 Finite difference basics

2 Finite difference basics Numersche Methoden 1, WS 11/12 B.J.P. Kaus 2 Fnte dfference bascs Consder the one- The bascs of the fnte dfference method are best understood wth an example. dmensonal transent heat conducton equaton T

More information

On the set of natural numbers

On the set of natural numbers On the set of natural numbers by Jalton C. Ferrera Copyrght 2001 Jalton da Costa Ferrera Introducton The natural numbers have been understood as fnte numbers, ths wor tres to show that the natural numbers

More information

Modelli Clamfim Equazioni differenziali 7 ottobre 2013

Modelli Clamfim Equazioni differenziali 7 ottobre 2013 CLAMFIM Bologna Modell 1 @ Clamfm Equazon dfferenzal 7 ottobre 2013 professor Danele Rtell danele.rtell@unbo.t 1/18? Ordnary Dfferental Equatons A dfferental equaton s an equaton that defnes a relatonshp

More information

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

Physics 5153 Classical Mechanics. Principle of Virtual Work-1 P. Guterrez 1 Introducton Physcs 5153 Classcal Mechancs Prncple of Vrtual Work The frst varatonal prncple we encounter n mechancs s the prncple of vrtual work. It establshes the equlbrum condton of a mechancal

More information

REDUCTION MODULO p. We will prove the reduction modulo p theorem in the general form as given by exercise 4.12, p. 143, of [1].

REDUCTION MODULO p. We will prove the reduction modulo p theorem in the general form as given by exercise 4.12, p. 143, of [1]. REDUCTION MODULO p. IAN KIMING We wll prove the reducton modulo p theorem n the general form as gven by exercse 4.12, p. 143, of [1]. We consder an ellptc curve E defned over Q and gven by a Weerstraß

More information

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry Workshop: Approxmatng energes and wave functons Quantum aspects of physcal chemstry http://quantum.bu.edu/pltl/6/6.pdf Last updated Thursday, November 7, 25 7:9:5-5: Copyrght 25 Dan Dll (dan@bu.edu) Department

More information

SELECTED PROOFS. DeMorgan s formulas: The first one is clear from Venn diagram, or the following truth table:

SELECTED PROOFS. DeMorgan s formulas: The first one is clear from Venn diagram, or the following truth table: SELECTED PROOFS DeMorgan s formulas: The frst one s clear from Venn dagram, or the followng truth table: A B A B A B Ā B Ā B T T T F F F F T F T F F T F F T T F T F F F F F T T T T The second one can be

More information

Relaxation Methods for Iterative Solution to Linear Systems of Equations

Relaxation Methods for Iterative Solution to Linear Systems of Equations Relaxaton Methods for Iteratve Soluton to Lnear Systems of Equatons Gerald Recktenwald Portland State Unversty Mechancal Engneerng Department gerry@pdx.edu Overvew Techncal topcs Basc Concepts Statonary

More information

The internal structure of natural numbers and one method for the definition of large prime numbers

The internal structure of natural numbers and one method for the definition of large prime numbers The nternal structure of natural numbers and one method for the defnton of large prme numbers Emmanul Manousos APM Insttute for the Advancement of Physcs and Mathematcs 3 Poulou str. 53 Athens Greece Abstract

More information

A new Approach for Solving Linear Ordinary Differential Equations

A new Approach for Solving Linear Ordinary Differential Equations , ISSN 974-57X (Onlne), ISSN 974-5718 (Prnt), Vol. ; Issue No. 1; Year 14, Copyrght 13-14 by CESER PUBLICATIONS A new Approach for Solvng Lnear Ordnary Dfferental Equatons Fawz Abdelwahd Department of

More information

First day August 1, Problems and Solutions

First day August 1, Problems and Solutions FOURTH INTERNATIONAL COMPETITION FOR UNIVERSITY STUDENTS IN MATHEMATICS July 30 August 4, 997, Plovdv, BULGARIA Frst day August, 997 Problems and Solutons Problem. Let {ε n } n= be a sequence of postve

More information

Mechanics Physics 151

Mechanics Physics 151 Mechancs Physcs 5 Lecture 0 Canoncal Transformatons (Chapter 9) What We Dd Last Tme Hamlton s Prncple n the Hamltonan formalsm Dervaton was smple δi δ p H(, p, t) = 0 Adonal end-pont constrants δ t ( )

More information

Lecture 3: Probability Distributions

Lecture 3: Probability Distributions Lecture 3: Probablty Dstrbutons Random Varables Let us begn by defnng a sample space as a set of outcomes from an experment. We denote ths by S. A random varable s a functon whch maps outcomes nto the

More information

APPROXIMATE PRICES OF BASKET AND ASIAN OPTIONS DUPONT OLIVIER. Premia 14

APPROXIMATE PRICES OF BASKET AND ASIAN OPTIONS DUPONT OLIVIER. Premia 14 APPROXIMAE PRICES OF BASKE AND ASIAN OPIONS DUPON OLIVIER Prema 14 Contents Introducton 1 1. Framewor 1 1.1. Baset optons 1.. Asan optons. Computng the prce 3. Lower bound 3.1. Closed formula for the prce

More information

Homework Assignment 3 Due in class, Thursday October 15

Homework Assignment 3 Due in class, Thursday October 15 Homework Assgnment 3 Due n class, Thursday October 15 SDS 383C Statstcal Modelng I 1 Rdge regresson and Lasso 1. Get the Prostrate cancer data from http://statweb.stanford.edu/~tbs/elemstatlearn/ datasets/prostate.data.

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS

MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS These are nformal notes whch cover some of the materal whch s not n the course book. The man purpose s to gve a number of nontrval examples

More information

MEM 255 Introduction to Control Systems Review: Basics of Linear Algebra

MEM 255 Introduction to Control Systems Review: Basics of Linear Algebra MEM 255 Introducton to Control Systems Revew: Bascs of Lnear Algebra Harry G. Kwatny Department of Mechancal Engneerng & Mechancs Drexel Unversty Outlne Vectors Matrces MATLAB Advanced Topcs Vectors A

More information

9 Characteristic classes

9 Characteristic classes THEODORE VORONOV DIFFERENTIAL GEOMETRY. Sprng 2009 [under constructon] 9 Characterstc classes 9.1 The frst Chern class of a lne bundle Consder a complex vector bundle E B of rank p. We shall construct

More information

Physics 4B. A positive value is obtained, so the current is counterclockwise around the circuit.

Physics 4B. A positive value is obtained, so the current is counterclockwise around the circuit. Physcs 4B Solutons to Chapter 7 HW Chapter 7: Questons:, 8, 0 Problems:,,, 45, 48,,, 7, 9 Queston 7- (a) no (b) yes (c) all te Queston 7-8 0 μc Queston 7-0, c;, a;, d; 4, b Problem 7- (a) Let be the current

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information

Modelli Clamfim Equazione del Calore Lezione ottobre 2014

Modelli Clamfim Equazione del Calore Lezione ottobre 2014 CLAMFIM Bologna Modell 1 @ Clamfm Equazone del Calore Lezone 17 15 ottobre 2014 professor Danele Rtell danele.rtell@unbo.t 1/24? Convoluton The convoluton of two functons g(t) and f(t) s the functon (g

More information

Solutions Homework 4 March 5, 2018

Solutions Homework 4 March 5, 2018 1 Solutons Homework 4 March 5, 018 Soluton to Exercse 5.1.8: Let a IR be a translaton and c > 0 be a re-scalng. ˆb1 (cx + a) cx n + a (cx 1 + a) c x n x 1 cˆb 1 (x), whch shows ˆb 1 s locaton nvarant and

More information

Module 3: Element Properties Lecture 1: Natural Coordinates

Module 3: Element Properties Lecture 1: Natural Coordinates Module 3: Element Propertes Lecture : Natural Coordnates Natural coordnate system s bascally a local coordnate system whch allows the specfcaton of a pont wthn the element by a set of dmensonless numbers

More information

International Mathematical Olympiad. Preliminary Selection Contest 2012 Hong Kong. Outline of Solutions

International Mathematical Olympiad. Preliminary Selection Contest 2012 Hong Kong. Outline of Solutions Internatonal Mathematcal Olympad Prelmnary Selecton ontest Hong Kong Outlne of Solutons nswers: 7 4 7 4 6 5 9 6 99 7 6 6 9 5544 49 5 7 4 6765 5 6 6 7 6 944 9 Solutons: Snce n s a two-dgt number, we have

More information

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

MAE140 - Linear Circuits - Winter 16 Midterm, February 5

MAE140 - Linear Circuits - Winter 16 Midterm, February 5 Instructons ME140 - Lnear Crcuts - Wnter 16 Mdterm, February 5 () Ths exam s open book. You may use whatever wrtten materals you choose, ncludng your class notes and textbook. You may use a hand calculator

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the

More information

Norms, Condition Numbers, Eigenvalues and Eigenvectors

Norms, Condition Numbers, Eigenvalues and Eigenvectors Norms, Condton Numbers, Egenvalues and Egenvectors 1 Norms A norm s a measure of the sze of a matrx or a vector For vectors the common norms are: N a 2 = ( x 2 1/2 the Eucldean Norm (1a b 1 = =1 N x (1b

More information