Concrete Mathematics Exercises from 30 September 2016

Σχετικά έγγραφα
Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

Section 8.3 Trigonometric Equations

4.6 Autoregressive Moving Average Model ARMA(1,1)

2 Composition. Invertible Mappings

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Matrices and Determinants

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

EE512: Error Control Coding

Reminders: linear functions

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

( y) Partial Differential Equations

Homework 3 Solutions

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

The Simply Typed Lambda Calculus

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

C.S. 430 Assignment 6, Sample Solutions

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

Finite Field Problems: Solutions

Every set of first-order formulas is equivalent to an independent set

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

Section 7.6 Double and Half Angle Formulas

ST5224: Advanced Statistical Theory II

Example Sheet 3 Solutions

Numerical Analysis FMN011

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Inverse trigonometric functions & General Solution of Trigonometric Equations

D Alembert s Solution to the Wave Equation

Partial Differential Equations in Biology The boundary element method. March 26, 2013

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Solution Series 9. i=1 x i and i=1 x i.

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Tridiagonal matrices. Gérard MEURANT. October, 2008

Math221: HW# 1 solutions

Quadratic Expressions

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

The challenges of non-stable predicates

Second Order RLC Filters

ORDINAL ARITHMETIC JULIAN J. SCHLÖDER

Fractional Colorings and Zykov Products of graphs

Lecture 26: Circular domains

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

Areas and Lengths in Polar Coordinates

6.3 Forecasting ARMA processes

Problem Set 3: Solutions

PARTIAL NOTES for 6.1 Trigonometric Identities

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

( ) 2 and compare to M.

Other Test Constructions: Likelihood Ratio & Bayes Tests

TMA4115 Matematikk 3

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Areas and Lengths in Polar Coordinates

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

Συστήματα Διαχείρισης Βάσεων Δεδομένων

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Homework 8 Model Solution Section

Lecture 2. Soundness and completeness of propositional logic

Srednicki Chapter 55

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

Statistical Inference I Locally most powerful tests

Forced Pendulum Numerical approach

Solutions to Exercise Sheet 5

Space-Time Symmetries

Optimal Parameter in Hermitian and Skew-Hermitian Splitting Method for Certain Two-by-Two Block Matrices

Instruction Execution Times

Second Order Partial Differential Equations

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

Homomorphism in Intuitionistic Fuzzy Automata

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ.

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds!

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 7η: Consumer Behavior Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

Section 9.2 Polar Equations and Graphs

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

derivation of the Laplacian from rectangular to spherical coordinates

Approximation of distance between locations on earth given by latitude and longitude

ES440/ES911: CFD. Chapter 5. Solution of Linear Equation Systems

A Note on Intuitionistic Fuzzy. Equivalence Relation

Trigonometry 1.TRIGONOMETRIC RATIOS

If we restrict the domain of y = sin x to [ π, π ], the restrict function. y = sin x, π 2 x π 2

CRASH COURSE IN PRECALCULUS

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω

If we restrict the domain of y = sin x to [ π 2, π 2

2. Let H 1 and H 2 be Hilbert spaces and let T : H 1 H 2 be a bounded linear operator. Prove that [T (H 1 )] = N (T ). (6p)

Tutorial problem set 6,

Variational Wavefunction for the Helium Atom

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

Συντακτικές λειτουργίες

Differential equations

MATHEMATICS. 1. If A and B are square matrices of order 3 such that A = -1, B =3, then 3AB = 1) -9 2) -27 3) -81 4) 81

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

Uniform Convergence of Fourier Series Michael Taylor

Durbin-Levinson recursive method

Block Ciphers Modes. Ramki Thurimella

MATH423 String Theory Solutions 4. = 0 τ = f(s). (1) dτ ds = dxµ dτ f (s) (2) dτ 2 [f (s)] 2 + dxµ. dτ f (s) (3)

Higher Derivative Gravity Theories

Similarly, we may define hyperbolic functions cosh α and sinh α from the unit hyperbola

Right Rear Door. Let's now finish the door hinge saga with the right rear door

SCITECH Volume 13, Issue 2 RESEARCH ORGANISATION Published online: March 29, 2018

