Algebra och Diskret Matematik (svenska)

Relevanta dokument
E: 9p D: 10p C: 14p B: 18p A: 22p

Algebra och Diskret Matematik A (English)

Discrete Mathematics (English)

Algebra och Diskret Matematik A (svenska)

E: 9p D: 10p C: 14p B: 18p A: 22p

MITTUNIVERSITETET TFM. Tentamen Algebra och Diskret Matematik A (svenska) Skrivtid: 5 timmar. Datum: 9 januari 2007

MITTUNIVERSITETET TFM. Modelltenta Algebra och Diskret Matematik. Skrivtid: 5 timmar. Datum: 1 oktober 2007

E: 9p D: 10p C: 14p B: 18p A: 22p

Algebra och Diskret Matematik A (svenska)

Diskret Matematik A för CVI 4p (svenska)

Algebra and Discrete Mathematics (English)

Algebra och Diskret Matematik A (svenska)

1. Compute the following matrix: (2 p) 2. Compute the determinant of the following matrix: (2 p)

Tentamen i Matematik 2: M0030M.

8 < x 1 + x 2 x 3 = 1, x 1 +2x 2 + x 4 = 0, x 1 +2x 3 + x 4 = 2. x 1 2x 12 1A är inverterbar, och bestäm i så fall dess invers.

Tentamen MMG610 Diskret Matematik, GU

x 2 2(x + 2), f(x) = by utilizing the guidance given by asymptotes and stationary points. γ : 8xy x 2 y 3 = 12 x + 3

Pre-Test 1: M0030M - Linear Algebra.

2(x + 1) x f(x) = 3. Find the area of the surface generated by rotating the curve. y = x 3, 0 x 1,

S 1 11, S 2 9 and S 1 + 2S 2 32 E S 1 11, S 2 9 and 33 S 1 + 2S 2 41 D S 1 11, S 2 9 and 42 S 1 + 2S 2 51 C 52 S 1 + 2S 2 60 B 61 S 1 + 2S 2 A

denna del en poäng. 1. (Dugga 1.1) och v = (a) Beräkna u (2u 2u v) om u = . (1p) och som är parallell

(D1.1) 1. (3p) Bestäm ekvationer i ett xyz-koordinatsystem för planet som innehåller punkterna

Module 1: Functions, Limits, Continuity

LUNDS TEKNISKA HÖGSKOLA Institutionen för Elektro- och Informationsteknik

Högskolan i Skövde (SK, JS) Svensk version Tentamen i matematik

Tentamen i Matematik 3: M0031M.

6. a) Visa att följande vektorer är egenvektorer till matrisen A = , och ange motsvarande

Tentamen i Matematik 2: M0030M.

1. Varje bevissteg ska motiveras formellt (informella bevis ger 0 poang)

S 1 11, S 2 9 and S 1 + 2S 2 32 E S 1 11, S 2 9 and 33 S 1 + 2S 2 41 D S 1 11, S 2 9 and 42 S 1 + 2S 2 51 C 52 S 1 + 2S 2 60 B 61 S 1 + 2S 2 A

S 1 11, S 2 9 and S 1 + 2S 2 32 E S 1 11, S 2 9 and 33 S 1 + 2S 2 41 D S 1 11, S 2 9 and 42 S 1 + 2S 2 51 C 52 S 1 + 2S 2 60 B 61 S 1 + 2S 2 A

f(x) =, x 1 by utilizing the guidance given by asymptotes and stationary points. cos(x) sin 3 (x) e sin2 (x) dx,

1. (3p) Bestäm den minsta positiva resten vid division av talet med talet 31.

This exam consists of four problems. The maximum sum of points is 20. The marks 3, 4 and 5 require a minimum

DVG C01 TENTAMEN I PROGRAMSPRÅK PROGRAMMING LANGUAGES EXAMINATION :15-13: 15

Styrteknik: Binära tal, talsystem och koder D3:1

