Shawn Zhong

Shawn Zhong

钟万祥
  • Tutorials
  • Mathematics
    • Math 240
    • Math 375
    • Math 431
    • Math 514
    • Math 521
    • Math 541
    • Math 632
    • Abstract Algebra
    • Linear Algebra
    • Category Theory
  • Computer Sciences
    • CS/ECE 252
    • CS/ECE 352
    • Learn Haskell
  • AP Notes
    • AP Microecon
    • AP Macroecon
    • AP Statistics
    • AP Chemistry
    • AP Physics E&M
    • AP Physics Mech
    • CLEP Psycho

Shawn Zhong

钟万祥
  • Tutorials
  • Mathematics
    • Math 240
    • Math 375
    • Math 431
    • Math 514
    • Math 521
    • Math 541
    • Math 632
    • Abstract Algebra
    • Linear Algebra
    • Category Theory
  • Computer Sciences
    • CS/ECE 252
    • CS/ECE 352
    • Learn Haskell
  • AP Notes
    • AP Microecon
    • AP Macroecon
    • AP Statistics
    • AP Chemistry
    • AP Physics E&M
    • AP Physics Mech
    • CLEP Psycho

Home / 2018 / May / Page 3

10.2 Graph Terminology and Special Types of Graphs

  • May 07, 2018
  • Shawn
  • Math 240
  • 2 comments
