Let A(x) and B(x) be two polynomials of degree n 1:

Size: px
Start display at page:

Download "Let A(x) and B(x) be two polynomials of degree n 1:"

Transcription

1 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 2/42 Operatios o polyomials MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 4/42 Efficiet Patter Matchig (MI-EVY) 4. DFT, FFT ad Patter Matchig We are particularly iterested i two operatios: Polyomial additio Polyomial multiplicatio Ja Holub Departmet of Theoretical Computer Sciece Faculty of Iformatio Techology Czech Techical Uiversity i Prague c Ja Holub, 2011 Evropský sociálí fod. Praha & EU: Ivestujeme do vaší budoucosti MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 1/42 Polyomials MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 3/42 Polyomial additio Defiitio A polyomial of degree 1 i the variable x over a algebraic field F represets a fuctio A(x) as a formal sum: A(x) = 1 a i x i where a i, 0 i < are the coefficiets of the polyomial. A(x) = 7x 3 + 4x 2 + x + 3 Let A(x) ad B(x) be two polyomials of degree 1: The sum of polyomials A(x) ad B(x) is also a polyomial C(x) of degree 1: C(x) = (a i + b i )x i 2 1 Let A(x) = 3x 3 + 2x 2 + x + 1 ad B(x) = 2x 3 + 3x 2 + 4x + 3. The sum A(x) + B(x) is C(x) = 5x 3 + 5x 2 + 5x + 4.

2 Polyomial multiplicatio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 6/42 Coefficiet represetatio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 8/42 Let A(x) ad B(x) be two polyomials of degree 1: The product of polyomials A(x) ad B(x) is a polyomial C(x) of degree 2 2. C(x) = c i x i where c i = i a j b i j Let A(x) = 3x 3 + 2x 2 + x + 1 ad B(x) = 2x 3 + 3x 2 + 4x + 3. The product A(x)B(x) is C(x) = 6x x x x x 2 + 7x + 3. j=0 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 5/42 Represetatios of polyomials Let A(x) be a polyomial of degree 1 havig the form: Its coefficiet represetatio is the vector of coefficiets α = (a 0, a 1,..., a 1 ) Let A(x) = 3x 3 + 2x 2 + x + 1. Its coefficiet represetatio is the vector α = (1, 1, 2, 3). MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 7/42 Coefficiet represetatio - Evaluatio Coefficiet represetatio Poit-value represetatio Give the coefficiet represetatio α = (a 0, a 1,..., a 1 ) of a polyomial of degree 1, evaluatio ca be doe i Θ() time usig Horer s rule: A(x 0 ) = a 0 + x 0 (a 1 + x 0 (a x 0 (a 2 + x 0 (a 1 )) ))

3 Coefficiet represetatio - Additio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 10/42 Coefficiet represetatio - Summary MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 12/42 Give the coefficiet represetatios of polyomials α = (a 0, a 1,..., a 1 ) β = (b 0, b 1,..., b 1 ) Evaluatio i Θ() Additio i Θ() Multiplicatio i Θ( 2 ) of degree 1, additio ca be doe i Θ() time by producig the coefficiet vector γ = (c 0, c 1,..., c 1 ) where c i = a i + b i for i = 0, 1,..., 1. MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 9/42 Coefficiet represetatio - Multiplicatio Give the coefficiet represetatios α = (a 0, a 1,..., a 1 ), β = (b 0, b 1,..., b 1 ) of polyomials of degree 1, multiplicatio ca be doe i Θ( 2 ) time by producig the coefficiet vector γ = (c 0, c 1,..., c 2 2 ), c i = j a j b i j The resultig vector γ is also called the covolutio of vectors α ad β, deoted γ = α β. j=0 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 11/42 Poit-value represetatio Let A(x) be a polyomial of degree 1 havig the form: Its poit-value represetatio is a set of poit-value pairs {(x 0, y 0 ), (x 1, y 1 ),..., (x 1, y 1 )} where y i = A(x i ) for i = 0, 1,..., 1. Let A(x) = 3x 3 + 2x 2 + x + 1. Its poit-value represetatio ca be the vector {(0, 1), (1, 7), (2, 35), (3, 103)}

4 Poit-value represetatio Cot. MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 14/42 Poit-value represetatio - Additio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 16/42 A polyomial of degree 1 ca have may poit-value represetatios. A poit-value represetatio, however, describes exactly oe polyomial. Let A(x) = 3x 3 + 2x 2 + x + 1. Some of its poit-value represetatios are the vectors ad {(0, 1), (1, 7), (2, 35), (3, 103)} {(0, 1), (1, 7), ( 1, 1)(2, 35)} Those vectors however describe oly the polyomial A(x). Give the poit-value represetatios of polyomials {(x 0, y 0 ), (x 1, y 1 ),..., (x 1, y 1 )} {(x 0, y 0), (x 1, y 1),..., (x 1, y 1)} of degree 1 where y i = A(x i ) ad y i = B(x i) for i = 0, 1,..., 1, additio ca be doe i Θ() time by producig the poit-value represetatio: {(x 0, y 0 + y 0), (x 1, y 1 + y 1),..., (x 1, y 1 + y 1)} MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 13/42 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 15/42 Computig a poit-value represetatiopoit-value represetatio - Multiplicatio Give a polyomial A(x) of degree 1 havig the form: we compute its poit-value represetatio usig Horer s method: 1. Select distict poits x 0, x 1,..., x Evaluate A(x i ) for i = 0, 1,..., Poit-value represetatio is the set 1 (x i, A(x i )) Evaluatig a polyomial at poits takes Θ( 2 ) time. Give the poit-value represetatios of polyomials {(x 0, y 0 ), (x 1, y 1 ),..., (x 1, y 1 )} {(x 0, y 0), (x 1, y 1),..., (x 1, y 1)} of degree 1, where y i = A(x i ) ad y i = B(x i) for i = 0, 1,..., 1, we must exted the poit-value represetatios of A(x) ad B(x) to 2 1 pairs as the polyomial resultig from multiplicatio is of degree 2 2.