Find an equation for the tangent line τ to the curve γ : y = f(4 sin(xπ/6)) at the point P whose x-coordinate is equal to 1.

Kurskod: TAMS28 MATEMATISK STATISTIK Provkod: TEN1 05 June 2017, 14:00-18:00. English Version

LUNDS TEKNISKA HÖGSKOLA Inst. for Elektro- och Informationsteknik. SIGNALBEHANDLING I MULTIMEDIA, ETI265 Inlämningsuppgift 1 (av 2), Task 1 (out of 2)

1. Find an equation for the line λ which is orthogonal to the plane

Webbregistrering pa kurs och termin

1. Find the 4-tuples (a, b, c, d) that solves the system of linear equations

f(x) = x2 + 4x + 6 x 2 4 by utilizing the guidance given by asymptotes and stationary points.

1. Find the volume of the solid generated by rotating the circular disc. x 2 + (y 1) 2 1

and Mathematical Statistics Gerold Jäger 9:00-15:00 T Compute the following matrix

Module 6: Integrals and applications

1 Find the area of the triangle with vertices A = (0,0,1), B = (1,1,0) and C = (2,2,2). (6p)

and u = och x + y z 2w = 3 (a) Finn alla lösningar till ekvationssystemet

FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR

Information technology Open Document Format for Office Applications (OpenDocument) v1.0 (ISO/IEC 26300:2006, IDT) SWEDISH STANDARDS INSTITUTE

Preschool Kindergarten

sin(x 2 ) 4. Find the area of the bounded region precisely enclosed by the curves y = e x and y = e.

Materialplanering och styrning på grundnivå. 7,5 högskolepoäng

1. Find for each real value of a, the dimension of and a basis for the subspace

Tentamen i kurserna Beräkningsmodeller (TDA181/INN110) och Grundläggande Datalogi (TDA180)


Algoritmer och Komplexitet ht 08. Övning 6. NP-problem

Webbreg öppen: 26/ /

. Bestäm Rez och Imz. i. 1. a) Låt z = 1+i ( b) Bestäm inversen av matrisen A = (3p) x + 3y + 4z = 5, 3x + 2y + 7z = 3, 2x y + z = 4.

(4x 12) n n. is convergent. Are there any of those x for which the series is not absolutely convergent, i.e. is (only) conditionally convergent?

Calculate check digits according to the modulus-11 method

Exempel på uppgifter från 2010, 2011 och 2012 års ämnesprov i matematik för årskurs 3. Engelsk version

Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00. English Version

Workplan Food. Spring term 2016 Year 7. Name:

1. The sum of two non-negative numbers x and y equals 4. Which is the smallest interval that surely contains the number x 3 + 3y 2?

Block 2 Algebra och Diskret Matematik A. Följder, strängar och tal. Referenser. Inledning. 1. Följder

Beijer Electronics AB 2000, MA00336A,

NP-fullständighetsbevis

2. Let the linear space which is spanned by the functions p 1, p 2, p 3, where p k (x) = x k, be equipped with the inner product p q = 1

2. Find, for each real value of β, the dimension of and a basis for the subspace

a) Ange alla eventuella punkter där f är diskontinuerlig. b) Ange alla eventuella punkter där f är kontinuerlig men inte deriverbar.

Isometries of the plane

For which values of α is the dimension of the subspace U V not equal to zero? Find, for these values of α, a basis for U V.

Isolda Purchase - EDI

Libers språklåda i engelska Grab n go lessons

Exempel på uppgifter från års ämnesprov i matematik för årskurs 3. Engelsk version

KTH MMK JH TENTAMEN I HYDRAULIK OCH PNEUMATIK allmän kurs kl

Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 31 May 2016, 8:00-12:00. English Version

12.6 Heat equation, Wave equation

is a basis for M. Also, find the coordinates of the matrix M = with respect to the basis M 1, M 2, M 3.

