Difference Equations

Size: px
Start display at page:

Download "Difference Equations"

Transcription

1 Difference Equations Andrew W H House 10 June The Basics of Difference Equations Recall that in a previous section we saw that IIR systems cannot be evaluated using the convolution sum because it would require an infinite number of operations We showed, however, that sometimes difference equations can be used to evaluate/implement such systems Thus, an important class of DT LTI systems are those whose inputs/outputs satisfy linear constant-coefficient (LCC) difference equations of the following form Note that this is the DT version of the LCC differential equation in CT y(n) + a 1 y(n 1) + a y(n ) + + a N y(n N) = b 0 x(n) + b 1 x(n 1) + b x(n ) + + b N x(n N) To solve this general difference equation, we need N initial conditions Now, if we wish to solve the above equation causally, for example, we must rewrite it to focus on the current output, y(n) y(n) = b 0 x(n) + b 1 x(n 1) + b x(n ) + + b N x(n N) a 1 y(n 1) a y(n ) a N y(n N) Suppose x(n) = u(n), so we start calculating y(n) at n = 1,, 3, To do this, we need N initial conditions: y( 1), y( ), y( N) If the equation under consideration is to represent a strictly LTI system, the initial conditions (IC s) must be zero [y( 1) = y( ) = = y( N) = 0] and must float with the input ENGI 784 Discrete-Time Systems and Signals 1

2 This last condition means that if, say, x(n) = u(n 1), then we start y(n) at n = 1, 13, 14, so we need [y(11) = y(10) = = y(1 N) = 0] We can encapsulate this requirement with the initial rest condition Definition of IR (initial rest): If x(n) = 0 for n < n o, then y(n) = 0 for n < n o (Note that IR only describes causal systems) 11 Whence Difference Equations Where do difference equations come from? There are a number of possible sources 1 Difference equations can be exact models of DT systems Example 11: Interest-Bearing Bank Account y(n) = 1αy(n 1) + x(n) A bank account could be considered a naturally discrete system In the above equation, y(n) is today s balance, y(n 1) is yesterday s balance, α is the interest rate, and x(n) is the current day s net deposit/withdrawal Difference equations can be approximations of CT differential equations We can sample signals in a CT differential equation, as shown in the following example Example 1: Sampling a CT Differential Equation Consider a CT differential equation, y (t) + y (t) + y(t) = x(t) x (t), IR and suppose we sample, x d (n) = x(t) t=nt, y d (n) = y(t) t=nt, T > 0 then what difference equation can process these signals? Recall in CT, and so define y y(t) y(t t) (t) = lim t 0 t y d(n) = y (t) t=nt ENGI 784 Discrete-Time Systems and Signals

3 which leads to the following approximation of y d (n) y d(n) = y d(n) y c (n 1) T Similarly, we can find y d (n) using y d (n) as the basis y d(n) = y d (n) y c(n 1) T We can likewise also find x (n) from x(t) and x (t) Substituting the DT values into our CT equation, we get the following overall difference equation for the DT system ( ) y d (n) y d (n 1) + y d (n ) yd (n) y d (n 1) + T T = x d (n) x d(n) x d (n 1) T + y d (n), IR We can group the like terms to get a more proper-looking difference equation ( 1 T y d(n ) T + ) ( 1 y T d (n 1) + T + ) T + 1 y d (n) = ( T ) x d (n) + 1 T x d(n 1), IR 3 Difference equations can be designed to produce desired effects in DT In other words, the difference equation can be used to implement the system 1 Sample Difference Equations Let s look at some sample difference equations 1 y(n) = x(n 5) is a pure delay system Here, = 1, b 5 = 1, and all other values a k, b k = 0 y(n) = x(n) x(n 1) is a differencer In this case, = b 0 = b 1 = 1 and all other values a k, b k = 0 Both of these cases are non-recursive difference equations, since the only appearing value of the output is the current y(n) ENGI 784 Discrete-Time Systems and Signals 3

