Bayes Rule and its Applications

Μέγεθος: px
Εμφάνιση ξεκινά από τη σελίδα:

Download "Bayes Rule and its Applications"

Transcript

1 Bayes Rule and its Applications Bayes Rule: P (B k A) = P (A B k )P (B k )/ n i= P (A B i )P (B i ) Example : In a certain factory, machines A, B, and C are all producing springs of the same length. Of their production, machines A, B, and C produce %, %, and 3% defective springs, respectively. Of the total production of springs in the factory, machine A produces 35%, machine B produces 5%, and machine C produces 4%. Then we have P (D A) =., P (A) =.35; P (D B) =., P (B) =.5; P (D C) =.3, P (C) =.4. If one spring is selected at random from the total springs produced in a day, the probability that it is defective equals P (D) = X {A,B,C} P (D X)P (X) = 5/ If the selected spring is defective, the conditional probability that it was produced by machine A, B, or C can be calculated by P (A D) = P (D A)P (A)/P (D) = 7/5 P (B D) = P (D B)P (B)/P (D) = 5/5 P (C D) = P (D C)P (C)/P (D) = /5

2 Foundation for Normal Distributions Γ(α) = e t t α dt, for α > Γ(α + ) = αγ(α) Γ() = Γ(n + ) = n! integer n where!. e x dx = π Γ( ) = π X N(µ, σ ) means that f X (x) = πσ e (x µ) /σ, < x < Sampling X N(µ, σ ) by Matlab Y = random( Normal, µ, σ, SampleSize, )

3 3 Expectation and Covariance Matrix Let X, X,, X n be random variables such that the expectation, variance, and covariance are defined as follows. µ j = E[X j ], σ j = V ar(x j ) = E[(X j µ j ) ] () ρ ij σ i σ j = Cov(X i, X j ) = E[(X i µ i )(X j µ j )] () Suppose X = [X, X,, X n ] t be a random vector, then the expectation and covariance matrix of X is defined as E[X] = [µ, µ,, µ n ] t = µ (3) Cov(X) = [E[(X i µ i )(X j µ j )]] (4)