Relationer och funktioner

EXTERNAL ASSESSMENT SAMPLE TASKS SWEDISH BREAKTHROUGH LSPSWEB/0Y09

for M, the matrix of the linear transformation F : R 3 M defined as x1 + x F ((x 1, x 2, x 3 )) = 2 + x 3 2x 1 + x 2 + 3x 3

Lösenordsportalen Hosted by UNIT4 For instructions in English, see further down in this document

The Finite Element Method, FHL064

2.1 Installation of driver using Internet Installation of driver from disk... 3

Grafisk teknik IMCDP IMCDP IMCDP. IMCDP(filter) Sasan Gooran (HT 2006) Assumptions:

PORTSECURITY IN SÖLVESBORG

Writing with context. Att skriva med sammanhang

OMTENTAMEN I DATASTRUKTURER OCH ALGORITMER DVG B kl. 08:15 13:15

Discovering!!!!! Swedish ÅÄÖ. EPISODE 6 Norrlänningar and numbers Misi.se

Graphs (chapter 14) 1

Hemuppgifter till fredagen den 16 september Exercises to Friday, September 16

Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 17 August 2015, 8:00-12:00. English Version

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

2 4xy. and classify each of them with respect to the corresponding linearized system. x 2 dy + 2xy = y2

Grafisk teknik IMCDP. Sasan Gooran (HT 2006) Assumptions:

Module 4 Applications of differentiation

Boiler with heatpump / Värmepumpsberedare

Read Texterna består av enkla dialoger mellan två personer A och B. Pedagogen bör presentera texten så att uttalet finns med under bearbetningen.

Transkript:

MITTUNIVERSITETET TFM Tentamen 2007 MA04G Algebra och Diskret Matematik (svenska) Skrivtid: 5 timmar Datum: 2 november 2007 Den obligatoriska delen av denna tenta omfattar 8 frågor, där varje fråga kan ge 3 poäng. Delfrågornas poäng står angivna i marginalen inom [ ]-parenteser. Maximalt poängantal är 24. Därutöver innehållar skrivningen en frivillig uppgift. Den obligatoriska delen kan maximalt ge betyget B. Tillsammans med betyget B på den obligatoriska delen kan lösningen på den frivilliga uppgiften ge kursbetyget A. En god behandling av den frivilliga uppgiften kan även lyfta kursbetyget ett steg från ett skrivningsbetyg C, D eller E på den obligatoriska delen. Till alla uppgifter skall fullständiga lösningar lämnas. Resonemang, ekvationslösningar och uträkningar får inte vara så knapphändiga, att de blir svåra att följa. Brister i framställningen kan ge poängavdrag även om slutresultatet är rätt! Behandla högst en uppgift på varje papper! Hjälpmedel: Medföljande formelblad, skriv- och ritmaterial samt miniräknare som ej är symbolhanterande. Ange märke och modell på din miniräknare på omslaget till tentamen. LYCKA TILL!! Kontrollera att du skriver rätt Diskret Matematik A tenta!! Den här tentan gäller kursen med [Johnsonbaugh] som kursbok. c TFM, Mittuniversitetet VÄND

Uppgift (obligatorisk) (a) Uttryck talet t = 3 + 3 3 + 3 5 + 3 7 + 3 9 + 3 (i) i basen 3; (ii) som ett binärt tal; (iii) som ett hexadecimalt tal. (b) Ange summan s = 2 3 + 4 3 3 + 6 3 5 + 8 3 7 +... + 000 3 999 m.h.a. summatecken. (c) Beräkna summan Visa dina uträkningar! 207 (5n 2). n=7 Uppgift 2 (obligatorisk) (a) Skriv ner följande påståenden utan att använda orden ej, icke eller inte. (i) Negationen av För alla heltal x gäller att x är ett primtal. (ii) Det kontrapositiva påståendet till Om x Z och x > så är x 2. (b) Låt f : Z + Z vara funktionen och låt R vara värdemängden till f. f(x) = 2 x + ( 2) x, (i) Ange mängden R genom att lista elementen. (ii) Ange mängden R {0} med hjälp av inklusionsregler. (iii) Är f surjektiv? (iv) Är f injektiv? (v) Är f inverterbar? Motivera dina svar! [2p] c TFM, Mittuniversitetet 2 MA04G