4 3 The system y(n) = x(k) is an accumulator We can rewrite this as a difference equation that is recursive on y(n) n 1 y(n) = x(k) = x(n) + x(k) = x(n) + y(n 1) So y(n) y(n 1) = x(n), IR As we said, this is clearly recursive on y(n) 4 We have seen the system y(n) = x(k) ( ) n k 1 = x(n) and shown that it can be written as a difference equation ( ) n k 1 y(n) = x(k) n 1 ( ) n k 1 = x(n) + x(k) = x(n) + 1 n 1 ( 1 x(k) = x(n) + 1 y(n 1) ( ) n 1 u(n) ) n k 1 So y(n) 1 y(n 1) = x(n), IR This is a recursive difference equation that is equivalent to the convolution sum Using Difference Equations What can we do with difference equations? 1 We can implement DT LTI systems (This is illustrated in the handout and in the next section) We can get the difference equation from the h(n) of a DT LTI system, so the difference equation is equivalent the convolution sum and can be used to evaluate convolution For example, if ( ) n 1 h(n) = u(n) ENGI 784 Discrete-Time Systems and Signals 4

5 then we can write it as a difference equation so x(n) h(n) y(n) = x(k) y(n) = x(n) + 1 y(n 1), ( ) n k 1 = x(n) + 1 y(n 1), IR IR and we can implement the difference equation 3 We can solve difference equations for a given x(n), either in time (recursively or via formal methods like the CT differential equation) or in frequency (which we ll cover later) The recursive solution is an actual system implementation Example 1: Solution of Difference Equations Consider the following system y(n) 1 y(n 1) = x(n), IR We want to find y(n) if x(n) = u(n) The first step is to write the equation causally y(n) = x(n) + 1 y(n 1), IR The IR condition means that y(n) = 0 for n < 0 So, we can evaluate recursively from n = 0 y(0) = x(0) + 1 y(0 1) = = 1 y(1) = x(1) + 1y(1 1) = = 3 y() = x() + 1y( 1) = = 7 4 y(3) = x(3) + 1y(3 1) = = 15 8 We notice a trend in the values, so we can express the output as follows [ ( ) n 1 y(n) = u(n)] u(n) = s(n) This is the step response ENGI 784 Discrete-Time Systems and Signals 5

6 Let s try this for x(n) = δ(n) Again, evaluating recursively from n = 0 y(0) = x(0) + 1 y(0 1) = = 1 y(1) = x(1) + 1y(1 1) = = 1 y() = x() + 1y( 1) = = 1 4 y(3) = x(3) + 1y(3 1) = = 1 8 Not surprisingly, we see a trend here, and as expected, this output is the impulse response of the system ( ) n 1 y(n) = h(n) = u(n) This means of solution will work for any input x(n) Consider the following x(n) We see that x(n) = 0 for n < 1, so y(n) = 0 for n < 1 due to IR condition We evaluate recursively from n = 1 y(1) = x(1) + 1 y(1 1) = = 1 y() = x() + 1y( 1) = = 5 y(3) = x(3) + 1y(3 1) = = 9 4 y(4) = x(4) + 1y(4 1) = = 1 8 y(5) = x(5) + 1y(5 1) = = y(6) = x(6) + 1y(6 1) = = 17 3 y(7) = x(7) + 1y(7 1) = = ENGI 784 Discrete-Time Systems and Signals 6

7 There is no overall form to represent this output, but we can see that y(n) for n > 7 are going to follow the trend of 17/ n 1 that was apparent since n = 5 We can plot y(n), shown below So this recursive method of solutions works for any x(n) so long as we have IR, and is easily implementable in software or hardware 3 Graphical Representation of Difference Equations Note: This material summarizes the handout We can represent the general form of LCC difference equations as where a k, b k are scalars N a k y(n k) = k=0 N b k x(n k) k=0 Clearly, there are only three operations involved: multiplication by a scalar, addition, and shifting in time Shifting in time is done via the unit delay component We can represent these graphically, shown below ENGI 784 Discrete-Time Systems and Signals 7

