Suffix Trees CMSC 423
|
|
- Shona Roberts
- 7 years ago
- Views:
Transcription
1 Suffix Trees CMSC 423
2 Preprocessing Strings Over the next few lectures, we ll see severl methods for preprocessing string dt into dt structures tht mke mny questions (like serching) esy to nswer: Suffix Tries Suffix Trees Suffix Arrys Borrows-Wheeler trnsform Typicl setting: A long, known, nd fixed text string (like genome) nd mny unknown, chnging query strings. Allowed to preprocess the text string once in nticiption of the future unknown queries. Dt structures will e useful in other settings s well.
3 Suffix Tries A trie, pronounced try, is tree tht exploits some structure in the keys - e.g. if the keys re strings, inry serch tree would compre the entire strings, ut trie would look t their individul chrcters - Suffix trie re spce-efficient dt structure to store string tht llows mny kinds of queries to e nswered quickly. - Suffix trees re hugely importnt for serching lrge sequences like genomes. The sis for tool clled MUMMer (developed y UMD fculty).
4 Suffix Tries s = SufTrie(s) = suffix trie representing string s. Edges of the suffix trie re leled with letters from the lphet (sy {A,C,G,T}). Every pth from the root to solid node represents suffix of s. Every suffix of s is represented y some pth from the root to solid node. Why re ll the solid nodes leves? How mny leves will there e?
5 Processing Strings Using Suffix Tries Given suffix trie T, nd string q, how cn we: determine whether q is sustring of T? check whether q is suffix of T? count how mny times q ppers in T? find the longest repet in T? find the longest common sustring of T nd q? Min ide: every sustring of s is prefix of some suffix of s.
6 s = Serching Suffix Tries Is sustring of s? Follow the pth given y the query string. After we ve uilt the suffix trees, queries cn e nswered in time: O( query ) regrdless of the text size.
7 s = Serching Suffix Tries Is sustring of s? Follow the pth given y the query string. After we ve uilt the suffix trees, queries cn e nswered in time: O( query ) regrdless of the text size.
8 Applictions of Suffix Tries (1) Check whether q is sustring of T: Check whether q is suffix of T: Count # of occurrences of q in T: Find the longest repet in T: Find the lexicogrphiclly (lpheticlly) first suffix:
9 Applictions of Suffix Tries (1) Check whether q is sustring of T: Follow the pth for q strting from the root. If you exhust the query string, then q is in T. Check whether q is suffix of T: Count # of occurrences of q in T: Find the longest repet in T: Find the lexicogrphiclly (lpheticlly) first suffix:
10 Applictions of Suffix Tries (1) Check whether q is sustring of T: Follow the pth for q strting from the root. If you exhust the query string, then q is in T. Check whether q is suffix of T: Follow the pth for q strting from the root. If you end t lef t the end of q, then q is suffix of T Count # of occurrences of q in T: Find the longest repet in T: Find the lexicogrphiclly (lpheticlly) first suffix:
11 Applictions of Suffix Tries (1) Check whether q is sustring of T: Follow the pth for q strting from the root. If you exhust the query string, then q is in T. Check whether q is suffix of T: Follow the pth for q strting from the root. If you end t lef t the end of q, then q is suffix of T Count # of occurrences of q in T: Follow the pth for q strting from the root. The numer of leves under the node you end up in is the numer of occurrences of q. Find the longest repet in T: Find the lexicogrphiclly (lpheticlly) first suffix:
12 Applictions of Suffix Tries (1) Check whether q is sustring of T: Follow the pth for q strting from the root. If you exhust the query string, then q is in T. Check whether q is suffix of T: Follow the pth for q strting from the root. If you end t lef t the end of q, then q is suffix of T Count # of occurrences of q in T: Follow the pth for q strting from the root. The numer of leves under the node you end up in is the numer of occurrences of q. Find the longest repet in T: Find the deepest node tht hs t lest 2 leves under it. Find the lexicogrphiclly (lpheticlly) first suffix:
13 Applictions of Suffix Tries (1) Check whether q is sustring of T: Follow the pth for q strting from the root. If you exhust the query string, then q is in T. Check whether q is suffix of T: Follow the pth for q strting from the root. If you end t lef t the end of q, then q is suffix of T Count # of occurrences of q in T: Follow the pth for q strting from the root. The numer of leves under the node you end up in is the numer of occurrences of q. Find the longest repet in T: Find the deepest node tht hs t lest 2 leves under it. Find the lexicogrphiclly (lpheticlly) first suffix: Strt t the root, nd follow the edge leled with the lexicogrphiclly (lpheticlly) smllest letter.
14 s = Suffix Links Suffix links connect node representing xα to node representing α. Most importnt suffix links re the ones connecting suffixes of the full string (shown t right). But every node hs suffix link. Why? How do we know node representing α exists for every node representing xα?
15 s = Suffix Tries A node represents the prefix of some suffix: s The node s suffix link should link to the prefix of the suffix s tht is 1 chrcter shorter. Since the suffix trie contins ll suffixes, it contins pth representing s, nd therefore contins node representing every prefix of s.
16 s = Suffix Tries A node represents the prefix of some suffix: s The node s suffix link should link to the prefix of the suffix s tht is 1 chrcter shorter. Since the suffix trie contins ll suffixes, it contins pth representing s, nd therefore contins node representing every prefix of s.
17 Applictions of Suffix Tries (II) Find the longest common sustring of T nd q: T = q =
18 Applictions of Suffix Tries (II) Find the longest common sustring of T nd q: Wlk down the tree following q. If you hit ded end, sve the current depth, nd follow the suffix link from the current node. When you exhust q, return the longest sustring found. T = q =
19 Constructing Suffix Tries
20 Suppose we wnt to uild suffix trie for string: s = c We will wlk down the string from left to right: c uilding suffix tries for s[0], s[0..1], s[0..2],..., s[0..n] To uild suffix trie for s[0..i], we will use the suffix trie for s[0..i-1] uilt in previous step To convert SufTrie(S[0..i-1]) SufTrie(s[0..i]), dd chrcter s[i] to ll the suffixes: c i=4 Need to dd nodes for the suffixes: c c c c c Purple re suffixes tht will exist in SufTrie(s[0..i-1]) Why? How cn we find these suffixes quickly?
21 Suppose we wnt to uild suffix trie for string: s = c We will wlk down the string from left to right: c uilding suffix tries for s[0], s[0..1], s[0..2],..., s[0..n] To uild suffix trie for s[0..i], we will use the suffix trie for s[0..i-1] uilt in previous step To convert SufTrie(S[0..i-1]) SufTrie(s[0..i]), dd chrcter s[i] to ll the suffixes: c i=4 Need to dd nodes for the suffixes: c c c c c Purple re suffixes tht will exist in SufTrie(s[0..i-1]) Why? How cn we find these suffixes quickly?
22 c i=4 Need to dd nodes for the suffixes: c c c c c Purple re suffixes tht will exist in SufTrie(s[0..i-1]) Why? How cn we find these suffixes quickly? c c c SufTrie() c SufTrie(c) c Where is the new deepest node? (k longest suffix) How do we dd the suffix links for the new nodes?
23 c i=4 Need to dd nodes for the suffixes: c c c c c Purple re suffixes tht will exist in SufTrie(s[0..i-1]) Why? How cn we find these suffixes quickly? c c c SufTrie() c SufTrie(c) c Where is the new deepest node? (k longest suffix) How do we dd the suffix links for the new nodes?
24 To uild SufTrie(s[0..i]) from SufTrie(s[0..i-1]): CurrentSuffix = longest (k deepest suffix) until you rech the root or the current node lredy hs n edge leled s[i] leving it. Becuse if you lredy hve node for suffix αs[i] then you hve node for every smller suffix. Repet: Add child leled s[i] to CurrentSuffix. Follow suffix link to set CurrentSuffix to next shortest suffix. Add suffix links connecting nodes you just dded in the order in which you dded them. In prctice, you dd these links s you go long, rther thn t the end.
25 Python Code to Build Suffix Trie clss SuffixNode: def init (self, suffix_link = None): self.children = {} if suffix_link is not None: self.suffix_link = suffix_link else: self.suffix_link = self def dd_link(self, c, v): """link this node to node v vi string c""" self.children[c] = v def uild_suffix_trie(s): """Construct suffix trie.""" ssert len(s) > 0 # explicitly uild the two-node suffix tree Root = SuffixNode() # the root node Longest = SuffixNode(suffix_link = Root) Root.dd_link(s[0], Longest) # for every chrcter left in the string for c in s[1:]: Current = Longest; Previous = None while c not in Current.children: # crete new node r1 with trnsition Current -c->r1 r1 = SuffixNode() Current.dd_link(c, r1) # if we cme from some previous node, mke tht # node's suffix link point here if Previous is not None: Previous.suffix_link = r1 # wlk down the suffix links Previous = r1 Current = Current.suffix_link s[0] # mke the lst suffix link if Current is Root: Previous.suffix_link = Root else: Previous.suffix_link = Current.children[c] # move to the newly dded child of the longest pth # (which is the new longest pth) Longest = Longest.children[c] return Root
26 current s[i] current s[i] longest s[i] s[i] Prev s[i] u longest s[i] s[i] s[i] Prev s[i] u current s[i] oundry pth s[i] s[i] s[i] longest s[i] Prev
27
28
29 Note: there's lredy pth for suffix "", so we don't chnge it (we just dd suffix link to it)
30 Note: there's lredy pth for suffix "", so we don't chnge it (we just dd suffix link to it)
31 Note: there's lredy pth for suffix "", so we don't chnge it (we just dd suffix link to it)
32 Note: there's lredy pth for suffix "", so we don't chnge it (we just dd suffix link to it)
33 Note: there's lredy pth for suffix "", so we don't chnge it (we just dd suffix link to it)
34 How mny nodes cn suffix trie hve? s = s = n n will hve 1 root node n nodes in pth of s n pths of n+1 nodes Totl = n(n+1)+n+1 = O(n 2 ) nodes. This is not very efficient. How could you mke it smller?
35 So... we hve to trie gin... Spce-Efficient Suffix Trees
36 A More Compct Representtion s = s = :6 5:6 7:7 5:6 7:7 4:7 7:7 4:7 7:7 4:7 Compress pths where there re no choices. Represent sequence long the pth using rnge [i,j] tht refers to the input string s.
37 Spce usge: In the compressed representtion: - # leves = O(n) [one lef for ech position in the string] - Every internl node is t lest inry split. - Ech edge uses O(1) spce. Therefore, # numer of internl nodes is out equl to the numer of leves. And # of edges numer of leves, nd spce per edge is O(1). Hence, liner spce.
38 Constructing Suffix Trees - Ukkonen s Algorithm The sme ide s with the suffix trie lgorithm. Min difference: not every trie node is explicitly represented in the tree. Solution: represent trie nodes s pirs (u, α), where u is rel node in the tree nd α is some string leving it. s = u v suffix_link[v] = (u, ) Some dditionl tricks to get to O(n) time.
39 Storing more thn one string with Generlized Suffix Trees
40 Constructing Generlized Suffix Trees Gol. Represent set of strings P = {s1, s2, s3,..., sm}. Exmple. tt, tg, gt Simple solution: (1) uild suffix tree for string t#1tg#2gt#3 # 3 # 1 tg# 2 gt# 3 g # 2 gt# 3 t # 3 g# 2 gt# 3 # 1 tg# 2 gt# 3 # 3 g# 2 gt# 3 t t# 3 # 2 gt# 3 t# 1 tg# 2 gt# 3 # 1 tg# 2 gt# 3 #3
41 Constructing Generlized Suffix Trees Gol. Represent set of strings P = {s1, s2, s3,..., sm}. Exmple. tt, tg, gt Simple solution: (1) uild suffix tree for string t#1tg#2gt#3 (2) For every lef node, remove ny text fter the first # symol. # 3 # 1 tg# 2 gt# 3 # 3 # 1 g # 2 gt# 3 g # 2 t t # 3 g# 2 gt# 3 # 3 t# 3 # 2 gt# 3 # 3 g# 2 # 3 t# 3 # 2 # 1 tg# 2 gt# 3 g# 2 gt# 3 t # 1 g# 2 t t# 1 tg# 2 gt# 3 t# 1 # 1 tg# 2 gt# 3 #3 # 1 #3
42 Applictions of Generlized Suffix Longest common sustring of S nd T: Trees Determine the strings in dtse {S1, S2, S3,..., Sm} tht contin query string q:
43 Applictions of Generlized Suffix Longest common sustring of S nd T: Trees Build generlized suffix tree for {S, T} Find the deepest node tht hs hs descendnts from oth strings (contining oth #1 nd #2) Determine the strings in dtse {S1, S2, S3,..., Sm} tht contin query string q:
44 Applictions of Generlized Suffix Longest common sustring of S nd T: Trees Build generlized suffix tree for {S, T} Find the deepest node tht hs hs descendnts from oth strings (contining oth #1 nd #2) Determine the strings in dtse {S1, S2, S3,..., Sm} tht contin query string q: Build generlized suffix tree for {S1, S2, S3,..., Sm} Follow the pth for q in the suffix tree. Suppose you end t node u: trverse the tree elow u, nd output i if you find string contining #i.
45 Longest Common Extension Longest common extension: We re given strings S nd T. In the future, mny pirs (i,j) will e provided s queries, nd we wnt to quickly find: the longest sustring of S strting t i tht mtches sustring of T strting t j. S LCE(i,j) T LCE(i,j) i j Build generlized suffix tree for S nd T. Preprocess tree so tht lowest common ncestors (LCA) cn e found in constnt time. Crete n rry mpping suffix numers to lef nodes. LCA(i,j) Given query (i,j): Find the lef nodes for i nd j Return string of LCA for i nd j j i i j
46 Longest Common Extension Longest common extension: We re given strings S nd T. In the future, mny pirs (i,j) will e provided s queries, nd we wnt to quickly find: the longest sustring of S strting t i tht mtches sustring of T strting t j. S LCE(i,j) T LCE(i,j) i j Build generlized suffix tree for S nd T. O( S + T ) Preprocess tree so tht lowest common O( S + T ) ncestors (LCA) cn e found in constnt time. Crete n rry mpping suffix numers to lef nodes. O( S + T ) LCA(i,j) Given query (i,j): Find the lef nodes for i nd j Return string of LCA for i nd j O(1) O(1) j i i j
47 Using LCE to Find Plindromes Mximl even plindrome t position i: the longest string to the left nd right so tht the left hlf is equl to the reverse of the right hlf. x y x y S Gol: find ll mximl plindromes in S. i = the reverse of S r y x x y Construct S r, the reverse of S. n - i Preprocess S nd S r so tht LCE queries cn e solved in constnt time (previous slide). LCE(i, n-i) is the length of the longest plindrome centered t i. For every position i: Compute LCE(i, n-i)
48 Using LCE to Find Plindromes Mximl even plindrome t position i: the longest string to the left nd right so tht the left hlf is equl to the reverse of the right hlf. x y x y S Gol: find ll mximl plindromes in S. i = the reverse of S r y x x y Construct S r, the reverse of S. O( S ) n - i Preprocess S nd S r so tht LCE queries cn e solved in constnt time (previous slide). O( S ) LCE(i, n-i) is the length of the longest plindrome centered t i. For every position i: Compute LCE(i, n-i) O( S ) O(1) Totl time = O( S )
49 Recp Suffix tries nturl wy to store string -- serch, count occurrences, nd mny other queries nswerle esily. But they re not spce efficient: O(n 2 ) spce. Suffix trees re spce optiml: O(n), ut require little more sutle lgorithm to construct. Suffix trees cn e constructed in O(n) time using Ukkonen s lgorithm. Similr ides cn e used to store sets of strings.
One Minute To Learn Programming: Finite Automata
Gret Theoreticl Ides In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 9 Fe 8 2005 Crnegie Mellon University One Minute To Lern Progrmming: Finite Automt Let me tech you progrmming lnguge
More informationHomework 3 Solutions
CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.
More informationSolving the String Statistics Problem in Time O(n log n)
Solving the String Sttistics Prolem in Time O(n log n) Gerth Stølting Brodl 1,,, Rune B. Lyngsø 3, Ann Östlin1,, nd Christin N. S. Pedersen 1,2, 1 BRICS, Deprtment of Computer Science, University of Arhus,
More informationBinary Representation of Numbers Autar Kaw
Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy
More informationBasic Research in Computer Science BRICS RS-02-13 Brodal et al.: Solving the String Statistics Problem in Time O(n log n)
BRICS Bsic Reserch in Computer Science BRICS RS-02-13 Brodl et l.: Solving the String Sttistics Prolem in Time O(n log n) Solving the String Sttistics Prolem in Time O(n log n) Gerth Stølting Brodl Rune
More informationRegular Sets and Expressions
Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite
More informationReasoning to Solve Equations and Inequalities
Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing
More informationand thus, they are similar. If k = 3 then the Jordan form of both matrices is
Homework ssignment 11 Section 7. pp. 249-25 Exercise 1. Let N 1 nd N 2 be nilpotent mtrices over the field F. Prove tht N 1 nd N 2 re similr if nd only if they hve the sme miniml polynomil. Solution: If
More informationHow fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS 3343 -- Spring 2009
CS 4 -- Spring 2009 Sorting Crol Wenk Slides courtesy of Chrles Leiserson with smll chnges by Crol Wenk CS 4 Anlysis of Algorithms 1 How fst cn we sort? All the sorting lgorithms we hve seen so fr re comprison
More informationAlgebra Review. How well do you remember your algebra?
Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then
More informationPolynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )
Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +
More informationUse Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.
Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd
More informationMath 135 Circles and Completing the Square Examples
Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for
More informationBayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom
Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the
More informationExperiment 6: Friction
Experiment 6: Friction In previous lbs we studied Newton s lws in n idel setting, tht is, one where friction nd ir resistnce were ignored. However, from our everydy experience with motion, we know tht
More informationData Compression. Lossless And Lossy Compression
Dt Compression Reduce the size of dt. ƒ Reduces storge spce nd hence storge cost. Compression rtio = originl dt size/compressed dt size ƒ Reduces time to retrieve nd trnsmit dt. Lossless And Lossy Compression
More information9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes
The Sclr Product 9.3 Introduction There re two kinds of multipliction involving vectors. The first is known s the sclr product or dot product. This is so-clled becuse when the sclr product of two vectors
More informationPROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY
MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive
More informationExample 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.
2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this
More informationGraphs on Logarithmic and Semilogarithmic Paper
0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl
More informationVectors 2. 1. Recap of vectors
Vectors 2. Recp of vectors Vectors re directed line segments - they cn be represented in component form or by direction nd mgnitude. We cn use trigonometry nd Pythgors theorem to switch between the forms
More information1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2011 - Final Exam
1./1.1 Introduction to Computers nd Engineering Problem Solving Fll 211 - Finl Exm Nme: MIT Emil: TA: Section: You hve 3 hours to complete this exm. In ll questions, you should ssume tht ll necessry pckges
More informationUnit 6: Exponents and Radicals
Eponents nd Rdicls -: The Rel Numer Sstem Unit : Eponents nd Rdicls Pure Mth 0 Notes Nturl Numers (N): - counting numers. {,,,,, } Whole Numers (W): - counting numers with 0. {0,,,,,, } Integers (I): -
More informationTreatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.
The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only
More informationFactoring Polynomials
Fctoring Polynomils Some definitions (not necessrily ll for secondry school mthemtics): A polynomil is the sum of one or more terms, in which ech term consists of product of constnt nd one or more vribles
More informationJava CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser:
Jv CUP Jv CUP is prser-genertion tool, similr to Ycc. CUP uilds Jv prser for LALR(1) grmmrs from production rules nd ssocited Jv code frgments. When prticulr production is recognized, its ssocited code
More information2 DIODE CLIPPING and CLAMPING CIRCUITS
2 DIODE CLIPPING nd CLAMPING CIRCUITS 2.1 Ojectives Understnding the operting principle of diode clipping circuit Understnding the operting principle of clmping circuit Understnding the wveform chnge of
More informationA.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324
A P P E N D I X A Vectors CONTENTS A.1 Scling vector................................................ 321 A.2 Unit or Direction vectors...................................... 321 A.3 Vector ddition.................................................
More informationLinear Equations in Two Variables
Liner Equtions in Two Vribles In this chpter, we ll use the geometry of lines to help us solve equtions. Liner equtions in two vribles If, b, ndr re rel numbers (nd if nd b re not both equl to 0) then
More information5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one.
5.2. LINE INTEGRALS 265 5.2 Line Integrls 5.2.1 Introduction Let us quickly review the kind of integrls we hve studied so fr before we introduce new one. 1. Definite integrl. Given continuous rel-vlued
More informationAppendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:
Appendi D: Completing the Squre nd the Qudrtic Formul Fctoring qudrtic epressions such s: + 6 + 8 ws one of the topics introduced in Appendi C. Fctoring qudrtic epressions is useful skill tht cn help you
More informationLINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES
LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology
More informationHow To Network A Smll Business
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology
More informationOr more simply put, when adding or subtracting quantities, their uncertainties add.
Propgtion of Uncertint through Mthemticl Opertions Since the untit of interest in n eperiment is rrel otined mesuring tht untit directl, we must understnd how error propgtes when mthemticl opertions re
More informationSection 5-4 Trigonometric Functions
5- Trigonometric Functions Section 5- Trigonometric Functions Definition of the Trigonometric Functions Clcultor Evlution of Trigonometric Functions Definition of the Trigonometric Functions Alternte Form
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology
More informationCS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001
CS99S Lortory 2 Preprtion Copyright W. J. Dlly 2 Octoer, 2 Ojectives:. Understnd the principle of sttic CMOS gte circuits 2. Build simple logic gtes from MOS trnsistors 3. Evlute these gtes to oserve logic
More informationEQUATIONS OF LINES AND PLANES
EQUATIONS OF LINES AND PLANES MATH 195, SECTION 59 (VIPUL NAIK) Corresponding mteril in the ook: Section 12.5. Wht students should definitely get: Prmetric eqution of line given in point-direction nd twopoint
More informationMathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100
hsn.uk.net Higher Mthemtics UNIT 3 OUTCOME 1 Vectors Contents Vectors 18 1 Vectors nd Sclrs 18 Components 18 3 Mgnitude 130 4 Equl Vectors 131 5 Addition nd Subtrction of Vectors 13 6 Multipliction by
More informationSPECIAL PRODUCTS AND FACTORIZATION
MODULE - Specil Products nd Fctoriztion 4 SPECIAL PRODUCTS AND FACTORIZATION In n erlier lesson you hve lernt multipliction of lgebric epressions, prticulrly polynomils. In the study of lgebr, we come
More informationBabylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity
Bbylonin Method of Computing the Squre Root: Justifictions Bsed on Fuzzy Techniques nd on Computtionl Complexity Olg Koshelev Deprtment of Mthemtics Eduction University of Texs t El Pso 500 W. University
More informationFAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University
SYSTEM FAULT AND Hrry G. Kwtny Deprtment of Mechnicl Engineering & Mechnics Drexel University OUTLINE SYSTEM RBD Definition RBDs nd Fult Trees System Structure Structure Functions Pths nd Cutsets Reliility
More informationChapter. Contents: A Constructing decimal numbers
Chpter 9 Deimls Contents: A Construting deiml numers B Representing deiml numers C Deiml urreny D Using numer line E Ordering deimls F Rounding deiml numers G Converting deimls to frtions H Converting
More informationLECTURE #05. Learning Objectives. How does atomic packing factor change with different atom types? How do you calculate the density of a material?
LECTURE #05 Chpter : Pcking Densities nd Coordintion Lerning Objectives es How does tomic pcking fctor chnge with different tom types? How do you clculte the density of mteril? 2 Relevnt Reding for this
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology
More information4.11 Inner Product Spaces
314 CHAPTER 4 Vector Spces 9. A mtrix of the form 0 0 b c 0 d 0 0 e 0 f g 0 h 0 cnnot be invertible. 10. A mtrix of the form bc d e f ghi such tht e bd = 0 cnnot be invertible. 4.11 Inner Product Spces
More informationLec 2: Gates and Logic
Lec 2: Gtes nd Logic Kvit Bl CS 34, Fll 28 Computer Science Cornell University Announcements Clss newsgroup creted Posted on we-pge Use it for prtner finding First ssignment is to find prtners Due this
More informationAPPLICATION NOTE Revision 3.0 MTD/PS-0534 August 13, 2008 KODAK IMAGE SENDORS COLOR CORRECTION FOR IMAGE SENSORS
APPLICATION NOTE Revision 3.0 MTD/PS-0534 August 13, 2008 KODAK IMAGE SENDORS COLOR CORRECTION FOR IMAGE SENSORS TABLE OF FIGURES Figure 1: Spectrl Response of CMOS Imge Sensor...3 Figure 2: Byer CFA Ptterns...4
More informationQuick Reference Guide: One-time Account Update
Quick Reference Guide: One-time Account Updte How to complete The Quick Reference Guide shows wht existing SingPss users need to do when logging in to the enhnced SingPss service for the first time. 1)
More information6.2 Volumes of Revolution: The Disk Method
mth ppliction: volumes of revolution, prt ii Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem ) nd the ccumultion process is to determine so-clled volumes of
More informationFORMAL LANGUAGES, AUTOMATA AND THEORY OF COMPUTATION EXERCISES ON REGULAR LANGUAGES
FORMAL LANGUAGES, AUTOMATA AND THEORY OF COMPUTATION EXERCISES ON REGULAR LANGUAGES Introduction This compendium contins exercises out regulr lnguges for the course Forml Lnguges, Automt nd Theory of Computtion
More informationIntegration. 148 Chapter 7 Integration
48 Chpter 7 Integrtion 7 Integrtion t ech, by supposing tht during ech tenth of second the object is going t constnt speed Since the object initilly hs speed, we gin suppose it mintins this speed, but
More informationMorgan Stanley Ad Hoc Reporting Guide
spphire user guide Ferury 2015 Morgn Stnley Ad Hoc Reporting Guide An Overview For Spphire Users 1 Introduction The Ad Hoc Reporting tool is ville for your reporting needs outside of the Spphire stndrd
More informationReview guide for the final exam in Math 233
Review guide for the finl exm in Mth 33 1 Bsic mteril. This review includes the reminder of the mteril for mth 33. The finl exm will be cumultive exm with mny of the problems coming from the mteril covered
More informationBypassing Space Explosion in Regular Expression Matching for Network Intrusion Detection and Prevention Systems
Bypssing Spce Explosion in Regulr Expression Mtching for Network Intrusion Detection n Prevention Systems Jignesh Ptel, Alex Liu n Eric Torng Dept. of Computer Science n Engineering Michign Stte University
More informationMATH 150 HOMEWORK 4 SOLUTIONS
MATH 150 HOMEWORK 4 SOLUTIONS Section 1.8 Show tht the product of two of the numbers 65 1000 8 2001 + 3 177, 79 1212 9 2399 + 2 2001, nd 24 4493 5 8192 + 7 1777 is nonnegtive. Is your proof constructive
More informationBrillouin Zones. Physics 3P41 Chris Wiebe
Brillouin Zones Physics 3P41 Chris Wiebe Direct spce to reciprocl spce * = 2 i j πδ ij Rel (direct) spce Reciprocl spce Note: The rel spce nd reciprocl spce vectors re not necessrily in the sme direction
More informationLecture 5. Inner Product
Lecture 5 Inner Product Let us strt with the following problem. Given point P R nd line L R, how cn we find the point on the line closest to P? Answer: Drw line segment from P meeting the line in right
More information4 Approximations. 4.1 Background. D. Levy
D. Levy 4 Approximtions 4.1 Bckground In this chpter we re interested in pproximtion problems. Generlly speking, strting from function f(x) we would like to find different function g(x) tht belongs to
More informationAngles 2.1. Exercise 2.1... Find the size of the lettered angles. Give reasons for your answers. a) b) c) Example
2.1 Angles Reognise lternte n orresponing ngles Key wors prllel lternte orresponing vertilly opposite Rememer, prllel lines re stright lines whih never meet or ross. The rrows show tht the lines re prllel
More informationHow To Set Up A Network For Your Business
Why Network is n Essentil Productivity Tool for Any Smll Business TechAdvisory.org SME Reports sponsored by Effective technology is essentil for smll businesses looking to increse their productivity. Computer
More information19. The Fermat-Euler Prime Number Theorem
19. The Fermt-Euler Prime Number Theorem Every prime number of the form 4n 1 cn be written s sum of two squres in only one wy (side from the order of the summnds). This fmous theorem ws discovered bout
More informationSolution to Problem Set 1
CSE 5: Introduction to the Theory o Computtion, Winter A. Hevi nd J. Mo Solution to Prolem Set Jnury, Solution to Prolem Set.4 ). L = {w w egin with nd end with }. q q q q, d). L = {w w h length t let
More informationIntegration by Substitution
Integrtion by Substitution Dr. Philippe B. Lvl Kennesw Stte University August, 8 Abstrct This hndout contins mteril on very importnt integrtion method clled integrtion by substitution. Substitution is
More informationSmall Businesses Decisions to Offer Health Insurance to Employees
Smll Businesses Decisions to Offer Helth Insurnce to Employees Ctherine McLughlin nd Adm Swinurn, June 2014 Employer-sponsored helth insurnce (ESI) is the dominnt source of coverge for nonelderly dults
More informationHelicopter Theme and Variations
Helicopter Theme nd Vritions Or, Some Experimentl Designs Employing Pper Helicopters Some possible explntory vribles re: Who drops the helicopter The length of the rotor bldes The height from which the
More informationFirm Objectives. The Theory of the Firm II. Cost Minimization Mathematical Approach. First order conditions. Cost Minimization Graphical Approach
Pro. Jy Bhttchry Spring 200 The Theory o the Firm II st lecture we covered: production unctions Tody: Cost minimiztion Firm s supply under cost minimiztion Short vs. long run cost curves Firm Ojectives
More informationOperations with Polynomials
38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply
More informationApplication Bundles & Data Plans
Appliction Appliction Bundles & Dt Plns We ve got plns for you. Trnsporttion compnies tody ren t one-size-fits-ll. Your fleet s budget, size nd opertions re unique. To meet the needs of your fleet nd help
More information1.2 The Integers and Rational Numbers
.2. THE INTEGERS AND RATIONAL NUMBERS.2 The Integers n Rtionl Numers The elements of the set of integers: consist of three types of numers: Z {..., 5, 4, 3, 2,, 0,, 2, 3, 4, 5,...} I. The (positive) nturl
More informationLECTURE #05. Learning Objective. To describe the geometry in and around a unit cell in terms of directions and planes.
LECTURE #05 Chpter 3: Lttice Positions, Directions nd Plnes Lerning Objective To describe the geometr in nd round unit cell in terms of directions nd plnes. 1 Relevnt Reding for this Lecture... Pges 64-83.
More information9 CONTINUOUS DISTRIBUTIONS
9 CONTINUOUS DISTIBUTIONS A rndom vrible whose vlue my fll nywhere in rnge of vlues is continuous rndom vrible nd will be ssocited with some continuous distribution. Continuous distributions re to discrete
More informationPhysics 43 Homework Set 9 Chapter 40 Key
Physics 43 Homework Set 9 Chpter 4 Key. The wve function for n electron tht is confined to x nm is. Find the normliztion constnt. b. Wht is the probbility of finding the electron in. nm-wide region t x
More informationLectures 8 and 9 1 Rectangular waveguides
1 Lectures 8 nd 9 1 Rectngulr wveguides y b x z Consider rectngulr wveguide with 0 < x b. There re two types of wves in hollow wveguide with only one conductor; Trnsverse electric wves
More informationExample A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding
1 Exmple A rectngulr box without lid is to be mde from squre crdbord of sides 18 cm by cutting equl squres from ech corner nd then folding up the sides. 1 Exmple A rectngulr box without lid is to be mde
More information1 Fractions from an advanced point of view
1 Frtions from n vne point of view We re going to stuy frtions from the viewpoint of moern lger, or strt lger. Our gol is to evelop eeper unerstning of wht n men. One onsequene of our eeper unerstning
More informationSection 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control
Chpter 5 Configurtion of ISDN Protocols This chpter provides instructions for configuring the ISDN protocols in the SP201 for signling conversion. Use the sections tht reflect the softwre you re configuring.
More informationThe remaining two sides of the right triangle are called the legs of the right triangle.
10 MODULE 6. RADICAL EXPRESSIONS 6 Pythgoren Theorem The Pythgoren Theorem An ngle tht mesures 90 degrees is lled right ngle. If one of the ngles of tringle is right ngle, then the tringle is lled right
More informationAnswer, Key Homework 10 David McIntyre 1
Answer, Key Homework 10 Dvid McIntyre 1 This print-out should hve 22 questions, check tht it is complete. Multiple-choice questions my continue on the next column or pge: find ll choices efore mking your
More informationP.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn
33337_0P03.qp 2/27/06 24 9:3 AM Chpter P Pge 24 Prerequisites P.3 Polynomils nd Fctoring Wht you should lern Polynomils An lgeric epression is collection of vriles nd rel numers. The most common type of
More informationAntiSpyware Enterprise Module 8.5
AntiSpywre Enterprise Module 8.5 Product Guide Aout the AntiSpywre Enterprise Module The McAfee AntiSpywre Enterprise Module 8.5 is n dd-on to the VirusScn Enterprise 8.5i product tht extends its ility
More information. At first sight a! b seems an unwieldy formula but use of the following mnemonic will possibly help. a 1 a 2 a 3 a 1 a 2
7 CHAPTER THREE. Cross Product Given two vectors = (,, nd = (,, in R, the cross product of nd written! is defined to e: " = (!,!,! Note! clled cross is VECTOR (unlike which is sclr. Exmple (,, " (4,5,6
More informationMultiplication and Division - Left to Right. Addition and Subtraction - Left to Right.
Order of Opertions r of Opertions Alger P lese Prenthesis - Do ll grouped opertions first. E cuse Eponents - Second M D er Multipliction nd Division - Left to Right. A unt S hniqu Addition nd Sutrction
More informationLecture 3 Gaussian Probability Distribution
Lecture 3 Gussin Probbility Distribution Introduction l Gussin probbility distribution is perhps the most used distribution in ll of science. u lso clled bell shped curve or norml distribution l Unlike
More informationAREA OF A SURFACE OF REVOLUTION
AREA OF A SURFACE OF REVOLUTION h cut r πr h A surfce of revolution is formed when curve is rotted bout line. Such surfce is the lterl boundr of solid of revolution of the tpe discussed in Sections 7.
More informationThe Velocity Factor of an Insulated Two-Wire Transmission Line
The Velocity Fctor of n Insulted Two-Wire Trnsmission Line Problem Kirk T. McDonld Joseph Henry Lbortories, Princeton University, Princeton, NJ 08544 Mrch 7, 008 Estimte the velocity fctor F = v/c nd the
More informationwww.mathsbox.org.uk e.g. f(x) = x domain x 0 (cannot find the square root of negative values)
www.mthsbo.org.uk CORE SUMMARY NOTES Functions A function is rule which genertes ectl ONE OUTPUT for EVERY INPUT. To be defined full the function hs RULE tells ou how to clculte the output from the input
More informationPentominoes. Pentominoes. Bruce Baguley Cascade Math Systems, LLC. The pentominoes are a simple-looking set of objects through which some powerful
Pentominoes Bruce Bguley Cscde Mth Systems, LLC Astrct. Pentominoes nd their reltives the polyominoes, polycues, nd polyhypercues will e used to explore nd pply vrious importnt mthemticl concepts. In this
More informationEcon 4721 Money and Banking Problem Set 2 Answer Key
Econ 472 Money nd Bnking Problem Set 2 Answer Key Problem (35 points) Consider n overlpping genertions model in which consumers live for two periods. The number of people born in ech genertion grows in
More informationDecision Rule Extraction from Trained Neural Networks Using Rough Sets
Decision Rule Extrction from Trined Neurl Networks Using Rough Sets Alin Lzr nd Ishwr K. Sethi Vision nd Neurl Networks Lbortory Deprtment of Computer Science Wyne Stte University Detroit, MI 48 ABSTRACT
More informationbody.allow-sidebar OR.no-sidebar.home-page (if this is the home page).has-custom-banner OR.nocustom-banner .IR OR.no-IR
body.llow-sidebr OR.no-sidebr.home-pge (if this is the home pge).hs-custom-bnner OR.nocustom-bnner.IR OR.no-IR #IDENTIFIER_FOR_THIS_SITE div#pge-continer.depends_on_page_ty PE llow-sidebr mens tht there
More informationSection 7-4 Translation of Axes
62 7 ADDITIONAL TOPICS IN ANALYTIC GEOMETRY Section 7-4 Trnsltion of Aes Trnsltion of Aes Stndrd Equtions of Trnslted Conics Grphing Equtions of the Form A 2 C 2 D E F 0 Finding Equtions of Conics In the
More informationBasic Analysis of Autarky and Free Trade Models
Bsic Anlysis of Autrky nd Free Trde Models AUTARKY Autrky condition in prticulr commodity mrket refers to sitution in which country does not engge in ny trde in tht commodity with other countries. Consequently
More informationDeployment Strategy for Mobile Robots with Energy and Timing Constraints
Proceedings of the 2005 IEEE Interntionl Conference on Robotics nd Automtion Brcelon, Spin, April 2005 Deployment Strtegy for Mobile Robots with Energy nd Timing Constrints Yongguo Mei, Yung-Hsing Lu,
More informationT H E S E C U R E T R A N S M I S S I O N P R O T O C O L O F S E N S O R A D H O C N E T W O R K
Z E S Z Y T Y N A U K O W E A K A D E M I I M A R Y N A R K I W O J E N N E J S C I E N T I F I C J O U R N A L O F P O L I S H N A V A L A C A D E M Y 2015 (LVI) 4 (203) A n d r z e j M r c z k DOI: 10.5604/0860889X.1187607
More informationWords Symbols Diagram. abcde. a + b + c + d + e
Logi Gtes nd Properties We will e using logil opertions to uild mhines tht n do rithmeti lultions. It s useful to think of these opertions s si omponents tht n e hooked together into omplex networks. To
More information1. Definition, Basic concepts, Types 2. Addition and Subtraction of Matrices 3. Scalar Multiplication 4. Assignment and answer key 5.
. Definition, Bsi onepts, Types. Addition nd Sutrtion of Mtries. Slr Multiplition. Assignment nd nswer key. Mtrix Multiplition. Assignment nd nswer key. Determinnt x x (digonl, minors, properties) summry
More information