5 Poit-value represetatio - MultiplicatioPoit-value represetatio - Iterpolatio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 18/42 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 20/42 Give the poit-value represetatios of polyomials {(x 0, y 0 ), (x 1, y 1 ),..., (x 2 2, y 2 2 )} {(x 0, y 0), (x 1, y 1),..., (x 2 2, y 2 2)} of degree 1 where y i = A(x i ) ad y i = B(x i) for i = 0, 1,..., 2 2, multiplicatio ca be doe i Θ() time by producig the poit-value represetatio: LAGRANGE S FORMULA Give the poit-value represetatios {(x 0, y 0 ), (x 1, y 1 ),..., (x 1, y 1 )} of a polyomial A(x), we ca compute its coefficiet represetatio i time Θ( 2 ) usig the formula: 1 (x x j ) j i A(x) = y i (x i x j ) j i {(x 0, y 0 y 0), (x 1, y 1 y 1),..., (x 2 2, y 1 y 2 2)} MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 17/42 Poit-value represetatio - Iterpolatio Iterpolatio is the process of obtaiig the coefficiet represetatio of a polyomial, give its poit-value represetatio. Some methods to do this are: 1. Solve a set of equatios usig LU decompositio. Takes O( 3 ) time. 2. Use Lagrage s formula. Takes O( 2 ) time. MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 19/42 Poit-value represetatio - Summary Evaluatio (Costructio) i Θ( 2 ) Additio i Θ() Multiplicatio i Θ() Iterpolatio i Θ( 2 )

6 Compariso of the two represetatios MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 22/42 Solutio Speed up trasformatio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 24/42 COEFFICIENT REPRESENTATION Evaluatio i Θ() Additio i Θ() Multiplicatio i Θ( 2 ) POINT-VALUE REPRESENTATION Evaluatio (Costructio) i Θ( 2 ) Additio i Θ() Multiplicatio i Θ() Iterpolatio i Θ( 2 ) a 0, a 1,..., a 1 b 0, b 1,..., b 1 Evaluatio Time Θ( log ) (x 0, y 0 ),..., (x 2 2, y 2 2 ) (x 0, y 0 ),..., (x 2 2, y 2 2 ) Ordiary multiplicatio Time Θ( 2 ) Poitwise multipl. Time Θ() Iterpolatio Time Θ( log ) c 0, c 1,..., c 2 2 (x 0, y 0 y 0 ) (x 1, y 1 y 1 ). (x 2 2, y 2 2 y 2 2 ) MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 21/42 Problem Multiplicatio is too slow MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 23/42 Complex roots of uity A complex th root of uity is a complex umber ω such that a 0, a 1,..., a 1 b 0, b 1,..., b 1 Evaluatio Time Θ( 2 ) (x 0, y 0 ),..., (x 2 2, y 2 2 ) (x 0, y 0 ),..., (x 2 2, y 2 2 ) Ordiary multiplicatio Time Θ( 2 ) Poitwise multipl. Time Θ() c 0, c 1,..., c 2 2 Time Θ( 2 ) Iterpolatio (x 0, y 0 y 0 ) (x 1, y 1 y 1 ). (x 2 2, y 2 2 y 2 2 ) ω = 1 There are exactly complex roots of uity: ω k = e 2πik k = 0, 1,..., 1. It holds that e iu = cos(u) + i si(u). ω 3 8 ω 2 8 ω 1 8 ω 4 8 ω 8 8 for ω 5 8 ω 6 8 ω 7 8

7 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 26/42 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 28/42 Properties of complex roots of uity The complex th roots of uity form a group uder multiplicatio that has the same structure as the additive group (Z, +) modulo, sice ω = ω 0 = 1 imples that ω j ω k = ω j+k = ω (j+k) mod Corollary For ay eve iteger > 0, Proof ω 2 = e 2πi 2 = e πi = cos(π) + i si(π) = 1. Similarly, ω 1 ω 2 = ω 2 = 1 = ω 1. MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 25/42 Properties of complex roots of uity Lemma f > 0 is eve, the the squares of the complex th roots of uity are the /2 complex (/2)th roots of uity. Proof From Corollary 1: ω 2 = 1 ω 2 ω k = ω k (ω k+ 2 ) 2 = (ω k ) 2 This is the most importat lemma cocerig FFT. Discrete Fourier Trasformatio The Discrete Fourier Trasformatio of a coefficiet vector of polyomial is the vector where Notio: y = DFT (a) α = (a 0, a 1,..., a 1 ) y = (y 0, y 1,..., y 1 ) y k = A(ω k ), k = 0, 1,..., 1 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 27/42 Fast Fourier Trasformatio The Fast Fourier Trasform is a method for computig the Discrete Fourier Trasformatio by employig a divide-ad-coquer strategy which: Takes advatage of the properties of complex roots of uity. Takes time Θ( log ) istead of Θ( 2 ). Requires that is a exact power of 2 (at least the basic algorithm). We ca covert ay polyomial of degree 1 1 where k so that 2 k = 1 to a polyomial of degree 2 1 where 2 is a exact power of 2 ( k so that 2 k = 2 ) by appedig coefficiets a 1,..., a 2 1 equal to 0.

8 Computig DFT usig FFT MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 30/42 Computig DFT usig FFT MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 32/42 Suppose we have a polyomial where is a exact power of 2. We ca divide our origial polyomial i two polyomial A [0] (x) ad A [1] (x) of degree /2 1. A [0] (x) = a 0 + a 2 x + a 4 x a 2 x /2 1 (a 0, a 1, a 2, a 3, a 4, a 5, a 6, a 7 ) (a 0, a 2, a 4, a 6 ) (a 1, a 3, a 5, a 7 ) (a 0, a 4 ) (a 2, a 6 ) (a 1, a 5 ) (a 3, a 7 ) (a 0 ) (a 4 ) (a 2 ) (a 6 ) (a 1 ) (a 5 ) (a 3 ) (a 7 ) where A [1] (x) = a 1 + a 3 x + a 5 x a 1 x /2 1 A(x) = A [0] (x 2 ) + xa [1] (x 2 ) T () = 2T (/2) + Θ() = Θ( lg ) where MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 29/42 Computig DFT usig FFT A [0] (x) = a 0 + a 2 x + a 4 x a 2 x /2 1 A [1] (x) = a 1 + a 3 x + a 5 x a 1 x /2 1 A(x) = A [0] (x 2 ) + xa [1] (x 2 ) (1) So the problem of evaluatig A(x) at ω, 0 ω, 1..., ω 1 is reduced to: 1. Evaluatig the polyomials A [0] (x) ad A [1] (x) of degree /2 1 at the poits (ω 0 ) 2, (ω 1 ) 2,..., (ω 1 ) 2 (2) 2. Combig the results accordig to (1). By the Halvig lemma, the list of values (2) cosists ot of distict values but oly of the /2 complex (/2)th roots of uity. y 0 y 1 y 2 y 3. y 1 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 31/42 Iterpolatio ω ω 2 ω 3 ω 1 1 ω = 2 ω 4 ω 6 ω 2( 1) 1 ω 3 ω 6 ω 9 ω 3( 1) ω 1 ω 2( 1) ω 3( 1) ω ( 1)( 1) a 0 a 1 a 2 a 3. a 1 For evaluatio we have y = DFT (a). For iterpolatio we have the Iverse Discrete Fourier Trasformatio a = DFT 1 (Y ) For the iverse operatio we proceed by multiplyig y by the matrix V 1, the iverse of V (Vadermode matrix). Theorem For j, k = 0, 1,..., 1, the (j, k) etry of V 1 is ω kj /.