8 That means we have an easy way to visualize difference equations Furthermore, this graphical representation lends itself to analysis Say we had the difference equation y(n) = x(n) + x(n 1) 3y(n 1), IR which is represented graphically as shown below (Note that we can group the input terms and can represent them as w(n)) We can swap the two halves of the graphical representation, and then we can combine the unit delays to reduce the storage requirements of the implementation This, this form of graphical analysis provides tools and techniques allowing more efficient implementation ENGI 784 Discrete-Time Systems and Signals 8

9 There is some question as to why this swapping of halves of the difference equation implementation can work We can consider this in the context of the above sample difference equation We already stated that y(n) = w(n) 3y(n 1), IR where w(n) = x(n) + x(n 1) for our initial graphical representation For our swapped and reduced version, we have a different intermediate signal, z(n), and we see the following relationships z(n) = x(n) 3z(n 1) y(n) = z(n) + z(n 1) This y(n) does not look much like our originally defined y(n) However, if we substitute the value of z(n) into this new equation for y(n) for both z(n) and z(n 1) we see the following y(n) = z(n) + z(n 1) = [x(n) 3z(n 1)] + [x(n 1) 3z(n )] = x(n) 3z(n 1) + x(n 1) 6z(n ) = x(n) + x(n 1) 3z(n 1) 6z(n ) = x(n) + x(n 1) 3 [z(n 1) + z(n )] = x(n) + x(n 1) 3y(n 1) if we consider y(n) in terms of z(n) Thus, the new form of the difference equation is still equivalent to the original, but has allowed us to remove one of the unit delay components and thus provide a more efficient implementation This sort of optimization would be difficult to find without using these graphical techniques Signals and Systems, E: Chapter 4 43, page(s) Signal Processing First: Chapter 5-, page(s) 103 ENGI 784 Discrete-Time Systems and Signals 9

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2009 Linear Systems Fundamentals

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2009 Linear Systems Fundamentals UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2009 Linear Systems Fundamentals MIDTERM EXAM You are allowed one 2-sided sheet of notes. No books, no other

More information

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2010 Linear Systems Fundamentals

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2010 Linear Systems Fundamentals UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2010 Linear Systems Fundamentals FINAL EXAM WITH SOLUTIONS (YOURS!) You are allowed one 2-sided sheet of

More information

(Refer Slide Time: 01:11-01:27)