Uppgift 3 (obligatorisk) (a) (i) Definiera vad som menas med att a b (mod 3). (ii) Bevisa för alla heltal a, b, x och y att om a b (mod 3) och x y (mod 3) så är a + x b + y (mod 3). (b) Låt mängden S = {0,, 2} {0,, 2} och låt R vara en relation på S definierad av (x, y ) R (x 2, y 2 ) omm x x 2 y y 2 (mod 3). (i) Ange mängden S genom att lista elementen. (ii) Rita relationsdigrafen för R. (iii) Visa m.h.a. (a)(ii) att relationen R är transitiv. (iv) Visa att relationen R är en ekvivalensrelation. (v) Ange ekvivalensklasserna för R på S. [2p] Uppgift 4 (obligatorisk) En talföljd {u n } definieras genom rekursionsformeln u n+ = 3u n + 3 n+2 för n = 0,, 2, 3,..., och begynnelsevillkoret u 0 = 0. (a) Använd rekursionsformeln för att beräkna u, u 2, u 3, u 4 och u 5. Visa dina uträkningar. (b) Bevisa med induktion att u n = n3 n+ för alla n 0. [2p] c TFM, Mittuniversitetet 3 VÄND

Uppgift 5 (obligatorisk) (a) En ordnad följd med fyra siffror konstrueras genom att välja siffror utan repetition ur mängden {, 2, 3, 4, 5, 6, 7, 8, 9}. Bestäm (i) det totala antalet av sådana följder; (ii) antalet följder som börjar med en udda siffra; (iii) antalet följder som slutar på en udda siffra; (iv) antalet följder som börjar och slutar med en udda siffra; (v) antalet följder som börjar med en udda siffra eller slutar med en udda siffra eller både och; (vi) antalet följder som börjar med en udda siffra eller slutar med en udda siffra men inte både och. [,5p] (b) (i) Hur många olika sexsiffriga heltal kan bildas genom att arrangera om siffrorna 23456? (ii) Hur många olika sexsiffriga heltal som innehåller minst en av delsträngarna 654, 543 eller 2 kan bildas genom att arrangera om siffrorna 23456? [,5p] Uppgift 6 (obligatorisk) (a) Vad är en stig av längd l i en (enkel) graf G? [0,25p] (b) (i) Rita den fullständiga grafen K 6. (ii) Bestäm antalet kanter i K 6. (iii) Låt v och w vara två hörn i K 6. Bestäm antalet stigar från v till w av längd 2. (iv) Låt x och y vara två hörn i K n där n 2. Bestäm antalet stigar från x till y av längd 2. Motivera ditt svar! [,5p] (c) Rita två icke-isomorfa sammanhängande enkla grafer, där graden av hörnen i båda graferna ges av följden 3, 3, 2,,,,. Motivera varför de två graferna du givit inte är isomorfa. [0,75p] (d) Motivera om det är möjligt att konstruera ett träd där hörnen har graderna 4, 3, 3, 2,,. c TFM, Mittuniversitetet 4 MA04G

Uppgift 7 (obligatorisk) (a) (b) (i) Beskriv antingen Kruskals Algoritm eller Prims Algoritm för att hitta ett minsta uppspännande träd i en viktad graf. (ii) Använd din beskrivning ur (i) för att med din valda algoritm hitta ett minsta uppspännande träd i den viktade grafen nedan. (iii) Ange vikten på det minsta uppspännande träd som du har hittat. (i) Beskriv Dijkstras Algoritm för att hitta en kortaste stig från hörn x till hörn y i en viktad graf. [.5p] (ii) Använd din beskrivning för att hitta en kortaste stig från hörn x till varje annat hörn i grafen nedan. [.5p] a 2 b 3 c 5 7 6 x 5 d e f k 8 2 7 6 7 4 7 8 g 4 h 4 i c TFM, Mittuniversitetet 5 VÄND