Differentiation exercise show differential equation

Transcript:

Concrete Mathematics Exercises from 30 September 2016 Silvio Capobianco Exercise 1.7 Let H(n) = J(n + 1) J(n). Equation (1.8) tells us that H(2n) = 2, and H(2n+1) = J(2n+2) J(2n+1) = (2J(n+1) 1) (2J(n)+1) = 2H(n) 2 for every n 1. Therefore it seems possible to prove that H(n) = 2 for all n, by induction on n. What s wrong here? Solution. To correctly prove by induction that H(n) = 2 for every n 1, we need to check the induction base for n = 1. However, H(1) = J(2) J(1) = 1 1 = 0 Exercise 1.8 Solve the recurrence: Q 0 = α ; Q 1 = β; Q n = (1 + Q n 1 )/Q n 2, for n > 1. Assume that Q n 0 for all n 0. Hint: Q 4 = (1 + α)/β. Solution. Let us just start computing. We get Q 2 = (1 + β)/α and Q 3 = 1

(1 + ((1 + β)/α))/β = (1 + α + β)/. Then, and Q 4 = 1 + 1+α+β 1+β = = α +1+α+β 1+β α (1+α)(1+β) 1+β α = 1 + α β Q 5 = 1 + 1+α β 1+α+β =, β+1+α β 1+α+β = = α. Thus, Q 6 = (1 + α)/((1 + α)/β) = β, and the sequence is periodic. Important note: The exercise asks us to solve a second order recurrence with two initial conditions, corresponding to two consecutive indices. To be sure that the solution is a periodic sequence, we must then make sure that two consecutive values are repeated. A note on the repertoire method Suppose that we have a recursion scheme of the form: g(0) = α, g(n + 1) = Φ(g(n)) + Ψ(n; β, γ,...) for n 0. (1) Suppose now that: 1. Φ is linear in g, i.e., if g(n) = λ 1 g 1 (n) + λ 2 g 2 (n) then Φ(g(n)) = λ 1 Φ(g 1 (n)) + λ 2 Φ(g 2 (n)). No hypotheses are made on the dependence of g on n. 2

2. Ψ is a linear function of the m 1 parameters β, γ,... No hypotheses are made on the dependence of Ψ on n. Then the whole system (1) is linear in the parameters α, β, γ,..., i.e., if g i (n) is the solution corresponding to the values α = α i, β = β i, γ = γ i,..., then g(n) = λ 1 g 1 (n) + λ 2 g 2 (n) is the solution corresponding to α = λ 1 α 1 + λ 2 α 2, β = λ 1 β 1 + λ 2 β 2, γ = λ 1 γ 1 + λ 2 γ 2,... We can then look for a general solution of the form g(n) = αa(n) + βb(n) + γc(n) +... (2) i.e., think of g(n) as a linear combination of m functions A(n), B(n), C(n),... according to the coefficients α, β, γ,... To find these functions, we can reason as follows. Suppose we have a repertoire of m pairs of the form ((α i, β i, γ i,...), g i (n)) satisfying the following conditions: 1. For every i = 1, 2,..., m, g i (n) is the solution of the system corresponding to the values α = α i, β = β i, γ = γ i,... 2. The m m-tuples (α i, β i, γ i,...) are linearly independent. Then the functions A(n), B(n), C(n),... are uniquely determined. The reason is that, for every fixed n, α 1 A(n) +β 1 B(n) +γ 1 C(n) +... = g 1 (n). =. α m A(n) +β m B(n) +γ m C(n) +... = g m (n) is a system of m linear equations in the m unknowns A(n), B(n), C(n),... whose coefficients matrix is invertible. This general idea can be applied to several different cases. For instance, if the recurrence is second-order: g(0) = α 0, g(1) = α 1, g(n + 1) = Φ 0 (g(n)) + Φ 1 (g(n 1)) + Ψ(n; β, γ,...) for n 1, (3) then we will require that Φ 0 and Φ 1 are linear in g, and that Ψ is a linear function of the m 2 parameters β, γ,.... 3

