IB Diploma · IB Mathematics Higher Level

IB Math HL May 2017 Paper 3 Discrete

  • 1 hour
  • 50 marks
/ …
View
Loading original PDF…

At a glance

4 questions, 50 marks, across 1 topic. Most marks: Number and algebra (50 marks, 100%).

Practise by topic

Pick a topic for more questions like it.

Question by question

4 questions · 50 marks

  1. Q1Number and algebra16 marks
  2. Q2Number and algebra12 marks
  3. Q3Number and algebra9 marks
  4. Q4Number and algebra13 marks

Worked answers

Step-by-step solutions, with the mark-scheme points each step earns.

Q1Number and algebra16 marks
(a)5 marks

Repeatedly divide the larger number by the smaller and replace the pair with (divisor, remainder); the last non-zero remainder is the gcd.

  1. Divide 1365 by 264:
    1365=5×264+451365 = 5 \times 264 + 45
    M1
  2. Divide 264 by the remainder 45:
    264=5×45+39264 = 5 \times 45 + 39
    A1
  3. Divide 45 by 39:
    45=1×39+645 = 1 \times 39 + 6
    A1
  4. Divide 39 by 6, then 6 by 3, which leaves remainder 0:
    39=6×6+3,6=2×339 = 6 \times 6 + 3, \quad 6 = 2 \times 3
    A1
  5. The last non-zero remainder is 3, so gcd⁡(264,1365)=3\gcd(264, 1365) = 3.
    A1

Answergcd⁡(264,1365)=3\gcd(264, 1365) = 3

(b)8 marks

Run the Euclidean algorithm backwards to write 3 as a combination of 264 and 1365, then add multiples of 13653\frac{1365}{3} and 2643\frac{264}{3} to get every solution.

  1. (i) Start from the line that produced the gcd, 39=6×6+339 = 6 \times 6 + 3, and rearrange:
    39−6×6=339 - 6 \times 6 = 3
    (M1)
  2. Replace 6 using 6=45−396 = 45 - 39 and collect the 39s:
    39−6(45−39)=3⇒7×39−6×45=339 - 6(45 - 39) = 3 \Rightarrow 7 \times 39 - 6 \times 45 = 3
    (A1)
  3. Replace 39 using 39=264−5×4539 = 264 - 5 \times 45:
    7(264−5×45)−6×45=3⇒7×264−41×45=37(264 - 5 \times 45) - 6 \times 45 = 3 \Rightarrow 7 \times 264 - 41 \times 45 = 3
    (A1)
  4. Replace 45 using 45=1365−5×26445 = 1365 - 5 \times 264:
    7×264−41(1365−5×264)=3⇒212×264−41×1365=37 \times 264 - 41(1365 - 5 \times 264) = 3 \Rightarrow 212 \times 264 - 41 \times 1365 = 3
    (A1)
  5. Compare with 264x−1365y=3264x - 1365y = 3: a particular solution is x=212x = 212, y=41y = 41.
    (A1)
  6. Other solutions differ by a multiple of 13653=455\frac{1365}{3} = 455 in xx and 2643=88\frac{264}{3} = 88 in yy, since 264×455=1365×88264 \times 455 = 1365 \times 88:
    x=212+455N,y=41+88N,N∈Zx = 212 + 455N, \quad y = 41 + 88N, \quad N \in \mathbb{Z}
    A1
  7. (ii) The right-hand side has doubled, so double the particular solution: x=2×212=424x = 2 \times 212 = 424, y=2×41=82y = 2 \times 41 = 82.
    (A1)
  8. The homogeneous part is unchanged, so add the same multiples:
    x=424+455N,y=82+88N,N∈Zx = 424 + 455N, \quad y = 82 + 88N, \quad N \in \mathbb{Z}
    A1

Answer(i) x=212+455Nx = 212 + 455N, y=41+88Ny = 41 + 88N (N∈Z)(N \in \mathbb{Z}); (ii) x=424+455Nx = 424 + 455N, y=82+88Ny = 82 + 88N (N∈Z)(N \in \mathbb{Z})

Watch outIn (ii), doubling the general step as well and writing x=424+910Nx = 424 + 910N, y=82+176Ny = 82 + 176N, which misses half of the solutions.

(c)3 marks

The lcm takes each prime to the highest power it appears with in either factorisation.

  1. Factorise 264:
    264=2×2×2×3×11264 = 2 \times 2 \times 2 \times 3 \times 11
    A1
  2. Factorise 1365:
    1365=3×5×7×131365 = 3 \times 5 \times 7 \times 13
    A1
  3. Take 232^3, 33, 55, 77, 1111 and 1313 (the shared 3 counted once):
    lcm=23×3×5×7×11×13=120120\text{lcm} = 2^3 \times 3 \times 5 \times 7 \times 11 \times 13 = 120120
    A1

Answer120120120120

