Polynomials and the Fast Fourier Transform (FFT) Battle Plan
|
|
- Nelson Francis Horton
- 7 years ago
- Views:
Transcription
1 Polynomials and the Fast Fourier Transform (FFT) Algorithm Design and Analysis (Wee 7) 1 Polynomials Battle Plan Algorithms to add, multiply and evaluate polynomials Coefficient and point-value representation Fourier Transform Discrete Fourier Transform (DFT) and inverse DFT to translate between polynomial representations A Short Digression on Complex Roots of Unity Fast Fourier Transform (FFT) is a divide-and-conquer algorithm based on properties of complex roots of unity 2
2 Polynomials A polynomial in the variable x is a representation of a function A x = a n 1 x n a 2 x 2 + a 1 x + a 0 as a formal sum A x = n 1 j=0 a j x j. We call the values a 0, a 1,, a n 1 the coefficients of the polynomial A x is said to have degree if its highest nonzero coefficient is a. Any integer strictly greater than the degree of a polynomial is a degree-bound of that polynomial 3 A x = x 3 2x 1 Examples A(x) has degree 3 A(x) has degree-bounds 4, 5, 6, or all values > degree A(x) has coefficients ( 1, 2, 0, 1) B x = x 3 + x B(x) has degree 3 B(x) has degree bounds 4, 5, 6, or all values > degree B(x) has coefficients (1, 0, 1, 1) 4
3 Coefficient Representation A coefficient representation of a polynomial A x = n 1 j=0 a j x j of degree-bound n is a vector of coefficients a = a 0, a 1,, a n 1. More examples A x = 6x 3 + 7x 2 10x + 9 (9, 10, 7, 6) B x = 2x 3 + 4x 5 ( 5, 4, 0, 2) The operation of evaluating the polynomial A(x) at point x 0 consists of computing the value of A x 0. Evaluation taes time Θ(n) using Horner s rule A(x 0 ) = a 0 + x 0 (a 1 + x 0 (a x 0 a n 2 + x 0 a n 1 )) 5 Adding Polynomials Adding two polynomials represented by the coefficient vectors a = (a 0, a 1,, a n 1 ) and b = (b 0, b 1,, b n 1 ) taes time Θ(n). Sum is the coefficient vector c = (c 0, c 1,, c n 1 ), where c j = a j + b j for j = 0,1,, n 1. Example A x = 6x 3 + 7x 2 10x + 9 (9, 10, 7, 6) B x = 2x 3 + 4x 5 ( 5, 4, 0, 2) C(x) = 4x 3 + 7x 2 6x + 4 (4, 6,7,4) 6
4 Multiplying Polynomials For polynomial multiplication, if A(x) and B(x) are polynomials of degree-bound n, we say their product C(x) is a polynomial of degree-bound 2n 1. Example 6x 3 + 7x 2 10x + 9 2x 3 + 4x 5 30x 3 35x x 45 24x x 3 40x x 12x 6 14x x 4 18x 3 12x 6 14x x 4 20x 3 75x x 45 7 Multiplying Polynomials Multiplication of two degree-bound n polynomials A(x) and B(x) taes time Θ n 2, since each coefficient in vector a must be multiplied by each coefficient in vector b. Another way to express the product C(x) is 2n 1 j=0 c j x j j, where c j = =0 a b j. The resulting coefficient vector c = (c 0, c 1, c 2n 1 ) is also called the convolution of the input vectors a and b, denoted as c = a b. 8
5 Point-Value Representation A point-value representation of a polynomial A(x) of degree-bound n is a set of n point-value pairs x 0, y 0, x 1, y 1,, x n 1, y n 1 such that all of the x are distinct and y = A(x ) for = 0, 1,, n 1. Example A x = x 3 2x + 1 x 0, 1, 2, 3 A(x ) 1, 0, 5, 22 Using Horner s method, n-point evaluation taes time Θ(n 2 ). * 0, 1, 1, 0, 2, 5, 3, Point-Value Representation The inverse of evaluation is called interpolation determines coefficient form of polynomial from pointvalue representation For any set * x 0, y 0, x 1, y 1,, x n 1, y n 1 + of n pointvalue pairs such that all the x values are distinct, there is a unique polynomial A(x) of degree-bound n such that y = A(x ) for = 0, 1,, n 1. Lagrange s formula n 1 j (x x j ) A x = y j (x x j ) =0 Using Lagrange s formula, interpolation taes time Θ(n 2 ). 10
6 Example Using Lagrange s formula, we interpolate the pointvalue representation 0, 1, 1, 0, 2, 5, 3, x 1 (x 2)(x 3) = x3 6x 2 +11x 6 (0 1)(0 2)(0 3) 6 0 (x 0)(x 2)(x 3) (1 0)(1 2)(1 3) = 0 = x3 +6x 2 11x (x 0)(x 1)(x 3) = 5 x3 4x 2 +3x = 15x3 +60x 2 45x (2 0)(2 1)(2 3) (x 0)(x 1)(x 2) = 22 x3 3x 2 +2x = 22x3 66x 2 +44x (3 0)(3 1)(3 2) x3 + 0x 2 12x + 6 x 3 2x Adding Polynomials In point-value form, addition C x = A x + B(x) is given by C x = A x + B(x ) for any point x. A: x 0, y 0, x 1, y 1,, x n 1, y n 1 B: x 0, y 0, x 1, y 1,, x n 1, y n 1 C: * x 0, y 0 + y 0, x 1, y 1 + y 1,, x n 1, y n 1 + y n 1 + A and B are evaluated for the same n points. The time to add two polynomials of degree-bound n in point-value form is Θ(n). 12
7 We add C x Example = A x + B(x) in point-value form A x = x 3 2x + 1 B x = x 3 + x x = (0, 1, 2, 3) A: 0, 1, 1, 0, 2, 5, 3, 22 B: * 0, 1, 1, 3, 2, 13, 3, 37 + C: * 0, 2, 1, 3, 2, 18, 3, Multiplying Polynomials In point-value form, multiplication C x = A x B(x) is given by C x = A x B(x ) for any point x. Problem: if A and B are of degree-bound n, then C is of degree-bound 2n. Need to start with extended point-value forms for A and B consisting of 2n point-value pairs each. A: x 0, y 0, x 1, y 1,, x 2n 1, y 2n 1 B: x 0, y 0, x 1, y 1,, x 2n 1, y 2n 1 C: * x 0, y 0 y 0, x 1, y 1 y 1,, x 2n 1, y 2n 1 y 2n 1 + The time to multiply two polynomials of degreebound n in point-value form is Θ(n). 14
8 We multiply C x Example = A x B(x) in point-value form A x = x 3 2x + 1 B x = x 3 + x x = ( 3, 2, 1, 0, 1, 2, 3) We need 7 coefficients! A: 3, 17, 2, 3, 1,1, 0, 1, 1, 0, 2, 5, 3, 22 B: * 3, 20, 2, 3, 1, 2, 0, 1, 1, 3, 2, 13, 3, 37 + C: * 3,340, 2,9, 1,2, 0, 1, 1, 0, 2, 65, 3, The Road So Far a 0, a 1,, a n 1 b 0, b 1,, a n 1 Ordinary multiplication Time Θ(n 2 ) c 0, c 1,, c n 1 Coefficient representations Evaluation Time Θ(n 2 ) Interpolation Time Θ(n 2 ) A x 0, B x 0 A x 1, B x 1 A x 2n 1, B(x 2n 1 ) Pointwise multiplication Time Θ(n) C x 0 C x 1 C(x 2n 1 ) Point-value representations Can we do better? Using Fast Fourier Transform (FFT) and its inverse, we can do evaluation and interpolation in time Θ(n log n). The product of two polynomials of degree-bound n can be computed in time Θ(n log n), with both the input and output in coefficient form. 16
9 Amplitude Weight Fourier Transform Fourier Transforms originate from signal processing Transform signal from time domain to frequency domain Time Frequency Input signal is a function mapping time to amplitude Output is a weighted sum of phase-shifted sinusoids of varying frequencies 17 Fast Multiplication of Polynomials Using complex roots of unity Evaluation by taing the Discrete Fourier Transform (DFT) of a coefficient vector Interpolation by taing the inverse DFT of point-value pairs, yielding a coefficient vector Fast Fourier Transform (FFT) can perform DFT and inverse DFT in time Θ(n log n) Algorithm 1. Add n higher-order zero coefficients to A(x) and B(x) 2. Evaluate A(x) and B(x) using FFT for 2n points 3. Pointwise multiplication of point-value forms 4. Interpolate C(x) using FFT to compute inverse DFT 18
10 Complex Roots of Unity A complex n th root of unity (1) is a complex number ω such that ω n = 1. There are exactly n complex n th root of unity e 2πi n for = 0, 1,, n 1 where e iu = cos u + i sin (u). Here u represents an angle in radians. Using e 2πi n = cos 2π n + i sin( 2π n), we can chec that it is a root e 2πi n n = e 2πi = cos(2π) +i sin (2π) = Examples The complex 4 th roots of unity are 1, 1, i, i where 1 = i. The complex 8 th roots of unity are all of the above, plus four more 1 + i, 1 i, 1 + i, and 1 i For example i 2 2 = i 2 + i2 2 = i 20
11 The value Principal n th Root of Unity ω n = e 2πi n is called the principal n th root of unity. All of the other complex n th roots of unity are powers of ω n. The n complex n th roots of unity, ω n 0, ω n 1,, ω n n 1, form a group under multiplication that has the same structure as (Z n, +) modulo n. ω n n = ω n 0 = 1 implies ω n j ω n = ω n j+ = ω n j+ mod n ω n 1 = ω n n 1 21 Visualizing 8 Complex 8 th Roots of Unity imaginary ω 8 2 = i i ω 8 3 = i 2 ω 8 1 = i 2 ω 8 4 = 1 ω 8 0 = ω 8 8 = real ω 8 5 = 1 2 i 2 ω 8 7 = 1 2 i 2 i ω 8 6 = i 22
12 Cancellation Lemma For any integers n 0, 0, and b > 0, Proof ω d dn = e 2πi dn ω d dn = ω n. d = e 2πi n = ωn n For any even integer n > 0, ω 2 n = ω 2 = 1. Example ω 6 24 = ω 4 ω 6 24 = e 2πi 24 6 = e 2πi 6 24 = e 2πi 4 = ω 4 23 Halving Lemma If n > 0 is even, then the squares of the n complex n th roots of unity are the n 2 complex n 2 th roots of unity. Proof By the cancellation lemma, we have ω 2 n = ωn 2 for any nonnegative integer. If we square all of the complex n th roots of unity, then each n 2 th root of unity is obtained exactly twice ω n +n 2 2 = ωn 2+n = ω n 2 ω n n = ω n 2 = ω n 2 Thus, ω n and ω n +n 2 have the same square 24
13 Summation Lemma For any integer n 1 and nonzero integer not divisible by n, n 1 j=0 ω n j = 0. Proof Geometric series n 1 j=0 x j ω j n = ω n n n 1 1 j=0 ω n 1 = xn 1 x 1 = ω n n 1 = 1 1 = 0 ω n 1 ω n 1 Requiring that not be divisible by n ensures that the denominator is not 0, since ω n = 1 only when is divisible by n 25 Discrete Fourier Transform (DFT) Evaluate a polynomial A(x) of degree-bound n at the n complex n th roots of unity, ω n 0, ω n 1, ω n 2,, ω n n 1. assume that n is a power of 2 assume A is given in coefficient form a = (a 0, a 1,, a n 1 ) We define the results y, for = 0, 1,, n 1, by y = A ω n 1 j n = j=0 a j ω n. The vector y = (y 0, y 1,, y n 1 ) is the Discrete Fourier Transform (DFT) of the coefficient vector a = a 0, a 1,, a n 1, denoted as y = DFT n (a). 26
14 Fast Fourier Transform (FFT) Fast Fourier Transform (FFT) taes advantage of the special properties of the complex roots of unity to compute DFT n (a) in time Θ(n log n). Divide-and-conquer strategy define two new polynomials of degree-bound n 2, using even-index and odd-index coefficients of A(x) separately A 0 x = a 0 + a 2 x + a 4 x a n 2 x n 2 1 A 1 x = a 1 + a 3 x + a 5 x a n 1 x n 2 1 A x = A 0 x 2 + xa 1 (x 2 ) 27 Fast Fourier Transform (FFT) The problem of evaluating A(x) at ω n 0, ω n 1,, ω n n 1 reduces to 1. evaluating the degree-bound n 2 polynomials A 0 (x) and A 1 (x) at the points ω n 0 2, ω n 1 2,, ω n n combining the results by A x = A 0 x 2 + xa 1 (x 2 ) Why bother? The list ω n 0 2, ω n 1 2,, ω n n 1 2 does not contain n distinct values, but n 2 complex n 2 th roots of unity Polynomials A 0 and A 1 are recursively evaluated at the n 2 complex n 2 th roots of unity Subproblems have exactly the same form as the original problem, but are half the size 28
15 Example A x = a 0 + a 1 x + a 2 x 2 + a 3 x 3 of degree-bound 4 A ω 0 4 = A 1 = a 0 + a 1 + a 2 + a 3 A ω 1 4 = A i = a o + a 1 i a 2 a 3 i A ω 2 4 = A 1 = a 0 a 1 + a 2 a 3 A ω 3 4 = A i = a 0 a 1 i + a 2 + a 3 i Using A x = A 0 x 2 + xa 1 x 2 A x = a 0 + a 2 x 2 + x a 1 + a 3 x 2 A ω 4 0 = A 1 = a 0 + a 2 + 1(a 1 + a 3 ) A ω 4 1 = A i = a 0 a 2 + i(a 1 a 3 ) A ω 2 4 = A 1 = a 0 + a 2 1 a 1 + a 3 A ω 3 4 = A i = a 0 a 2 i(a 1 a 3 ) 29 Recursive FFT Algorithm RECURSIVE-FFT a 1 n length,a- n is a power of 2 2 if n = 1 3 then return a basis of recursion 4 ω n e 2πi n ω n is principal n th root of unity 5 ω 1 6 a 0 (a 0, a 2,, a n 2 ) 7 a 1 (a 1, a 3,, a n 1 ) 8 y 0 RECURSIVE-FFT a 0 y 0 = A 0 ωn 2 = A 0 (ω 2 n ) 9 y 1 RECURSIVE-FFT a 1 y 1 = A 1 ωn 2 = A 1 (ω 2 n ) 10 for 0 to n do y y ωy 12 y +( n 2 ) y 0 1 ωy since ω + n = ω n 2 n 13 ω ωω n compute ω n iteratively 14 return y 30
16 Why Does It Wor? For y 0, y 1, yn 2 1 (line 11) y = y 0 + ω 1 n y = A 0 2 ω n + ω n A 1 2 ω n = A ω n For yn 2, yn 2 +1,, y n 1 (line 12) y + n 2 = y 0 ω 1 n y = y 0 + ω n + n 2 y 1 = A 0 ω n 2 + ω n + n 2 A 1 ω n 2 = A 0 ω n 2+n + ω n + n 2 A 1 ω n 2+n = A ω n + n 2 since ω n = ω n + n 2 since ω n 2+n = ω n 2 31 Input Vector Tree of RECURSIVEFFT(a) (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 ) 32
17 Interpolation Interpolation by computing the inverse DFT, denoted by a = DFT n 1 (y). By modifying the FFT algorithm, we can compute DFT n 1 in time Θ(n log n). switch the roles of a and y replace ω n by ω n 1 divide each element of the result by n 33
FFT Algorithms. Chapter 6. Contents 6.1
Chapter 6 FFT Algorithms Contents Efficient computation of the DFT............................................ 6.2 Applications of FFT................................................... 6.6 Computing DFT
More informationContinued Fractions and the Euclidean Algorithm
Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction
More information1.4 Fast Fourier Transform (FFT) Algorithm
74 CHAPTER AALYSIS OF DISCRETE-TIME LIEAR TIME-IVARIAT SYSTEMS 4 Fast Fourier Transform (FFT Algorithm Fast Fourier Transform, or FFT, is any algorithm for computing the -point DFT with a computational
More informationFinal Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones
Final Year Project Progress Report Frequency-Domain Adaptive Filtering Myles Friel 01510401 Supervisor: Dr.Edward Jones Abstract The Final Year Project is an important part of the final year of the Electronic
More informationThe Method of Partial Fractions Math 121 Calculus II Spring 2015
Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method
More informationPYTHAGOREAN TRIPLES KEITH CONRAD
PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
More informationDivide-and-conquer algorithms
Chapter 2 Divide-and-conquer algorithms The divide-and-conquer strategy solves a problem by: 1 Breaking it into subproblems that are themselves smaller instances of the same type of problem 2 Recursively
More information8 Primes and Modular Arithmetic
8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.
More informationHOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!
Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following
More informationMath 319 Problem Set #3 Solution 21 February 2002
Math 319 Problem Set #3 Solution 21 February 2002 1. ( 2.1, problem 15) Find integers a 1, a 2, a 3, a 4, a 5 such that every integer x satisfies at least one of the congruences x a 1 (mod 2), x a 2 (mod
More informationFrequency Response of FIR Filters
Frequency Response of FIR Filters Chapter 6 This chapter continues the study of FIR filters from Chapter 5, but the emphasis is frequency response, which relates to how the filter responds to an input
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
More informationThe continuous and discrete Fourier transforms
FYSA21 Mathematical Tools in Science The continuous and discrete Fourier transforms Lennart Lindegren Lund Observatory (Department of Astronomy, Lund University) 1 The continuous Fourier transform 1.1
More informationZeros of a Polynomial Function
Zeros of a Polynomial Function An important consequence of the Factor Theorem is that finding the zeros of a polynomial is really the same thing as factoring it into linear factors. In this section we
More informationFAST FOURIER TRANSFORM ALGORITHMS WITH APPLICATIONS. A Dissertation Presented to the Graduate School of Clemson University
FAST FOURIER TRANSFORM ALGORITHMS WITH APPLICATIONS A Dissertation Presented to the Graduate School of Clemson University In Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy
More informationSolving Quadratic Equations
9.3 Solving Quadratic Equations by Using the Quadratic Formula 9.3 OBJECTIVES 1. Solve a quadratic equation by using the quadratic formula 2. Determine the nature of the solutions of a quadratic equation
More informationMathematics. (www.tiwariacademy.com : Focus on free Education) (Chapter 5) (Complex Numbers and Quadratic Equations) (Class XI)
( : Focus on free Education) Miscellaneous Exercise on chapter 5 Question 1: Evaluate: Answer 1: 1 ( : Focus on free Education) Question 2: For any two complex numbers z1 and z2, prove that Re (z1z2) =
More informationQuotient Rings and Field Extensions
Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.
More informationQuantum Computing Lecture 7. Quantum Factoring. Anuj Dawar
Quantum Computing Lecture 7 Quantum Factoring Anuj Dawar Quantum Factoring A polynomial time quantum algorithm for factoring numbers was published by Peter Shor in 1994. polynomial time here means that
More informationMATH 551 - APPLIED MATRIX THEORY
MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points
More informationMATH 289 PROBLEM SET 4: NUMBER THEORY
MATH 289 PROBLEM SET 4: NUMBER THEORY 1. The greatest common divisor If d and n are integers, then we say that d divides n if and only if there exists an integer q such that n = qd. Notice that if d divides
More informationSUBGROUPS OF CYCLIC GROUPS. 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by
SUBGROUPS OF CYCLIC GROUPS KEITH CONRAD 1. Introduction In a group G, we denote the (cyclic) group of powers of some g G by g = {g k : k Z}. If G = g, then G itself is cyclic, with g as a generator. Examples
More informationA few words about imaginary numbers (and electronics) Mark Cohen mscohen@g.ucla.edu
A few words about imaginary numbers (and electronics) Mark Cohen mscohen@guclaedu While most of us have seen imaginary numbers in high school algebra, the topic is ordinarily taught in abstraction without
More informationConvolution, Correlation, & Fourier Transforms. James R. Graham 10/25/2005
Convolution, Correlation, & Fourier Transforms James R. Graham 10/25/2005 Introduction A large class of signal processing techniques fall under the category of Fourier transform methods These methods fall
More informationG. GRAPHING FUNCTIONS
G. GRAPHING FUNCTIONS To get a quick insight int o how the graph of a function looks, it is very helpful to know how certain simple operations on the graph are related to the way the function epression
More informationThis unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.
Algebra I Overview View unit yearlong overview here Many of the concepts presented in Algebra I are progressions of concepts that were introduced in grades 6 through 8. The content presented in this course
More informationHow To Prove The Dirichlet Unit Theorem
Chapter 6 The Dirichlet Unit Theorem As usual, we will be working in the ring B of algebraic integers of a number field L. Two factorizations of an element of B are regarded as essentially the same if
More informationA simple and fast algorithm for computing exponentials of power series
A simple and fast algorithm for computing exponentials of power series Alin Bostan Algorithms Project, INRIA Paris-Rocquencourt 7815 Le Chesnay Cedex France and Éric Schost ORCCA and Computer Science Department,
More information3.6. Partial Fractions. Introduction. Prerequisites. Learning Outcomes
Partial Fractions 3.6 Introduction It is often helpful to break down a complicated algebraic fraction into a sum of simpler fractions. For 4x + 7 example it can be shown that x 2 + 3x + 2 has the same
More informationSIGNAL PROCESSING & SIMULATION NEWSLETTER
1 of 10 1/25/2008 3:38 AM SIGNAL PROCESSING & SIMULATION NEWSLETTER Note: This is not a particularly interesting topic for anyone other than those who ar e involved in simulation. So if you have difficulty
More informationNotes on Determinant
ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without
More informationSMT 2014 Algebra Test Solutions February 15, 2014
1. Alice and Bob are painting a house. If Alice and Bob do not take any breaks, they will finish painting the house in 20 hours. If, however, Bob stops painting once the house is half-finished, then the
More information3.1. RATIONAL EXPRESSIONS
3.1. RATIONAL EXPRESSIONS RATIONAL NUMBERS In previous courses you have learned how to operate (do addition, subtraction, multiplication, and division) on rational numbers (fractions). Rational numbers
More information4.3 Lagrange Approximation
206 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION Lagrange Polynomial Approximation 4.3 Lagrange Approximation Interpolation means to estimate a missing function value by taking a weighted average
More informationTOPIC 4: DERIVATIVES
TOPIC 4: DERIVATIVES 1. The derivative of a function. Differentiation rules 1.1. The slope of a curve. The slope of a curve at a point P is a measure of the steepness of the curve. If Q is a point on the
More informationLEARNING OBJECTIVES FOR THIS CHAPTER
CHAPTER 2 American mathematician Paul Halmos (1916 2006), who in 1942 published the first modern linear algebra book. The title of Halmos s book was the same as the title of this chapter. Finite-Dimensional
More informationSimilarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
More informationLagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given.
Polynomials (Ch.1) Study Guide by BS, JL, AZ, CC, SH, HL Lagrange Interpolation is a method of fitting an equation to a set of points that functions well when there are few points given. Sasha s method
More informationECE 842 Report Implementation of Elliptic Curve Cryptography
ECE 842 Report Implementation of Elliptic Curve Cryptography Wei-Yang Lin December 15, 2004 Abstract The aim of this report is to illustrate the issues in implementing a practical elliptic curve cryptographic
More informationwww.mathsbox.org.uk ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates
Further Pure Summary Notes. Roots of Quadratic Equations For a quadratic equation ax + bx + c = 0 with roots α and β Sum of the roots Product of roots a + b = b a ab = c a If the coefficients a,b and c
More informationLecture 13 - Basic Number Theory.
Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted
More informationMATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform
MATH 433/533, Fourier Analysis Section 11, The Discrete Fourier Transform Now, instead of considering functions defined on a continuous domain, like the interval [, 1) or the whole real line R, we wish
More informationSome facts about polynomials modulo m (Full proof of the Fingerprinting Theorem)
Some facts about polynomials modulo m (Full proof of the Fingerprinting Theorem) In order to understand the details of the Fingerprinting Theorem on fingerprints of different texts from Chapter 19 of the
More informationTrigonometric Functions and Equations
Contents Trigonometric Functions and Equations Lesson 1 Reasoning with Trigonometric Functions Investigations 1 Proving Trigonometric Identities... 271 2 Sum and Difference Identities... 276 3 Extending
More informationGRE Prep: Precalculus
GRE Prep: Precalculus Franklin H.J. Kenter 1 Introduction These are the notes for the Precalculus section for the GRE Prep session held at UCSD in August 2011. These notes are in no way intended to teach
More informationDiscrete-Time Signals and Systems
2 Discrete-Time Signals and Systems 2.0 INTRODUCTION The term signal is generally applied to something that conveys information. Signals may, for example, convey information about the state or behavior
More information( ) FACTORING. x In this polynomial the only variable in common to all is x.
FACTORING Factoring is similar to breaking up a number into its multiples. For example, 10=5*. The multiples are 5 and. In a polynomial it is the same way, however, the procedure is somewhat more complicated
More information5.3 The Cross Product in R 3
53 The Cross Product in R 3 Definition 531 Let u = [u 1, u 2, u 3 ] and v = [v 1, v 2, v 3 ] Then the vector given by [u 2 v 3 u 3 v 2, u 3 v 1 u 1 v 3, u 1 v 2 u 2 v 1 ] is called the cross product (or
More informationChapter 17. Orthogonal Matrices and Symmetries of Space
Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length
More informationCourse Notes for Math 162: Mathematical Statistics Approximation Methods in Statistics
Course Notes for Math 16: Mathematical Statistics Approximation Methods in Statistics Adam Merberg and Steven J. Miller August 18, 6 Abstract We introduce some of the approximation methods commonly used
More informationShort Programs for functions on Curves
Short Programs for functions on Curves Victor S. Miller Exploratory Computer Science IBM, Thomas J. Watson Research Center Yorktown Heights, NY 10598 May 6, 1986 Abstract The problem of deducing a function
More information5.1 Radical Notation and Rational Exponents
Section 5.1 Radical Notation and Rational Exponents 1 5.1 Radical Notation and Rational Exponents We now review how exponents can be used to describe not only powers (such as 5 2 and 2 3 ), but also roots
More informationIntegrals of Rational Functions
Integrals of Rational Functions Scott R. Fulton Overview A rational function has the form where p and q are polynomials. For example, r(x) = p(x) q(x) f(x) = x2 3 x 4 + 3, g(t) = t6 + 4t 2 3, 7t 5 + 3t
More informationFirst, we show how to use known design specifications to determine filter order and 3dB cut-off
Butterworth Low-Pass Filters In this article, we describe the commonly-used, n th -order Butterworth low-pass filter. First, we show how to use known design specifications to determine filter order and
More informationDEFINITION 5.1.1 A complex number is a matrix of the form. x y. , y x
Chapter 5 COMPLEX NUMBERS 5.1 Constructing the complex numbers One way of introducing the field C of complex numbers is via the arithmetic of matrices. DEFINITION 5.1.1 A complex number is a matrix of
More informationSection IV.1: Recursive Algorithms and Recursion Trees
Section IV.1: Recursive Algorithms and Recursion Trees Definition IV.1.1: A recursive algorithm is an algorithm that solves a problem by (1) reducing it to an instance of the same problem with smaller
More informationCopy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.
Algebra 2 - Chapter Prerequisites Vocabulary Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any. P1 p. 1 1. counting(natural) numbers - {1,2,3,4,...}
More informationALGEBRA 2/TRIGONOMETRY
ALGEBRA /TRIGONOMETRY The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION ALGEBRA /TRIGONOMETRY Thursday, January 9, 015 9:15 a.m to 1:15 p.m., only Student Name: School Name: The possession
More information(Refer Slide Time: 01:11-01:27)
Digital Signal Processing Prof. S. C. Dutta Roy Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 6 Digital systems (contd.); inverse systems, stability, FIR and IIR,
More information3. INNER PRODUCT SPACES
. INNER PRODUCT SPACES.. Definition So far we have studied abstract vector spaces. These are a generalisation of the geometric spaces R and R. But these have more structure than just that of a vector space.
More informationSECTION 0.6: POLYNOMIAL, RATIONAL, AND ALGEBRAIC EXPRESSIONS
(Section 0.6: Polynomial, Rational, and Algebraic Expressions) 0.6.1 SECTION 0.6: POLYNOMIAL, RATIONAL, AND ALGEBRAIC EXPRESSIONS LEARNING OBJECTIVES Be able to identify polynomial, rational, and algebraic
More informationBy choosing to view this document, you agree to all provisions of the copyright laws protecting it.
This material is posted here with permission of the IEEE Such permission of the IEEE does not in any way imply IEEE endorsement of any of Helsinki University of Technology's products or services Internal
More informationLecture 3: Finding integer solutions to systems of linear equations
Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture
More informationCHAPTER 5 Round-off errors
CHAPTER 5 Round-off errors In the two previous chapters we have seen how numbers can be represented in the binary numeral system and how this is the basis for representing numbers in computers. Since any
More information1.3 Algebraic Expressions
1.3 Algebraic Expressions A polynomial is an expression of the form: a n x n + a n 1 x n 1 +... + a 2 x 2 + a 1 x + a 0 The numbers a 1, a 2,..., a n are called coefficients. Each of the separate parts,
More informationApplication. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of.
Polynomial and Rational Functions Outline 3-1 Polynomial Functions 3-2 Finding Rational Zeros of Polynomials 3-3 Approximating Real Zeros of Polynomials 3-4 Rational Functions Chapter 3 Group Activity:
More informationMath 4310 Handout - Quotient Vector Spaces
Math 4310 Handout - Quotient Vector Spaces Dan Collins The textbook defines a subspace of a vector space in Chapter 4, but it avoids ever discussing the notion of a quotient space. This is understandable
More informationSECTION 10-2 Mathematical Induction
73 0 Sequences and Series 6. Approximate e 0. using the first five terms of the series. Compare this approximation with your calculator evaluation of e 0.. 6. Approximate e 0.5 using the first five terms
More informationOperation Count; Numerical Linear Algebra
10 Operation Count; Numerical Linear Algebra 10.1 Introduction Many computations are limited simply by the sheer number of required additions, multiplications, or function evaluations. If floating-point
More informationApplications of Fermat s Little Theorem and Congruences
Applications of Fermat s Little Theorem and Congruences Definition: Let m be a positive integer. Then integers a and b are congruent modulo m, denoted by a b mod m, if m (a b). Example: 3 1 mod 2, 6 4
More information3. Interpolation. Closing the Gaps of Discretization... Beyond Polynomials
3. Interpolation Closing the Gaps of Discretization... Beyond Polynomials Closing the Gaps of Discretization... Beyond Polynomials, December 19, 2012 1 3.3. Polynomial Splines Idea of Polynomial Splines
More informationDRAFT. Further mathematics. GCE AS and A level subject content
Further mathematics GCE AS and A level subject content July 2014 s Introduction Purpose Aims and objectives Subject content Structure Background knowledge Overarching themes Use of technology Detailed
More informationit is easy to see that α = a
21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore
More information3 1. Note that all cubes solve it; therefore, there are no more
Math 13 Problem set 5 Artin 11.4.7 Factor the following polynomials into irreducible factors in Q[x]: (a) x 3 3x (b) x 3 3x + (c) x 9 6x 6 + 9x 3 3 Solution: The first two polynomials are cubics, so if
More informationQUADRATIC EQUATIONS EXPECTED BACKGROUND KNOWLEDGE
MODULE - 1 Quadratic Equations 6 QUADRATIC EQUATIONS In this lesson, you will study aout quadratic equations. You will learn to identify quadratic equations from a collection of given equations and write
More informationSGN-1158 Introduction to Signal Processing Test. Solutions
SGN-1158 Introduction to Signal Processing Test. Solutions 1. Convolve the function ( ) with itself and show that the Fourier transform of the result is the square of the Fourier transform of ( ). (Hints:
More informationInteger roots of quadratic and cubic polynomials with integer coefficients
Integer roots of quadratic and cubic polynomials with integer coefficients Konstantine Zelator Mathematics, Computer Science and Statistics 212 Ben Franklin Hall Bloomsburg University 400 East Second Street
More informationBits Superposition Quantum Parallelism
7-Qubit Quantum Computer Typical Ion Oscillations in a Trap Bits Qubits vs Each qubit can represent both a or at the same time! This phenomenon is known as Superposition. It leads to Quantum Parallelism
More informationThe Fourier Analysis Tool in Microsoft Excel
The Fourier Analysis Tool in Microsoft Excel Douglas A. Kerr Issue March 4, 2009 ABSTRACT AD ITRODUCTIO The spreadsheet application Microsoft Excel includes a tool that will calculate the discrete Fourier
More informationA linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form
Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...
More informationAlgebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.
Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.
More information13. Write the decimal approximation of 9,000,001 9,000,000, rounded to three significant
æ If 3 + 4 = x, then x = 2 gold bar is a rectangular solid measuring 2 3 4 It is melted down, and three equal cubes are constructed from this gold What is the length of a side of each cube? 3 What is the
More informationMOP 2007 Black Group Integer Polynomials Yufei Zhao. Integer Polynomials. June 29, 2007 Yufei Zhao yufeiz@mit.edu
Integer Polynomials June 9, 007 Yufei Zhao yufeiz@mit.edu We will use Z[x] to denote the ring of polynomials with integer coefficients. We begin by summarizing some of the common approaches used in dealing
More informationRoots of Polynomials
Roots of Polynomials (Com S 477/577 Notes) Yan-Bin Jia Sep 24, 2015 A direct corollary of the fundamental theorem of algebra is that p(x) can be factorized over the complex domain into a product a n (x
More information9. POLYNOMIALS. Example 1: The expression a(x) = x 3 4x 2 + 7x 11 is a polynomial in x. The coefficients of a(x) are the numbers 1, 4, 7, 11.
9. POLYNOMIALS 9.1. Definition of a Polynomial A polynomial is an expression of the form: a(x) = a n x n + a n-1 x n-1 +... + a 1 x + a 0. The symbol x is called an indeterminate and simply plays the role
More informationInner Product Spaces
Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and
More informationChapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.
Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize
More informationa 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)
ROOTS OF POLYNOMIAL EQUATIONS In this unit we discuss polynomial equations. A polynomial in x of degree n, where n 0 is an integer, is an expression of the form P n (x) =a n x n + a n 1 x n 1 + + a 1 x
More informationPROBLEM SET 6: POLYNOMIALS
PROBLEM SET 6: POLYNOMIALS 1. introduction In this problem set we will consider polynomials with coefficients in K, where K is the real numbers R, the complex numbers C, the rational numbers Q or any other
More informationMATH 10034 Fundamental Mathematics IV
MATH 0034 Fundamental Mathematics IV http://www.math.kent.edu/ebooks/0034/funmath4.pdf Department of Mathematical Sciences Kent State University January 2, 2009 ii Contents To the Instructor v Polynomials.
More information5 Numerical Differentiation
D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives
More informationAlgebra and Geometry Review (61 topics, no due date)
Course Name: Math 112 Credit Exam LA Tech University Course Code: ALEKS Course: Trigonometry Instructor: Course Dates: Course Content: 159 topics Algebra and Geometry Review (61 topics, no due date) Properties
More informationStudent Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)
NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 5 8 Student Outcomes Students know the definition of a number raised to a negative exponent. Students simplify and write equivalent expressions that contain
More informationHigher Education Math Placement
Higher Education Math Placement Placement Assessment Problem Types 1. Whole Numbers, Fractions, and Decimals 1.1 Operations with Whole Numbers Addition with carry Subtraction with borrowing Multiplication
More informationWinter Camp 2011 Polynomials Alexander Remorov. Polynomials. Alexander Remorov alexanderrem@gmail.com
Polynomials Alexander Remorov alexanderrem@gmail.com Warm-up Problem 1: Let f(x) be a quadratic polynomial. Prove that there exist quadratic polynomials g(x) and h(x) such that f(x)f(x + 1) = g(h(x)).
More informationFigure 1.1 Vector A and Vector F
CHAPTER I VECTOR QUANTITIES Quantities are anything which can be measured, and stated with number. Quantities in physics are divided into two types; scalar and vector quantities. Scalar quantities have
More informationZeros of Polynomial Functions
Zeros of Polynomial Functions The Rational Zero Theorem If f (x) = a n x n + a n-1 x n-1 + + a 1 x + a 0 has integer coefficients and p/q (where p/q is reduced) is a rational zero, then p is a factor of
More information4.1. COMPLEX NUMBERS
4.1. COMPLEX NUMBERS What You Should Learn Use the imaginary unit i to write complex numbers. Add, subtract, and multiply complex numbers. Use complex conjugates to write the quotient of two complex numbers
More informationComputing exponents modulo a number: Repeated squaring
Computing exponents modulo a number: Repeated squaring How do you compute (1415) 13 mod 2537 = 2182 using just a calculator? Or how do you check that 2 340 mod 341 = 1? You can do this using the method
More information