Basic Terminology • Definition 1 ○ Two vertices u, v in an undirected graph G are called adjacent (or neighbors) in G if there is an edge e between u and v. ○ Such an edge e is called incident with the vertices u and v and e is said to connect u and v • Definition 2 ○ The set of all a vertices v of G = (V, E), denoted by N(v), is called the neighborhood of v. ○ If A is a subset of V, we denote by N(A) the set of all vertices in G that are adjacent to at least one vertex in A. So, ○ N(A)=⋃8_(v∈A)▒N(V) • Definition 3 ○ The degree of a vertex in a undirected graph is the number of edges incident with it, except that a loop at a vertex contributes two to the degree of that vertex. ○ The degree of the vertex v is denoted by deg(v). Degrees and Neighborhoods of Vertices What are the degrees and neighborhoods of the vertices in the graphs G and H? • For graph G ○ deg(a)=2,deg(b)=deg(c)=deg(f)=4,deg(d)=1,deg(e)=3,deg(g)=0. ○ N(a)={b,f},N(b)={a,c,e,f},N(c)={b,d,e,f},N(d)={c}, ○ N(e)={b,c,f},N(f)={a,b,c,e},N(g)=∅. • For graph H ○ deg(a)=4,deg(b)=deg(e)=6,deg(c)=1,deg(d)=5. ○ N(a)={b,d,e},N(b)={a,b,c,d,e},N(c)={b},N(d)={a,b,e},N(e)={a,b,d}. Degrees of Vertices • Theorem 1 (Handshaking Theorem) ○ If G=(V,E) is an undirected graph with m edges, then ○ 2m=∑_(v∈V)▒deg⁡v • Proof ○ Each edge contributes twice to the degree count of all vertices. ○ Hence, both the left-hand and right-hand sides of this equation equal twice the number of edges. ○ Think about the graph where vertices represent the people at a party and an edge connects two people who have shaken hands. • Example ○ How many edges are there in a graph with 10 vertices of degree six? • Solution ○ Because the sum of the degrees of the vertices is 6⋅10=60, the handshaking theorem tells us that 2m = 60. ○ So the number of edges m = 30. • Example ○ If a graph has 5 vertices, can each vertex have degree 3? • Solution ○ This is not possible by the handshaking theorem ○ Because the sum of the degrees of the vertices 3⋅5=15 is odd. • Theorem 2 ○ An undirected graph has an even number of vertices of odd degree. • Proof ○ Let V_1 be the vertices of even degree and V_2 be the vertices of odd degree in an undirected graph G=(V, E) with m edges.Then § 2m=∑_(v∈V)▒deg⁡v =∑_(v∈V_1)▒deg⁡v +∑_(v∈V_2)▒deg⁡v , where § ∑_(v∈V_1)▒deg⁡v must be even since deg⁡v is even for each v∈V_1 § ∑_(v∈V_2)▒deg⁡v must be even because 2m is even § and the sum of the degrees of the vertices of even degrees is also even. ○ Because this is the sum of the degrees of all vertices of odd degree in the graph, there must be an even number of such vertices Directed Graphs • Definition ○ An directed graph G = (V, E) consists of § V, a nonempty set of vertices (or nodes), and § E, a set of directed edges or arcs. ○ Each edge is an ordered pair of vertices. ○ The directed edge (u,v) is said to start at u and end at v. • Definition ○ Let (u,v) be an edge in G, then § u is the initial vertex of this edge and is adjacent to v and § v is the terminal (or end) vertex of this edge and is adjacent from u. ○ The initial and terminal vertices of a loop are the same. • Definition: ○ The in-degree of a vertex v, denoted deg^−⁡(v), is the number of edges which terminate at v. ○ The out-degree of v, denoted deg^+⁡(v), is the number of edges with v as their initial vertex. ○ Note that a loop at a vertex contributes 1 to both the in-degree and the out-degree of the vertex. • Example ○ In the graph G we have § deg^−⁡(a) = 2, deg^−⁡(b) = 2, deg^−⁡(c) = 3, deg^−⁡(d) = 2, deg^−⁡(e) = 3, deg^−⁡(f) = 0. § deg^+⁡(a) = 4, deg^+⁡(b) = 1, deg^+⁡(c) = 2, deg^+⁡(d) = 2, deg^+⁡(e) = 3, deg^+⁡(f) = 0. • Theorem 3 ○ Let G=(V, E) be a graph with directed edges. Then: § |E|=∑_(v∈V)▒〖deg^−⁡(v)+deg^+⁡(v) 〗 • Proof ○ The first sum counts the number of outgoing edges over all vertices and the second sum counts the number of incoming edges over all vertices ○ It follows that both sums equal the number of edges in the graph. Special Types of Simple Graphs: Complete Graphs • A complete graph on n vertices, denoted by K_n, is the simple graph that contains exactly one edge between each pair of distinct vertices. Special Types of Simple Graphs: Cycles and Wheels • A cycle C_n for n ≥ 3 consists of ○ n vertices v_1,v_2,…,v_n, and ○ edges {v_1,v_2 },{v_2,v_3 },…,{v_(n−1),v_n },{v_n,v_1 } • A wheel W_n is obtained by ○ adding an additional vertex to a cycle C_n for n ≥ 3, and ○ connecting this new vertex to each of the n vertices in C_n by new edges. Special Types of Simple Graphs: n-Cubes • An n-dimensional hypercube, or n-cube, Q_n, is ○ a graph with 2n vertices representing all bit strings of length n, where ○ there is an edge between two vertices that differ in exactly one bit position. Bipartite Graphs • Definition ○ A simple graph G is bipartite if V can be partitioned into two disjoint subsets V_1 and V_2 such that every edge connects a vertex in V_1 and a vertex in V_2 ○ In other words, there are no edges which connect two vertices in V_1 or in V_2. • It is not hard to show that an equivalent definition of a bipartite graph is a graph where it is possible to color the vertices red or blue so that no two adjacent vertices are the same color. Bipartite Graphs and Matchings • Bipartite graphs are used to model applications that involve matching the elements of one set to elements in another, for example: • Job assignments - vertices represent the jobs and the employees, edges link employees with those jobs they have been trained to do. • A common goal is to match jobs to employees so that the most jobs are done. Bipartite Graphs (continued) • Example ○ Show that C_6 is bipartite. • Solution ○ We can partition the vertex set into V_1={v_1, v_3, v_5} and V_2={v_2, v_4, v_6} so that every edge of C_6 connects a vertex in V_1 and V_2. • Example ○ Show that C_2 is not bipartite. • Solution ○ If we divide the vertex set of C_3 into two nonempty sets, one of the two must contain two vertices ○ But in C_3 every vertex is connected to every other vertex ○ Therefore, the two vertices in the same partition are connected. ○ Hence, C_3 is not bipartite. Complete Bipartite Graphs • Definition ○ A complete bipartite graph K_(m,n) is a graph that has its vertex set partitioned into two subsets V_1 of size m and V_2 of size n such that there is an edge from every vertex in V_1 to every vertex in V_2. • Example ○ We display four complete bipartite graphs here. New Graphs from Old • Definition ○ A subgraph of a graph G = (V,E) is a graph (W,F), where W⊂V and F⊂E. ○ A subgraph H of G is a proper subgraph of G if H≠G. • Example ○ Here we show K_5 and one of its subgraphs. • Definition ○ Let G=(V, E) be a simple graph. ○ The subgraph induced by a subset W of the vertex set V is the graph (W,F), where the edge set F contains an edge in E if and only if both endpoints are in W. • Example ○ Here we show K_5 and the subgraph induced by W={a,b,c,e}. • Definition ○ The union of two simple graphs G_1=(V_1, E_1) and G_2=(V_2, E_2) is the simple graph with vertex set V_1∪V_2 and edge set E_1∩E_2 ○ The union of G_1 and G_2 is denoted by G_1∪G_2. • Example
Read More >>

