Outline. CS38 Introduction to Algorithms 5/23/2014. Linear programming. Lecture 16 May 22, coping with intractibility
|
|
- Kristopher Reynolds
- 5 years ago
- Views:
Transcription
1 Outlie CS38 Itroductio to Algorithms Lecture 6 Ma, 04 Liear programmig L dualit ellipsoid algorithm * slides from Kevi Wae copig with itractibilit N-completeess Ma, 04 CS38 Lecture 6 Ma, 04 CS38 Lecture 6 L Dualit L Duals rimal problem. () ma 3A 3B s. t. 5A 5B 480 4A 4B 60 35A 0B 90 A, B 0 Caoical form. () ma c T mi T b s. t. A T c 0 Idea. Add oegative combiatio (C, H, M) of the costraits s.t. 3A 3B (5C 4H 35M ) A (5C 4H 0M ) B 480C 60H 90M Dual problem. Fid best such upper boud. mi 480C 60H 90M s. t. 5C 4H 35M 3 5C 4H 0M 3 C, H, M Double Dual Takig Duals Caoical form. L dual recipe. () ma c T mi T b s. t. A T c 0 rimal () maimie miimie Dual costraits a = b i a b a b i i urestricted i 0 i 0 variables ropert. The dual of the dual is the primal. f. Rewrite as a maimiatio problem i caoical form; take dual. variables j 0 j 0 urestricted a T c j a T c j a T = c j costraits (D' ) ma T b s. t. A T c 0 (DD) mi c T s. t. (A T ) T b 0 f. Rewrite L i stadard form ad take dual. 5 6
2 L Strog Dualit Theorem. [Gale-Kuh-Tucker 95, Datig-vo Neuma 947] For A R m, b R m, c R, if () ad are oempt, the ma = mi. Strog dualit () ma c T mi T b s. t. A T c 0 Geeralies: Dilworth's theorem. Köig-gervar theorem. Ma-flow mi-cut theorem. vo Neuma's miima theorem. Ma, 04 CS38 Lecture 6 7 f. [ahead] 8 L Weak Dualit rojectio Lemma Theorem. For A R m, b R m, c R, if () ad are oempt, the ma mi. Weierstrass' theorem. Let X be a compact set, ad let f() be a cotiuous fuctio o X. The mi { f() : X } eists. () ma c T mi T b s. t. A T c 0 rojectio lemma. Let X ½ R m be a oempt closed cove set, ad take ot i X. The there eists * X with miimum distace from. Moreover, for all X we have ( *) T ( *) 0. obtuse agle f. Suppose R m is feasible for () ad R is feasible for. 0, A b ) T A T b 0, A T c ) T A c T Combie: c T T A T b. * X 9 0 rojectio Lemma rojectio Lemma Weierstrass' theorem. Let X be a compact set, ad let f() be a cotiuous fuctio o X. The mi { f() : X } eists. Weierstrass' theorem. Let X be a compact set, ad let f() be a cotiuous fuctio o X. The mi { f() : X } eists. rojectio lemma. Let X ½ R m be a oempt closed cove set, ad take ot i X. The there eists * X with miimum distace from. Moreover, for all X we have ( *) T ( *) 0. rojectio lemma. Let X ½ R m be a oempt closed cove set, ad take ot i X. The there eists * X with miimum distace from. Moreover, for all X we have ( *) T ( *) 0. f. Defie f() =. f. * mi distace ) * for all X. Wat to appl Weierstrass, but X ot ecessaril bouded. X ot empt ) there eists X. Defie X' = { X : ' } so that X' is closed, bouded, ad mi { f() : X } = mi { f() : X' }. B Weierstrass, mi eists. * X' ' X B coveit: if X, the * + ² ( *) X for all 0 < ² <. * * ² ( *) = * + ² ( *) ² ( *) T ( - *) Thus, ( *) T ( - *) ½ ² ( *). Lettig ²! 0 +, we obtai the desired result.
3 Separatig Hperplae Theorem Farkas' Lemma Theorem. Let X ½ R m be a oempt closed cove set, ad take ot i X. The there eists a hperplae H = { R m : a T = } where a R m, R that separates from X. a T for all X a T < Theorem. For A R m, b R m eactl oe of the followig two sstems holds: (I) (II) m s. t. A T 0 T b 0 f. Let * be closest poit i X to. f. [ot both] Suppose satisfies (I) ad satisfies (II). B projectio lemma, ( *) T ( *) 0 for all X Choose a = * ot equal 0 ad = a T *. If X, the a T ( *) 0; * The 0 > T b = T A 0, a cotradictio. f. [at least oe] Suppose (I) ifeasible. We will show (II) feasible. Cosider S = { A : 0 } ad ote that b ot i S. thus ) a T a T * =. Let R m, R be a hperplae that separates b from S: Also, a T = a T (* a) = a < T b <, T s for all s S. 0 S ) 0 ) T b < 0 H = { R m : a T = } X T A for all 0 ) T A 0 sice ca be arbitraril large. 3 4 Aother Theorem of the Alterative L Strog Dualit Corollar. For A R m, b R m eactl oe of the followig two sstems holds: (I) (II) m s. t. A T 0 T b 0 0 Theorem. [strog dualit] For A R m, b R m, c R, if () ad are oempt the ma = mi. () ma c T mi T b s. t. A T c 0 f. [ma mi] Weak L dualit. f. [mi ma] Suppose ma <. We show mi <. f. Appl Farkas' lemma to: (I' ), s m s. t. A I s b, s 0 (II' ) m s. t. A T 0 I 0 T b 0 (I) c T (II) m, s. t. A T c 0 T b 0, 0 B defiitio of, (I) ifeasible ) (II) feasible b Farkas' Corollar. 5 6 L Strog Dualit (II) Let, be a solutio to (II). m, s. t. A T c 0 T b 0, 0 llipsoid algorithm Case. [ = 0] The, { R m : A T 0, T b < 0, 0 } is feasible. Farkas Corollar ) { R : A b, 0 } is ifeasible. Cotradictio sice b assumptio () is oempt. Case. [ > 0] Scale, so that satisfies (II) ad =. Resultig feasible to ad T b <. Ma, 04 CS38 Lecture
4 To fid a poit i : Geometric Divide-ad-Coquer To fid a poit i : Geometric Divide-ad-Coquer Maitai ellipsoid cotaiig. 9 0 To fid a poit i : Geometric Divide-ad-Coquer Maitai ellipsoid cotaiig. If ceter of ellipsoid is i stop; otherwise fid hperplae separatig from. ad cosider correspodig half-ellipsoid ½ = Å H To fid a poit i : Geometric Divide-ad-Coquer Maitai ellipsoid cotaiig. If ceter of ellipsoid is i stop; otherwise fid hperplae separatig from. Fid smallest ellipsoid ' cotaiig half-ellipsoid. separatig hperplae L-J ellipsoid separatig hperplae H H ' Geometric Divide-ad-Coquer Optimiatio to Feasibilit To fid a poit i : Maitai ellipsoid cotaiig. If ceter of ellipsoid is i stop; otherwise fid hperplae separatig from. Fid smallest ellipsoid ' cotaiig half-ellipsoid. Repeat. Stadard form. ma c T ' A b form., A b A T c c T b T 0 A b 0 dual feasible optimal 3 4 4
5 llipsoid Algorithm Shrikig Lemma Goal. Give A R m ad b R m, fid R such that A b. llipsoid. Give D R positive defiite ad R, the { : ( ) T D ( ) } llipsoid algorithm. Let 0 be a ellipsoid cotaiig. k = 0. eumerate costraits While ceter k of ellipsoid k is ot i : fid a costrait, sa a, that is violated b k let k+ be mi volume ellipsoid cotaiig k Å { : a a k } k = k + eas to compute half-ellipsoid ½ a a a k k+ is a ellipsoid cetered o with vol() = det vol(b(0, )) uit sphere Ke lemma. ver half-ellipsoid ½ is cotaied i a ellipsoid ' with vol( ) / vol() e /(+). H ' ½ k k 5 6 Shrikig Lemma: Uit Sphere Shrikig Lemma: Uit Sphere Special case. = uit sphere, H = { : 0 }. { : ( i ) i } { : ( ) ( i ) i } Special case. = uit sphere, H = { : 0 }. { : ( i ) i } { : ( ) ( i ) i } Claim. ' is a ellipsoid cotaiig ½ = Å H. f. If ½ : Claim. ' is a ellipsoid cotaiig ½ = Å H. f. Volume of ellipsoid is proportioal to side legths: i i i i i i ( ) i i 0 0 i 0 ½ ' vol( ) vol() e e e ( ) + e 0 ½ ' 7 8 Shrikig Lemma Shrikig Lemma Shrikig lemma. The mi volume ellipsoid cotaiig the half-ellipsoid ½ = Å { : a a } is defied b: { Da a T Da, D D : ( ) T (D ) ( ) } Daa T D a T Da Shrikig lemma. The mi volume ellipsoid cotaiig the half-ellipsoid ½ = Å { : a a } is defied b: { Da a T Da, D D : ( ) T (D ) ( ) } Daa T D a T Da Moreover, vol( ) / vol() < e /(+). ' H Moreover, vol( ) / vol() < e /(+). ½ f sketch. We proved = uit sphere, H = { : 0 } llipsoids are affie trasformatios of uit spheres. Volume ratios are preserved uder affie trasformatios. Corollar. llipsoid algorithm termiates after at most (+) l (vol( 0 ) / vol()) steps
6 llipsoid Algorithm Theorem. Liear rogrammig problems ca be solved i polomial time. f sketch. Shrikig lemma. Set iitial ellipsoid 0 so that vol( 0 ) cl. erturb A b to A b + ) either is empt or vol() -cl. Bit compleit (to deal with square roots). urif to verte solutio. Copig with itractabilit Caveat. This is a theoretical result. Do ot implemet. O(m 3 L) arithmetic ops o umbers of sie O(L), where L = umber of bits to ecode iput Ma, 04 CS38 Lecture Decisio problems + laguages A problem is a fuctio: f:σ * Σ * Simple. Ca we make it simpler? Yes. Decisio problems: f:σ * {accept, reject} Does this still capture our otio of problem, or is it too restrictive? Decisio problems + laguages ample: factorig: give a iteger m, fid its prime factors f factor : {0,} * {0,} * Decisio versio: give itegers m,k, accept iff m has a prime factor p < k Ca use oe to solve the other ad vice versa. True i geeral. Ma, 04 CS38 Lecture 6 33 Ma, 04 CS38 Lecture 6 34 Decisio problems + laguages For most compleit settigs a problem is a decisio problem: f:σ * {accept, reject} quivalet otio: laguage L Σ * the set of strigs that map to accept ample: L = set of pairs (m,k) for which m has a prime factor p < k Ma, 04 CS38 Lecture 6 35 Search vs. Decisio Defiitio: give a graph G = (V, ), a idepedet set i G is a subset V V such that for all u,w V (u,w) A problem: give G, fid the largest idepedet set This is called a search problem searchig for optimal object of some tpe comes up frequetl Ma, 04 CS38 Lecture
7 Search vs. Decisio We wat to talk about laguages (or decisio problems) Most search problems have a atural, related decisio problem b addig a boud k ; for eample: search problem: give G, fid the largest idepedet set decisio problem: give (G, k), is there a idepedet set of sie at least k Ma, 04 CS38 Lecture 6 37 The class N Defiitio: TIM(t()) = {L : there eists a TM M that decides L i time O(t())} = k TIM( k ) Defiitio: NTIM(t()) = {L : there eists a NTM M that decides L i time O(t())} N = k NTIM( k ) Ma, 04 CS38 Lecture 6 38 ol-time verifiers N = {L : L decided b pol-time NTM} Ver useful alterate defiitio of N: Theorem: laguage L is i N if ad ol if it is epressible as: L = { 9, k, (, ) R } where R is a laguage i. pol-time TM M R decidig R is a verifier Ma, 04 CS38 Lecture 6 39 ol-time verifiers N = {L : L decided witess b pol-time or NTM} certificate Ver useful alterate defiitio of efficietl N: Theorem: laguage L is i N if ad verifiable ol if it is epressible as: L = { 9, k, (, ) R } where R is a laguage i. pol-time TM M R decidig R is a verifier Ma, 04 CS38 Lecture 6 40 ol-time verifiers ample: 3SAT epressible as 3SAT = {φ : φ is a 3-CNF formula for which assigmet A for which (φ, A) R} R = {(φ, A) : A is a sat. assig. for φ} satisfig assigmet A is a witess of the satisfiabilit of φ (it certifies satisfiabilit of φ) R is decidable i pol-time ol-time reductios Tpe of reductio we will use: ma-oe pol-time reductio A es o f f es o B reductio from laguage A to laguage B Ma, 04 CS38 Lecture 6 4 Ma, 04 CS38 Lecture 6 4 7
8 ol-time reductios A es o es fuctio f should be pol-time computable Defiitio: f : Σ* Σ* is pol-time computable if for some g() = O() there eists a g()-time TM M f such that o ever w Σ*, M f halts with f(w) o its tape. Ma, 04 CS38 Lecture 6 43 f f o B ol-time reductios Defiitio: A B ( A reduces to B ) if there is a pol-time computable fuctio f such that for all w w A f(w) B coditio equivalet to: YS maps to YS ad NO maps to NO meaig is: B is at least as hard (or epressive) as A Ma, 04 CS38 Lecture 6 44 ol-time reductios Theorem: if A B ad B the A. roof: a pol-time algorithm for decidig A: o iput w, compute f(w) i pol-time. ru pol-time algorithm to decide if f(w) B if it sas es, output es if it sas o, output o Hardess ad completeess Reasoable that ca efficietl trasform oe problem ito aother. Surprisig: ca ofte fid a special laguage L so that ever laguage i a give compleit class reduces to L! powerful tool Ma, 04 CS38 Lecture 6 45 Ma, 04 CS38 Lecture 6 46 Hardess ad completeess Recall: a laguage L is a set of strigs a compleit class C is a set of laguages Defiitio: a laguage L is C-hard if for ever laguage A C, A pol-time reduces to L; i.e., A L. meaig: L is at least as hard as athig i C Hardess ad completeess Recall: a laguage L is a set of strigs a compleit class C is a set of laguages Defiitio: a laguage L is C-complete if L is C-hard ad L C meaig: L is a hardest problem i C Ma, 04 CS38 Lecture 6 47 Ma, 04 CS38 Lecture
9 Lots of N-complete problems logic problems 3-SAT = {φ : φ is a satisfiable 3-CNF formula} NA3SAT, (3,3)-SAT Ma--SAT fidig objects i graphs idepedet set verte cover clique sequecig Hamilto ath Hamilto Ccle ad TS problems o umbers subset sum kapsack partitio splittig thigs up ma cut mi/ma bisectio Ma, 04 CS38 Lecture
Solutions for the Exam 9 January 2012
Mastermath ad LNMB Course: Discrete Optimizatio Solutios for the Exam 9 Jauary 2012 Utrecht Uiversity, Educatorium, 15:15 18:15 The examiatio lasts 3 hours. Gradig will be doe before Jauary 23, 2012. Studets
More informationLecture 2 Clustering Part II
COMS 4995: Usupervised Learig (Summer 8) May 24, 208 Lecture 2 Clusterig Part II Istructor: Nakul Verma Scribes: Jie Li, Yadi Rozov Today, we will be talkig about the hardess results for k-meas. More specifically,
More informationMost text will write ordinary derivatives using either Leibniz notation 2 3. y + 5y= e and y y. xx tt t
Itroductio to Differetial Equatios Defiitios ad Termiolog Differetial Equatio: A equatio cotaiig the derivatives of oe or more depedet variables, with respect to oe or more idepedet variables, is said
More informationb i u x i U a i j u x i u x j
M ath 5 2 7 Fall 2 0 0 9 L ecture 1 9 N ov. 1 6, 2 0 0 9 ) S ecod- Order Elliptic Equatios: Weak S olutios 1. Defiitios. I this ad the followig two lectures we will study the boudary value problem Here
More informationApply change-of-basis formula to rewrite x as a linear combination of eigenvectors v j.
Eigevalue-Eigevector Istructor: Nam Su Wag eigemcd Ay vector i real Euclidea space of dimesio ca be uiquely epressed as a liear combiatio of liearly idepedet vectors (ie, basis) g j, j,,, α g α g α g α
More informationDefinitions and Theorems. where x are the decision variables. c, b, and a are constant coefficients.
Defiitios ad Theorems Remember the scalar form of the liear programmig problem, Miimize, Subject to, f(x) = c i x i a 1i x i = b 1 a mi x i = b m x i 0 i = 1,2,, where x are the decisio variables. c, b,
More informationMachine Learning for Data Science (CS 4786)
Machie Learig for Data Sciece CS 4786) Lecture & 3: Pricipal Compoet Aalysis The text i black outlies high level ideas. The text i blue provides simple mathematical details to derive or get to the algorithm
More informationACO Comprehensive Exam 9 October 2007 Student code A. 1. Graph Theory
1. Graph Theory Prove that there exist o simple plaar triagulatio T ad two distict adjacet vertices x, y V (T ) such that x ad y are the oly vertices of T of odd degree. Do ot use the Four-Color Theorem.
More informationImage Spaces. What might an image space be
Image Spaces What might a image space be Map each image to a poit i a space Defie a distace betwee two poits i that space Mabe also a shortest path (morph) We have alread see a simple versio of this, i
More informationw (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.
2 5. Weighted umber of late jobs 5.1. Release dates ad due dates: maximimizig the weight of o-time jobs Oce we add release dates, miimizig the umber of late jobs becomes a sigificatly harder problem. For
More informationSome special clique problems
Some special clique problems Reate Witer Istitut für Iformatik Marti-Luther-Uiversität Halle-Witteberg Vo-Seckedorff-Platz, D 0620 Halle Saale Germay Abstract: We cosider graphs with cliques of size k
More informationMath 61CM - Solutions to homework 3
Math 6CM - Solutios to homework 3 Cédric De Groote October 2 th, 208 Problem : Let F be a field, m 0 a fixed oegative iteger ad let V = {a 0 + a x + + a m x m a 0,, a m F} be the vector space cosistig
More informationAlgebra of Least Squares
October 19, 2018 Algebra of Least Squares Geometry of Least Squares Recall that out data is like a table [Y X] where Y collects observatios o the depedet variable Y ad X collects observatios o the k-dimesioal
More informationComputability and computational complexity
Computability ad computatioal complexity Lecture 4: Uiversal Turig machies. Udecidability Io Petre Computer Sciece, Åbo Akademi Uiversity Fall 2015 http://users.abo.fi/ipetre/computability/ 21. toukokuu
More informationInteger Programming (IP)
Iteger Programmig (IP) The geeral liear mathematical programmig problem where Mied IP Problem - MIP ma c T + h Z T y A + G y + y b R p + vector of positive iteger variables y vector of positive real variables
More informationLecture 20. Brief Review of Gram-Schmidt and Gauss s Algorithm
8.409 A Algorithmist s Toolkit Nov. 9, 2009 Lecturer: Joatha Keler Lecture 20 Brief Review of Gram-Schmidt ad Gauss s Algorithm Our mai task of this lecture is to show a polyomial time algorithm which
More informationLinear Programming! References! Introduction to Algorithms.! Dasgupta, Papadimitriou, Vazirani. Algorithms.! Cormen, Leiserson, Rivest, and Stein.
Liear Programmig! Refereces! Dasgupta, Papadimitriou, Vazirai. Algorithms.! Corme, Leiserso, Rivest, ad Stei. Itroductio to Algorithms.! Slack form! For each costrait i, defie a oegative slack variable
More informationU8L1: Sec Equations of Lines in R 2
MCVU U8L: Sec. 8.9. Equatios of Lies i R Review of Equatios of a Straight Lie (-D) Cosider the lie passig through A (-,) with slope, as show i the diagram below. I poit slope form, the equatio of the lie
More informationOptimization Methods MIT 2.098/6.255/ Final exam
Optimizatio Methods MIT 2.098/6.255/15.093 Fial exam Date Give: December 19th, 2006 P1. [30 pts] Classify the followig statemets as true or false. All aswers must be well-justified, either through a short
More informationa is some real number (called the coefficient) other
Precalculus Notes for Sectio.1 Liear/Quadratic Fuctios ad Modelig http://www.schooltube.com/video/77e0a939a3344194bb4f Defiitios: A moomial is a term of the form tha zero ad is a oegative iteger. a where
More informationPolynomial and Rational Functions. Polynomial functions and Their Graphs. Polynomial functions and Their Graphs. Examples
Polomial ad Ratioal Fuctios Polomial fuctios ad Their Graphs Math 44 Precalculus Polomial ad Ratioal Fuctios Polomial Fuctios ad Their Graphs Polomial fuctios ad Their Graphs A Polomial of degree is a
More informationGeometry of LS. LECTURE 3 GEOMETRY OF LS, PROPERTIES OF σ 2, PARTITIONED REGRESSION, GOODNESS OF FIT
OCTOBER 7, 2016 LECTURE 3 GEOMETRY OF LS, PROPERTIES OF σ 2, PARTITIONED REGRESSION, GOODNESS OF FIT Geometry of LS We ca thik of y ad the colums of X as members of the -dimesioal Euclidea space R Oe ca
More informationCHAPTER 5. Theory and Solution Using Matrix Techniques
A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 3 A COLLECTION OF HANDOUTS ON SYSTEMS OF ORDINARY DIFFERENTIAL
More informationEfficient GMM LECTURE 12 GMM II
DECEMBER 1 010 LECTURE 1 II Efficiet The estimator depeds o the choice of the weight matrix A. The efficiet estimator is the oe that has the smallest asymptotic variace amog all estimators defied by differet
More informationIP Reference guide for integer programming formulations.
IP Referece guide for iteger programmig formulatios. by James B. Orli for 15.053 ad 15.058 This documet is iteded as a compact (or relatively compact) guide to the formulatio of iteger programs. For more
More informationMA131 - Analysis 1. Workbook 2 Sequences I
MA3 - Aalysis Workbook 2 Sequeces I Autum 203 Cotets 2 Sequeces I 2. Itroductio.............................. 2.2 Icreasig ad Decreasig Sequeces................ 2 2.3 Bouded Sequeces..........................
More informationPRACTICE FINAL/STUDY GUIDE SOLUTIONS
Last edited December 9, 03 at 4:33pm) Feel free to sed me ay feedback, icludig commets, typos, ad mathematical errors Problem Give the precise meaig of the followig statemets i) a f) L ii) a + f) L iii)
More information62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +
62. Power series Defiitio 16. (Power series) Give a sequece {c }, the series c x = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + is called a power series i the variable x. The umbers c are called the coefficiets of
More informationMath 508 Exam 2 Jerry L. Kazdan December 9, :00 10:20
Math 58 Eam 2 Jerry L. Kazda December 9, 24 9: :2 Directios This eam has three parts. Part A has 8 True/False questio (2 poits each so total 6 poits), Part B has 5 shorter problems (6 poits each, so 3
More informationLecture 2: Uncomputability and the Haling Problem
CSE 200 Computability ad Complexity Wedesday, April 3, 2013 Lecture 2: Ucomputability ad the Halig Problem Istructor: Professor Shachar Lovett Scribe: Dogcai She 1 The Uiversal Turig Machie I the last
More informationCALCULUS BASIC SUMMER REVIEW
CALCULUS BASIC SUMMER REVIEW NAME rise y y y Slope of a o vertical lie: m ru Poit Slope Equatio: y y m( ) The slope is m ad a poit o your lie is, ). ( y Slope-Itercept Equatio: y m b slope= m y-itercept=
More informationIntroduction to Optimization Techniques
Itroductio to Optimizatio Techiques Basic Cocepts of Aalysis - Real Aalysis, Fuctioal Aalysis 1 Basic Cocepts of Aalysis Liear Vector Spaces Defiitio: A vector space X is a set of elemets called vectors
More informationOptimization Methods: Linear Programming Applications Assignment Problem 1. Module 4 Lecture Notes 3. Assignment Problem
Optimizatio Methods: Liear Programmig Applicatios Assigmet Problem Itroductio Module 4 Lecture Notes 3 Assigmet Problem I the previous lecture, we discussed about oe of the bech mark problems called trasportatio
More information} is said to be a Cauchy sequence provided the following condition is true.
Math 4200, Fial Exam Review I. Itroductio to Proofs 1. Prove the Pythagorea theorem. 2. Show that 43 is a irratioal umber. II. Itroductio to Logic 1. Costruct a truth table for the statemet ( p ad ~ r
More informationInverse Matrix. A meaning that matrix B is an inverse of matrix A.
Iverse Matrix Two square matrices A ad B of dimesios are called iverses to oe aother if the followig holds, AB BA I (11) The otio is dual but we ofte write 1 B A meaig that matrix B is a iverse of matrix
More information2.1. The Algebraic and Order Properties of R Definition. A binary operation on a set F is a function B : F F! F.
CHAPTER 2 The Real Numbers 2.. The Algebraic ad Order Properties of R Defiitio. A biary operatio o a set F is a fuctio B : F F! F. For the biary operatios of + ad, we replace B(a, b) by a + b ad a b, respectively.
More information5.1 Review of Singular Value Decomposition (SVD)
MGMT 69000: Topics i High-dimesioal Data Aalysis Falll 06 Lecture 5: Spectral Clusterig: Overview (cotd) ad Aalysis Lecturer: Jiamig Xu Scribe: Adarsh Barik, Taotao He, September 3, 06 Outlie Review of
More informationVector Spaces and Vector Subspaces. Remarks. Euclidean Space
Vector Spaces ad Vector Subspaces Remarks Let be a iteger. A -dimesioal vector is a colum of umbers eclosed i brackets. The umbers are called the compoets of the vector. u u u u Euclidea Space I Euclidea
More information5.1. The Rayleigh s quotient. Definition 49. Let A = A be a self-adjoint matrix. quotient is the function. R(x) = x,ax, for x = 0.
40 RODICA D. COSTIN 5. The Rayleigh s priciple ad the i priciple for the eigevalues of a self-adjoit matrix Eigevalues of self-adjoit matrices are easy to calculate. This sectio shows how this is doe usig
More information15.083J/6.859J Integer Optimization. Lecture 3: Methods to enhance formulations
15.083J/6.859J Iteger Optimizatio Lecture 3: Methods to ehace formulatios 1 Outlie Polyhedral review Slide 1 Methods to geerate valid iequalities Methods to geerate facet defiig iequalities Polyhedral
More informationMarkov Decision Processes
Markov Decisio Processes Defiitios; Statioary policies; Value improvemet algorithm, Policy improvemet algorithm, ad liear programmig for discouted cost ad average cost criteria. Markov Decisio Processes
More informationLecture Notes for Analysis Class
Lecture Notes for Aalysis Class Topological Spaces A topology for a set X is a collectio T of subsets of X such that: (a) X ad the empty set are i T (b) Uios of elemets of T are i T (c) Fiite itersectios
More informationInfinite Sequences and Series
Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet
More informationCS151 Complexity Theory
Time ad Space CS151 Complexity Theory Lecture 2 April 1, 2004 A motivatig questio: Boolea formula with odes evaluate usig O(log ) space? depth-first traversal requires storig itermediate values idea: short-circuit
More information2017 PRACTICE MIDTERM SOLUTIONS
CSE303 2017 PRACTICE MIDTERM SOLUTIONS 1 YES/NO questios 1. For a biar relatio R A A, R exists. Justif: defiitio 2. For a biar relatio R A A, R 1 exists. Justif: The set R 1 = {(b, a) : (a, b) R} alwas
More informationMATH 10550, EXAM 3 SOLUTIONS
MATH 155, EXAM 3 SOLUTIONS 1. I fidig a approximate solutio to the equatio x 3 +x 4 = usig Newto s method with iitial approximatio x 1 = 1, what is x? Solutio. Recall that x +1 = x f(x ) f (x ). Hece,
More informationQuantum Computing Lecture 7. Quantum Factoring
Quatum Computig Lecture 7 Quatum Factorig Maris Ozols Quatum factorig A polyomial time quatum algorithm for factorig umbers was published by Peter Shor i 1994. Polyomial time meas that the umber of gates
More informationSequences and Series of Functions
Chapter 6 Sequeces ad Series of Fuctios 6.1. Covergece of a Sequece of Fuctios Poitwise Covergece. Defiitio 6.1. Let, for each N, fuctio f : A R be defied. If, for each x A, the sequece (f (x)) coverges
More informationWe are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n
Review of Power Series, Power Series Solutios A power series i x - a is a ifiite series of the form c (x a) =c +c (x a)+(x a) +... We also call this a power series cetered at a. Ex. (x+) is cetered at
More informationU8L1: Sec Equations of Lines in R 2
MCVU Thursda Ma, Review of Equatios of a Straight Lie (-D) U8L Sec. 8.9. Equatios of Lies i R Cosider the lie passig through A (-,) with slope, as show i the diagram below. I poit slope form, the equatio
More informationSequences I. Chapter Introduction
Chapter 2 Sequeces I 2. Itroductio A sequece is a list of umbers i a defiite order so that we kow which umber is i the first place, which umber is i the secod place ad, for ay atural umber, we kow which
More informationMachine Learning for Data Science (CS 4786)
Machie Learig for Data Sciece CS 4786) Lecture 9: Pricipal Compoet Aalysis The text i black outlies mai ideas to retai from the lecture. The text i blue give a deeper uderstadig of how we derive or get
More informationInteger Linear Programming
Iteger Liear Programmig Itroductio Iteger L P problem (P) Mi = s. t. a = b i =,, m = i i 0, iteger =,, c Eemple Mi z = 5 s. t. + 0 0, 0, iteger F(P) = feasible domai of P Itroductio Iteger L P problem
More informationRecitation 4: Lagrange Multipliers and Integration
Math 1c TA: Padraic Bartlett Recitatio 4: Lagrage Multipliers ad Itegratio Week 4 Caltech 211 1 Radom Questio Hey! So, this radom questio is pretty tightly tied to today s lecture ad the cocept of cotet
More information2.4 - Sequences and Series
2.4 - Sequeces ad Series Sequeces A sequece is a ordered list of elemets. Defiitio 1 A sequece is a fuctio from a subset of the set of itegers (usually either the set 80, 1, 2, 3,... < or the set 81, 2,
More information15.081J/6.251J Introduction to Mathematical Programming. Lecture 21: Primal Barrier Interior Point Algorithm
508J/65J Itroductio to Mathematical Programmig Lecture : Primal Barrier Iterior Poit Algorithm Outlie Barrier Methods Slide The Cetral Path 3 Approximatig the Cetral Path 4 The Primal Barrier Algorithm
More informationLecture 27. Capacity of additive Gaussian noise channel and the sphere packing bound
Lecture 7 Ageda for the lecture Gaussia chael with average power costraits Capacity of additive Gaussia oise chael ad the sphere packig boud 7. Additive Gaussia oise chael Up to this poit, we have bee
More informationIntroduction to Machine Learning DIS10
CS 189 Fall 017 Itroductio to Machie Learig DIS10 1 Fu with Lagrage Multipliers (a) Miimize the fuctio such that f (x,y) = x + y x + y = 3. Solutio: The Lagragia is: L(x,y,λ) = x + y + λ(x + y 3) Takig
More informationChapter 1. Complex Numbers. Dr. Pulak Sahoo
Chapter 1 Complex Numbers BY Dr. Pulak Sahoo Assistat Professor Departmet of Mathematics Uiversity Of Kalyai West Begal, Idia E-mail : sahoopulak1@gmail.com 1 Module-2: Stereographic Projectio 1 Euler
More informationDifferentiable Convex Functions
Differetiable Covex Fuctios The followig picture motivates Theorem 11. f ( x) f ( x) f '( x)( x x) ˆx x 1 Theorem 11 : Let f : R R be differetiable. The, f is covex o the covex set C R if, ad oly if for
More information6.895 Essential Coding Theory October 20, Lecture 11. This lecture is focused in comparisons of the following properties/parameters of a code:
6.895 Essetial Codig Theory October 0, 004 Lecture 11 Lecturer: Madhu Suda Scribe: Aastasios Sidiropoulos 1 Overview This lecture is focused i comparisos of the followig properties/parameters of a code:
More informationThe Simplex algorithm: Introductory example. The Simplex algorithm: Introductory example (2)
Discrete Mathematics for Bioiformatics WS 07/08, G. W. Klau, 23. Oktober 2007, 12:21 1 The Simplex algorithm: Itroductory example The followig itroductio to the Simplex algorithm is from the book Liear
More information(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3
MATH 337 Sequeces Dr. Neal, WKU Let X be a metric space with distace fuctio d. We shall defie the geeral cocept of sequece ad limit i a metric space, the apply the results i particular to some special
More informationThe picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled
1 Lecture : Area Area ad distace traveled Approximatig area by rectagles Summatio The area uder a parabola 1.1 Area ad distace Suppose we have the followig iformatio about the velocity of a particle, how
More informationLecture 9: Hierarchy Theorems
IAS/PCMI Summer Sessio 2000 Clay Mathematics Udergraduate Program Basic Course o Computatioal Complexity Lecture 9: Hierarchy Theorems David Mix Barrigto ad Alexis Maciel July 27, 2000 Most of this lecture
More informationLinear Programming and the Simplex Method
Liear Programmig ad the Simplex ethod Abstract This article is a itroductio to Liear Programmig ad usig Simplex method for solvig LP problems i primal form. What is Liear Programmig? Liear Programmig is
More informationMA2108S Tutorial 4 Answer Sheet
MA208S Tutorial 4 Aswer Sheet Qia Yujie, Shi Yagag, Xu Jigwei 2 Februar 20 Sectio2.4 9. Perform the computatios i (a) ad (b) of the precedig eercise for the fuctio h : X Y R defied b { 0 if
More information10.1 Sequences. n term. We will deal a. a n or a n n. ( 1) n ( 1) n 1 2 ( 1) a =, 0 0,,,,, ln n. n an 2. n term.
0. Sequeces A sequece is a list of umbers writte i a defiite order: a, a,, a, a is called the first term, a is the secod term, ad i geeral eclusively with ifiite sequeces ad so each term Notatio: the sequece
More informationDefinition An infinite sequence of numbers is an ordered set of real numbers.
Ifiite sequeces (Sect. 0. Today s Lecture: Review: Ifiite sequeces. The Cotiuous Fuctio Theorem for sequeces. Usig L Hôpital s rule o sequeces. Table of useful its. Bouded ad mootoic sequeces. Previous
More informationConvergence of random variables. (telegram style notes) P.J.C. Spreij
Covergece of radom variables (telegram style otes).j.c. Spreij this versio: September 6, 2005 Itroductio As we kow, radom variables are by defiitio measurable fuctios o some uderlyig measurable space
More informationJohn Riley 30 August 2016
Joh Riley 3 August 6 Basic mathematics of ecoomic models Fuctios ad derivatives Limit of a fuctio Cotiuity 3 Level ad superlevel sets 3 4 Cost fuctio ad margial cost 4 5 Derivative of a fuctio 5 6 Higher
More informationElement sampling: Part 2
Chapter 4 Elemet samplig: Part 2 4.1 Itroductio We ow cosider uequal probability samplig desigs which is very popular i practice. I the uequal probability samplig, we ca improve the efficiecy of the resultig
More informationProblem Set # 5 Solutions
MIT./8.4/6.898/8.435 Quatum Iformatio Sciece I Fall, 00 Sam Ocko October 5, 00 Problem Set # 5 Solutios. Most uitar trasforms are hard to approimate. (a) We are dealig with boolea fuctios that take bits
More informationMath 451: Euclidean and Non-Euclidean Geometry MWF 3pm, Gasson 204 Homework 3 Solutions
Math 451: Euclidea ad No-Euclidea Geometry MWF 3pm, Gasso 204 Homework 3 Solutios Exercises from 1.4 ad 1.5 of the otes: 4.3, 4.10, 4.12, 4.14, 4.15, 5.3, 5.4, 5.5 Exercise 4.3. Explai why Hp, q) = {x
More informationTHE SOLUTION OF NONLINEAR EQUATIONS f( x ) = 0.
THE SOLUTION OF NONLINEAR EQUATIONS f( ) = 0. Noliear Equatio Solvers Bracketig. Graphical. Aalytical Ope Methods Bisectio False Positio (Regula-Falsi) Fied poit iteratio Newto Raphso Secat The root of
More informationThe multiplicative structure of finite field and a construction of LRC
IERG6120 Codig for Distributed Storage Systems Lecture 8-06/10/2016 The multiplicative structure of fiite field ad a costructio of LRC Lecturer: Keeth Shum Scribe: Zhouyi Hu Notatios: We use the otatio
More informationINEQUALITIES BJORN POONEN
INEQUALITIES BJORN POONEN 1 The AM-GM iequality The most basic arithmetic mea-geometric mea (AM-GM) iequality states simply that if x ad y are oegative real umbers, the (x + y)/2 xy, with equality if ad
More information4.1 Sigma Notation and Riemann Sums
0 the itegral. Sigma Notatio ad Riema Sums Oe strategy for calculatig the area of a regio is to cut the regio ito simple shapes, calculate the area of each simple shape, ad the add these smaller areas
More informationSquare-Congruence Modulo n
Square-Cogruece Modulo Abstract This paper is a ivestigatio of a equivalece relatio o the itegers that was itroduced as a exercise i our Discrete Math class. Part I - Itro Defiitio Two itegers are Square-Cogruet
More information1 Duality revisited. AM 221: Advanced Optimization Spring 2016
AM 22: Advaced Optimizatio Sprig 206 Prof. Yaro Siger Sectio 7 Wedesday, Mar. 9th Duality revisited I this sectio, we will give a slightly differet perspective o duality. optimizatio program: f(x) x R
More informationSeunghee Ye Ma 8: Week 5 Oct 28
Week 5 Summary I Sectio, we go over the Mea Value Theorem ad its applicatios. I Sectio 2, we will recap what we have covered so far this term. Topics Page Mea Value Theorem. Applicatios of the Mea Value
More informationBIRKHOFF ERGODIC THEOREM
BIRKHOFF ERGODIC THEOREM Abstract. We will give a proof of the poitwise ergodic theorem, which was first proved by Birkhoff. May improvemets have bee made sice Birkhoff s orgial proof. The versio we give
More informationAxis Aligned Ellipsoid
Machie Learig for Data Sciece CS 4786) Lecture 6,7 & 8: Ellipsoidal Clusterig, Gaussia Mixture Models ad Geeral Mixture Models The text i black outlies high level ideas. The text i blue provides simple
More informationCHAPTER 5 SOME MINIMAX AND SADDLE POINT THEOREMS
CHAPTR 5 SOM MINIMA AND SADDL POINT THORMS 5. INTRODUCTION Fied poit theorems provide importat tools i game theory which are used to prove the equilibrium ad eistece theorems. For istace, the fied poit
More informationPractical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement
Practical Spectral Aaysis (cotiue) (from Boaz Porat s book) Frequecy Measuremet Oe of the most importat applicatios of the DFT is the measuremet of frequecies of periodic sigals (eg., siusoidal sigals),
More informationLinear Differential Equations of Higher Order Basic Theory: Initial-Value Problems d y d y dy
Liear Differetial Equatios of Higher Order Basic Theory: Iitial-Value Problems d y d y dy Solve: a( ) + a ( )... a ( ) a0( ) y g( ) + + + = d d d ( ) Subject to: y( 0) = y0, y ( 0) = y,..., y ( 0) = y
More informationAP Calculus BC Review Applications of Derivatives (Chapter 4) and f,
AP alculus B Review Applicatios of Derivatives (hapter ) Thigs to Kow ad Be Able to Do Defiitios of the followig i terms of derivatives, ad how to fid them: critical poit, global miima/maima, local (relative)
More informationMathematical Foundations -1- Sets and Sequences. Sets and Sequences
Mathematical Foudatios -1- Sets ad Sequeces Sets ad Sequeces Methods of proof 2 Sets ad vectors 13 Plaes ad hyperplaes 18 Liearly idepedet vectors, vector spaces 2 Covex combiatios of vectors 21 eighborhoods,
More informationFourier Series and the Wave Equation
Fourier Series ad the Wave Equatio We start with the oe-dimesioal wave equatio u u =, x u(, t) = u(, t) =, ux (,) = f( x), u ( x,) = This represets a vibratig strig, where u is the displacemet of the strig
More information# fixed points of g. Tree to string. Repeatedly select the leaf with the smallest label, write down the label of its neighbour and remove the leaf.
Combiatorics Graph Theory Coutig labelled ad ulabelled graphs There are 2 ( 2) labelled graphs of order. The ulabelled graphs of order correspod to orbits of the actio of S o the set of labelled graphs.
More informationLinear regression. Daniel Hsu (COMS 4771) (y i x T i β)2 2πσ. 2 2σ 2. 1 n. (x T i β y i ) 2. 1 ˆβ arg min. β R n d
Liear regressio Daiel Hsu (COMS 477) Maximum likelihood estimatio Oe of the simplest liear regressio models is the followig: (X, Y ),..., (X, Y ), (X, Y ) are iid radom pairs takig values i R d R, ad Y
More informationMATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4
MATH 30: Probability ad Statistics 9. Estimatio ad Testig of Parameters Estimatio ad Testig of Parameters We have bee dealig situatios i which we have full kowledge of the distributio of a radom variable.
More information8. Applications To Linear Differential Equations
8. Applicatios To Liear Differetial Equatios 8.. Itroductio 8.. Review Of Results Cocerig Liear Differetial Equatios Of First Ad Secod Orders 8.3. Eercises 8.4. Liear Differetial Equatios Of Order N 8.5.
More informationC/CS/Phys C191 Deutsch and Deutsch-Josza algorithms 10/20/07 Fall 2007 Lecture 17
C/CS/Phs C9 Deutsch ad Deutsch-Josza algorithms 0/0/07 Fall 007 Lecture 7 Readigs Beeti et al., Ch. 3.9-3.9. Stolze ad Suter, Quatum Computig, Ch. 8. - 8..5) Nielse ad Chuag, Quatum Computatio ad Quatum
More informationMAT1026 Calculus II Basic Convergence Tests for Series
MAT026 Calculus II Basic Covergece Tests for Series Egi MERMUT 202.03.08 Dokuz Eylül Uiversity Faculty of Sciece Departmet of Mathematics İzmir/TURKEY Cotets Mootoe Covergece Theorem 2 2 Series of Real
More information) n. ALG 1.3 Deterministic Selection and Sorting: Problem P size n. Examples: 1st lecture's mult M(n) = 3 M ( È
Algorithms Professor Joh Reif ALG 1.3 Determiistic Selectio ad Sortig: (a) Selectio Algorithms ad Lower Bouds (b) Sortig Algorithms ad Lower Bouds Problem P size fi divide ito subproblems size 1,..., k
More informationLINEAR PROGRAMMING II
LINEAR PROGRAMMING II Patrik Forssé Office: 2404 Phoe: 08/47 29 66 E-mail: patrik@tdb.uu.se HE LINEAR PROGRAMMING PROBLEM (LP) A LP-problem ca be formulated as: mi c subject a + am + g + g p + + + c to
More informationChapter 4. Fourier Series
Chapter 4. Fourier Series At this poit we are ready to ow cosider the caoical equatios. Cosider, for eample the heat equatio u t = u, < (4.) subject to u(, ) = si, u(, t) = u(, t) =. (4.) Here,
More informationThe Borel hierarchy classifies subsets of the reals by their topological complexity. Another approach is to classify them by size.
Lecture 7: Measure ad Category The Borel hierarchy classifies subsets of the reals by their topological complexity. Aother approach is to classify them by size. Filters ad Ideals The most commo measure
More informationOn Random Line Segments in the Unit Square
O Radom Lie Segmets i the Uit Square Thomas A. Courtade Departmet of Electrical Egieerig Uiversity of Califoria Los Ageles, Califoria 90095 Email: tacourta@ee.ucla.edu I. INTRODUCTION Let Q = [0, 1] [0,
More information