4 4 Bayes Decision Theory () p(ω i ): a priori probability () p(x ω i ): class conditional density function (3) p(ω i x): a posteriori probability (4) α(x): an action (a decision) (5) λ(α(x) ω j ): the loss function p(error) = x p(error x)p(x) = x p(α(x) ω i, x ω j, i j)p(x) R(α(x) x) = C j= λ(α(x) ω j )p(ω j x): conditional risk for pattern x x R(α(x) x)p(x): average error of probability (error rate) Bayes Decision Rule For each x, find α(x) which minimizes R(α(x) x) { if α(x) = ωj, For the - loss function, i.e. λ(α(x) ω j ) = otherwise Then the Bayes decision rule can be reduced to or min [R(α(x) x)] = min j [ p(ω j x)] = max i p(ω i x) Assign x to class ω i if p(ω i x) > p(ω j x) for j i

5 5 Example : X ω i N(µ i, σ i ) p(x ω i ) = πσi exp[ (x µ i ) /σ i ] The Bayes decision rule is to assign x to class ω i if p(ω i x) > p(ω j x) for j i iff iff p(x ω i )p(ω i ) > p(x ω j )p(ω j ) ln[σ j /σi ] + (x µ σj j ) (x µ σi i ) > ln[p(ω j )/p(ω i )] In particular, (a) if σ i = σ for each i, then the Bayes rule is to assign x to class ω i if (µ i µ j )x (µ i µ j ) > σ ln[p(ω j )/p(ω i )] (b) if σ i = σ and p(ω i ) = /C for each i, then the Bayes rule is to assign x to class ω i if (µ i µ j )[x (µ i + µ j )] >

6 6 Example 3: X ω i N(µ i, C i ) p(x ω i ) = π d/ C i / exp[ (x µ i) t C i (x µ i )/] The Bayes decision rule is to assign x to class ω i if iff [ ln( Cj / C i ) + ( x t C j In particular, p(ω i x) > p(ω j x) for j i x x t C j ) ( µ j + µ t j C µ j x t C x x t C > ln[p(ω j )/p(ω i )] (a) if C i = C for each i, then the Bayes decision rule is to assign x to class ω i if j (µ i µ j ) t C x [µt i C µ i µ t j C µ j ] > ln[p(ω j )/p(ω i )] i i )] µ i + µ t i C i µ i (b) if C i = σ I for each i, then the Bayes decision rule is to assign x to class ω i if (µ i µ j ) t x ( µ i µ j ) > σ ln[p(ω j )/p(ω i )]

7 7 Example 4: X ω i N(µ i, C), i =, Let Λ(x) = ln[p(x ω )/p(x ω )] = [x (µ + µ )] t C (µ µ ), and let r = ln[p(ω )/p(ω )]. The Bayes decision rule is to assign x to class ω if Λ(x) > r. Note that x ω Λ(X) N(, ) x ω Λ(X) N(, ) where = (µ µ ) t C (µ µ ) is called the square Mahalanobis distance. Hint: Prove that Λ(x)p(x ω )dx = and [Λ(x) ] p(x ω )dx = Then the Bayes error rate can be computed by E = p[x ω, Λ(x) > r] + p[x ω, Λ(x) < r] = p(ω ) r π exp[ (y + ) / ]dy + p(ω ) r π exp[ (y ) / ]dy

8 8 Proof of Λ(X) ω N(, ) X is a multivariate normal distribution so is its linear mapping Λ(X). E[Λ(X) ω ] = Λ(x)p(x ω )dx = {[x (µ + µ )] t C (µ µ )}p(x ω )dx = x t C (µ µ )p(x ω )dx (µ + µ ) t C (µ µ )p(x ω )dx = [x t p(x ω )dx]c (µ µ ) [(µ + µ ) t C (µ µ )] p(x ω )dx = µ t C (µ µ ) (µ + µ ) t C (µ µ ) = (µ µ ) t C (µ µ ) = V ar[λ(x) ω ] = [Λ(x) ] p(x ω )dx = [(x µ ) t C (µ µ )] p(x ω )dx = (µ µ ) t C { [(x µ )(x µ )] t p(x ω )dx}c (µ µ ) = (µ µ ) t C CC (µ µ ) = (µ µ ) t C (µ µ ) =

9 9 In Example 4, let µ = [ ], µ = [ ], C = I, and let p(ω ) = p(ω ) = / Then Λ(x) = (x ) t I [ ] = (x + x ) r = ln [p(ω )/p(ω )] = = (µ µ ) t I (µ µ ) = 8 The Bayes decision rule is to assign x to ω if x + x > The Bayes error rate is p(error) = Φ( ) = Φ( 8 ) = Φ( )

10 Example 5: Bayes decision theory in a discrete case Consider a two-class problem and assume that each component x j of the pattern x is either or with the conditional probabilities p j = p(x j = ω ) and q j = p(x j = ω ) (5) Suppose that the components of x are conditionally independent. Then p(x ω ) = d j= p x j j ( p j ) x j, p(x ω ) = d j= q x j j ( q j ) x j (6) Let the log-likelihood ratio Λ(x) = ln[p(x ω )/p(x ω )], and r = ln[p(ω )/p(ω )], then d d Λ(x) = x j ln[p j ( q j )/q j ( p j )] + ln[( p j )/( q j )] (7) j= j= The Bayes decision rule is to assign x to ω if Λ(x) > r. The decision boundary is d j= w j x j + w =, where w j = ln[p j ( q j )/q j ( p j )], j d, w = d j= ln[( p j )/( q j )] + ln[p(ω )/p(ω )] In particular, if p(ω ) = p(ω ) = /, p j = p, q j = q = p for j d, d is odd and p > q, then the Bayes error rate is E = (d )/ k= d! (d k)!k! pk ( p) d k (8)

11 X ω N(3, ) and X ω N(6, ) p(x ω i ) = exp[ (x µ i ) /σi ], i =, πσi The Maximum Likelihood (ML) decision is to assign x to ω if p(x ω ) > p(x ω ) The Bayes decision is to assign x to ω if p(x ω )p(ω ) > p(x ω )p(ω ) Note that ML is the special case by assuming p(ω ) = p(ω ) = which need not be true in practical applications. We shall show the effect of p(ω ) =, p(ω 3 ) =. 3 ML Decision: y ω if y < 7 Bayes Decision: y ω if y < 5 or y > 9 The error probability can be computed by Err = p(ω ) b a 4 + (8ln)/3 or y > (8ln)/3 π exp[ (x 3) /( )]dx + p(ω ){ a π exp[ (x 6) /]dx + b π exp[ (x 6) /]dx} where a=4.587, b=9.483 for ML decision, and a=5, b=9 for Bayes decision, then Err ML =.65 and Err Bayes =.53.

12 X ω Rayleigh( ) and X ω Rayleigh(3 ) p(x ω i ) = x σ i exp( x ), i =, σi The Maximum Likelihood (ML) decision is to assign x to ω if p(x ω ) > p(x ω ) The Bayes decision is to assign x to ω if p(x ω )p(ω ) > p(x ω )p(ω ) Note that ML is the special case by assuming p(ω ) = p(ω ) = which need not be true in practical applications. We shall show the effect of p(ω ) = 3, p(ω 4 ) = with σ 4 < σ. ML Decision: y ω if y < Bayes Decision: y ω if y < σ σ σ σ σ σ σ σ The error probability can be computed by Err = p(ω ) t ln( σ σ ) [ln( σ ) + ln( p(ω ) )] σ p(ω ) x exp( x )dx σ σ + p(ω ) t x exp( x )dx σ σ = p(ω ) exp( t ) + p(ω σ ) [ exp( t )] σ where t=.35 for ML decision, and t=.73 for Bayes decision, then Err ML =.34 and Err Bayes =.8.

13 3 X ω χ (r ) and X ω χ (r ) p(x ω i ) = Γ(r i /) r i/ x(r i/) e x/, x >, i =, The Maximum Likelihood (ML) decision is to assign x to ω if p(x ω ) > p(x ω ) The Bayes decision is to assign x to ω if p(x ω )p(ω ) > p(x ω )p(ω ) Note that ML is the special case by assuming p(ω ) = p(ω ) = which need not be true in practical applications. We shall show the effect of p(ω ) =, p(ω 7 ) = 6 with r 7 < r. ML Decision: Bayes Decision: y ω if Γ(r /) Γ(r /) (r r )/ > x (r r )/ y ω if Γ(r /) Γ(r /) (r r )/ p(ω ) p(ω ) > x(r r )/ The error probability can be computed by Err = p(ω ) t +p(ω ) t Γ(r x (r/) e x/ dx /) r / Γ(r x (r/) e x/ dx /) r / When r = 4, r = 8, p(ω ) = /7, p(ω ) = 6/7, we have t=4.899 for ML decision, and t=. for Bayes decision, and Err ML =.4 and Err Bayes =.4.

14 4 X ω N(µ, σ ) and X ω N(µ, σ ) p(x ω i ) = exp[ (x µ i ) /σi ], i =, πσi The Maximum Likelihood (ML) decision is to assign x to ω if p(x ω ) > p(x ω ) The Bayes decision is to assign x to ω if p(x ω )p(ω ) > p(x ω )p(ω ) Note that ML is the special case by assuming p(ω ) = p(ω ) = in practical applications. which need not be true The error probability can be computed by Err = p(ω ) T + p(ω ) T πσ exp[ (x µ ) /(σ )]dx πσ exp[ (x µ ) /(σ )]dx As soon as T is chosen, Parameters p(ω i ), µ i, σi, i =, could be estimated, so is Err. Otsu (979) and Fisher (936) chose T to maximize the following criterion, respectively σ B = p(ω )p(ω )(µ µ ) F isher = (µ µ ) σ +σ

15 5 A Simple Thresholding Algorithm By Otsu, IEEE Trans. on SMC, 6-66, 979 () p i n i n, where n = G i= n i () u T = G k= kp k (3) Do for k =, G ω(k) u(k) k i= p i k i= ip i σ B (k) [u T ω(k) u(k)] ω(k)[ ω(k)] (4) Select k such that σb (k) is maximized Note that ω = ω(k), u = k i= ip (i C ) = u(k)/ω(k) ω = ω(k), u = G i=k+ ip (i C ) = [u T u(k)]/[ ω(k)] σ ω = ω σ + ω σ σ B = ω (u u T ) + ω (u u T ) σ T = G i= (i u T ) p i σ ω + σ B = σ T ɛ = σ B σ T, κ = σ T, λ = σ σω B σ ω

16 6 Gamma Function and the Volumes of High Dimensional Spheres. Define Γ(x) = e t t x dt for x > and let γ = e x dx. Then (a) Γ(x) = e x dx = π (b) Show that Γ( ) = γ = π (c) Γ(x + ) = xγ(x), for x >, Γ(n) = (n )! if n N. (d) The volume of a d dimensional unit sphere is π d/ /Γ( d + ). 6 The volume of a d dim unite sphere is π d/ /Γ((d/)+) Figure : The Volume of a High Dimensional Sphere. V()=; V()=pi; V(3)=4*pi/3; V(4)=pi*pi/; V(5)=8*pi*pi/5; V(6)=pi*pi*pi/6; V(7)=6*pi*pi*pi/5; V(8)=(pi)^4/4; V(9)=3*(pi)^4/945; V()=(pi)^5/; V()=64*(pi)^5/395; V()=(pi)^6/7; V(3)=8*(pi)^6/3535; V(4)=(pi)^7/54; V(5)=56*(pi)^7/75; D=:5; plot(d,v, b-v ) title( The volume of a d-dim unit sphere is \pi^{d/}/\gamma((d/)+) )

17 7 The Derivation of Volumn for an n-dimensional Sphere For n =, x = r cos θ, x = r sin θ, θ π r R, J = (x, x ) (r, θ) = x r x θ x r x θ = r The volumn is computed by V = R π J drdθ = R π rdrdθ = πr For n = 3, x = r cos θ cos θ, θ π x = r cos θ sin θ, π θ π x 3 = r sin θ, r R, J 3 = (x, x, x 3 ) (r, θ, θ ) = x r x r x 3 r x x x 3 θ θ θ x x x 3 θ θ θ = r cos θ The volumn is computed by V 3 = R π/ π π/ J 3 drdθ dθ = R π/ π π/ r cos θ drdθ dθ = 4πR3 3

18 8 For n 4, x = r cos θ cos θ cos θ n cos θ n, θ n π x = r cos θ cos θ cos θ n sin θ n, π θ n π x 3 = r cos θ cos θ cos θ n 3 sin θ n, π θ n 3 π.. x j = r cos θ cos θ cos θ n j sin θ n j+, π θ n j π.. x n = r cos θ sin θ, π θ π x n = r sin θ, r R n Note that x i = r and denote c i = cos θ i, i= Jacobian J n = (x,x,,x n) (r,θ,,θ n is computed as ) s i = sin θ i for i n. Then the c c c n c n c c c n s n c c c n 3 s n s s c c n c n s c c n s n s c c n 3 s n c c s c n c n c s c n s n c s c n 3 s n J n = r n..... c c s n c n c c s n s n c c c n 3 c n c c c n s n c c c n c n

19 9 Then J n = r n c n c n c n s s s n t t t t t t t.. t n t n t n t n t n..., where t i = sinθ i cos θ i Subtracting each column from the preceding one and do further simplifications, we obtain J n = r n c n c n c n s s s n Π n j= (t j + t j ) = r n c n c n c n s s s n Π n j= ( s j c j ) = r n c n c n 3 c n 3 c n = r n cos n θ cos n 3 θ cos θ n 3 cos θ n

20 Therefore, the volumn of an n-dimensional sphere can be calculated by V n = R π π/ π/ π/ π/ π/ π/ (J n )dθ dθ dθ n dθ n dr = R π π/ π/ π/ π/ [r n cos n θ cos n 3 θ cos θ n ]dθ dθ dθ n dθ n dr π/ π/ = πn/ Γ( n Rn +) Note that the above computations exploit the properties of the following Gamma and Beta functions, and trignometry. Γ(α) = Beta(α, β) = e t t α dt for α > x α ( x) β dx, where α, β > Beta(α, β) = Γ(α) Γ(β) Γ(α+β) Relationship Between Gamma and Beta Functions Γ(x)Γ(y) = e u u x du e v v y dv = = = z= z= t= e u v u x v y dudv e z (zt) x [z( t)] y zdtdz by putting u = zt, v = z( t) e z z x+y dz t= t x ( t) y dt = Γ(x + y)beta(x, y) Γ(α) = (α )Γ(α ) for α > π dθ n = π, Γ() =, π/ π/ Γ( ) = π cos θ n dθ n =, π/ π/ cos θ n 3 dθ n 3 = π, π/ π/ cos m θdθ = π/ cos m θdθ, 3 α n

21 Now π/ cos m θdθ = x m dx by letting x = cos θ x = = x m ( x ) / dx = y m ( y) / dy = y m/ ( y) / y dy, where x = y y m+ ( y) dy Therefore, = Beta( m+, m+ Γ( )Γ( ) = ) Γ( m +) V n = R π π/ π/ π/ π/ [r n cos n θ cos n 3 θ cos θ n ]dθ dθ dθ n dθ n dr π/ π/ = Rn n (π) () ( π) Πn m=3 Beta(m +, ) = π n/ Rn + ) Γ( n

ENGR 691/692 Section 66 (Fall 06): Machine Learning Assigned: August 30 Homework 1: Bayesian Decision Theory (solutions) Due: September 13

ENGR 691/692 Section 66 (Fall 06): Machine Learning Assigned: August 30 Homework 1: Bayesian Decision Theory (solutions) Due: September 13 ENGR 69/69 Section 66 (Fall 06): Machine Learning Assigned: August 30 Homework : Bayesian Decision Theory (solutions) Due: Septemer 3 Prolem : ( pts) Let the conditional densities for a two-category one-dimensional

Διαβάστε περισσότερα

Other Test Constructions: Likelihood Ratio & Bayes Tests

Other Test Constructions: Likelihood Ratio & Bayes Tests Other Test Constructions: Likelihood Ratio & Bayes Tests Side-Note: So far we have seen a few approaches for creating tests such as Neyman-Pearson Lemma ( most powerful tests of H 0 : θ = θ 0 vs H 1 :

Διαβάστε περισσότερα

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

Solution Series 9. i=1 x i and i=1 x i. Lecturer: Prof. Dr. Mete SONER Coordinator: Yilin WANG Solution Series 9 Q1. Let α, β >, the p.d.f. of a beta distribution with parameters α and β is { Γ(α+β) Γ(α)Γ(β) f(x α, β) xα 1 (1 x) β 1 for < x

Διαβάστε περισσότερα

ST5224: Advanced Statistical Theory II

ST5224: Advanced Statistical Theory II ST5224: Advanced Statistical Theory II 2014/2015: Semester II Tutorial 7 1. Let X be a sample from a population P and consider testing hypotheses H 0 : P = P 0 versus H 1 : P = P 1, where P j is a known

Διαβάστε περισσότερα

2 Composition. Invertible Mappings

2 Composition. Invertible Mappings Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan Composition. Invertible Mappings In this section we discuss two procedures for creating new mappings from old ones, namely,

Διαβάστε περισσότερα

Statistics 104: Quantitative Methods for Economics Formula and Theorem Review

Statistics 104: Quantitative Methods for Economics Formula and Theorem Review Harvard College Statistics 104: Quantitative Methods for Economics Formula and Theorem Review Tommy MacWilliam, 13 tmacwilliam@college.harvard.edu March 10, 2011 Contents 1 Introduction to Data 5 1.1 Sample

Διαβάστε περισσότερα

Solutions to Exercise Sheet 5

Solutions to Exercise Sheet 5 Solutions to Eercise Sheet 5 jacques@ucsd.edu. Let X and Y be random variables with joint pdf f(, y) = 3y( + y) where and y. Determine each of the following probabilities. Solutions. a. P (X ). b. P (X

Διαβάστε περισσότερα

Homework 8 Model Solution Section

Homework 8 Model Solution Section MATH 004 Homework Solution Homework 8 Model Solution Section 14.5 14.6. 14.5. Use the Chain Rule to find dz where z cosx + 4y), x 5t 4, y 1 t. dz dx + dy y sinx + 4y)0t + 4) sinx + 4y) 1t ) 0t + 4t ) sinx