The same can be said of systems of the form: g(1) = α, g(kn + j) = Φ(g(n)) + Ψ(n; β j, γ j,...) for n 1, 0 j < k. (4) The previous argument is easily adapted to the new case: this time, the number of tuple-function pairs to determine will be 1 + k (m 1). For instance, in the Josephus problem we have k = 2, α = 1, Φ(g) = 2g, Ψ(n; β) = β, m = 2, β 0 = 1, β 1 =: and we need 3 = 1 + 2 (2 1) tuple-function pairs. Repertoire method: Exercise 1 Use the repertoire method to solve the following general recurrence: g(0) = α, g(n + 1) = 2g(n) + βn + γ for n 0. (5) Solution. The recurrence (5) has the form (1) with Φ(g) = 2g and Ψ(n; β, γ) = βn + γ, which are linear in g and in β and γ, respectively: therefore we can apply the repertoire method. The special case g(n) = 1 for every n 0 corresponds to (α, β, γ) = (1, 0, 1): thus, A(n) C(n) = 1. The special case g(n) = n for every n 0 corresponds to (α, β, γ) = (0, 1, 1) : thus, B(n) + C(n) = n. The special case g(n) = 2 n for every n 0 corresponds to (α, β, γ) = (1, 0, 0) : thus, A(n) = 2 n and consequently, C(n) = 2 n 1 and B(n) = 2 n 1 n. The general solution of (5) is g(n) = α 2 n + β (2 n 1 n) + γ (2 n 1) = (α + β + γ) 2 n βn (β + γ). 4

Repertoire method: Exercise 2 What if the recurrence (5) had been g(0) = α, g(n + 1) = δg(n) + βn + γ for n 0. (6) instead? Solution. The recurrence (6), considered as a family of recurrence equations parameterized by (α, β, γ, δ), does not have the form (1)! Here, the function Φ depends on both the function g and the parameter δ: because of this, in general g 1 (n) + g 2 (n) is not the solution for (α 1 + α 2, β 1 + β 2, γ 1 + γ 2, δ 1 + δ 2 ), because δ 1 g 1 (n) + δ 2 g 2 (n) is not, in general, equal to (δ 1 + δ 2 )(g 1 (n) + g 2 (n)). We cannot therefore use the repertoire method to express g(n) as g(n) = α A(n) + β B(n) + γ C(n) + δ D(n). However, for every fixed δ, (6) does have the form (1) with Φ(g) = δg and Ψ(n; β, γ) = βn + γ: thus, for every fixed δ, we can use the repertoire method to find three functions A δ (n), B δ (n), C δ (n) such that g δ (n) = α A δ (n) + β B δ (n) + γ C δ (n) for every n 0. By reasoning as before, the choice g δ (n) = 1 corresponds to (α, β, γ) = (1, 0, 1 δ), thus A δ (n) + (1 δ)c δ (n) = 1 : (7) the factor 1 δ in front of C δ (n) rings a bell, and suggests we might have to be careful about the cases δ = 1 and δ 1. Choosing g δ (n) = n corresponds to (α, β, γ) = (0, 1 δ, 1), thus (1 δ)b δ (n) + C δ (n) = n. (8) We are left with one triple of values to choose. As we had put g(n) = 2 n when δ = 2, we are tempted to just put g(n) = δ n : but if δ = 1 this would be the same as g(n) = 1, which we have already considered. We will then deal separately with the cases δ = 1 and δ 1. Let us start with the latter. For δ 1 the choice g δ (n) = δ n corresponds to (α, β, γ) = (1, 0, 0), thus A δ (n) = δ n : (9) 5

by combining this with (7) and (8) we find C δ (n) = 1 A δ(n) 1 δ = 1 δn 1 δ = 1 + δ +... + δn 1 and B(n) = n C δ(n) 1 δ = n 1 δ... δn 1 1 δ Let us now consider the case δ = 1. Then (7) becomes A 1 (n) = 1 and (8) becomes C 1 (n) = n: for the last case, we set g 1 (n) = n 2, which corresponds to (α, β, γ) = (0, 2, 1), and find which yields B 1 (n) = (n 2 n)/2. 2B 1 (n) + C 1 (n) = n 2, (10). 6