Watch outCounting the common factor 3 twice and getting 360360360360.

Q2Number and algebra12 marks
(a)5 marks

From each vertex, move along the cheapest edge to a vertex not yet visited; once every vertex is visited, return to A. Any Hamiltonian cycle's weight is an upper bound.

  1. From A the cheapest edge is AB (4), so go to B.
    A1
  2. From B the cheapest unused edge is BC (1). From C, ignoring visited A and B, the cheapest is CF (2).
    A1
  3. From F the unvisited vertices are D (12) and E (7), so take FE. From E only D is left, so take ED (11).
    A1
  4. All vertices are visited, so close the cycle with DA (8): cycle ABCFEDA.
    A1
  5. Add the weights of the cycle:
    4+1+2+7+11+8=334 + 1 + 2 + 7 + 11 + 8 = 33
    A1

AnswerUpper bound =33= 33 (cycle ABCFEDA)

Watch outStopping at D and forgetting to add the return edge DA to the total.

(b)7 marks

A minimum spanning tree of the graph without A, plus the two cheapest edges from A, weighs no more than any Hamiltonian cycle, so it gives a lower bound.

  1. Delete A. Apply Kruskal's algorithm to B, C, D, E, F, taking edges in increasing weight: first BC (1).
    A1
  2. Next CF (2).
    A1
  3. BF (3) would make the cycle BCF, so reject it. Next add CD (5).
    A1
  4. Edges of weight 7 or less left: EF (7), which connects E, so add it. The tree now spans all five vertices, weight 1+2+5+7=151 + 2 + 5 + 7 = 15.
    A1
  5. Reconnect A using its two cheapest edges, AB (4) and AF (6).
    (M1)(A1)
  6. Lower bound is the tree weight plus these two edges:
    1+2+5+7+4+6=251 + 2 + 5 + 7 + 4 + 6 = 25
    A1

AnswerLower bound =25= 25

Watch outIncluding BF (3) in the tree; it joins B and F, which are already connected through C, so it creates a cycle.

Q3Number and algebra9 marks
(a)2 marks

An Eulerian circuit is a special circuit, so define a circuit first and then add the condition about edges.

  1. (i) A circuit is a walk that starts and finishes at the same vertex and never uses an edge more than once.
    A1
  2. (ii) An Eulerian circuit is a circuit that uses every edge of the graph.
    A1

Answer(i) A walk that begins and ends at the same vertex with no repeated edges; (ii) a circuit that contains every edge of the graph.

Watch outSaying an Eulerian circuit visits every vertex; that describes a Hamiltonian cycle, not an Eulerian circuit.

(b)3 marks

With six vertices each vertex has degree 5 in the complete graph, so its degrees in GG and G′G' add to 5, an odd number, which flips every parity.

  1. A graph with an Eulerian circuit has every vertex of even degree, so each vertex of GG has degree 2 or 4 (a vertex has at most 5 neighbours).
    A1
  2. Each vertex has degree 55 in K6K_6, so its degree in G′G' is 5−2=35 - 2 = 3 or 5−4=15 - 4 = 1. Hence every vertex of G′G' has odd degree.
    R1
  3. An Eulerian circuit needs all degrees even, so G′G' cannot have an Eulerian circuit.
    R1

AnswerNo: every vertex of GG has even degree (2 or 4), so every vertex of G′G' has odd degree (3 or 1), and G′G' cannot have an Eulerian circuit.

Watch outChecking only one particular graph GG; the argument must work for every six-vertex graph with an Eulerian circuit.

(c)4 marks