Uppgift 8 (obligatorisk) (a) Använd Euklides algoritm för att visa att det finns heltal s och t sådana att 2007s + 857t = 3. [,5p] (b) Bestäm alla lösningar [x] Z 2007 till ekvationen [857] [x] = [6]. Visa dina uträkningar. (c) Bestäm alla heltalslösningar x till kongruensen 857x 6 (mod 2007). Visa dina uträkningar. (d) Bestäm alla heltalslösningar x till kongruensen 69x 5 (mod 669). Visa dina uträkningar. c TFM, Mittuniversitetet 6 MA04G

Uppgift 9 (FRIVILLIG) Låt n vara ett positivt heltal. (a) Beräkna summan med hjälp av formelbladet. 2 r för n r= (b) Bevisa med induktion att 2 2r = 2 2 r r= r= r= (c) Använd identiteten i (b) för att härleda formeln 2 2r för n. r= 2 2r = 22n+ 2 3 för n. c TFM, Mittuniversitetet 7 SLUT PÅ TENTAMEN

MID SWEDEN UNIVERSITY TFM Examination 2007 MA04G Algebra and Discrete Mathematics (English) Time: 5 hours Date: 2 November 2007 The compulsory part of this examination consists of 8 questions, where each question can be awarded up to 3 points. The maximum number of points available is 24. The points for each part of a question are indicated at the end of the part in [ ]-brackets. In addition to the compulsory part, the exam contains an optional question. The maximum grade available for the compulsory part alone is a B. The grade A may be awarded if a candidate has reached a grade B on the compulsory part and provided a good solution to the optional question. Solution of the optional question may also raise a grade C, D or E obtained on the compulsory part by one grade. The candidates are advised that they must always show their working, otherwise they will not be awarded full marks for their answers. The candidates are further advised to start each of the nine questions on a new page and to clearly label all their answers. This is a closed book examination. No books, notes or mobile telephones are allowed in the examination room. Note that a collection of formulas is attached to the paper. Electronic calculators may be used provided they cannot handle formulas. The make and model used must be specified on the cover of your script. GOOD LUCK!! Make sure that you are doing the right Discrete Mathematics paper! This paper is for the course which used as coursebook. [Johnsonbaugh] c TFM, Mid Sweden University PLEASE TURN OVER

Question (compulsory) (a) Express the number t = 3 + 3 3 + 3 5 + 3 7 + 3 9 + 3 (i) in base 3; (ii) in binary; (iii) in hexadecimal. (b) Use Σ-notation to express the sum s = 2 3 + 4 3 3 + 6 3 5 + 8 3 7 +... + 000 3 999. (c) Showing all your working, compute the sum 207 (5n 2). n=7 Question 2 (compulsory) (a) Write down each of the following propositions without using the word not. (i) The negation of For all integers x, x is a prime. (ii) The contrapositive statement of If x Z and x > then x 2. (b) Let f : Z + Z be a function given by the rule and let R be the range of f. f(x) = 2 x + ( 2) x, (i) Give the set R by the listing method. (ii) Give the set R {0} by rules of inclusion. (iii) Is f onto? (iv) Is f one-to-one? (v) Is f invertible? Justify your answers! [2p] c TFM, Mid Sweden University 2 MA04G