10.1 Graphs and Graph Models

  • May 07, 2018
  • Shawn
  • Math 240
  • No comments yet
Graphs • Definition ○ A graph G = (V, E) consists of § a nonempty set V of vertices (or nodes) § and a set E of edges. ○ Each edge has either one or two vertices associated with it, called its endpoints. ○ An edge is said to connect its endpoints. • Example ○ This is a graph with four vertices and five edges. • Remarks ○ The graphs we study here are unrelated to graphs of functions studied in Chapter 2. ○ We have a lot of freedom when we draw a picture of a graph. ○ All that matters is the connections made by the edges, not the particular geometry depicted. ○ For example, the lengths of edges, whether edges cross, how vertices are depicted, and so on, do not matter ○ A graph with an infinite vertex set is called an infinite graph. ○ A graph with a finite vertex set is called a finite graph. We (following the text) restrict our attention to finite graphs. Graph Terminology • In a simple graph each edge connects two different vertices and no two edges connect the same pair of vertices. • Multigraphs may have multiple edges connecting the same two vertices. • When m different edges connect the vertices u and v, we say that {u,v} is an edge of multiplicity m. • An edge that connects a vertex to itself is called a loop. • A pseudograph may include loops, as well as multiple edges connecting the same pair of vertices. • Example ○ This pseudograph has both multiple edges and a loop. Directed Graphs • Definition: ○ An directed graph (or digraph) G = (V, E) consists of § a nonempty set V of vertices (or nodes) § and a set E of directed edges (or arcs). ○ Each edge is associated with an ordered pair of vertices. ○ The directed edge associated with the ordered pair (u,v) is said to start at u and end at v. • Remark: ○ Graphs where the end points of an edge are not ordered are said to be undirected graphs. Some Terminology (continued) • Definition ○ A simple directed graph has no loops and no multiple edges. • Example ○ This is a directed graph with three vertices and four edges. • Definition ○ A directed multigraph may have multiple directed edges. ○ When there are m directed edges from the vertex u to the vertex v, ○ We say that (u,v) is an edge of multiplicity m. • Example ○ In this directed multigraph the multiplicity of (a,b) is 1 and the multiplicity of (b,c) is 2. Graph Models: Computer Networks • When we build a graph model, we use the appropriate type of graph to capture the important features of the application. • We illustrate this process using graph models of different types of computer networks. • In all these graph models, the vertices represent data centers and the edges represent communication links. • To model a computer network where we are only concerned whether two data centers are connected by a communications link, we use a simple graph. • This is the appropriate type of graph when we only care whether two data centers are directly linked (and not how many links there may be) and all communications links work in both directions. • To model a computer network where we care about the number of links between data centers, we use a multigraph. • To model a computer network with diagnostic links at data centers, we use a pseudograph, as loops are needed. • To model a network with multiple one-way links, we use a directed multigraph. • Note that we could use a directed graph without multiple edges if we only care whether there is at least one link from a data center to another data center. Graph Terminology: Summary • To understand the structure of a graph and to build a graph model, we ask these questions: ○ Are the edges of the graph undirected or directed (or both)? ○ If the edges are undirected, are multiple edges present that connect the same pair of vertices? ○ If the edges are directed, are multiple directed edges present? ○ Are loops present? Other Applications of Graphs • We will illustrate how graph theory can be used in models of: ○ Social networks ○ Communications networks ○ Information networks ○ Software design ○ Transportation networks ○ Biological networks • It’s a challenge to find a subject to which graph theory has not yet been applied. • Can you find an area without applications of graph theory? Examples of Collaboration Graphs • The Hollywood graph models the collaboration of actors in films. ○ We represent actors by vertices and we connect two vertices if the actors they represent have appeared in the same movie. ○ We will study the Hollywood Graph in Section 10.4 when we discuss Kevin Bacon numbers. • An academic collaboration graph models the collaboration of researchers who have jointly written a paper in a particular subject. ○ We represent researchers in a particular academic discipline using vertices. ○ We connect the vertices representing two researchers in this discipline if they are coauthors of a paper. ○ We will study the academic collaboration graph for mathematicians when we discuss Erdős numbers in Section 10.4. Transportation Graphs • Graph models are extensively used in the study of transportation networks. • Airline networks can be modeled using directed multigraphs where ○ airports are represented by vertices ○ each flight is represented by a directed edge from the vertex representing the departure airport to the vertex representing the destination airport • Road networks can be modeled using graphs where ○ vertices represent intersections and edges represent roads. ○ undirected edges represent two-way roads and directed edges represent one-way roads. Biological Applications • Graph models are used extensively in many areas of the biological science. • We will describe two such models, one to ecology and the other to molecular biology. • Niche overlap graphs model competition between species in an ecosystem • Vertices represent species and an edge connects two vertices when they represent species who compete for food resources. • Example: This is the niche overlap graph for a forest ecosystem with nine species. • We can model the interaction of proteins in a cell using a protein interaction network. • In a protein interaction graph, vertices represent proteins and vertices are connected by an edge if the proteins they represent interact. • Protein interaction graphs can be huge and can contain more than 100,000 vertices, each representing a different protein, and more than 1,000,000 edges, each representing an interaction between proteins • Protein interaction graphs are often split into smaller graphs, called modules, which represent the interactions between proteins involved in a particular function. • Example: This is a module of the protein interaction graph of proteins that degrade RNA in a human cell.
Read More >>