9 Iterpolatio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 34/42 The strig matchig with mismatches MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 36/42 Give the iverse matrix V 1 give by the formula a i = 1 for j = 0, 1,..., 1. Recall the formula for DFT (a), we have that DFT 1 (y) is k=0 y i = k=0 y k ω ki a k ω ki This meas that, by modifyig the FFT algorithm to switch the roles of a ad y, replace ω by ω 1, ad divide each elemet of the result by, we ca compute the iverse DFT i Θ( lg ) time as well. Defiitio Give a patter P = p 1 p 2... p m ad a text T = t 1 t 2... t, fid the umber of matched characters at each positio i i the text, where 0 < i m. Let P = GT C ad T = GGACT. Text: G G A C T Matches: The time complexity of the aive algorithm is O(m). MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 33/42 Iterpolatio MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 35/42 The strig matchig with mismatches Theorem (Covolutio theorem) For ay two vectors a ad b of legth, where is a power of 2, it holds that a b = DFT 1 2 (DFT 2(a) DFT 2 (b)) where the vectors a ad b are padded with 0s to legth 2 ad deotes the compoetwise product of two 2-elemet vectors. ALGORITHM Give a patter P = p 1 p 2... p m ad a text T = t 1 t 2... t over a alphabet Σ 1. For each x Σ (a) Compute the vectors T x of legth, where T x [i] is 1 if T [i] = x otherwise 0, where 0 < i. (b) Compute the vectors P x of legth m, where P x [i] is 1 if P [i] = x otherwise 0, where 0 < i m. (c) Compute the vectors C x as the covolutio of T x ad the reverse of P x. 2. Compute the vector C = C x for all x Σ.

10 The strig matchig with mismatches MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 38/42 The strig matchig with mismatches MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 40/42 T = GGACT P = GT C T G = (1, 1, 0, 0, 0) P G = (1, 0, 0) T = GGACT P = GT C T C = (0, 0, 0, 1, 0) P C = (0, 0, 1) The umbers of the product deote the umber of matched Gs at each positio i the text. G G A C T The umbers of the product deote the umber of matched Cs at each positio i the text. G G A C T MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 37/42 The strig matchig with mismatches MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 39/42 The strig matchig with mismatches T = GGACT P = GT C T A = (0, 0, 1, 0, 0) P A = (0, 0, 0) T = GGACT P = GT C T T = (0, 0, 0, 0, 1) P T = (0, 1, 0) The umbers of the product deote the umber of matched As at each positio i the text. G G A C T The umbers of the product deote the umber of matched T s at each positio i the text. G G A C T

11 The strig matchig with mismatches The strig matchig with mismatches G G A C T The time complexity of this algorithm is O( Σ lg ). We ca use a more efficiet implemetatio of FFT, where the two polyomials do ot have to be of degree 1 where is a exact power of 2 ad the time complexity improves to O( Σ lg m). The umbers of the sum deote the umber of matched characters at each positio i the text. MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 41/42 MI-EVY (2011/2012) J. Holub: 4. DFT, FFT ad Patter Matchig p. 42/42

Algorithms and Data Structures 2014 Exercises and Solutions Week 13

Algorithms and Data Structures 2014 Exercises and Solutions Week 13 Algorithms ad Data Structures 204 Exercises ad Solutios Week 3 Toom-Cook (cotiued) Durig the last lecture, two polyomials A(x) a 0 + a x ad B(x) b 0 + b x both of degree were multiplied, first by evaluatig

More information

Lecture 3: Divide and Conquer: Fast Fourier Transform

Lecture 3: Divide and Conquer: Fast Fourier Transform Lecture 3: Divide ad Coquer: Fast Fourier Trasform Polyomial Operatios vs. Represetatios Divide ad Coquer Algorithm Collapsig Samples / Roots of Uity FFT, IFFT, ad Polyomial Multiplicatio Polyomial operatios

More information

Polynomial Multiplication and Fast Fourier Transform

Polynomial Multiplication and Fast Fourier Transform Polyomial Multiplicatio ad Fast Fourier Trasform Com S 477/577 Notes Ya-Bi Jia Sep 19, 2017 I this lecture we will describe the famous algorithm of fast Fourier trasform FFT, which has revolutioized digital

More information

The Discrete Fourier Transform

The Discrete Fourier Transform The Discrete Fourier Trasform Complex Fourier Series Represetatio Recall that a Fourier series has the form a 0 + a k cos(kt) + k=1 b k si(kt) This represetatio seems a bit awkward, sice it ivolves two

More information

arxiv: v1 [math.co] 3 Feb 2013

arxiv: v1 [math.co] 3 Feb 2013 Cotiued Fractios of Quadratic Numbers L ubomíra Balková Araka Hrušková arxiv:0.05v [math.co] Feb 0 February 5 0 Abstract I this paper we will first summarize kow results cocerig cotiued fractios. The we

More information

Quantum Computing Lecture 7. Quantum Factoring

Quantum Computing Lecture 7. Quantum Factoring Quatum Computig Lecture 7 Quatum Factorig Maris Ozols Quatum factorig A polyomial time quatum algorithm for factorig umbers was published by Peter Shor i 1994. Polyomial time meas that the umber of gates

More information

FFTs in Graphics and Vision. The Fast Fourier Transform

FFTs in Graphics and Vision. The Fast Fourier Transform FFTs i Graphics ad Visio The Fast Fourier Trasform 1 Outlie The FFT Algorithm Applicatios i 1D Multi-Dimesioal FFTs More Applicatios Real FFTs 2 Computatioal Complexity To compute the movig dot-product

More information

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement Practical Spectral Aaysis (cotiue) (from Boaz Porat s book) Frequecy Measuremet Oe of the most importat applicatios of the DFT is the measuremet of frequecies of periodic sigals (eg., siusoidal sigals),