(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 information

SGN-1158 Introduction to Signal Processing Test. Solutions

SGN-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 information

6 Systems Represented by Differential and Difference Equations

6 Systems Represented by Differential and Difference Equations 6 Systems Represented by ifferential and ifference Equations An important class of linear, time-invariant systems consists of systems represented by linear constant-coefficient differential equations in

More information

3 Signals and Systems: Part II

3 Signals and Systems: Part II 3 Signals and Systems: Part II Recommended Problems P3.1 Sketch each of the following signals. (a) x[n] = b[n] + 3[n - 3] (b) x[n] = u[n] - u[n - 5] (c) x[n] = 6[n] + 1n + (i)2 [n - 2] + (i)ag[n - 3] (d)

More information

Discrete-Time Signals and Systems

Discrete-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

TTT4120 Digital Signal Processing Suggested Solution to Exam Fall 2008

TTT4120 Digital Signal Processing Suggested Solution to Exam Fall 2008 Norwegian University of Science and Technology Department of Electronics and Telecommunications TTT40 Digital Signal Processing Suggested Solution to Exam Fall 008 Problem (a) The input and the input-output

More information

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system 1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables

More information

Frequency Response of FIR Filters

Frequency 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 information

1.4 Fast Fourier Transform (FFT) Algorithm

1.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 information

The Z transform (3) 1

The Z transform (3) 1 The Z transform (3) 1 Today Analysis of stability and causality of LTI systems in the Z domain The inverse Z Transform Section 3.3 (read class notes first) Examples 3.9, 3.11 Properties of the Z Transform

More information

5 Systems of Equations

5 Systems of Equations Systems of Equations Concepts: Solutions to Systems of Equations-Graphically and Algebraically Solving Systems - Substitution Method Solving Systems - Elimination Method Using -Dimensional Graphs to Approximate

More information

Practice with Proofs

Practice with Proofs Practice with Proofs October 6, 2014 Recall the following Definition 0.1. A function f is increasing if for every x, y in the domain of f, x < y = f(x) < f(y) 1. Prove that h(x) = x 3 is increasing, using

More information

min ǫ = E{e 2 [n]}. (11.2)

min ǫ = E{e 2 [n]}. (11.2) C H A P T E R 11 Wiener Filtering INTRODUCTION In this chapter we will consider the use of LTI systems in order to perform minimum mean-square-error (MMSE) estimation of a WSS random process of interest,

More information

Continuous Compounding and Discounting

Continuous Compounding and Discounting Continuous Compounding and Discounting Philip A. Viton October 5, 2011 Continuous October 5, 2011 1 / 19 Introduction Most real-world project analysis is carried out as we ve been doing it, with the present

More information

Solving Systems of Linear Equations Using Matrices

Solving Systems of Linear Equations Using Matrices Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.

More information

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving Section 7 Algebraic Manipulations and Solving Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving Before launching into the mathematics, let s take a moment to talk about the words

More information

Lecture 8 ELE 301: Signals and Systems

Lecture 8 ELE 301: Signals and Systems Lecture 8 ELE 3: Signals and Systems Prof. Paul Cuff Princeton University Fall 2-2 Cuff (Lecture 7) ELE 3: Signals and Systems Fall 2-2 / 37 Properties of the Fourier Transform Properties of the Fourier

More information

LS.6 Solution Matrices

LS.6 Solution Matrices LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions

More information

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0. Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients We will now turn our attention to nonhomogeneous second order linear equations, equations with the standard

More information

PYKC Jan-7-10. Lecture 1 Slide 1

PYKC Jan-7-10. Lecture 1 Slide 1 Aims and Objectives E 2.5 Signals & Linear Systems Peter Cheung Department of Electrical & Electronic Engineering Imperial College London! By the end of the course, you would have understood: Basic signal

More information

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

HYBRID FIR-IIR FILTERS By John F. Ehlers

HYBRID FIR-IIR FILTERS By John F. Ehlers HYBRID FIR-IIR FILTERS By John F. Ehlers Many traders have come to me, asking me to make their indicators act just one day sooner. They are convinced that this is just the edge they need to make a zillion

More information

Partial Fractions Decomposition

Partial Fractions Decomposition Partial Fractions Decomposition Dr. Philippe B. Laval Kennesaw State University August 6, 008 Abstract This handout describes partial fractions decomposition and how it can be used when integrating rational

More information

Signal Detection C H A P T E R 14 14.1 SIGNAL DETECTION AS HYPOTHESIS TESTING

Signal Detection C H A P T E R 14 14.1 SIGNAL DETECTION AS HYPOTHESIS TESTING C H A P T E R 4 Signal Detection 4. SIGNAL DETECTION AS HYPOTHESIS TESTING In Chapter 3 we considered hypothesis testing in the context of random variables. The detector resulting in the minimum probability

More information

FFT Algorithms. Chapter 6. Contents 6.1

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 information

1 Norms and Vector Spaces

1 Norms and Vector Spaces 008.10.07.01 1 Norms and Vector Spaces Suppose we have a complex vector space V. A norm is a function f : V R which satisfies (i) f(x) 0 for all x V (ii) f(x + y) f(x) + f(y) for all x,y V (iii) f(λx)

More information

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek Design of Efficient Digital Interpolation Filters for Integer Upsampling by Daniel B. Turek Submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements

More information

Chapter 9. Systems of Linear Equations

Chapter 9. Systems of Linear Equations Chapter 9. Systems of Linear Equations 9.1. Solve Systems of Linear Equations by Graphing KYOTE Standards: CR 21; CA 13 In this section we discuss how to solve systems of two linear equations in two variables

More information

Scalar Valued Functions of Several Variables; the Gradient Vector

Scalar Valued Functions of Several Variables; the Gradient Vector Scalar Valued Functions of Several Variables; the Gradient Vector Scalar Valued Functions vector valued function of n variables: Let us consider a scalar (i.e., numerical, rather than y = φ(x = φ(x 1,

More information

Section 3-7. Marginal Analysis in Business and Economics. Marginal Cost, Revenue, and Profit. 202 Chapter 3 The Derivative

Section 3-7. Marginal Analysis in Business and Economics. Marginal Cost, Revenue, and Profit. 202 Chapter 3 The Derivative 202 Chapter 3 The Derivative Section 3-7 Marginal Analysis in Business and Economics Marginal Cost, Revenue, and Profit Application Marginal Average Cost, Revenue, and Profit Marginal Cost, Revenue, and

More information

Chapter 12 Modal Decomposition of State-Space Models 12.1 Introduction The solutions obtained in previous chapters, whether in time domain or transfor

Chapter 12 Modal Decomposition of State-Space Models 12.1 Introduction The solutions obtained in previous chapters, whether in time domain or transfor Lectures on Dynamic Systems and Control Mohammed Dahleh Munther A. Dahleh George Verghese Department of Electrical Engineering and Computer Science Massachuasetts Institute of Technology 1 1 c Chapter

More information

10 Discrete-Time Fourier Series

10 Discrete-Time Fourier Series 10 Discrete-Time Fourier Series In this and the next lecture we parallel for discrete time the discussion of the last three lectures for continuous time. Specifically, we consider the representation of

More information

General Framework for an Iterative Solution of Ax b. Jacobi s Method

General Framework for an Iterative Solution of Ax b. Jacobi s Method 2.6 Iterative Solutions of Linear Systems 143 2.6 Iterative Solutions of Linear Systems Consistent linear systems in real life are solved in one of two ways: by direct calculation (using a matrix factorization,

More information

Probability and Random Variables. Generation of random variables (r.v.)

Probability and Random Variables. Generation of random variables (r.v.) Probability and Random Variables Method for generating random variables with a specified probability distribution function. Gaussian And Markov Processes Characterization of Stationary Random Process Linearly

More information

Trend and Seasonal Components

Trend and Seasonal Components Chapter 2 Trend and Seasonal Components If the plot of a TS reveals an increase of the seasonal and noise fluctuations with the level of the process then some transformation may be necessary before doing

More information

5 Homogeneous systems

5 Homogeneous systems 5 Homogeneous systems Definition: A homogeneous (ho-mo-jeen -i-us) system of linear algebraic equations is one in which all the numbers on the right hand side are equal to : a x +... + a n x n =.. a m

More information

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

This 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 information

Math 4310 Handout - Quotient Vector Spaces

Math 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 information

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

Student 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 information

TTT4110 Information and Signal Theory Solution to exam

TTT4110 Information and Signal Theory Solution to exam Norwegian University of Science and Technology Department of Electronics and Telecommunications TTT4 Information and Signal Theory Solution to exam Problem I (a The frequency response is found by taking

More information

Session 7 Bivariate Data and Analysis

Session 7 Bivariate Data and Analysis Session 7 Bivariate Data and Analysis Key Terms for This Session Previously Introduced mean standard deviation New in This Session association bivariate analysis contingency table co-variation least squares

More information

5.1 Simple and Compound Interest

5.1 Simple and Compound Interest 5.1 Simple and Compound Interest Question 1: What is simple interest? Question 2: What is compound interest? Question 3: What is an effective interest rate? Question 4: What is continuous compound interest?

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

How To Understand The Nyquist Sampling Theorem

How To Understand The Nyquist Sampling Theorem Nyquist Sampling Theorem By: Arnold Evia Table of Contents What is the Nyquist Sampling Theorem? Bandwidth Sampling Impulse Response Train Fourier Transform of Impulse Response Train Sampling in the Fourier

More information

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem Chapter Vector autoregressions We begin by taking a look at the data of macroeconomics. A way to summarize the dynamics of macroeconomic data is to make use of vector autoregressions. VAR models have become

More information

Math 319 Problem Set #3 Solution 21 February 2002

Math 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 information

1 Error in Euler s Method

1 Error in Euler s Method 1 Error in Euler s Method Experience with Euler s 1 method raises some interesting questions about numerical approximations for the solutions of differential equations. 1. What determines the amount of

More information

Convolution. The Delta Function and Impulse Response

Convolution. The Delta Function and Impulse Response CHAPTER 6 Convolution Convolution is a mathematical way of combining two signals to form a third signal. It is the single most important technique in Digital Signal Processing. Using the strategy of impulse

More information

Module 3: Correlation and Covariance

Module 3: Correlation and Covariance Using Statistical Data to Make Decisions Module 3: Correlation and Covariance Tom Ilvento Dr. Mugdim Pašiƒ University of Delaware Sarajevo Graduate School of Business O ften our interest in data analysis

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

Linear Programming. Solving LP Models Using MS Excel, 18

Linear Programming. Solving LP Models Using MS Excel, 18 SUPPLEMENT TO CHAPTER SIX Linear Programming SUPPLEMENT OUTLINE Introduction, 2 Linear Programming Models, 2 Model Formulation, 4 Graphical Linear Programming, 5 Outline of Graphical Procedure, 5 Plotting

More information

3. Time value of money. We will review some tools for discounting cash flows.

3. Time value of money. We will review some tools for discounting cash flows. 1 3. Time value of money We will review some tools for discounting cash flows. Simple interest 2 With simple interest, the amount earned each period is always the same: i = rp o where i = interest earned

More information

The Method of Least Squares. Lectures INF2320 p. 1/80

The Method of Least Squares. Lectures INF2320 p. 1/80 The Method of Least Squares Lectures INF2320 p. 1/80 Lectures INF2320 p. 2/80 The method of least squares We study the following problem: Given n points (t i,y i ) for i = 1,...,n in the (t,y)-plane. How

More information

Reading 13 : Finite State Automata and Regular Expressions

Reading 13 : Finite State Automata and Regular Expressions CS/Math 24: Introduction to Discrete Mathematics Fall 25 Reading 3 : Finite State Automata and Regular Expressions Instructors: Beck Hasti, Gautam Prakriya In this reading we study a mathematical model

More information

Em bedded DSP : I ntroduction to Digital Filters

Em bedded DSP : I ntroduction to Digital Filters Embedded DSP : Introduction to Digital Filters 1 Em bedded DSP : I ntroduction to Digital Filters Digital filters are a important part of DSP. In fact their extraordinary performance is one of the keys

More information

9 Fourier Transform Properties

9 Fourier Transform Properties 9 Fourier Transform Properties The Fourier transform is a major cornerstone in the analysis and representation of signals and linear, time-invariant systems, and its elegance and importance cannot be overemphasized.

More information

SIGNAL PROCESSING & SIMULATION NEWSLETTER

SIGNAL 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 information

1.1 Discrete-Time Fourier Transform

1.1 Discrete-Time Fourier Transform 1.1 Discrete-Time Fourier Transform The discrete-time Fourier transform has essentially the same properties as the continuous-time Fourier transform, and these properties play parallel roles in continuous

More information

Lecture 7: Finding Lyapunov Functions 1

Lecture 7: Finding Lyapunov Functions 1 Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.243j (Fall 2003): DYNAMICS OF NONLINEAR SYSTEMS by A. Megretski Lecture 7: Finding Lyapunov Functions 1

More information

5 Numerical Differentiation

5 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 information

Solving Systems of Two Equations Algebraically

Solving Systems of Two Equations Algebraically 8 MODULE 3. EQUATIONS 3b Solving Systems of Two Equations Algebraically Solving Systems by Substitution In this section we introduce an algebraic technique for solving systems of two equations in two unknowns

More information

Linear Algebra Notes

Linear Algebra Notes Linear Algebra Notes Chapter 19 KERNEL AND IMAGE OF A MATRIX Take an n m matrix a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm and think of it as a function A : R m R n The kernel of A is defined as Note

More information

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 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 information

San José State University Department of Electrical Engineering EE 112, Linear Systems, Spring 2010

San José State University Department of Electrical Engineering EE 112, Linear Systems, Spring 2010 San José State University Department of Electrical Engineering EE 112, Linear Systems, Spring 2010 Instructor: Robert H. Morelos-Zaragoza Office Location: ENGR 373 Telephone: (408) 924-3879 Email: robert.morelos-zaragoza@sjsu.edu

More information

Using the Impedance Method

Using the Impedance Method Using the Impedance Method The impedance method allows us to completely eliminate the differential equation approach for the determination of the response of circuits. In fact the impedance method even

More information

Interest Rate and Credit Risk Derivatives

Interest Rate and Credit Risk Derivatives Interest Rate and Credit Risk Derivatives Interest Rate and Credit Risk Derivatives Peter Ritchken Kenneth Walter Haber Professor of Finance Weatherhead School of Management Case Western Reserve University

More information

What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of y = mx + b.

What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of y = mx + b. PRIMARY CONTENT MODULE Algebra - Linear Equations & Inequalities T-37/H-37 What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of

More information

Solving Rational Equations

Solving Rational Equations Lesson M Lesson : Student Outcomes Students solve rational equations, monitoring for the creation of extraneous solutions. Lesson Notes In the preceding lessons, students learned to add, subtract, multiply,

More information

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises CHAPTER FIVE 5.1 SOLUTIONS 265 Solutions for Section 5.1 Skill Refresher S1. Since 1,000,000 = 10 6, we have x = 6. S2. Since 0.01 = 10 2, we have t = 2. S3. Since e 3 = ( e 3) 1/2 = e 3/2, we have z =

More information

Note on growth and growth accounting

Note on growth and growth accounting CHAPTER 0 Note on growth and growth accounting 1. Growth and the growth rate In this section aspects of the mathematical concept of the rate of growth used in growth models and in the empirical analysis

More information

Notes on Assembly Language

Notes on Assembly Language Notes on Assembly Language Brief introduction to assembly programming The main components of a computer that take part in the execution of a program written in assembly code are the following: A set of

More information

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s). Transfer Functions The transfer function of a linear system is the ratio of the Laplace Transform of the output to the Laplace Transform of the input, i.e., Y (s)/u(s). Denoting this ratio by G(s), i.e.,

More information

Introduction to the Z-transform

Introduction to the Z-transform ECE 3640 Lecture 2 Z Transforms Objective: Z-transforms are to difference equations what Laplace transforms are to differential equations. In this lecture we are introduced to Z-transforms, their inverses,

More information

Figure 2.1: Center of mass of four points.

Figure 2.1: Center of mass of four points. Chapter 2 Bézier curves are named after their inventor, Dr. Pierre Bézier. Bézier was an engineer with the Renault car company and set out in the early 196 s to develop a curve formulation which would

More information

Lectures 5-6: Taylor Series

Lectures 5-6: Taylor Series Math 1d Instructor: Padraic Bartlett Lectures 5-: Taylor Series Weeks 5- Caltech 213 1 Taylor Polynomials and Series As we saw in week 4, power series are remarkably nice objects to work with. In particular,

More information

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. http://numericalmethods.eng.usf.

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. http://numericalmethods.eng.usf. Integration Topic: Trapezoidal Rule Major: General Engineering Author: Autar Kaw, Charlie Barker 1 What is Integration Integration: The process of measuring the area under a function plotted on a graph.

More information

MATHEMATICAL SURVEY AND APPLICATION OF THE CROSS-AMBIGUITY FUNCTION

MATHEMATICAL SURVEY AND APPLICATION OF THE CROSS-AMBIGUITY FUNCTION MATHEMATICAL SURVEY AND APPLICATION OF THE CROSS-AMBIGUITY FUNCTION Dennis Vandenberg Department of Mathematical Sciences Indiana University South Bend E-mail Address: djvanden@iusb.edu Submitted to the

More information

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r), Chapter 0 Key Ideas Correlation, Correlation Coefficient (r), Section 0-: Overview We have already explored the basics of describing single variable data sets. However, when two quantitative variables

More information

1.7 Graphs of Functions

1.7 Graphs of Functions 64 Relations and Functions 1.7 Graphs of Functions In Section 1.4 we defined a function as a special type of relation; one in which each x-coordinate was matched with only one y-coordinate. We spent most

More information

Decomposing Numbers (Operations and Algebraic Thinking)

Decomposing Numbers (Operations and Algebraic Thinking) Decomposing Numbers (Operations and Algebraic Thinking) Kindergarten Formative Assessment Lesson Designed and revised by Kentucky Department of Education Mathematics Specialists Field-tested by Kentucky

More information

Class Note for Signals and Systems. Stanley Chan University of California, San Diego

Class Note for Signals and Systems. Stanley Chan University of California, San Diego Class Note for Signals and Systems Stanley Chan University of California, San Diego 2 Acknowledgement This class note is prepared for ECE 101: Linear Systems Fundamentals at the University of California,

More information

The Graphical Method: An Example

The Graphical Method: An Example The Graphical Method: An Example Consider the following linear program: Maximize 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2 0, where, for ease of reference,

More information

Representation of functions as power series

Representation of functions as power series Representation of functions as power series Dr. Philippe B. Laval Kennesaw State University November 9, 008 Abstract This document is a summary of the theory and techniques used to represent functions

More information

Measurement of Capacitance

Measurement of Capacitance Measurement of Capacitance Pre-Lab Questions Page Name: Class: Roster Number: Instructor:. A capacitor is used to store. 2. What is the SI unit for capacitance? 3. A capacitor basically consists of two

More information

Scientific Programming

Scientific Programming 1 The wave equation Scientific Programming Wave Equation The wave equation describes how waves propagate: light waves, sound waves, oscillating strings, wave in a pond,... Suppose that the function h(x,t)

More information

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities Algebra 1, Quarter 2, Unit 2.1 Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities Overview Number of instructional days: 15 (1 day = 45 60 minutes) Content to be learned

More information

Finding Rates and the Geometric Mean

Finding Rates and the Geometric Mean Finding Rates and the Geometric Mean So far, most of the situations we ve covered have assumed a known interest rate. If you save a certain amount of money and it earns a fixed interest rate for a period

More information

4 Convolution. Solutions to Recommended Problems

4 Convolution. Solutions to Recommended Problems 4 Convolution Solutions to Recommended Problems S4.1 The given input in Figure S4.1-1 can be expressed as linear combinations of xi[n], x 2 [n], X 3 [n]. x,[ n] 0 2 Figure S4.1-1 (a) x 4[n] = 2x 1 [n]

More information

The Method of Partial Fractions Math 121 Calculus II Spring 2015

The 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 information

Integrals of Rational Functions

Integrals 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 information

Introduction to Digital Filters

Introduction to Digital Filters CHAPTER 14 Introduction to Digital Filters Digital filters are used for two general purposes: (1) separation of signals that have been combined, and (2) restoration of signals that have been distorted

More information

6.4 Logarithmic Equations and Inequalities

6.4 Logarithmic Equations and Inequalities 6.4 Logarithmic Equations and Inequalities 459 6.4 Logarithmic Equations and Inequalities In Section 6.3 we solved equations and inequalities involving exponential functions using one of two basic strategies.

More information

1.6 The Order of Operations

1.6 The Order of Operations 1.6 The Order of Operations Contents: Operations Grouping Symbols The Order of Operations Exponents and Negative Numbers Negative Square Roots Square Root of a Negative Number Order of Operations and Negative

More information

EQUATIONS and INEQUALITIES

EQUATIONS and INEQUALITIES EQUATIONS and INEQUALITIES Linear Equations and Slope 1. Slope a. Calculate the slope of a line given two points b. Calculate the slope of a line parallel to a given line. c. Calculate the slope of a line

More information

10.2 Series and Convergence

10.2 Series and Convergence 10.2 Series and Convergence Write sums using sigma notation Find the partial sums of series and determine convergence or divergence of infinite series Find the N th partial sums of geometric series and

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 68 FIR as

More information

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012 Binary numbers The reason humans represent numbers using decimal (the ten digits from 0,1,... 9) is that we have ten fingers. There is no other reason than that. There is nothing special otherwise about

More information

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

HOMEWORK 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 information