Question 3 (compulsory) (a) (i) What does it mean to say that a b (mod 3)? (ii) For all integers a, b, x and y, show that if a b (mod 3) and x y (mod 3) then a + x b + y (mod 3). (b) Let S = {0,, 2} {0,, 2} and let R be a relation on S given by (x, y ) R (x 2, y 2 ) iff x x 2 y y 2 (mod 3). (i) Give the set S by listing its elements. (ii) Draw the relation digraph for R. (iii) Use (a)(ii) to show that the relation R is transitive. (iv) Show that the relation R is an equivalence relation. (v) Give the equivalence classes for R on S. [2p] Question 4 (compulsory) A sequence {u n } is given by the recurrence relation u n+ = 3u n + 3 n+2 for n = 0,, 2, 3,..., and the initial term u 0 = 0. (a) Showing all your working, use the recurrence relation to compute u, u 2, u 3, u 4 and u 5. (b) Use induction to prove that u n = n3 n+ for all n 0. [2p] c TFM, Mid Sweden University 3 PLEASE TURN OVER

Question 5 (compulsory) (a) Consider the set of ordered sequences consisting of four digits chosen without repetition from the set {, 2, 3, 4, 5, 6, 7, 8, 9}. Compute (i) the total number of such sequences; (ii) the number of such sequences starting with an odd digit; (iii) the number of such sequences ending with an odd digit; (iv) the number of such sequences starting and ending with an odd digit; (v) the number of such sequences starting or ending with an odd digit or both; (vi) the number of such sequences starting or ending with an odd digit, but not both. [,5p] (b) (i) How many different 6-digit integers can be formed by rearranging the digits 23456? (ii) How many different 6-digit integers containing at least one of the substrings 654, 543 or 2 can be formed by rearranging the digits 23456? [,5p] Question 6 (compulsory) (a) What is a path of length l in a (simple) graph G? [0,25p] (b) (i) Draw the complete graph K 6. (ii) Find the number of edges in K 6. (iii) Let v and w be two vertices in K 6. length 2 from v to w. Compute the number of paths of (iv) Let x and y be two vertices in K n where n 2. Justifying your answer, find the number of paths of length 2 from x to y. [,5p] (c) Draw two non-isomorphic connected simple graphs with degree sequence 3, 3, 2,,,,. Explain why the two graphs you have constructed are not isomorphic. (d) Decide whether it is possible to construct a tree with degree sequence 4, 3, 3, 2,,. [0,75p] c TFM, Mid Sweden University 4 MA04G

Question 7 (compulsory) (a) (b) (i) Describe either Kruskal s Algorithm or Prim s Algorithm for finding a minimum spanning tree in a weighted graph. (ii) Illustrate your description in (i) by using your chosen algorithm to find a minimum spanning tree in the weighted graph below. (iii) Give the weight of the minimum spanning tree found. (i) Describe Dijkstra s Algorithm for finding the shortest path from a vertex x to a vertex y in a weighted graph. [.5p] (ii) Illustrate your description of the algorithm by using it to find the shortest path from the vertex x to every other vertex in the graph below. [.5p] a 2 b 3 c 5 7 6 x 5 d e f k 8 2 7 6 7 4 7 8 g 4 h 4 i c TFM, Mid Sweden University 5 PLEASE TURN OVER

Question 8 (compulsory) (a) Use Euclid s Algorithm to show that there are integers s and t such that 2007s + 857t = 3. [,5p] (b) Showing your working, find all solutions [x] Z 2007 of the equation [857] [x] = [6]. (c) Showing your working, find all integer solutions x of the congruence 857x 6 (mod 2007). (d) Showing your working, find all integer solutions x of the congruence 69x 5 (mod 669). c TFM, Mid Sweden University 6 MA04G

Question 9 (OPTIONAL) Let n denote a positive integer. (a) Use the formula collection to compute the sum 2 r for n. (b) Use induction to prove that 2 2r = r= 2 2 r r= r= r= (c) Use the identity from (b) to deduce that 2 2r for n. r= 2 2r = 22n+ 2 3 for n. c TFM, Mid Sweden University 7 END OF EXAMINATION