More information

CHAPTER I: Vector Spaces

CHAPTER I: Vector Spaces CHAPTER I: Vector Spaces Sectio 1: Itroductio ad Examples This first chapter is largely a review of topics you probably saw i your liear algebra course. So why cover it? (1) Not everyoe remembers everythig

More information

Algorithms Design & Analysis. Divide & Conquer

Algorithms Design & Analysis. Divide & Conquer Algorithms Desig & Aalysis Divide & Coquer Recap Direct-accessible table Hash tables Hash fuctios Uiversal hashig Perfect Hashig Ope addressig 2 Today s topics The divide-ad-coquer desig paradigm Revised

More information

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled 1 Lecture : Area Area ad distace traveled Approximatig area by rectagles Summatio The area uder a parabola 1.1 Area ad distace Suppose we have the followig iformatio about the velocity of a particle, how

More information

Frequency Domain Filtering

Frequency Domain Filtering Frequecy Domai Filterig Raga Rodrigo October 19, 2010 Outlie Cotets 1 Itroductio 1 2 Fourier Represetatio of Fiite-Duratio Sequeces: The Discrete Fourier Trasform 1 3 The 2-D Discrete Fourier Trasform

More information

1 Generating functions for balls in boxes

1 Generating functions for balls in boxes Math 566 Fall 05 Some otes o geeratig fuctios Give a sequece a 0, a, a,..., a,..., a geeratig fuctio some way of represetig the sequece as a fuctio. There are may ways to do this, with the most commo ways

More information

Complex Numbers Solutions

Complex Numbers Solutions Complex Numbers Solutios Joseph Zoller February 7, 06 Solutios. (009 AIME I Problem ) There is a complex umber with imagiary part 64 ad a positive iteger such that Fid. [Solutio: 697] 4i + + 4i. 4i 4i

More information

Finite-length Discrete Transforms. Chapter 5, Sections

Finite-length Discrete Transforms. Chapter 5, Sections Fiite-legth Discrete Trasforms Chapter 5, Sectios 5.2-50 5.0 Dr. Iyad djafar Outlie The Discrete Fourier Trasform (DFT) Matrix Represetatio of DFT Fiite-legth Sequeces Circular Covolutio DFT Symmetry Properties

More information

Chapter 2. Periodic points of toral. automorphisms. 2.1 General introduction

Chapter 2. Periodic points of toral. automorphisms. 2.1 General introduction Chapter 2 Periodic poits of toral automorphisms 2.1 Geeral itroductio The automorphisms of the two-dimesioal torus are rich mathematical objects possessig iterestig geometric, algebraic, topological ad

More information

Chimica Inorganica 3

Chimica Inorganica 3 himica Iorgaica Irreducible Represetatios ad haracter Tables Rather tha usig geometrical operatios, it is ofte much more coveiet to employ a ew set of group elemets which are matrices ad to make the rule

More information

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer. 6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio

More information

Math 155 (Lecture 3)