Διαβάστε περισσότερα

Areas and Lengths in Polar Coordinates

Areas and Lengths in Polar Coordinates Kiryl Tsishchanka Areas and Lengths in Polar Coordinates In this section we develop the formula for the area of a region whose boundary is given by a polar equation. We need to use the formula for the

Διαβάστε περισσότερα

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

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds! MTH U341 urface Integrals, tokes theorem, the divergence theorem To be turned in Wed., Dec. 1. 1. Let be the sphere of radius a, x 2 + y 2 + z 2 a 2. a. Use spherical coordinates (with ρ a) to parametrize.

Διαβάστε περισσότερα

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM Solutions to Question 1 a) The cumulative distribution function of T conditional on N n is Pr T t N n) Pr max X 1,..., X N ) t N n) Pr max

Διαβάστε περισσότερα

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM Solutions to Question 1 a) The cumulative distribution function of T conditional on N n is Pr (T t N n) Pr (max (X 1,..., X N ) t N n) Pr (max

Διαβάστε περισσότερα

Parametrized Surfaces

Parametrized Surfaces Parametrized Surfaces Recall from our unit on vector-valued functions at the beginning of the semester that an R 3 -valued function c(t) in one parameter is a mapping of the form c : I R 3 where I is some

Διαβάστε περισσότερα

Probability and Random Processes (Part II)

Probability and Random Processes (Part II) Probability and Random Processes (Part II) 1. If the variance σ x of d(n) = x(n) x(n 1) is one-tenth the variance σ x of a stationary zero-mean discrete-time signal x(n), then the normalized autocorrelation

Διαβάστε περισσότερα

Statistical Inference I Locally most powerful tests

Statistical Inference I Locally most powerful tests Statistical Inference I Locally most powerful tests Shirsendu Mukherjee Department of Statistics, Asutosh College, Kolkata, India. shirsendu st@yahoo.co.in So far we have treated the testing of one-sided

Διαβάστε περισσότερα

5.4 The Poisson Distribution.

5.4 The Poisson Distribution. The worst thing you can do about a situation is nothing. Sr. O Shea Jackson 5.4 The Poisson Distribution. Description of the Poisson Distribution Discrete probability distribution. The random variable

Διαβάστε περισσότερα

P AND P. P : actual probability. P : risk neutral probability. Realtionship: mutual absolute continuity P P. For example:

P AND P. P : actual probability. P : risk neutral probability. Realtionship: mutual absolute continuity P P. For example: (B t, S (t) t P AND P,..., S (p) t ): securities P : actual probability P : risk neutral probability Realtionship: mutual absolute continuity P P For example: P : ds t = µ t S t dt + σ t S t dw t P : ds

Διαβάστε περισσότερα

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

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required) Phys460.nb 81 ψ n (t) is still the (same) eigenstate of H But for tdependent H. The answer is NO. 5.5.5. Solution for the tdependent Schrodinger s equation If we assume that at time t 0, the electron starts