A connected graph has an Eulerian trail but no Eulerian circuit exactly when it has two odd vertices; in K5K_5 every degree is 4, so a vertex's degree in H′H' is 44 minus its degree in HH and keeps the same parity, so you need a connected HH with exactly two odd vertices whose complement is also connected.

  1. Aim for degrees 1,3,2,2,21, 3, 2, 2, 2 in HH. Then H′H' has degrees 3,1,2,2,23, 1, 2, 2, 2: again exactly two odd vertices and three vertices of degree 2.
  2. Draw HH with vertices A,B,C,D,EA, B, C, D, E and edges AB,BC,CD,DE,EBAB, BC, CD, DE, EB: a 4-cycle BB–CC–DD–EE with a pendant edge from BB to AA. Degrees: A=1A = 1, B=3B = 3, C=D=E=2C = D = E = 2.
    A2
  3. Draw H′H' using the five pairs of K5K_5 not in HH: edges AC,AD,AE,BD,CEAC, AD, AE, BD, CE. This is the triangle AA–CC–EE with the path AA–DD–BB attached. Degrees: A=3A = 3, B=1B = 1, C=D=E=2C = D = E = 2.
    A2
  4. Both graphs are connected with exactly two odd vertices (AA and BB), so each has an Eulerian trail from AA to BB (for HH: A,B,C,D,E,BA, B, C, D, E, B; for H′H': A,C,E,A,D,BA, C, E, A, D, B) but no Eulerian circuit.

AnswerFor example, HH: edges AB,BC,CD,DE,EBAB, BC, CD, DE, EB (a 4-cycle with a pendant edge); H′H': edges AC,AD,AE,BD,CEAC, AD, AE, BD, CE (a triangle with a path of length 2 attached). Each graph has three vertices of degree 2 and two odd vertices.

Watch outDrawing H′H' without checking that its edges are exactly the pairs missing from HH; HH and H′H' together must give all 10 edges of K5K_5.

Q4Number and algebra13 marks
(a)4 marks

Substitute the proposed unu_n into the left-hand side and group the α\alpha terms and the β\beta terms; each group contains the quadratic ax2+bx+cax^2 + bx + c evaluated at a root, which is zero.

  1. Substitute un=Aαn+Bβnu_n = A\alpha^n + B\beta^n (and the matching expressions for un+1u_{n+1}, un+2u_{n+2}) into the left-hand side:
    aun+2+bun+1+cun=a(Aαn+2+Bβn+2)+b(Aαn+1+Bβn+1)+c(Aαn+Bβn)au_{n+2} + bu_{n+1} + cu_n = a\left(A\alpha^{n+2} + B\beta^{n+2}\right) + b\left(A\alpha^{n+1} + B\beta^{n+1}\right) + c\left(A\alpha^n + B\beta^n\right)
    M1A1
  2. Take out the common factors AαnA\alpha^n and BβnB\beta^n:
    =Aαn(aα2+bα+c)+Bβn(aβ2+bβ+c)= A\alpha^n\left(a\alpha^2 + b\alpha + c\right) + B\beta^n\left(a\beta^2 + b\beta + c\right)
    A1
  3. Since α\alpha and β\beta are roots of ax2+bx+c=0ax^2 + bx + c = 0, both brackets equal 00, so the whole expression is 00 and the recurrence is satisfied for any AA and BB.
    R1AG

Answeraun+2+bun+1+cun=Aαn(aα2+bα+c)+Bβn(aβ2+bβ+c)=0au_{n+2} + bu_{n+1} + cu_n = A\alpha^n(a\alpha^2 + b\alpha + c) + B\beta^n(a\beta^2 + b\beta + c) = 0

Watch outWriting =0= 0 on every line from the start; you must simplify the left-hand side and only conclude it is zero by using that α\alpha, β\beta are roots.

(b)9 marks

Use part (a): the auxiliary quadratic has roots 1±2i1 \pm 2\text{i}, so un=A(1+2i)n+B(1−2i)nu_n = A(1+2\text{i})^n + B(1-2\text{i})^n, then fix AA and BB from u0u_0 and u1u_1.

  1. The auxiliary equation uses the coefficients 1,−2,51, -2, 5:
    x2−2x+5=0x^2 - 2x + 5 = 0
    A1
  2. Solve it with the quadratic formula: x=2±4−202=2±4i2x = \frac{2 \pm \sqrt{4 - 20}}{2} = \frac{2 \pm 4\text{i}}{2}, so the roots are 1±2i1 \pm 2\text{i}.
    (M1)A1
  3. By part (a) the general solution is
    un=A(1+2i)n+B(1−2i)nu_n = A(1+2\text{i})^n + B(1-2\text{i})^n
    (A1)
  4. Substitute n=0n = 0 and n=1n = 1: u0=A+B=0u_0 = A + B = 0 and u1=A(1+2i)+B(1−2i)=4u_1 = A(1+2\text{i}) + B(1-2\text{i}) = 4.
    M1A1
  5. With B=−AB = -A, the second equation becomes A(1+2i)−A(1−2i)=4iA=4A(1+2\text{i}) - A(1-2\text{i}) = 4\text{i}A = 4, so A=1i=−iA = \frac{1}{\text{i}} = -\text{i} and B=iB = \text{i}.
    M1A1
  6. Substitute back. Equivalently, writing 1±2i=5 cis(±arctan⁡2)1 \pm 2\text{i} = \sqrt{5}\,\text{cis}(\pm\arctan 2) gives the real form 2(5)nsin⁡(narctan⁡2)2(\sqrt{5})^n\sin(n\arctan 2).
    un=i(1−2i)n−i(1+2i)nu_n = \text{i}(1-2\text{i})^n - \text{i}(1+2\text{i})^n
    A1

Answerun=i(1−2i)n−i(1+2i)nu_n = \text{i}(1-2\text{i})^n - \text{i}(1+2\text{i})^n, or un=2(5)nsin⁡(narctan⁡2)u_n = 2(\sqrt{5})^n\sin(n\arctan 2)

Watch outDividing by i\text{i} incorrectly: 44i=−i\frac{4}{4\text{i}} = -\text{i}, not i\text{i}.

Also listed asIB Math HL May 2017 Paper 3 Discrete