Math 155 (Lecture 3) Math 55 (Lecture 3) September 8, I this lecture, we ll cosider the aswer to oe of the most basic coutig problems i combiatorics Questio How may ways are there to choose a -elemet subset of the set {,,,

More information

Lecture 3. Digital Signal Processing. Chapter 3. z-transforms. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev. 2016

Lecture 3. Digital Signal Processing. Chapter 3. z-transforms. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev. 2016 Lecture 3 Digital Sigal Processig Chapter 3 z-trasforms Mikael Swartlig Nedelko Grbic Begt Madersso rev. 06 Departmet of Electrical ad Iformatio Techology Lud Uiversity z-trasforms We defie the z-trasform

More information

TMA4205 Numerical Linear Algebra. The Poisson problem in R 2 : diagonalization methods

TMA4205 Numerical Linear Algebra. The Poisson problem in R 2 : diagonalization methods TMA4205 Numerical Liear Algebra The Poisso problem i R 2 : diagoalizatio methods September 3, 2007 c Eiar M Røquist Departmet of Mathematical Scieces NTNU, N-749 Trodheim, Norway All rights reserved A

More information

MAT 271 Project: Partial Fractions for certain rational functions

MAT 271 Project: Partial Fractions for certain rational functions MAT 7 Project: Partial Fractios for certai ratioal fuctios Prerequisite kowledge: partial fractios from MAT 7, a very good commad of factorig ad complex umbers from Precalculus. To complete this project,

More information

MAXIMALLY FLAT FIR FILTERS

MAXIMALLY FLAT FIR FILTERS MAXIMALLY FLAT FIR FILTERS This sectio describes a family of maximally flat symmetric FIR filters first itroduced by Herrma [2]. The desig of these filters is particularly simple due to the availability

More information

Some Explicit Formulae of NAF and its Left-to-Right. Analogue Based on Booth Encoding

Some Explicit Formulae of NAF and its Left-to-Right. Analogue Based on Booth Encoding Vol.7, No.6 (01, pp.69-74 http://dx.doi.org/10.1457/ijsia.01.7.6.7 Some Explicit Formulae of NAF ad its Left-to-Right Aalogue Based o Booth Ecodig Dog-Guk Ha, Okyeo Yi, ad Tsuyoshi Takagi Kookmi Uiversity,

More information

2 Geometric interpretation of complex numbers

2 Geometric interpretation of complex numbers 2 Geometric iterpretatio of complex umbers 2.1 Defiitio I will start fially with a precise defiitio, assumig that such mathematical object as vector space R 2 is well familiar to the studets. Recall that

More information

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense, 3. Z Trasform Referece: Etire Chapter 3 of text. Recall that the Fourier trasform (FT) of a DT sigal x [ ] is ω ( ) [ ] X e = j jω k = xe I order for the FT to exist i the fiite magitude sese, S = x [

More information

A widely used display of protein shapes is based on the coordinates of the alpha carbons - - C α

A widely used display of protein shapes is based on the coordinates of the alpha carbons - - C α Nice plottig of proteis: I A widely used display of protei shapes is based o the coordiates of the alpha carbos - - C α -s. The coordiates of the C α -s are coected by a cotiuous curve that roughly follows

More information

A Note on the Symmetric Powers of the Standard Representation of S n

A Note on the Symmetric Powers of the Standard Representation of S n A Note o the Symmetric Powers of the Stadard Represetatio of S David Savitt 1 Departmet of Mathematics, Harvard Uiversity Cambridge, MA 0138, USA dsavitt@mathharvardedu Richard P Staley Departmet of Mathematics,

More information

Machine Learning for Data Science (CS 4786)

Machine Learning for Data Science (CS 4786) Machie Learig for Data Sciece CS 4786) Lecture & 3: Pricipal Compoet Aalysis The text i black outlies high level ideas. The text i blue provides simple mathematical details to derive or get to the algorithm

More information

Fall 2011, EE123 Digital Signal Processing

Fall 2011, EE123 Digital Signal Processing Lecture 5 Miki Lustig, UCB September 14, 211 Miki Lustig, UCB Motivatios for Discrete Fourier Trasform Sampled represetatio i time ad frequecy umerical Fourier aalysis requires a Fourier represetatio that

More information

ECE 308 Discrete-Time Signals and Systems

ECE 308 Discrete-Time Signals and Systems ECE 38-5 ECE 38 Discrete-Time Sigals ad Systems Z. Aliyazicioglu Electrical ad Computer Egieerig Departmet Cal Poly Pomoa ECE 38-5 1 Additio, Multiplicatio, ad Scalig of Sequeces Amplitude Scalig: (A Costat

More information

Addition: Property Name Property Description Examples. a+b = b+a. a+(b+c) = (a+b)+c

Addition: Property Name Property Description Examples. a+b = b+a. a+(b+c) = (a+b)+c Notes for March 31 Fields: A field is a set of umbers with two (biary) operatios (usually called additio [+] ad multiplicatio [ ]) such that the followig properties hold: Additio: Name Descriptio Commutativity

More information

Problem Set # 5 Solutions

Problem Set # 5 Solutions MIT./8.4/6.898/8.435 Quatum Iformatio Sciece I Fall, 00 Sam Ocko October 5, 00 Problem Set # 5 Solutios. Most uitar trasforms are hard to approimate. (a) We are dealig with boolea fuctios that take bits

More information

Olli Simula T / Chapter 1 3. Olli Simula T / Chapter 1 5

Olli Simula T / Chapter 1 3. Olli Simula T / Chapter 1 5 Sigals ad Systems Sigals ad Systems Sigals are variables that carry iformatio Systemstake sigals as iputs ad produce sigals as outputs The course deals with the passage of sigals through systems T-6.4

More information

Chapter 8. DFT : The Discrete Fourier Transform

Chapter 8. DFT : The Discrete Fourier Transform Chapter 8 DFT : The Discrete Fourier Trasform Roots of Uity Defiitio: A th root of uity is a complex umber x such that x The th roots of uity are: ω, ω,, ω - where ω e π /. Proof: (ω ) (e π / ) (e π )

More information

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs CSE 1400 Applied Discrete Mathematics Number Theory ad Proofs Departmet of Computer Scieces College of Egieerig Florida Tech Sprig 01 Problems for Number Theory Backgroud Number theory is the brach of

More information

Generating Functions. 1 Operations on generating functions

Generating Functions. 1 Operations on generating functions Geeratig Fuctios The geeratig fuctio for a sequece a 0, a,..., a,... is defied to be the power series fx a x. 0 We say that a 0, a,... is the sequece geerated by fx ad a is the coefficiet of x. Example

More information

11. FINITE FIELDS. Example 1: The following tables define addition and multiplication for a field of order 4.

11. FINITE FIELDS. Example 1: The following tables define addition and multiplication for a field of order 4. 11. FINITE FIELDS 11.1. A Field With 4 Elemets Probably the oly fiite fields which you ll kow about at this stage are the fields of itegers modulo a prime p, deoted by Z p. But there are others. Now although

More information

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is Homewor 3 Chapter 5 pp53: 3 40 45 Chapter 6 p85: 4 6 4 30 Use combiatorial reasoig to prove the idetity 3 3 Proof Let S be a set of elemets ad let a b c be distict elemets of S The umber of -subsets of

More information

Worksheet on Generating Functions

Worksheet on Generating Functions Worksheet o Geeratig Fuctios October 26, 205 This worksheet is adapted from otes/exercises by Nat Thiem. Derivatives of Geeratig Fuctios. If the sequece a 0, a, a 2,... has ordiary geeratig fuctio A(x,

More information

TEACHER CERTIFICATION STUDY GUIDE

TEACHER CERTIFICATION STUDY GUIDE COMPETENCY 1. ALGEBRA SKILL 1.1 1.1a. ALGEBRAIC STRUCTURES Kow why the real ad complex umbers are each a field, ad that particular rigs are ot fields (e.g., itegers, polyomial rigs, matrix rigs) Algebra

More information

M 340L CS Homew ork Set 6 Solutions

M 340L CS Homew ork Set 6 Solutions 1. Suppose P is ivertible ad M 34L CS Homew ork Set 6 Solutios A PBP 1. Solve for B i terms of P ad A. Sice A PBP 1, w e have 1 1 1 B P PBP P P AP ( ).. Suppose ( B C) D, w here B ad C are m matrices ad

More information

M 340L CS Homew ork Set 6 Solutions

M 340L CS Homew ork Set 6 Solutions . Suppose P is ivertible ad M 4L CS Homew ork Set 6 Solutios A PBP. Solve for B i terms of P ad A. Sice A PBP, w e have B P PBP P P AP ( ).. Suppose ( B C) D, w here B ad C are m matrices ad D is ivertible.

More information

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play. Number Theory Math 5840 otes. Sectio 1: Axioms. I umber theory we will geerally be workig with itegers, though occasioally fractios ad irratioals will come ito play. Notatio: Z deotes the set of all itegers

More information

Appendix F: Complex Numbers

Appendix F: Complex Numbers Appedix F Complex Numbers F1 Appedix F: Complex Numbers Use the imagiary uit i to write complex umbers, ad to add, subtract, ad multiply complex umbers. Fid complex solutios of quadratic equatios. Write

More information

6.003: Signal Processing

6.003: Signal Processing 6.003: Sigal Processig Discrete-Time Fourier Series orthogoality of harmoically related DT siusoids DT Fourier series relatios differeces betwee CT ad DT Fourier series properties of DT Fourier series

More information

Lemma Let f(x) K[x] be a separable polynomial of degree n. Then the Galois group is a subgroup of S n, the permutations of the roots.

Lemma Let f(x) K[x] be a separable polynomial of degree n. Then the Galois group is a subgroup of S n, the permutations of the roots. 15 Cubics, Quartics ad Polygos It is iterestig to chase through the argumets of 14 ad see how this affects solvig polyomial equatios i specific examples We make a global assumptio that the characteristic

More information

Machine Learning for Data Science (CS 4786)

Machine Learning for Data Science (CS 4786) Machie Learig for Data Sciece CS 4786) Lecture 9: Pricipal Compoet Aalysis The text i black outlies mai ideas to retai from the lecture. The text i blue give a deeper uderstadig of how we derive or get

More information

Signal Processing in Mechatronics

Signal Processing in Mechatronics Sigal Processig i Mechatroics Zhu K.P. AIS, UM. Lecture, Brief itroductio to Sigals ad Systems, Review of Liear Algebra ad Sigal Processig Related Mathematics . Brief Itroductio to Sigals What is sigal

More information

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx)

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx) Cosider the differetial equatio y '' k y 0 has particular solutios y1 si( kx) ad y cos( kx) I geeral, ay liear combiatio of y1 ad y, cy 1 1 cy where c1, c is also a solutio to the equatio above The reaso

More information

Math 4107: Abstract Algebra I Fall Webwork Assignment1-Groups (5 parts/problems) Solutions are on Webwork.

Math 4107: Abstract Algebra I Fall Webwork Assignment1-Groups (5 parts/problems) Solutions are on Webwork. Math 4107: Abstract Algebra I Fall 2017 Assigmet 1 Solutios 1. Webwork Assigmet1-Groups 5 parts/problems) Solutios are o Webwork. 2. Webwork Assigmet1-Subgroups 5 parts/problems) Solutios are o Webwork.