Διαβάστε περισσότερα

Areas and Lengths in Polar Coordinates

Areas and Lengths in Polar Coordinates Kiryl Tsishchanka Areas and Lengths in Polar Coordinates In this section we develop the formula for the area of a region whose boundary is given by a polar equation. We need to use the formula for the

Διαβάστε περισσότερα

Exercises to Statistics of Material Fatigue No. 5

Exercises to Statistics of Material Fatigue No. 5 Prof. Dr. Christine Müller Dipl.-Math. Christoph Kustosz Eercises to Statistics of Material Fatigue No. 5 E. 9 (5 a Show, that a Fisher information matri for a two dimensional parameter θ (θ,θ 2 R 2, can

Διαβάστε περισσότερα

Numerical Analysis FMN011

Numerical Analysis FMN011 Numerical Analysis FMN011 Carmen Arévalo Lund University carmen@maths.lth.se Lecture 12 Periodic data A function g has period P if g(x + P ) = g(x) Model: Trigonometric polynomial of order M T M (x) =

Διαβάστε περισσότερα

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

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β 3.4 SUM AND DIFFERENCE FORMULAS Page Theorem cos(αβ cos α cos β -sin α cos(α-β cos α cos β sin α NOTE: cos(αβ cos α cos β cos(α-β cos α -cos β Proof of cos(α-β cos α cos β sin α Let s use a unit circle

Διαβάστε περισσότερα

ECE598: Information-theoretic methods in high-dimensional statistics Spring 2016

ECE598: Information-theoretic methods in high-dimensional statistics Spring 2016 ECE598: Information-theoretic methods in high-dimensional statistics Spring 06 Lecture 7: Information bound Lecturer: Yihong Wu Scribe: Shiyu Liang, Feb 6, 06 [Ed. Mar 9] Recall the Chi-squared divergence

Διαβάστε περισσότερα

1. (a) (5 points) Find the unit tangent and unit normal vectors T and N to the curve. r(t) = 3cost, 4t, 3sint

1. (a) (5 points) Find the unit tangent and unit normal vectors T and N to the curve. r(t) = 3cost, 4t, 3sint 1. a) 5 points) Find the unit tangent and unit normal vectors T and N to the curve at the point P, π, rt) cost, t, sint ). b) 5 points) Find curvature of the curve at the point P. Solution: a) r t) sint,,

Διαβάστε περισσότερα

Problem Set 3: Solutions

Problem Set 3: Solutions CMPSCI 69GG Applied Information Theory Fall 006 Problem Set 3: Solutions. [Cover and Thomas 7.] a Define the following notation, C I p xx; Y max X; Y C I p xx; Ỹ max I X; Ỹ We would like to show that C

Διαβάστε περισσότερα

Reminders: linear functions