9.6 Partial Orderings

  • May 07, 2018
  • Shawn
  • Math 240
  • No comments yet
Partial Orderings • Definition 1 ○ A relation R on a set S is called a partial ordering, or partial order, if it is reflexive, antisymmetric, and transitive. ○ A set together with a partial ordering R is called a partially ordered set, or poset, and is denoted by (S, R). ○ Members of S are called elements of the poset. • Example 1 ○ Show that the “greater than or equal” relation (≥) is a partial ordering on the set of integers. ○ Reflexivity: a≥a for every integer a. ○ Antisymmetry: If a≥b and b≥a , then a=b. ○ Transitivity: If a≥b and b≥c , then a≥c. • Example 2 ○ Show that the divisibility relation (∣) is a partial ordering on the set of integers. ○ Reflexivity § a∣a for all integers a. (see Example 9 in Section 9.1) ○ Antisymmetry § If a and b are positive integers with a | b and b | a, then a = b § (see Example 12 in Section 9.1) ○ Transitivity § Suppose that a divides b and b divides c. § Then there are positive integers k and l such that b = ak and c = bl § Hence, c=a(kl), so a divides c. § Therefore, the relation is transitive. ○ (Z^+, ∣) is a poset. • Example 3 ○ Show that the inclusion relation (⊆) is a partial ordering on the power set of a set S. ○ Reflexivity: A⊆A whenever A is a subset of S. ○ Antisymmetry: If A and B are positive integers with A⊆B and B⊆A, then A=B. ○ Transitivity: If A⊆B and B⊆C, then A⊆C. Comparability • Definition 2 ○ The elements a and b of a poset (S,≼) are comparable if either a ≼ b or b ≼ a. ○ a,b∈S so that neither a ≼ b nor b ≼ a, then a and b are called incomparable. • Definition 3 ○ If (S,≼) is a poset and every two elements of S are comparable ○ Then S is called a totally ordered or linearly ordered set ○ And ≼ is called a total order or a linear order. ○ A totally ordered set is also called a chain. • Definition 4 ○ (S,≼) is a well-ordered set if it is a poset such that § ≼ is a total ordering § every nonempty subset of S has a least element. Hasse Diagrams • A Hasse diagram is a visual representation of a partial ordering that leaves out edges that must be present because of the reflexive and transitive properties. • A partial ordering is shown in (a) of the figure above. • The loops due to the reflexive property are deleted in (b). • The edges that must be present due to the transitive property are deleted in (c). • The Hasse diagram for the partial ordering (a), is depicted in © Lexicographic Order • Definition ○ Given two posets (A_1,≼_1) and (A_2,≼_2) ○ The lexicographic ordering on A_1⨉A_2 is defined by specifying that ○ (a_1, a_2) is less than (b1,b2), that is, (a_1, a_2) ≺ (b_1,b_2), ○ either if a_1 ≺_1 b_1 or if a_1=b_1 and a_2 ≺_2 b_2. ○ This definition can be easily extended to a lexicographic ordering on strings (see text). • Example ○ Consider strings of lowercase English letters ○ A lexicographic ordering can be defined using the ordering of the letters in the alphabet ○ This is the same ordering as that used in dictionaries. ○ discreet ≺ discrete, because these strings differ in the seventh position and e ≺ t. ○ discreet ≺ discreetness, because the first eight letters agree, but the second string is longer. Well Ordered Induction • Theorem ○ If (S,≤) is a well ordered poset and P is a property s.t. ○ If P(y) is true for all y x, then P(x) is true ○ Then P is true for all elements in the poset • Example ○ Suppose that a_(m,n) is defined for (m,n)∈N×N § a_0,0=0 § a_(m,n)={■8(a_(m−1,n)+1&if n=0 and m 0@a_(m,n−1)+n&if n 0)┤ ○ Show that a_(m,n)=m+n(n+1)/2 is defined for all (m,n)∈N×N • Solution ○ Use induction ○ Basis Step § a_0,0=0+(0⋅1)/2 ○ Inductive Step § Assume that a_(m^′,n^′ )=m^′+(n^′ (n^′+1))/2 whenever § (m^′,n′) is less than (m,n) in the lexicographic ordering of N×N § If n=0, by the inductive hypothesis, we can conclude □ a_(m,n)=a_(m−1,n)+1=m−1+n(n+1)/2+1=m+n(n+1)/2 § If n 0, by the inductive hypothesis, we can conclude □ a_(m,n)=a_(m−1,n)+1=m+n(n−1)/2+n=m+n(n+1)/2 Maximal and Minimal Elements • Definition ○ If (S,≤) is a ordered poset then an element a is ○ Minimal if there is no element b s.t. b≤a, and b is not equal to a ○ Maximal if there is no element b s.t. a≤b, and b is not equal to a ○ Greatest if for every element b∈S, b≤a ○ Least if for every element b∈S, a≤b • Intuition ○ Minimal: No element is strictly smaller ○ Least: Every other element is bigger ○ Maximal: No element is strictly bigger ○ Greatest: Every other element is smaller • Example 1 ○ Let {2,4,5,10,12,20,25} ordered by divisibility relation ○ Which element of {2,4,5,10,12,20,25} are maximal and which are minimal? ○ Is there a least or greatest element? ○ Maximal: 12, 20, 25 ○ Minimal: 2,5 ○ No least or greatest element. • Example 2 ○ Given an example of a poset with no minimal element and two maximal elements? ○ {〖1,1〗^∗,0,−1,−2,−3,…} where 1≥0≥−1≥−2≥…, and 1^∗≥0≥−1≥−2≥… Topological Sorting • Definition ○ If (S,R) is a partial ordering and (S,R^∗ ) is a total ordering then we say that ○ The two are compatible if R is a subset of R^∗ • Theorem ○ Let S be a finite set ○ Every partial order R on S has a compatible total order R^∗ • Proof ○ Every nonempty finite partial order has a minimal element ○ This can be proved by induction on the size of S ○ We should build a total ordering of S be selecting § a_1 to be a minimal element of S § a_2 to be the minimal element of S−{a_1 } § a_i to be the minimal element of S−{a_1,a_2,…,a_(i−1) } § a_n to be the least available element of S ○ We set R^∗={(a_i,a_i )|j≥i}
Read More >>

Math 541 – 5/2

  • May 05, 2018
  • Shawn
  • Math 541
  • No comments yet
Prime Ideal • Definition ○ Suppose R is commutative ○ An ideal P⊊R is prime if ○ a,b∈R,ab∈P⇒a∈P or b∈P • Example ○ Take R=Z ○ The prime ideals are ideals of the form (n), where n is prime or n=0 ○ Proof (⟹) § Let (n)⊆Z be a prime ideal, and n≠0 § We want to show that n is prime § Choose a,b∈Z s.t. n=ab § Then ab∈(n), so either a∈(n) or b∈(n) § Without loss of generality, suppose a∈(n) § Then ├ n┤ |a┤ § Choose q∈Z s.t. nq=a § n=ab⇒n=nqb⇒1=qb⇒b∈{±1} § So n is a prime ○ Proof (⟸) § (0) is prime □ Let a,b∈Z, and ab∈(0) □ Then ab=0 □ ⇒a=0 or b=0 □ ⇒a∈(0) or b∈(0) □ Therefore (0) is prime § (p) is prime for p∈Z prime □ Let a,b∈Z, and say ab∈(p) □ Then p|ab □ Since p is prime, this means p|a or p|b □ ⇒a∈(p) or b∈(p) Proposition 73: Criterion for Prime Ideal • Statement ○ Let R be a commutative ring, P⊆R an ideal, then ○ P is prime ⇔ R\/P is a domain ○ In particular, R is a domain ⇔ 0 ideal is prime • Proof (⟹) ○ Let a+P,b+P∈(R/P)∖\{P} ○ Then (a+P)(b+P)=ab+P=0 ○ So, ab∈P ○ Since P is prime, a∈P or b∈P ○ Therefore a+P=0 or b+P=0 • Proof (⟸) ○ Let a,b∈R, and suppose ab∈P, then ○ 0=ab+P=(a+P)(b+P) ○ Since R\/P is a domain, a+P=0 or b+P=0 ○ So a∈P or b∈P • Example ○ (x^2−1)⊆R[x] is not prime ○ R[x]\/(x^2−1)≅R×R, which is not a domain ○ Also, x^2−1∈(x^2−1), but x−1,x+1∉(x^2−1) Corollary 74 • Statement ○ If R is a commutative ring, and M⊆R is maximal, then M is prime • Proof ○ M is maximal ⇒R\/M is a field ⇒R\/M is a domain ⇒ M is prime Euclidean Domain • Definition ○ Let R be a domain ○ A norm on R is a function N:R→Z(≥0) s.t. N(0)=0 ○ R is called a Euclidean domain if R is equipped with a norm N s.t. ○ ∀a,b∈R with b≠0, ∃q,r∈R s.t. § a=qb+r § Either r=0 or N(r) N(b) • Example 1 ○ Z is a Euclidean domain, N(a)=|a| • Example 2 ○ If F is a field, then F is trivially a Euclidean domain ○ Take N:F→Z(≥0) to be any function s.t. N(0)=0 ○ Then, if a,b∈F, where b≠0, take q=a/b,r=0 • Example 3 ○ If F is a field, then F[x] is a Euclidean domain, with N(p)=deg⁡p ○ The division algorithm have is just polynomial division ○ Note § deg⁡0=−∞∉Z(≥0), so this definition isn t quite right § To handle this problem, define a norm to take vales not in Z(≥0) § But any total ordered set in order-preserving bijection with Z(≥0) § (For instance, Z(≥0)∪{−∞}) Proposition 75 • Statement ○ Every ideal in a Euclidean domain R is principal ○ More precisely, if I⊆R is an ideal, then I=(d), where ○ d is an element of I with minimum norm • Proof ○ Let I⊆R be an ideal ○ If I=(0), then I is principal, so assume I≠(0) ○ {N(a)│a∈I∖{0} } has a minimal element, by well-ordering principal ○ Choose d∈I∖{0} s.t. N(d) is minimal ○ Certainly, (d)⊆I ○ Let a∈I, write a=qd+r, where q,r∈R and either r=0 or N(r) N(d) ○ Since r=a−qd∈I, N(r) can t be smaller than N(d) ○ So r=0⇒a=qd⇒a∈(d) • Example 1 ○ We haven t yet proven that F[x] is a Euclidean domain, when F is a field ○ Once we show this, we ll know F[x] has the property that ○ All of its ideals are principal • Definition ○ A domain in which every ideal is principal is called a principal ideal domain • Example 2 ○ Z[x] cannot be a Euclidean domain, since (2,x)⊆Z[x] is not principal Theorem 76 • Statement ○ Let F be a field ○ Then F[x] is a Euclidean domain ○ More specifically, if a,b∈F[x] where b≠0, then ○ ∃!q,r∈F[x] s.t. a=bq+r and deg⁡r deg⁡b • Proof (Existence) ○ We argue by induction on deg⁡a ○ If a=0, take q,r=0, so assume a≠0 ○ Set n≔deg⁡a, m≔deg⁡b ○ If n m, then take q=0,r=a ○ Assume n≥m ○ Write a=a_n x^n+…+a_1 x+a_0,b=b_m x^m+…+b_1 x+b_0 ○ Set a^′=a−a_n/b_m x^(n−m) b ○ Since a and a_n/b_m x^(n−m) b have the same leading coefficient, deg⁡a′ deg⁡a ○ By induction, ∃q^′,r∈F[x] with a^′=q^′ b+r with deg⁡r deg⁡b ○ Set q=q^′+a_n/b_m x^(n−m) b ○ Then a=a^′+a_n/b_m x^(n−m) b=q^′ b+r+a_n/b_m x^(n−m) b=(q^′+a_n/a_m x^(n−m) )b+r=qb+r • Proof (Uniqueness) ○ Suppose bq^′+r^′=a=bq+r where deg⁡r deg⁡b, and deg⁡r′ deg⁡b ○ Then deg⁡(a−bq) deg⁡b and deg⁡〖(a−bq′) deg⁡b 〗 ○ ⇒deg⁡((a−bq)−(a−bq^′ ))=deg⁡(bq^′−bq)=deg⁡b+deg⁡(q^′−q) deg⁡b ○ ⇒deg⁡(q^′−q) 0⇒q^′=q ○ It follows immediately that r^′=r
Read More >>

Math 521 – 5/4

  • May 05, 2018
  • Shawn
  • Math 521
  • No comments yet
Definition 7.1: Limit of Sequence of Functions • Suppose {f_n } is a sequence of functions defined on a set E • Suppose the sequence of numbers {f_n (x)} converges ∀x∈E • We can then defined f by f(x)=(lim)┬(n→∞)⁡〖f_n (x)〗,∀x∈E Example 7.2: Double Sequence • "Let" s_(m,n)=m/(m+n),(m,n∈N • Fix n∈N ○ lim┬(m→∞)⁡〖s_(m,n) 〗=1 ○ lim┬(n→∞)⁡lim┬(m→∞)⁡〖s_(m,n) 〗 =1 • Fix m∈N ○ lim┬(n→∞)⁡〖s_(m,n) 〗=0 ○ lim┬(m→∞)⁡lim┬(n→∞)⁡〖s_(m,n) 〗 =0 Example 7.3: Convergent Series of Continuous Functions • Let f_n (x)=x^2/(1+x^2 )^n ,(x∈Rn∈Z(≥0) ) • Let f(x)=∑_(n=0)^∞▒〖f_n (x) 〗=∑_(n=0)^∞▒x^2/(1+x^2 )^n • When x=0 ○ f_n (0)=0, so f(0)=0 • When x≠0 ○ f(x) is a convergent geometric series with sum ○ f(x)=∑_(n=0)^∞▒x^2/(1+x^2 )^n =x^2/(1−(1/(1+x^2 ))^n )=1+x^2 • Therefore, f(x)={■8(0&for x=0@1+x^2&for x≠0)┤ • So convergent series of continuous functions may be discontinuous Example 7.5: Changing the Order of Limit and Derivative • Let f_n (x)=sin⁡(nx)/√n, (x∈Rn∈N • Let f(x)=lim┬(n→∞)⁡〖f_n (x)〗=0 • Then f^′ (x)=0, but f_n^′ (x)=√n cos⁡(nx)→∞≠0 Example 7.6: Changing the Order of Limit and Integral • Let f_n (x)=nx(1−x^2 )^n, (x∈[0,1],n∈N, then • lim┬(n→∞)⁡(∫_0^1▒〖f_n (x)dx〗)=lim┬(n→∞)⁡(∫_0^1▒〖nx(1−x^2 )^n dx〗)=lim┬(n→∞)⁡〖n/(2n+2)〗=1/2 • ∫_0^1▒(lim┬(n→∞)⁡〖f_n (x)〗 ) dx=∫_0^1▒(lim┬(n→∞)⁡〖nx(1−x^2 )^n 〗 ) dx=∫_0^1▒〖0 dx〗=0 Definition 7.7: Uniform Convergence • A sequence of function {f_n }_(n∈N converges uniformly on E to a function f if • ∀ε 0, ∃N∈N s.t. if n≥N, then |f_n (x)−f(x)| ε,∀x∈E Theorem 7.11: Interchange of Limits • Suppose f_n→f on a set E uniformly on a metric space • Let x be a limit point of E and suppose that lim┬(t→x)⁡〖f_n (t)〗=A_n,(n∈N • Then {A_n } converges and lim┬(t→x)⁡f(t)=lim┬(n→∞)⁡〖A_n 〗 • i.e. (lim)┬(t→x)⁡(lim)┬(n→∞)⁡〖f_n (t)〗 =(lim)┬(n→∞)⁡(lim)┬(t→x)⁡〖f_n (t)〗 Theorem 7.12: Uniform Convergence Implies Continuity • If {f_n } is a sequence of continuous functions on E, and f_n→f uniformly on E • Then f is continuous on E Definition 7.14: Space of Bounded Continuous Functions • Let X be a metric space • Let C(X) be the set of all continuous bounded functions f:X→ℂ • If f∈C(X), define the supremum norm ‖f‖≔(sup)┬(x∈X)⁡|f(x)| • ‖f−g‖ is a distance function that makes C(X) a metric space Example 2.44: Cantor Set • Define a sequence of compact sets E_n ○ E_0=[0,1] ○ E_1=[0, 1/3]∪[2/3,1] ○ E_2=[0, 1/9]∪[2/9,3/9]∪[6/9,7/9]∪[8/9,1] ○ ⋮ • The set P≔⋂24_(n=1)^∞▒E_n is called the Cantor Set • P is compact, nonempty, uncountable, perfect, measure zero Example 4.27: Discontinuous Function • Let f(x)≔{■8(1&if x∈Q0&if x∉Q┤ • Then f(x) is discontinuous at all x∈R • Let g(x)≔{■8(x&if x∈Q0&if x∉Q┤ • Then g(x) is discontinuous everywhere except x=0
Read More >>
  • 1
  • 2
  • 3
  • 4

Search

  • Home Page
  • Tutorials
  • Mathematics
    • Math 240 – Discrete Math
    • Math 375 – Linear Algebra
    • Math 431 – Intro to Probability
    • Math 514 – Numerical Analysis
    • Math 521 – Analysis I
    • Math 541 – Abstract Algebra
    • Math 632 – Stochastic Processes
    • Abstract Algebra @ 万门大学
    • Linear Algebra @ 万门大学
    • Category Theory
  • Computer Sciences
    • CS/ECE 252 – Intro to Computer Engr.
    • CS/ECE 352 – Digital System Fund.
    • Learn Haskell
  • Course Notes
    • AP Macroeconomics
    • AP Microeconomics
    • AP Chemistry
    • AP Statistics
    • AP Physics C: E&M
    • AP Physics C: Mechanics
    • CLEP Psychology
  • 2048 Game
  • HiMCM 2016
  • 登峰杯 MCM

WeChat Account

Categories

  • Notes (418)
    • AP (115)
      • AP Macroeconomics (20)
      • AP Microeconomics (23)
      • AP Physics C E&M (25)
      • AP Physics C Mechanics (28)
      • AP Statistics (19)
    • Computer Sciences (2)
    • Mathematics (300)
      • Abstract Algebra (29)
      • Category Theory (7)
      • Linear Algebra (29)
      • Math 240 (42)
      • Math 375 (71)
      • Math 514 (18)
      • Math 521 (39)
      • Math 541 (39)
      • Math 632 (26)
  • Projects (2)
  • Tutorials (11)

Archives

  • October 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017

WeChat Account

Links

RobeZH's thoughts on Algorithms - Ziyi Zhang
Copyright © 2018.      
TOP