More information

THE TRANSFORMATION MATRIX OF CHEBYSHEV IV BERNSTEIN POLYNOMIAL BASES

THE TRANSFORMATION MATRIX OF CHEBYSHEV IV BERNSTEIN POLYNOMIAL BASES Joural of Mathematical Aalysis ISSN: 17-341, URL: http://iliriascom/ma Volume 7 Issue 4(16, Pages 13-19 THE TRANSFORMATION MATRIX OF CHEBYSHEV IV BERNSTEIN POLYNOMIAL BASES ABEDALLAH RABABAH, AYMAN AL

More information

Properties and Tests of Zeros of Polynomial Functions

Properties and Tests of Zeros of Polynomial Functions Properties ad Tests of Zeros of Polyomial Fuctios The Remaider ad Factor Theorems: Sythetic divisio ca be used to fid the values of polyomials i a sometimes easier way tha substitutio. This is show by

More information

PAPER : IIT-JAM 2010

PAPER : IIT-JAM 2010 MATHEMATICS-MA (CODE A) Q.-Q.5: Oly oe optio is correct for each questio. Each questio carries (+6) marks for correct aswer ad ( ) marks for icorrect aswer.. Which of the followig coditios does NOT esure

More information

Matrix Algebra 2.2 THE INVERSE OF A MATRIX Pearson Education, Inc.

Matrix Algebra 2.2 THE INVERSE OF A MATRIX Pearson Education, Inc. 2 Matrix Algebra 2.2 THE INVERSE OF A MATRIX MATRIX OPERATIONS A matrix A is said to be ivertible if there is a matrix C such that CA = I ad AC = I where, the idetity matrix. I = I I this case, C is a

More information

LECTURE NOTES, 11/10/04

LECTURE NOTES, 11/10/04 18.700 LECTURE NOTES, 11/10/04 Cotets 1. Direct sum decompositios 1 2. Geeralized eigespaces 3 3. The Chiese remaider theorem 5 4. Liear idepedece of geeralized eigespaces 8 1. Direct sum decompositios

More information

Inverse Matrix. A meaning that matrix B is an inverse of matrix A.

Inverse Matrix. A meaning that matrix B is an inverse of matrix A. Iverse Matrix Two square matrices A ad B of dimesios are called iverses to oe aother if the followig holds, AB BA I (11) The otio is dual but we ofte write 1 B A meaig that matrix B is a iverse of matrix

More information

CALCULUS BASIC SUMMER REVIEW