Reminders: linear functions Reminders: linear functions Let U and V be vector spaces over the same field F. Definition A function f : U V is linear if for every u 1, u 2 U, f (u 1 + u 2 ) = f (u 1 ) + f (u 2 ), and for every u U

Διαβάστε περισσότερα

6. MAXIMUM LIKELIHOOD ESTIMATION

6. MAXIMUM LIKELIHOOD ESTIMATION 6 MAXIMUM LIKELIHOOD ESIMAION [1] Maximum Likelihood Estimator (1) Cases in which θ (unknown parameter) is scalar Notational Clarification: From now on, we denote the true value of θ as θ o hen, view θ

Διαβάστε περισσότερα

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

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R + Chapter 3. Fuzzy Arithmetic 3- Fuzzy arithmetic: ~Addition(+) and subtraction (-): Let A = [a and B = [b, b in R If x [a and y [b, b than x+y [a +b +b Symbolically,we write A(+)B = [a (+)[b, b = [a +b

Διαβάστε περισσότερα

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science.

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science. Bayesian statistics DS GA 1002 Probability and Statistics for Data Science http://www.cims.nyu.edu/~cfgranda/pages/dsga1002_fall17 Carlos Fernandez-Granda Frequentist vs Bayesian statistics In frequentist

Διαβάστε περισσότερα

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

Chapter 6: Systems of Linear Differential. be continuous functions on the interval Chapter 6: Systems of Linear Differential Equations Let a (t), a 2 (t),..., a nn (t), b (t), b 2 (t),..., b n (t) be continuous functions on the interval I. The system of n first-order differential equations

Διαβάστε περισσότερα

= λ 1 1 e. = λ 1 =12. has the properties e 1. e 3,V(Y

= λ 1 1 e. = λ 1 =12. has the properties e 1. e 3,V(Y Stat 50 Homework Solutions Spring 005. (a λ λ λ 44 (b trace( λ + λ + λ 0 (c V (e x e e λ e e λ e (λ e by definition, the eigenvector e has the properties e λ e and e e. (d λ e e + λ e e + λ e e 8 6 4 4

Διαβάστε περισσότερα

Written Examination. Antennas and Propagation (AA ) April 26, 2017.

Written Examination. Antennas and Propagation (AA ) April 26, 2017. Written Examination Antennas and Propagation (AA. 6-7) April 6, 7. Problem ( points) Let us consider a wire antenna as in Fig. characterized by a z-oriented linear filamentary current I(z) = I cos(kz)ẑ

Διαβάστε περισσότερα

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ting Zhang Stanford May 11, 2001 Stanford, 5/11/2001 1 Outline Ordinal Classification Ordinal Addition Ordinal Multiplication Ordinal

Διαβάστε περισσότερα

Answer sheet: Third Midterm for Math 2339

Answer sheet: Third Midterm for Math 2339 Answer sheet: Third Midterm for Math 339 November 3, Problem. Calculate the iterated integrals (Simplify as much as possible) (a) e sin(x) dydx y e sin(x) dydx y sin(x) ln y ( cos(x)) ye y dx sin(x)(lne

Διαβάστε περισσότερα

Example Sheet 3 Solutions

Example Sheet 3 Solutions Example Sheet 3 Solutions. i Regular Sturm-Liouville. ii Singular Sturm-Liouville mixed boundary conditions. iii Not Sturm-Liouville ODE is not in Sturm-Liouville form. iv Regular Sturm-Liouville note

Διαβάστε περισσότερα

Spherical Coordinates

Spherical Coordinates Spherical Coordinates MATH 311, Calculus III J. Robert Buchanan Department of Mathematics Fall 2011 Spherical Coordinates Another means of locating points in three-dimensional space is known as the spherical

Διαβάστε περισσότερα

C.S. 430 Assignment 6, Sample Solutions

C.S. 430 Assignment 6, Sample Solutions C.S. 430 Assignment 6, Sample Solutions Paul Liu November 15, 2007 Note that these are sample solutions only; in many cases there were many acceptable answers. 1 Reynolds Problem 10.1 1.1 Normal-order

Διαβάστε περισσότερα

Homework for 1/27 Due 2/5

Homework for 1/27 Due 2/5 Name: ID: Homework for /7 Due /5. [ 8-3] I Example D of Sectio 8.4, the pdf of the populatio distributio is + αx x f(x α) =, α, otherwise ad the method of momets estimate was foud to be ˆα = 3X (where

Διαβάστε περισσότερα

4.6 Autoregressive Moving Average Model ARMA(1,1)

4.6 Autoregressive Moving Average Model ARMA(1,1) 84 CHAPTER 4. STATIONARY TS MODELS 4.6 Autoregressive Moving Average Model ARMA(,) This section is an introduction to a wide class of models ARMA(p,q) which we will consider in more detail later in this

Διαβάστε περισσότερα

New bounds for spherical two-distance sets and equiangular lines

New bounds for spherical two-distance sets and equiangular lines New bounds for spherical two-distance sets and equiangular lines Michigan State University Oct 8-31, 016 Anhui University Definition If X = {x 1, x,, x N } S n 1 (unit sphere in R n ) and x i, x j = a

Διαβάστε περισσότερα

6.3 Forecasting ARMA processes

6.3 Forecasting ARMA processes 122 CHAPTER 6. ARMA MODELS 6.3 Forecasting ARMA processes The purpose of forecasting is to predict future values of a TS based on the data collected to the present. In this section we will discuss a linear

Διαβάστε περισσότερα

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

Chapter 6: Systems of Linear Differential. be continuous functions on the interval Chapter 6: Systems of Linear Differential Equations Let a (t), a 2 (t),..., a nn (t), b (t), b 2 (t),..., b n (t) be continuous functions on the interval I. The system of n first-order differential equations

Διαβάστε περισσότερα

CHAPTER 101 FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD

CHAPTER 101 FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD CHAPTER FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD EXERCISE 36 Page 66. Determine the Fourier series for the periodic function: f(x), when x +, when x which is periodic outside this rge of period.

Διαβάστε περισσότερα

Matrices and Determinants

Matrices and Determinants Matrices and Determinants SUBJECTIVE PROBLEMS: Q 1. For what value of k do the following system of equations possess a non-trivial (i.e., not all zero) solution over the set of rationals Q? x + ky + 3z

Διαβάστε περισσότερα

Chapter 5, 6 Multiple Random Variables ENCS Probability and Stochastic Processes

Chapter 5, 6 Multiple Random Variables ENCS Probability and Stochastic Processes Chapter 5, 6 Multiple Random Variables ENCS6161 - Probability and Stochastic Processes Concordia University ENCS6161 p.1/47 Vector Random Variables A vector r.v. X is a function X : S R n, where S is the

Διαβάστε περισσότερα

HOMEWORK#1. t E(x) = 1 λ = (b) Find the median lifetime of a randomly selected light bulb. Answer:

HOMEWORK#1. t E(x) = 1 λ = (b) Find the median lifetime of a randomly selected light bulb. Answer: HOMEWORK# 52258 李亞晟 Eercise 2. The lifetime of light bulbs follows an eponential distribution with a hazard rate of. failures per hour of use (a) Find the mean lifetime of a randomly selected light bulb.

Διαβάστε περισσότερα

derivation of the Laplacian from rectangular to spherical coordinates

derivation of the Laplacian from rectangular to spherical coordinates derivation of the Laplacian from rectangular to spherical coordinates swapnizzle 03-03- :5:43 We begin by recognizing the familiar conversion from rectangular to spherical coordinates (note that φ is used

Διαβάστε περισσότερα

Mock Exam 7. 1 Hong Kong Educational Publishing Company. Section A 1. Reference: HKDSE Math M Q2 (a) (1 + kx) n 1M + 1A = (1) =

Mock Exam 7. 1 Hong Kong Educational Publishing Company. Section A 1. Reference: HKDSE Math M Q2 (a) (1 + kx) n 1M + 1A = (1) = Mock Eam 7 Mock Eam 7 Section A. Reference: HKDSE Math M 0 Q (a) ( + k) n nn ( )( k) + nk ( ) + + nn ( ) k + nk + + + A nk... () nn ( ) k... () From (), k...() n Substituting () into (), nn ( ) n 76n 76n

Διαβάστε περισσότερα

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

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch: HOMEWORK 4 Problem a For the fast loading case, we want to derive the relationship between P zz and λ z. We know that the nominal stress is expressed as: P zz = ψ λ z where λ z = λ λ z. Therefore, applying

Διαβάστε περισσότερα

Fractional Colorings and Zykov Products of graphs

Fractional Colorings and Zykov Products of graphs Fractional Colorings and Zykov Products of graphs Who? Nichole Schimanski When? July 27, 2011 Graphs A graph, G, consists of a vertex set, V (G), and an edge set, E(G). V (G) is any finite set E(G) is

Διαβάστε περισσότερα

Homework 3 Solutions

Homework 3 Solutions Homework 3 Solutions Igor Yanovsky (Math 151A TA) Problem 1: Compute the absolute error and relative error in approximations of p by p. (Use calculator!) a) p π, p 22/7; b) p π, p 3.141. Solution: For

Διαβάστε περισσότερα

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions SCHOOL OF MATHEMATICAL SCIENCES GLMA Linear Mathematics 00- Examination Solutions. (a) i. ( + 5i)( i) = (6 + 5) + (5 )i = + i. Real part is, imaginary part is. (b) ii. + 5i i ( + 5i)( + i) = ( i)( + i)

Διαβάστε περισσότερα

Dynamic types, Lambda calculus machines Section and Practice Problems Apr 21 22, 2016

Dynamic types, Lambda calculus machines Section and Practice Problems Apr 21 22, 2016 Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Dynamic types, Lambda calculus machines Apr 21 22, 2016 1 Dynamic types and contracts (a) To make sure you understand the

Διαβάστε περισσότερα

An Inventory of Continuous Distributions

An Inventory of Continuous Distributions Appendi A An Inventory of Continuous Distributions A.1 Introduction The incomplete gamma function is given by Also, define Γ(α; ) = 1 with = G(α; ) = Z 0 Z 0 Z t α 1 e t dt, α > 0, >0 t α 1 e t dt, α >

Διαβάστε περισσότερα

Aquinas College. Edexcel Mathematical formulae and statistics tables DO NOT WRITE ON THIS BOOKLET

Aquinas College. Edexcel Mathematical formulae and statistics tables DO NOT WRITE ON THIS BOOKLET Aquinas College Edexcel Mathematical formulae and statistics tables DO NOT WRITE ON THIS BOOKLET Pearson Edexcel Level 3 Advanced Subsidiary and Advanced GCE in Mathematics and Further Mathematics Mathematical

Διαβάστε περισσότερα

Second Order Partial Differential Equations

Second Order Partial Differential Equations Chapter 7 Second Order Partial Differential Equations 7.1 Introduction A second order linear PDE in two independent variables (x, y Ω can be written as A(x, y u x + B(x, y u xy + C(x, y u u u + D(x, y

Διαβάστε περισσότερα

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

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ. Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο The time integral of a force is referred to as impulse, is determined by and is obtained from: Newton s 2 nd Law of motion states that the action

Διαβάστε περισσότερα

w o = R 1 p. (1) R = p =. = 1

w o = R 1 p. (1) R = p =. = 1 Πανεπιστήµιο Κρήτης - Τµήµα Επιστήµης Υπολογιστών ΗΥ-570: Στατιστική Επεξεργασία Σήµατος 205 ιδάσκων : Α. Μουχτάρης Τριτη Σειρά Ασκήσεων Λύσεις Ασκηση 3. 5.2 (a) From the Wiener-Hopf equation we have:

Διαβάστε περισσότερα

Section 8.3 Trigonometric Equations

Section 8.3 Trigonometric Equations 99 Section 8. Trigonometric Equations Objective 1: Solve Equations Involving One Trigonometric Function. In this section and the next, we will exple how to solving equations involving trigonometric functions.

Διαβάστε περισσότερα

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

Partial Differential Equations in Biology The boundary element method. March 26, 2013 The boundary element method March 26, 203 Introduction and notation The problem: u = f in D R d u = ϕ in Γ D u n = g on Γ N, where D = Γ D Γ N, Γ D Γ N = (possibly, Γ D = [Neumann problem] or Γ N = [Dirichlet

Διαβάστε περισσότερα

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

Every set of first-order formulas is equivalent to an independent set Every set of first-order formulas is equivalent to an independent set May 6, 2008 Abstract A set of first-order formulas, whatever the cardinality of the set of symbols, is equivalent to an independent

Διαβάστε περισσότερα

Μηχανική Μάθηση Hypothesis Testing

Μηχανική Μάθηση Hypothesis Testing ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ Μηχανική Μάθηση Hypothesis Testing Γιώργος Μπορμπουδάκης Τμήμα Επιστήμης Υπολογιστών Procedure 1. Form the null (H 0 ) and alternative (H 1 ) hypothesis 2. Consider

Διαβάστε περισσότερα

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation Overview Transition Semantics Configurations and the transition relation Executions and computation Inference rules for small-step structural operational semantics for the simple imperative language Transition

Διαβάστε περισσότερα

EE512: Error Control Coding

EE512: Error Control Coding EE512: Error Control Coding Solution for Assignment on Finite Fields February 16, 2007 1. (a) Addition and Multiplication tables for GF (5) and GF (7) are shown in Tables 1 and 2. + 0 1 2 3 4 0 0 1 2 3

Διαβάστε περισσότερα

Math221: HW# 1 solutions

Math221: HW# 1 solutions Math: HW# solutions Andy Royston October, 5 7.5.7, 3 rd Ed. We have a n = b n = a = fxdx = xdx =, x cos nxdx = x sin nx n sin nxdx n = cos nx n = n n, x sin nxdx = x cos nx n + cos nxdx n cos n = + sin

Διαβάστε περισσότερα

A Two-Sided Laplace Inversion Algorithm with Computable Error Bounds and Its Applications in Financial Engineering

A Two-Sided Laplace Inversion Algorithm with Computable Error Bounds and Its Applications in Financial Engineering Electronic Companion A Two-Sie Laplace Inversion Algorithm with Computable Error Bouns an Its Applications in Financial Engineering Ning Cai, S. G. Kou, Zongjian Liu HKUST an Columbia University Appenix

Διαβάστε περισσότερα

The Simply Typed Lambda Calculus

The Simply Typed Lambda Calculus Type Inference Instead of writing type annotations, can we use an algorithm to infer what the type annotations should be? That depends on the type system. For simple type systems the answer is yes, and

Διαβάστε περισσότερα

A Note on Intuitionistic Fuzzy. Equivalence Relation

A Note on Intuitionistic Fuzzy. Equivalence Relation International Mathematical Forum, 5, 2010, no. 67, 3301-3307 A Note on Intuitionistic Fuzzy Equivalence Relation D. K. Basnet Dept. of Mathematics, Assam University Silchar-788011, Assam, India dkbasnet@rediffmail.com

Διαβάστε περισσότερα

An Introduction to Signal Detection and Estimation - Second Edition Chapter II: Selected Solutions

An Introduction to Signal Detection and Estimation - Second Edition Chapter II: Selected Solutions An Introduction to Signal Detection Estimation - Second Edition Chapter II: Selected Solutions H V Poor Princeton University March 16, 5 Exercise : The likelihood ratio is given by L(y) (y +1), y 1 a With

Διαβάστε περισσότερα

Homomorphism in Intuitionistic Fuzzy Automata

Homomorphism in Intuitionistic Fuzzy Automata International Journal of Fuzzy Mathematics Systems. ISSN 2248-9940 Volume 3, Number 1 (2013), pp. 39-45 Research India Publications http://www.ripublication.com/ijfms.htm Homomorphism in Intuitionistic

Διαβάστε περισσότερα

Lecture 21: Properties and robustness of LSE

Lecture 21: Properties and robustness of LSE Lecture 21: Properties and robustness of LSE BLUE: Robustness of LSE against normality We now study properties of l τ β and σ 2 under assumption A2, i.e., without the normality assumption on ε. From Theorem

Διαβάστε περισσότερα

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

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8  questions or comments to Dan Fetter 1 Eon : Fall 8 Suggested Solutions to Problem Set 8 Email questions or omments to Dan Fetter Problem. Let X be a salar with density f(x, θ) (θx + θ) [ x ] with θ. (a) Find the most powerful level α test

Διαβάστε περισσότερα

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013 Notes on Average Scattering imes and Hall Factors Jesse Maassen and Mar Lundstrom Purdue University November 5, 13 I. Introduction 1 II. Solution of the BE 1 III. Exercises: Woring out average scattering

Διαβάστε περισσότερα

Concrete Mathematics Exercises from 30 September 2016

Concrete Mathematics Exercises from 30 September 2016 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)

Διαβάστε περισσότερα

Uniform Convergence of Fourier Series Michael Taylor

Uniform Convergence of Fourier Series Michael Taylor Uniform Convergence of Fourier Series Michael Taylor Given f L 1 T 1 ), we consider the partial sums of the Fourier series of f: N 1) S N fθ) = ˆfk)e ikθ. k= N A calculation gives the Dirichlet formula

Διαβάστε περισσότερα

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- -----------------

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- ----------------- Inverse trigonometric functions & General Solution of Trigonometric Equations. 1. Sin ( ) = a) b) c) d) Ans b. Solution : Method 1. Ans a: 17 > 1 a) is rejected. w.k.t Sin ( sin ) = d is rejected. If sin

Διαβάστε περισσότερα

1η εργασία για το μάθημα «Αναγνώριση προτύπων»

1η εργασία για το μάθημα «Αναγνώριση προτύπων» 1η εργασία για το μάθημα «Αναγνώριση προτύπων» Σημειώσεις: 1. Η παρούσα εργασία είναι η πρώτη από 2 συνολικά εργασίες, η κάθε μια από τις οποίες θα βαθμολογηθεί με 0.4 μονάδες του τελικού βαθμού του μαθήματος.

Διαβάστε περισσότερα

1 String with massive end-points

1 String with massive end-points 1 String with massive end-points Πρόβλημα 5.11:Θεωρείστε μια χορδή μήκους, τάσης T, με δύο σημειακά σωματίδια στα άκρα της, το ένα μάζας m, και το άλλο μάζας m. α) Μελετώντας την κίνηση των άκρων βρείτε

Διαβάστε περισσότερα

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

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics Fourier Series MATH 211, Calculus II J. Robert Buchanan Department of Mathematics Spring 2018 Introduction Not all functions can be represented by Taylor series. f (k) (c) A Taylor series f (x) = (x c)

Διαβάστε περισσότερα

D Alembert s Solution to the Wave Equation

D Alembert s Solution to the Wave Equation D Alembert s Solution to the Wave Equation MATH 467 Partial Differential Equations J. Robert Buchanan Department of Mathematics Fall 2018 Objectives In this lesson we will learn: a change of variable technique

Διαβάστε περισσότερα

g-selberg integrals MV Conjecture An A 2 Selberg integral Summary Long Live the King Ole Warnaar Department of Mathematics Long Live the King

g-selberg integrals MV Conjecture An A 2 Selberg integral Summary Long Live the King Ole Warnaar Department of Mathematics Long Live the King Ole Warnaar Department of Mathematics g-selberg integrals The Selberg integral corresponds to the following k-dimensional generalisation of the beta integral: D Here and k t α 1 i (1 t i ) β 1 1 i

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Όλοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα μικρότεροι του 10000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Αν κάπου κάνετε κάποιες υποθέσεις

Διαβάστε περισσότερα

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

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with Week 03: C lassification of S econd- Order L inear Equations In last week s lectures we have illustrated how to obtain the general solutions of first order PDEs using the method of characteristics. We

Διαβάστε περισσότερα

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

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 1 State vector space and the dual space Space of wavefunctions The space of wavefunctions is the set of all

Διαβάστε περισσότερα

Congruence Classes of Invertible Matrices of Order 3 over F 2

Congruence Classes of Invertible Matrices of Order 3 over F 2 International Journal of Algebra, Vol. 8, 24, no. 5, 239-246 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/.2988/ija.24.422 Congruence Classes of Invertible Matrices of Order 3 over F 2 Ligong An and

Διαβάστε περισσότερα

CRASH COURSE IN PRECALCULUS

CRASH COURSE IN PRECALCULUS CRASH COURSE IN PRECALCULUS Shiah-Sen Wang The graphs are prepared by Chien-Lun Lai Based on : Precalculus: Mathematics for Calculus by J. Stuwart, L. Redin & S. Watson, 6th edition, 01, Brooks/Cole Chapter

Διαβάστε περισσότερα

5. Choice under Uncertainty

5. Choice under Uncertainty 5. Choice under Uncertainty Daisuke Oyama Microeconomics I May 23, 2018 Formulations von Neumann-Morgenstern (1944/1947) X: Set of prizes Π: Set of probability distributions on X : Preference relation

Διαβάστε περισσότερα

Theorem 8 Let φ be the most powerful size α test of H

Theorem 8 Let φ be the most powerful size α test of H Testing composite hypotheses Θ = Θ 0 Θ c 0 H 0 : θ Θ 0 H 1 : θ Θ c 0 Definition 16 A test φ is a uniformly most powerful (UMP) level α test for H 0 vs. H 1 if φ has level α and for any other level α test

Διαβάστε περισσότερα

Lecture 13 - Root Space Decomposition II

Lecture 13 - Root Space Decomposition II Lecture 13 - Root Space Decomposition II October 18, 2012 1 Review First let us recall the situation. Let g be a simple algebra, with maximal toral subalgebra h (which we are calling a CSA, or Cartan Subalgebra).

Διαβάστε περισσότερα

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS CHAPTER 5 SOLVING EQUATIONS BY ITERATIVE METHODS EXERCISE 104 Page 8 1. Find the positive root of the equation x + 3x 5 = 0, correct to 3 significant figures, using the method of bisection. Let f(x) =

Διαβάστε περισσότερα

The challenges of non-stable predicates

The challenges of non-stable predicates The challenges of non-stable predicates Consider a non-stable predicate Φ encoding, say, a safety property. We want to determine whether Φ holds for our program. The challenges of non-stable predicates

Διαβάστε περισσότερα

Θεωρία Πληροφορίας και Κωδίκων

Θεωρία Πληροφορίας και Κωδίκων Θεωρία Πληροφορίας και Κωδίκων Δρ. Νικόλαος Κολοκοτρώνης Λέκτορας Πανεπιστήμιο Πελοποννήσου Τμήμα Επιστήμης και Τεχνολογίας Υπολογιστών Τέρμα Οδού Καραϊσκάκη, 22100 Τρίπολη E mail: nkolok@uop.gr Web: http://www.uop.gr/~nkolok/

Διαβάστε περισσότερα

Lecture 7: Overdispersion in Poisson regression

Lecture 7: Overdispersion in Poisson regression Lecture 7: Overdispersion in Poisson regression Claudia Czado TU München c (Claudia Czado, TU Munich) ZFS/IMS Göttingen 2004 0 Overview Introduction Modeling overdispersion through mixing Score test for

Διαβάστε περισσότερα

Commutative Monoids in Intuitionistic Fuzzy Sets

Commutative Monoids in Intuitionistic Fuzzy Sets Commutative Monoids in Intuitionistic Fuzzy Sets S K Mala #1, Dr. MM Shanmugapriya *2 1 PhD Scholar in Mathematics, Karpagam University, Coimbatore, Tamilnadu- 641021 Assistant Professor of Mathematics,

Διαβάστε περισσότερα

Differentiation exercise show differential equation

Differentiation exercise show differential equation Differentiation exercise show differential equation 1. If y x sin 2x, prove that x d2 y 2 2 + 2y x + 4xy 0 y x sin 2x sin 2x + 2x cos 2x 2 2cos 2x + (2 cos 2x 4x sin 2x) x d2 y 2 2 + 2y x + 4xy (2x cos

Διαβάστε περισσότερα

The Pohozaev identity for the fractional Laplacian

The Pohozaev identity for the fractional Laplacian The Pohozaev identity for the fractional Laplacian Xavier Ros-Oton Departament Matemàtica Aplicada I, Universitat Politècnica de Catalunya (joint work with Joaquim Serra) Xavier Ros-Oton (UPC) The Pohozaev

Διαβάστε περισσότερα

Appendix to On the stability of a compressible axisymmetric rotating flow in a pipe. By Z. Rusak & J. H. Lee

Appendix to On the stability of a compressible axisymmetric rotating flow in a pipe. By Z. Rusak & J. H. Lee Appendi to On the stability of a compressible aisymmetric rotating flow in a pipe By Z. Rusak & J. H. Lee Journal of Fluid Mechanics, vol. 5 4, pp. 5 4 This material has not been copy-edited or typeset

Διαβάστε περισσότερα

Notes on the Open Economy

Notes on the Open Economy Notes on the Open Econom Ben J. Heijdra Universit of Groningen April 24 Introduction In this note we stud the two-countr model of Table.4 in more detail. restated here for convenience. The model is Table.4.

Διαβάστε περισσότερα

ORDINAL ARITHMETIC JULIAN J. SCHLÖDER

ORDINAL ARITHMETIC JULIAN J. SCHLÖDER ORDINAL ARITHMETIC JULIAN J. SCHLÖDER Abstract. We define ordinal arithmetic and show laws of Left- Monotonicity, Associativity, Distributivity, some minor related properties and the Cantor Normal Form.

Διαβάστε περισσότερα

Bessel functions. ν + 1 ; 1 = 0 for k = 0, 1, 2,..., n 1. Γ( n + k + 1) = ( 1) n J n (z). Γ(n + k + 1) k!

Bessel functions. ν + 1 ; 1 = 0 for k = 0, 1, 2,..., n 1. Γ( n + k + 1) = ( 1) n J n (z). Γ(n + k + 1) k! Bessel functions The Bessel function J ν (z of the first kind of order ν is defined by J ν (z ( (z/ν ν Γ(ν + F ν + ; z 4 ( k k ( Γ(ν + k + k! For ν this is a solution of the Bessel differential equation

Διαβάστε περισσότερα