CALCULUS BASIC SUMMER REVIEW CALCULUS BASIC SUMMER REVIEW NAME rise y y y Slope of a o vertical lie: m ru Poit Slope Equatio: y y m( ) The slope is m ad a poit o your lie is, ). ( y Slope-Itercept Equatio: y m b slope= m y-itercept=

More information

( a) ( ) 1 ( ) 2 ( ) ( ) 3 3 ( ) =!

( a) ( ) 1 ( ) 2 ( ) ( ) 3 3 ( ) =! .8,.9: Taylor ad Maclauri Series.8. Although we were able to fid power series represetatios for a limited group of fuctios i the previous sectio, it is ot immediately obvious whether ay give fuctio has

More information

Week 5-6: The Binomial Coefficients

Week 5-6: The Binomial Coefficients Wee 5-6: The Biomial Coefficiets March 6, 2018 1 Pascal Formula Theorem 11 (Pascal s Formula For itegers ad such that 1, ( ( ( 1 1 + 1 The umbers ( 2 ( 1 2 ( 2 are triagle umbers, that is, The petago umbers

More information

ADVANCED DIGITAL SIGNAL PROCESSING

ADVANCED DIGITAL SIGNAL PROCESSING ADVANCED DIGITAL SIGNAL PROCESSING PROF. S. C. CHAN (email : sccha@eee.hku.hk, Rm. CYC-702) DISCRETE-TIME SIGNALS AND SYSTEMS MULTI-DIMENSIONAL SIGNALS AND SYSTEMS RANDOM PROCESSES AND APPLICATIONS ADAPTIVE

More information

( ) 2 + k The vertex is ( h, k) ( )( x q) The x-intercepts are x = p and x = q.

( ) 2 + k The vertex is ( h, k) ( )( x q) The x-intercepts are x = p and x = q. A Referece Sheet Number Sets Quadratic Fuctios Forms Form Equatio Stadard Form Vertex Form Itercept Form y ax + bx + c The x-coordiate of the vertex is x b a y a x h The axis of symmetry is x b a + k The

More information

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n Review of Power Series, Power Series Solutios A power series i x - a is a ifiite series of the form c (x a) =c +c (x a)+(x a) +... We also call this a power series cetered at a. Ex. (x+) is cetered at

More information

CS270 Combinatorial Algorithms & Data Structures Spring Lecture 9:

CS270 Combinatorial Algorithms & Data Structures Spring Lecture 9: CS70 Comiatorial Algorithms & Data Structures Sprig 00 Lecture 9: 170 Lecturer: Satish Rao Scrie: Adam Chlipala Disclaimer: These otes have ot ee sujected to the usual scrutiy reserved for formal pulicatios

More information

EE / EEE SAMPLE STUDY MATERIAL. GATE, IES & PSUs Signal System. Electrical Engineering. Postal Correspondence Course

EE / EEE SAMPLE STUDY MATERIAL. GATE, IES & PSUs Signal System. Electrical Engineering. Postal Correspondence Course Sigal-EE Postal Correspodece Course 1 SAMPLE STUDY MATERIAL Electrical Egieerig EE / EEE Postal Correspodece Course GATE, IES & PSUs Sigal System Sigal-EE Postal Correspodece Course CONTENTS 1. SIGNAL

More information

Filter banks. Separately, the lowpass and highpass filters are not invertible. removes the highest frequency 1/ 2and

Filter banks. Separately, the lowpass and highpass filters are not invertible. removes the highest frequency 1/ 2and Filter bas Separately, the lowpass ad highpass filters are ot ivertible T removes the highest frequecy / ad removes the lowest frequecy Together these filters separate the sigal ito low-frequecy ad high-frequecy

More information

LESSON 2: SIMPLIFYING RADICALS

LESSON 2: SIMPLIFYING RADICALS High School: Workig with Epressios LESSON : SIMPLIFYING RADICALS N.RN.. C N.RN.. B 5 5 C t t t t t E a b a a b N.RN.. 4 6 N.RN. 4. N.RN. 5. N.RN. 6. 7 8 N.RN. 7. A 7 N.RN. 8. 6 80 448 4 5 6 48 00 6 6 6

More information

Internal Information Representation and Processing

Internal Information Representation and Processing Iteral Iformatio Represetatio ad Processig CSCE 16 - Fudametals of Computer Sciece Dr. Awad Khalil Computer Sciece & Egieerig Departmet The America Uiversity i Cairo Decimal Number System We are used to

More information

Polynomials. Computer Programming for Engineers (2014 Spring)

Polynomials. Computer Programming for Engineers (2014 Spring) Computer Programmig for Egieers (014 Sprig) Polyomials Hyougshick Kim Departmet of Computer Sciece ad Egieerig College of Iformatio ad Commuicatio Egieerig Sugkyukwa Uiversity Polyomials A th order polyomial

More information

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + 62. Power series Defiitio 16. (Power series) Give a sequece {c }, the series c x = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + is called a power series i the variable x. The umbers c are called the coefficiets of

More information

Topics in Eigen-analysis

Topics in Eigen-analysis Topics i Eige-aalysis Li Zajiag 28 July 2014 Cotets 1 Termiology... 2 2 Some Basic Properties ad Results... 2 3 Eige-properties of Hermitia Matrices... 5 3.1 Basic Theorems... 5 3.2 Quadratic Forms & Noegative

More information

Matrices and vectors

Matrices and vectors Oe Matrices ad vectors This book takes for grated that readers have some previous kowledge of the calculus of real fuctios of oe real variable It would be helpful to also have some kowledge of liear algebra

More information

The Method of Least Squares. To understand least squares fitting of data.

The Method of Least Squares. To understand least squares fitting of data. The Method of Least Squares KEY WORDS Curve fittig, least square GOAL To uderstad least squares fittig of data To uderstad the least squares solutio of icosistet systems of liear equatios 1 Motivatio Curve

More information

End-of-Year Contest. ERHS Math Club. May 5, 2009

End-of-Year Contest. ERHS Math Club. May 5, 2009 Ed-of-Year Cotest ERHS Math Club May 5, 009 Problem 1: There are 9 cois. Oe is fake ad weighs a little less tha the others. Fid the fake coi by weighigs. Solutio: Separate the 9 cois ito 3 groups (A, B,

More information

Calculating cyclotomic polynomials

Calculating cyclotomic polynomials Calculatig cyclotomic polyomials Adrew Arold (ada26@sfu.ca) Michael Moaga (mmoaga@cecm.sfu.ca) July 17, 2008 Abstract We preset two algorithms to calculate Φ (z), the th cyclotomic polyomial. The first

More information

Algebra II Notes Unit Seven: Powers, Roots, and Radicals

Algebra II Notes Unit Seven: Powers, Roots, and Radicals Syllabus Objectives: 7. The studets will use properties of ratioal epoets to simplify ad evaluate epressios. 7.8 The studet will solve equatios cotaiig radicals or ratioal epoets. b a, the b is the radical.

More information

APPENDIX F Complex Numbers

APPENDIX F Complex Numbers APPENDIX F Complex Numbers Operatios with Complex Numbers Complex Solutios of Quadratic Equatios Polar Form of a Complex Number Powers ad Roots of Complex Numbers Operatios with Complex Numbers Some equatios

More information

Discrete Orthogonal Moment Features Using Chebyshev Polynomials

Discrete Orthogonal Moment Features Using Chebyshev Polynomials Discrete Orthogoal Momet Features Usig Chebyshev Polyomials R. Mukuda, 1 S.H.Og ad P.A. Lee 3 1 Faculty of Iformatio Sciece ad Techology, Multimedia Uiversity 75450 Malacca, Malaysia. Istitute of Mathematical

More information

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a.

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a. Departmet of Mathematical Scieces Istructor: Daiva Puciskaite Discrete Mathematics Fermat s Little Theorem 43.. For all a Z 3, calculate a 2 ad a 3. Case a = 0. 0 0 2-times Case a 0. 0 0 3-times a a 2-times

More information

Chapter 6. Advanced Counting Techniques

Chapter 6. Advanced Counting Techniques Chapter 6 Advaced Coutig Techiques 6.: Recurrece Relatios Defiitio: A recurrece relatio for the sequece {a } is a equatio expressig a i terms of oe or more of the previous terms of the sequece: a,a2,a3,,a

More information

Math 113 Exam 3 Practice

Math 113 Exam 3 Practice Math Exam Practice Exam 4 will cover.-., 0. ad 0.. Note that eve though. was tested i exam, questios from that sectios may also be o this exam. For practice problems o., refer to the last review. This

More information

Fortgeschrittene Datenstrukturen Vorlesung 11

Fortgeschrittene Datenstrukturen Vorlesung 11 Fortgeschrittee Datestruture Vorlesug 11 Schriftführer: Marti Weider 19.01.2012 1 Succict Data Structures (ctd.) 1.1 Select-Queries A slightly differet approach, compared to ra, is used for select. B represets

More information

Chapter 6 Infinite Series

Chapter 6 Infinite Series Chapter 6 Ifiite Series I the previous chapter we cosidered itegrals which were improper i the sese that the iterval of itegratio was ubouded. I this chapter we are goig to discuss a topic which is somewhat

More information

Math 140A Elementary Analysis Homework Questions 1

Math 140A Elementary Analysis Homework Questions 1 Math 14A Elemetary Aalysis Homewor Questios 1 1 Itroductio 1.1 The Set N of Natural Numbers 1 Prove that 1 2 2 2 2 1 ( 1(2 1 for all atural umbers. 2 Prove that 3 11 (8 5 4 2 for all N. 4 (a Guess a formula

More information

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms.

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms. [ 11 ] 1 1.1 Polyomial Fuctios 1 Algebra Ay fuctio f ( x) ax a1x... a1x a0 is a polyomial fuctio if ai ( i 0,1,,,..., ) is a costat which belogs to the set of real umbers ad the idices,, 1,...,1 are atural

More information

Counting Well-Formed Parenthesizations Easily

Counting Well-Formed Parenthesizations Easily Coutig Well-Formed Parethesizatios Easily Pekka Kilpeläie Uiversity of Easter Filad School of Computig, Kuopio August 20, 2014 Abstract It is well kow that there is a oe-to-oe correspodece betwee ordered

More information

Context-free grammars and. Basics of string generation methods

Context-free grammars and. Basics of string generation methods Cotext-free grammars ad laguages Basics of strig geeratio methods What s so great about regular expressios? A regular expressio is a strig represetatio of a regular laguage This allows the storig a whole

More information

Information Theory and Statistics Lecture 4: Lempel-Ziv code

Information Theory and Statistics Lecture 4: Lempel-Ziv code Iformatio Theory ad Statistics Lecture 4: Lempel-Ziv code Łukasz Dębowski ldebowsk@ipipa.waw.pl Ph. D. Programme 203/204 Etropy rate is the limitig compressio rate Theorem For a statioary process (X i)

More information

Solutions to Final Exam

Solutions to Final Exam Solutios to Fial Exam 1. Three married couples are seated together at the couter at Moty s Blue Plate Dier, occupyig six cosecutive seats. How may arragemets are there with o wife sittig ext to her ow

More information

Section 11.8: Power Series

Section 11.8: Power Series Sectio 11.8: Power Series 1. Power Series I this sectio, we cosider geeralizig the cocept of a series. Recall that a series is a ifiite sum of umbers a. We ca talk about whether or ot it coverges ad i

More information

Vector Spaces and Vector Subspaces. Remarks. Euclidean Space

Vector Spaces and Vector Subspaces. Remarks. Euclidean Space Vector Spaces ad Vector Subspaces Remarks Let be a iteger. A -dimesioal vector is a colum of umbers eclosed i brackets. The umbers are called the compoets of the vector. u u u u Euclidea Space I Euclidea

More information

Quiz. Use either the RATIO or ROOT TEST to determine whether the series is convergent or not.

Quiz. Use either the RATIO or ROOT TEST to determine whether the series is convergent or not. Quiz. Use either the RATIO or ROOT TEST to determie whether the series is coverget or ot. e .6 POWER SERIES Defiitio. A power series i about is a series of the form c 0 c a c a... c a... a 0 c a where

More information

Lecture 9: Pseudo-random generators against space bounded computation,

Lecture 9: Pseudo-random generators against space bounded computation, Lecture 9: Pseudo-radom geerators agaist space bouded computatio, Primality Testig Topics i Pseudoradomess ad Complexity (Sprig 2018) Rutgers Uiversity Swastik Kopparty Scribes: Harsha Tirumala, Jiyu Zhag

More information

Linear chord diagrams with long chords

Linear chord diagrams with long chords Liear chord diagrams with log chords Everett Sulliva Departmet of Mathematics Dartmouth College Haover New Hampshire, U.S.A. everett..sulliva@dartmouth.edu Submitted: Feb 7, 2017; Accepted: Oct 7, 2017;

More information

Course : Algebraic Combinatorics

Course : Algebraic Combinatorics Course 8.32: Algebraic Combiatorics Lecture Notes # Addedum by Gregg Musier February 4th - 6th, 2009 Recurrece Relatios ad Geeratig Fuctios Give a ifiite sequece of umbers, a geeratig fuctio is a compact

More information

Section 5.1 The Basics of Counting

Section 5.1 The Basics of Counting 1 Sectio 5.1 The Basics of Coutig Combiatorics, the study of arragemets of objects, is a importat part of discrete mathematics. I this chapter, we will lear basic techiques of coutig which has a lot of

More information

2.1. The Algebraic and Order Properties of R Definition. A binary operation on a set F is a function B : F F! F.

2.1. The Algebraic and Order Properties of R Definition. A binary operation on a set F is a function B : F F! F. CHAPTER 2 The Real Numbers 2.. The Algebraic ad Order Properties of R Defiitio. A biary operatio o a set F is a fuctio B : F F! F. For the biary operatios of + ad, we replace B(a, b) by a + b ad a b, respectively.

More information

PAijpam.eu ON DERIVATION OF RATIONAL SOLUTIONS OF BABBAGE S FUNCTIONAL EQUATION

PAijpam.eu ON DERIVATION OF RATIONAL SOLUTIONS OF BABBAGE S FUNCTIONAL EQUATION Iteratioal Joural of Pure ad Applied Mathematics Volume 94 No. 204, 9-20 ISSN: 3-8080 (prited versio); ISSN: 34-3395 (o-lie versio) url: http://www.ijpam.eu doi: http://dx.doi.org/0.2732/ijpam.v94i.2 PAijpam.eu

More information

A collocation method for singular integral equations with cosecant kernel via Semi-trigonometric interpolation

A collocation method for singular integral equations with cosecant kernel via Semi-trigonometric interpolation Iteratioal Joural of Mathematics Research. ISSN 0976-5840 Volume 9 Number 1 (017) pp. 45-51 Iteratioal Research Publicatio House http://www.irphouse.com A collocatio method for sigular itegral equatios

More information

Binary codes from graphs on triples and permutation decoding

Binary codes from graphs on triples and permutation decoding Biary codes from graphs o triples ad permutatio decodig J. D. Key Departmet of Mathematical Scieces Clemso Uiversity Clemso SC 29634 U.S.A. J. Moori ad B. G. Rodrigues School of Mathematics Statistics

More information