Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Original public practice · D-1 · October 2026

Bring discrete mathematics together.

Choose a method, state its conditions and build an argument across topics. This form contains twelve multipart questions worth 100 practice points.

This is an original Learn by Exploring cumulative practice form. It is not an official university examination, a calibrated grade prediction or proof of complete course coverage. The broader discrete curriculum and additional forms remain in development.

Attempt, review, then revise

Record your work on paper or in your own document before opening a solution. This page does not save responses, assign a grade or mark lessons complete. Public answers make this exposed practice; a later attempt is not an untouched examination.

For an optional timed rehearsal, allow 180 minutes: approximately 55 for foundations, 60 for structures and 65 for counting and probability. These are author estimates, not validated timings. Use exact arithmetic without a calculator or code for the first attempt. You may take breaks, work one section at a time or use appropriate accommodations; no timer or navigation lock is enforced.

State definitions, domains and hypotheses when using a theorem. Unless a question asks you to prove a result, standard results from the linked lessons may be cited with their hypotheses checked. Give a counterexample with every claimed property verified. A numerical answer alone does not earn proof points.

Printing includes questions and supplied diagrams. Worked solutions and the review section are excluded, even when their disclosures are open. Use a separate answer sheet.

1. Foundations and number

32 practice points. Attempt the questions before consulting their worked arguments.

Question 1: Specify and classify an integer map

8 points

For each positive integer k define F_k:Z→Z by F_k(n)=floor(kn/3), where floor means the greatest integer not exceeding its argument. All quantified variables below range over integers. Do not replace the domain Z by the nonnegative integers. Suggested time: 15 minutes.

(a) · 2 points

Give a predicate P(k,n,y) equivalent to F_k(n)=y using only integer constants, addition, multiplication, equality, strict inequality and logical connectives. Give an arithmetic-quantifier formula saying y is in the image, with no floor, division or image notation inside the formula. Derive the exact interval of possible integer preimages n in terms of ceilings.

(b) · 3 points

For k=5, describe the image exactly by residue classes modulo 5 and give every preimage of each image value. Demonstrate that your answer handles negative integers by finding the preimage of −2 and deciding whether −1 has a preimage.

(c) · 3 points

Classify F_k as injective, surjective and bijective for every positive integer k. Prove each assertion; examples alone are insufficient.

Review question 1: worked argument and scoring criteria

(a)

One predicate is ((3y<kn) or (3y=kn)) and kn<3y+3. The image formula is ∃n [((3y<kn) or (3y=kn)) and kn<3y+3]. It is equivalent to 3y≤kn<3(y+1). Since k>0, the integer preimages are exactly ceil(3y/k)≤n≤ceil(3(y+1)/k)−1. An interval with lower endpoint greater than its upper endpoint gives no preimage. The upper bound uses a ceiling minus one because the original upper inequality is strict, including when its endpoint is integral.

  • 1 point: Gives both the permitted-symbol predicate and its existential image formula with the correct strict upper bound.
  • 1 point: Derives both integer preimage bounds correctly, including an integral upper endpoint and empty intervals.

(b)

Write any n uniquely as n=3q+r with q∈Z and r∈{0,1,2}. Then F_5(n)=5q+floor(5r/3), giving 5q,5q+1,5q+3 respectively. Thus the image is exactly the residue classes 0,1,3 modulo 5. Each output has one preimage: 5q↦3q, 5q+1↦3q+1, 5q+3↦3q+2. The three residue classes are disjoint and each displayed n produces its output, proving both exhaustiveness and uniqueness. Since −2=5(−1)+3, its preimage is −1. The value −1 has residue 4 modulo 5 and is absent.

  • 1 point: Derives all three output cases from division with remainder valid on Z.
  • 1 point: Proves the exact image and the unique preimage formulas in both directions.
  • 1 point: Computes the negative examples correctly rather than using truncation toward zero.

(c)

For k=1 or 2, 0 and 1 have the same output 0, so the map is not injective. For any y, choose n=ceil(3y/k). Then kn≥3y and kn<3y+k≤3y+2<3y+3, proving surjectivity for k=1,2. For k=3 the map is the identity and is bijective. For k≥4, if n increases by at least one, kn/3 increases by more than one, so its floor increases by at least one; hence the map is injective. It is not onto: among n=0,1,2,3 the three consecutive output increments are positive integers summing to F_k(3)−F_k(0)=k≥4, so one increment is at least two. An integer strictly between those consecutive outputs is missed globally because the map is strictly increasing. Therefore injectivity holds exactly for k≥3, surjectivity exactly for k≤3, and bijectivity only for k=3.

  • 1 point: Proves noninjectivity and surjectivity for both k=1 and k=2.
  • 1 point: Handles k=3 and proves strict increase for all k≥4.
  • 1 point: Proves a genuinely omitted value for every k≥4 and states the full classification.

Targeted review:

Question 2: Build a representation rather than assume it

8 points

A device dispenses batches of exactly 7 or exactly 10 identical items. A feasible total is 7a+10b with nonnegative integers a,b. Suggested time: 13 minutes.

(a) · 3 points

Give explicit feasible representations for every integer from 54 through 60 inclusive. Explain why this block is appropriate for an induction step that subtracts 7.

(b) · 3 points

Prove every n≥54 is feasible by strong induction. Turn the proof into a terminating construction for a,b, and apply it to n=103 using your base block.

(c) · 2 points

Prove that 53 is not feasible and conclude that 54 is the smallest integer N such that every integer n≥N is feasible.

Review question 2: worked argument and scoring criteria

(a)

The representations are 54=7·2+10·4, 55=7·5+10·2, 56=7·8+10·0, 57=7·1+10·5, 58=7·4+10·3, 59=7·7+10·1, 60=7·0+10·6. These are seven consecutive base values. For any n≥61, n−7≥54; therefore a strong-induction hypothesis covering all smaller totals down to 54 applies to n−7 without falling below the proved range.

  • 2 points: Gives all seven correct nonnegative representations; award one of these two points if exactly one representation is missing or incorrect.
  • 1 point: Explains why seven consecutive bases cover the subtraction step and checks its first eligible input.

(b)

Assume all integers from 54 through n−1 are feasible, with n≥61. The smaller value n−7 has representation 7a+10b by the hypothesis, so n=7(a+1)+10b with nonnegative coefficients. Together with the base block this proves the claim. Constructively, repeatedly subtract 7 while the current total exceeds 60. Each such step leaves a value at least 54 and strictly decreases it, so eventually the value lies in 54,…,60. Use its listed representation and add the number of subtractions to the coefficient of 7. From 103, seven subtractions reach 54, giving a=2+7=9,b=4 and 103=63+40.

  • 1 point: States a valid strong-induction hypothesis and proves the step with nonnegative coefficients.
  • 1 point: Defines a terminating construction and proves it remains in the allowed domain.
  • 1 point: Produces and checks the requested representation of 103.

(c)

If 53=7a+10b with a,b≥0, reduction modulo 7 gives 3b≡4, hence b≡6 modulo 7 (multiply by 5). Nonnegativity implies b≥6 and thus 10b≥60>53, a contradiction. The proof above covers all n≥54. Any proposed N≤53 would include the infeasible value 53 among its required totals, so 54 is the smallest threshold.

  • 1 point: Derives the residue restriction on b and the nonnegativity contradiction.
  • 1 point: Combines the obstruction with the induction to justify minimality of the threshold.

Targeted review:

Question 3: Track numerator and denominator prime exponents

8 points

For a positive integer n and prime p, let v_p(n) be the exponent of p in its unique prime factorization. You may use unique prime factorization and v_p(xy)=v_p(x)+v_p(y) for positive integers. Let a,b be coprime positive integers and r≥2. Suggested time: 13 minutes.

(a) · 4 points

Prove that the positive real rth root of a/b is rational if and only if every prime exponent in each of a and b is divisible by r. Your proof must address the denominator, cancellation and the converse construction.

(b) · 4 points

Determine whether each positive sixth root is rational, giving its exact value when rational: U=(2^12·3^18)/(5^6), V=(2^12·3^17)/(5^6). For V, show explicitly why assuming a rational root in lowest terms creates an impossible exponent equation; do not merely cite a decimal approximation.

Review question 3: worked argument and scoring criteria

(a)

If the root is c/d in lowest terms with c,d positive, then bc^r=ad^r. For a prime p write α=v_p(a),β=v_p(b),γ=v_p(c),δ=v_p(d). Equality gives β+rγ=α+rδ. Since a,b are coprime, at most one of α,β is positive. The equation implies α−β is divisible by r, so every positive exponent in either a or b is divisible by r. Coprimality of c,d also shows exactly how numerator and denominator arise: if α>0, then β=0 and γ>δ, forcing δ=0, so α=rγ; similarly β>0 forces γ=0 and β=rδ. Primes absent from both a,b satisfy γ=δ and hence both zero. Conversely, divide each exponent of a and b by r to build positive integers c and d. Then c^r=a,d^r=b, so c/d is the positive root. This also handles a=1 or b=1, whose prime exponent lists are empty.

  • 1 point: Writes the reduced rational root and correct integer equation including the denominator.
  • 1 point: Uses prime exponents and coprimality to prove the divisibility requirement on both numerator and denominator.
  • 1 point: Explains why cancellation or primes absent from a,b do not create an exception.
  • 1 point: Constructs the rational root in the converse and handles exponent-zero/unit boundaries.

(b)

The displayed fractions are reduced because their numerator primes differ from 5. Every exponent for U is divisible by 6, so its positive sixth root is 2²·3³/5=108/5. For V, suppose the root is c/d in lowest terms. Then 5^6c^6=2^12·3^17d^6. Taking the exponent of 3 gives 6v_3(c)=17+6v_3(d), impossible modulo 6. Thus the sixth root of V is irrational. The denominator exponent 6 is compatible with a rational root but cannot repair the numerator exponent 17. Positivity selects the stated positive root.

  • 1 point: Checks reduction and applies the exponent criterion to U.
  • 1 point: Computes the exact positive value 108/5.
  • 1 point: Derives the explicit exponent equation for V from a rational-root assumption.
  • 1 point: Uses its modular contradiction and explains why denominator cancellation cannot rescue it.

Targeted review:

Question 4: Use prime valuations without treating composite bases as primes

8 points

Let a₁,…,a_t be a nonempty finite family of positive integers. You may use unique prime factorization and the criterion that x divides y exactly when v_p(x)≤v_p(y) for every prime p. Suggested time: 14 minutes.

(a) · 3 points

Prove v_p(gcd(a₁,…,a_t))=min_i v_p(a_i) and v_p(lcm(a₁,…,a_t))=max_i v_p(a_i). Use your result to derive gcd(a,b)lcm(a,b)=ab for positive a,b.

(b) · 2 points

For a positive integer n define w(n) as the largest e≥0 with 4^e dividing n. Refute the claim w(xy)=w(x)+w(y) for all positive integers. Explain why copying a prime-valuation proof to base 4 is invalid.

(c) · 3 points

Find all integers z satisfying z≡14 (mod 18) and z≡8 (mod 30). Prove completeness of your answer and identify the period using gcd/lcm. Do not assume the coprime CRT applies to moduli 18 and 30.

Review question 4: worked argument and scoring criteria

(a)

The integer formed by taking each prime’s minimum exponent divides every a_i. Every common divisor has exponent at most each v_p(a_i), hence at most the minimum, and therefore divides this constructed integer. It is the gcd. Taking maximum exponents gives a common multiple dividing every common multiple, hence the lcm. Only finitely many primes appear in the finite family, so the constructed products are finite. For two inputs, min(α,β)+max(α,β)=α+β at every prime. The product gcd(a,b)lcm(a,b) and ab thus have identical prime exponents and are equal by uniqueness.

  • 1 point: Proves the minimum construction is the gcd using both divisibility claims.
  • 1 point: Proves the maximum construction is the lcm and notes the finite products.
  • 1 point: Derives the product identity prime by prime.

(b)

Take x=y=2. Neither is divisible by 4, so w(2)=0, while xy=4 gives w(4)=1. The product combines two factors of 2 into one factor of 4. In fact w(n)=floor(v_2(n)/2), and floors of half-exponents need not add. Prime exponents add because prime factorization counts individual prime factors; a composite block can be assembled across the two multiplicands.

  • 1 point: Supplies and verifies an explicit failed additive identity.
  • 1 point: Explains the composite-factor mechanism, for example using floor(v_2(n)/2).

(c)

A necessary compatibility condition is that gcd(18,30)=6 divide the residue difference 14−8=6, which holds. Write z=14+18t. The second condition gives 18t≡−6≡24 modulo 30, equivalent to 3t≡4 modulo 5 after division by 6. Since 3 has inverse 2 modulo 5, t≡3 modulo 5. Thus z=68+90k for every integer k. Substitution verifies both original congruences. Conversely each solution had the displayed t and must satisfy that reduced congruence, so no others exist. The period is lcm(18,30)=18·30/6=90; the difference of any two solutions is divisible by both moduli and hence by 90.

  • 1 point: Uses the gcd compatibility check and correctly reduces the equation for t.
  • 1 point: Finds the full integer family and verifies both congruences.
  • 1 point: Proves completeness and connects the period to the lcm without invoking a coprime hypothesis falsely.

Targeted review:

2. Structures and algorithms

32 practice points. Attempt the questions before consulting their worked arguments.

Question 5: Composition of partial expression functions

8 points

Inputs and constants are rational numbers. Finite expressions have exactly these constructors: Const(c) for any rational c; Var; Add(E,F); and Div(E,F). Const(c) is defined at every rational input with value c, and Var has value x at input x. Add is defined only when both children are defined; Div is defined only when both children are defined and the denominator value is nonzero. There is no cancellation rule that changes a domain. Write D(E) for the domain. Define syntactic substitution E[F] by replacing every Var leaf of E by F, leaving constant leaves unchanged and preserving each Add and Div constructor. Separately, the partial-function composition E∘F is defined exactly when x is in D(F) and F(x) is in D(E).

(a) · 2 points

Give recursive formulas for D(Add(E,F)) and D(Div(E,F)). Prove by structural induction that every defined expression value is rational.

(b) · 4 points

Prove for every E and F that, for each x in D(F), E[F] is defined at x if and only if E is defined at F(x), and the values then agree. Deduce D(E∘F)=D(F)∩D(E[F]). Is the intersection with D(F) always removable? Give an explicit counterexample if not.

(c) · 2 points

Let E(t)=(t−1)/(t−1) and F(x)=1/(x−2), using Add with negative constants for subtraction. Determine the exact domain and simplified formula of E∘F. Identify an input at which the simplified formula alone would improperly extend this composition.

Review question 5: worked argument and scoring criteria

(a)

The domains are D(E)∩D(F) and {x in D(E)∩D(F): F(x)≠0}, respectively. Constants and the variable return rational values at rational inputs. For an Add node, the induction hypotheses give two rational defined child values, whose sum is rational. For a Div node, they give rational child values with a nonzero denominator by the domain rule, so the quotient is rational. These are every constructor of a finite expression.

  • 1 point: Gives both domain formulas, including the nonzero defined denominator condition.
  • 1 point: Covers both leaves and both recursive constructors in a rational-value structural induction.

(b)

Fix F and x in D(F), and put y=F(x). Induct on E. For Const(c), both substituted and original-at-y expressions are defined with value c. For Var, the substituted expression is F and the original-at-y value is y, so both are defined and agree. For Add(U,V), each child is defined at x after substitution exactly when its original is defined at y, by the induction hypotheses; when defined, the corresponding child values agree. Hence the conjunction of child-definedness and their sum agree. For Div(U,V), the same equivalence holds for both children, and equality of the denominator values makes the nonzero-denominator conditions equivalent; their quotients then agree. The induction covers every finite E. Composition also explicitly requires x in D(F), giving the stated intersection formula. It cannot be removed: take E=Const(7) and F=Div(Const(1),Var). Then E[F]=Const(7) has domain all rational numbers, while E∘F has domain all nonzero rational numbers.

  • 1 point: States a strengthened definedness-and-value induction and handles constant and variable leaves with x in D(F).
  • 1 point: Proves both directions for Add using both child hypotheses.
  • 1 point: Handles both child domains and the denominator nonzero test for Div, then deduces the domain intersection.
  • 1 point: Supplies a genuine constant-expression counterexample with the two different domains.

(c)

F requires x≠2. E requires t≠1, so F(x)≠1 further requires x≠3. On the resulting domain Q without {2,3}, E(F(x))=1. The constant expression 1 alone is defined at x=3, but the original outer denominator is zero there. At x=2 the inner function is undefined. Cancellation preserves values on the original domain but does not fill either excluded input.

  • 1 point: Derives both exclusions x=2 and x=3 from the nested original domains.
  • 1 point: Gives the constant value 1 on that domain and explains an invalid extension at x=3 or x=2.

Targeted review:

Question 6: A safe state need not be reachable

8 points

Two storage cells have integer capacities 11 and 13. Their current contents are (x,y), initially (6,8). A permitted transfer moves exactly 3 units from one cell to the other: (x,y)→(x−3,y+3) requires x≥3 and y+3≤13; (x,y)→(x+3,y−3) requires y≥3 and x+3≤11. There are no other transitions. An operator may stop at any time. A terminal state means a state with no permitted transition, not merely a state where the operator chooses to stop.

(a) · 3 points

Prove by induction on execution length that all reachable states satisfy the capacity bounds, x+y=14, and x≡0 (mod 3). State the corresponding congruence for y.

(b) · 3 points

List every reachable state and prove your list is complete. Give a state satisfying both capacity bounds and the conserved total that is nevertheless unreachable, identifying the obstruction.

(c) · 2 points

Does every execution terminate? Does any reachable terminal state exist? Explain how the answer differs from the operator choosing to stop after one transfer.

Review question 6: worked argument and scoring criteria

(a)

Initially 0≤6≤11, 0≤8≤13, the total is 14, and x≡0, y≡2 modulo 3. In a transfer from x to y the source guard ensures x−3≥0 and the destination guard ensures y+3≤13; the other two bounds are preserved since x decreases and y increases. The reverse transfer has the symmetric argument. Each move changes the total by zero and each coordinate by a multiple of 3. Thus induction proves all claims, including y≡2 modulo 3.

  • 1 point: Checks every invariant at the initial state.
  • 1 point: Uses the source and destination guards to preserve all capacity bounds in both directions.
  • 1 point: Proves conservation and both congruences under either move and concludes induction.

(b)

Conservation and bounds require 1≤x≤11: y=14−x must lie between 0 and 13. The congruence leaves x=3,6,9, giving (3,11),(6,8),(9,5). Both outer states are reached from (6,8) by one legal move, so all three are reachable; the necessary invariant excludes every other candidate. The state (7,7) satisfies the bounds and total but has x not divisible by 3, so it is unreachable. Any similarly justified counterexample is acceptable.

  • 1 point: Uses all invariant restrictions to obtain exactly the three candidates.
  • 1 point: Provides legal paths realizing each candidate, establishing sufficiency for this specific list.
  • 1 point: Gives and justifies a bound-safe, total-preserving but unreachable state.

(c)

No forced termination holds: (6,8)→(3,11)→(6,8) can repeat forever, and every move is guarded. There is no reachable terminal state: (3,11) can move to (6,8), (9,5) can move to (6,8), and (6,8) has both moves. The operator can still choose to stop at any of these states; voluntary stopping is not disabledness of all transitions.

  • 1 point: Gives an explicit infinite legal cycle, rather than inferring termination from a finite state space.
  • 1 point: Checks the reachable states for enabled moves and distinguishes voluntary stopping from terminality.

Targeted review:

Question 7: All maximum antichains and a resource certificate

8 points

Seven jobs A,B,C,D,E,F,G each require exactly one time unit on one worker, with no preemption. The supplied DAG has exactly four edges: A→D, D→F, B→E, E→G. There are no other edges; C is isolated. An edge means its source must finish before its target starts. The associated partial order includes transitive precedence. Two identical workers are available from time 0. A job finishing at time t permits its successor to start at that same time t. An antichain contains mutually incomparable jobs; maximum means greatest cardinality, not merely inclusion-maximal.

ADFBEGC

Diagram equivalent: Two chains A to D to F and B to E to G, together with isolated C. Only the four listed arrows are edges. Vertices: A, D, F, B, E, G, C. Directed edges: A → D; D → F; B → E; E → G. The drawing's distances have no mathematical significance.

(a) · 4 points

Determine the maximum antichain size, list ALL maximum antichains explicitly, and prove that none are missing.

(b) · 4 points

Give a two-worker schedule with minimum possible completion time and prove optimality. State both a precedence lower bound and a total-work lower bound. Explain why maximum antichain size alone is not a completion-time certificate.

Review question 7: worked argument and scoring criteria

(a)

The three chains {A,D,F}, {B,E,G}, {C} partition the vertices. An antichain uses at most one member of each, so its size is at most 3. There is no precedence across these three chains, so choosing C, one vertex from the first chain, and one from the second always gives size 3. The nine maximum antichains are {A,B,C},{A,C,E},{A,C,G},{B,C,D},{C,D,E},{C,D,G},{B,C,F},{C,E,F},{C,F,G}. To have size 3, every antichain must select one member of each partition chain, so this list is exhaustive.

  • 1 point: Proves the upper bound 3 using a chain partition and transitive comparability.
  • 1 point: Shows that one choice from each chain is an antichain of size 3.
  • 1 point: Lists all nine distinct maximum antichains without an invalid set.
  • 1 point: Explains why every maximum antichain has this form, certifying completeness.

(b)

One schedule is worker 1: A on [0,1], D on [1,2], F on [2,3], C on [3,4]; worker 2: B on [0,1], E on [1,2], G on [2,3], then idle. All four precedence constraints and the same-time finish/start rule are satisfied. A length-three chain forces completion time at least 3. Seven units of work on two workers force time at least 7/2. More strongly, each worker executes an integer number of whole unit jobs, so one must execute at least 4 jobs and needs at least 4 elapsed time units, even if arbitrary real start times are allowed. The displayed schedule attains 4. Width 3 describes mutually incomparable jobs, not their complete resource-constrained timing; it does not replace either lower-bound argument.

  • 1 point: Supplies a complete schedule finishing at 4 with no overlap on a worker.
  • 1 point: Checks every precedence edge and states the length-three-chain bound.
  • 1 point: Proves the four-unit work-allocation lower bound, valid even with real start times.
  • 1 point: Combines the lower bound and attaining schedule and distinguishes width from makespan.

Targeted review:

Question 8: Proposal traces with an unmatched participant

8 points

There are four proposers A,B,C,D and three receivers X,Y,Z. Lists are complete and strict, and every participant prefers any listed partner to being unmatched. Proposer lists, best first: A: X,Y,Z; B: X,Z,Y; C: Y,X,Z; D: Z,Y,X. Receiver lists, best first: X: C,A,B,D; Y: B,D,C,A; Z: A,C,D,B. A free proposer with an untried receiver may propose; the receiver retains the better of the new proposal and any currently held proposer. For the requested trace always choose the alphabetically first eligible free proposer. Stop when no free proposer has an untried receiver. A blocking pair is an unmatched proposer–receiver pair for which both strictly prefer each other to their current assignment, treating unmatched as worst.

(a) · 3 points

Run the specified procedure. List the ordered proposals and give the final pairs and unmatched participant. Check stability directly using all pairs that some proposer prefers to their final assignment.

(b) · 3 points

Prove for ANY strict complete lists on four proposers and three receivers, and any choice of eligible proposer at each step, that this procedure terminates after at most 12 proposals, fills all three receivers, and returns a stable matching. Do not use the specific trace as a general proof.

(c) · 2 points

Now remove the complete-list assumption: unlisted partners are unacceptable, participants prefer remaining unmatched to such partners, and only listed acceptable proposals occur. Give a four-proposer/three-receiver example with a stable result leaving a receiver unfilled. Explain exactly which inference in part (b) no longer applies.

Review question 8: worked argument and scoring criteria

(a)

The proposal sequence is A→X, B→X, B→Z, C→Y, D→Z, B→Y, C→X, A→Y, A→Z, D→Y, D→X. The final pairs are A–Z, B–Y, C–X, with D unmatched. A prefers X and Y to Z, but X prefers C to A and Y prefers B to A. B prefers X and Z to Y, but X prefers C to B and Z prefers A to B. C prefers Y to X, but Y prefers B to C. D prefers every receiver to being unmatched, but X prefers C to D, Y prefers B to D and Z prefers A to D. These exhaust possible blocking pairs.

  • 1 point: Gives the ordered proposal trace with the correct replacements and rejections.
  • 1 point: Identifies all three final pairs and unmatched D.
  • 1 point: Checks every proposer-preferred alternative, including all three alternatives for D, against the receiver ranking.

(b)

Each proposer advances through its list without repetition, so there are at most 4·3=12 proposals. A receiver that has ever received a proposal always holds someone thereafter, and replaces that person only with someone it prefers. At termination at least one proposer is free because at most three can be held. That free proposer has exhausted all three receivers; consequently every receiver has received a proposal and remains occupied. For a putative blocking pair p,r, proposer p must have proposed to r: a free proposer exhausted its list, and a matched proposer previously proposed to every receiver it prefers to its final partner. When r rejected or displaced p, it held someone it preferred to p; its subsequent held partners only improve. Its final partner is therefore preferred to p, contradicting blocking. This proves stability for every eligible-proposer schedule.

  • 1 point: Proves the no-repeat finite proposal bound.
  • 1 point: Uses an exhausted free proposer and persistent receiver occupancy to prove all receivers are filled.
  • 1 point: Proves stability using prior proposals and monotone receiver improvement for both matched and unmatched proposers.

(c)

Let the only mutually acceptable pairs be A–X and B–Y; C and D list nobody, Z lists nobody, and the other four lists contain only their respective one partner. A–X and B–Y form a stable matching with C,D,Z unmatched, since there is no unpaired mutually acceptable pair. An exhausted free proposer need not have proposed to all receivers: C and D have empty lists. Thus the complete-list argument that every receiver has received a proposal fails. No-repeat termination remains valid, but universal receiver saturation does not.

  • 1 point: Gives a concrete stable incomplete-list example with an unfilled receiver and checks acceptability/blocking.
  • 1 point: Identifies the failed exhausted-list-to-all-receivers implication without falsely rejecting termination.

Targeted review:

3. Counting and probability

36 practice points. Attempt the questions before consulting their worked arguments.

Question 9: Audit overlapping exclusions

9 points

A workshop has twelve distinct designs: three red, three blue and six neutral. A display is an unordered selection of six different designs. Every such selection is equally likely when a random display is requested. Colors classify designs; designs of the same color remain distinct.

(a) · 3 points

Count displays containing at least one red and at least one blue design. Define the excluded events and explain their intersection.

(b) · 3 points

Change the requirement to at least two red and at least one blue. Count valid displays by a disjoint partition, and explain why subtracting the same two events from part (a) is insufficient.

(c) · 3 points

Given that a uniformly random display met the original requirement, find the probability it meets the changed requirement. A reviewer instead proposes 397/924 and another proposes multiplying separate red and blue success probabilities. Diagnose both proposals.

Review question 9: worked argument and scoring criteria

(a)

There are C(12,6)=924 displays. Let A exclude all red and B exclude all blue. Each has C(9,6)=84 displays. Their intersection consists of choosing all six neutral designs, so |A∩B|=C(6,6)=1. Inclusion–exclusion gives 924−84−84+1=757.

  • 1 point: Counts the full unordered sample space as 924.
  • 1 point: Identifies both exclusion counts as 84 and the intersection as the single all-neutral display.
  • 1 point: Adds the intersection back and obtains 757.

(b)

Partition by exactly two or exactly three red designs. With two red, choose C(3,2) red sets and then four from the nine nonred designs, excluding choices of four neutral: 3[C(9,4)−C(6,4)]=333. With three red, choose three nonred designs with at least one blue: C(9,3)−C(6,3)=64. Total 397. Part (a) also admits exactly one red and therefore does not enforce the changed condition.

  • 1 point: Uses disjoint exactly-two/exactly-three red cases.
  • 1 point: Correctly excludes blue-free choices in both cases, obtaining 333 and 64.
  • 1 point: Obtains 397 and identifies the exactly-one-red defect in reusing part (a).

(c)

The changed event is a subset of the original event, so the conditional probability is 397/757. The denominator 924 answers the unconditional changed-requirement question. Red and blue counts in a fixed-size selection are not justified as independent: for instance, conditioning on no red gives probability C(6,6)/C(9,6)=1/84 of no blue, whereas the unconditional probability of no blue is 84/924=1/11. Thus multiplying the marginal success probabilities has no valid independence premise.

  • 1 point: Uses nesting and the conditional sample space to obtain 397/757.
  • 1 point: Explains which different probability 397/924 represents.
  • 1 point: Supplies a concrete dependence check or valid fixed-size-selection argument against multiplying unsupported marginals.

Targeted review:

Question 10: Shared edges create dependent vertex indicators

9 points

On five labeled vertices form a simple undirected random graph. Each of its ten possible edges is present independently with probability 1/3. Let I_v indicate that vertex v is isolated, and let X be the number of isolated vertices.

(a) · 3 points

Find P(I_v=1), E[X] and Var(I_v). State which part requires independence of edges and which does not require independence of vertex indicators.

(b) · 3 points

For different vertices u,v, calculate E[I_u I_v] and Cov(I_u,I_v). Explain the overlapping requirement explicitly.

(c) · 3 points

Compute Var(X). Explain why X is not Binomial(5,16/81), using both the variance and an impossible count.

Review question 10: worked argument and scoring criteria

(a)

Isolation requires absence of four distinct incident edges. By edge independence its probability is (2/3)^4=16/81. Linearity gives E[X]=5·16/81=80/81, without assuming independent vertex indicators. A Bernoulli indicator has variance (16/81)(65/81)=1040/6561.

  • 1 point: Counts four required absent edges and obtains 16/81.
  • 1 point: Uses linearity to obtain 80/81 without claiming independent vertex events.
  • 1 point: Computes indicator variance 1040/6561.

(b)

The two incident-edge sets each have size four and share exactly edge uv, so their union has seven edges. Both vertices are isolated with probability (2/3)^7=128/2187. Covariance is 128/2187−(16/81)^2=(384−256)/6561=128/6561, positive. Multiplying isolation probabilities would count the shared absent-edge requirement twice as if independent.

  • 1 point: Identifies exactly seven distinct required absent edges, including the one-edge overlap.
  • 1 point: Obtains joint expectation 128/2187.
  • 1 point: Subtracts the product of means and obtains positive covariance 128/6561.

(c)

Var(X)=5·1040/6561+2C(5,2)·128/6561=7760/6561. The binomial variance would be only 5200/6561, incorrectly omitting covariance. Also X=4 is impossible: if four vertices are isolated, no edge can touch any of them, and the remaining vertex has no possible neighbor and is isolated too. A Binomial(5,16/81) assigns positive probability to four.

  • 1 point: Includes all ten unordered covariance pairs with factor two.
  • 1 point: Obtains 7760/6561 and contrasts the binomial variance.
  • 1 point: Proves that exactly four isolated vertices is impossible, contradicting the proposed binomial law.

Targeted review:

Question 11: A finite guarantee from unequal block indicators

9 points

All elementary trials below are mutually independent fair binary trials. Create sixty disjoint blocks of two trials and forty disjoint blocks of three trials. A two-trial block counts as a success if at least one trial succeeds; a three-trial block counts as a success only if all three succeed. Let Y count successful blocks. No trial belongs to two blocks.

(a) · 3 points

Derive the two block success probabilities and justify independence of the one hundred block indicators. Is Y binomial with a single common success probability?

(b) · 3 points

Derive E[Y] and Var(Y). Use Chebyshev’s inequality to give a guaranteed lower bound for P(41≤Y≤59), keeping the integer endpoints explicit.

(c) · 3 points

A redesign computes all sixty two-trial indicators from the same pair of fair trials, and all forty three-trial indicators from a separate common triple. The five underlying trials remain independent. Which mean is unchanged? Calculate the new variance and explain why the previous guarantee cannot simply be retained.

Review question 11: worked argument and scoring criteria

(a)

A two-trial block fails only on two failures, so its success probability is 1−1/4=3/4. A three-trial block succeeds only on three successes, so its probability is 1/8. Functions of disjoint collections of mutually independent trials are independent: joint block events factor by summing the factored elementary outcomes within each block. The indicators are not identically distributed, so the usual binomial model does not apply. More conclusively, the mean forces a hypothetical Binomial(100,p) to have p=1/2, whose variance 25 differs from the actual variance below.

  • 1 point: Derives probabilities 3/4 and 1/8 from the elementary trials.
  • 1 point: Connects disjoint blocks and mutual trial independence to joint indicator independence.
  • 1 point: Rejects a common-probability binomial model with a correct nonidentical-probability or moment argument.

(b)

E[Y]=60(3/4)+40(1/8)=50. Independence gives Var(Y)=60(3/4)(1/4)+40(1/8)(7/8)=125/8. Since Y is integer, 41≤Y≤59 is exactly |Y−50|<10. Chebyshev bounds its complement P(|Y−50|≥10)≤(125/8)/100=5/32. Thus the requested probability is at least 27/32. This is a rigorous bound, not an exact probability or a normal approximation.

  • 1 point: Obtains mean 50 and variance 125/8 by summing the unequal Bernoulli moments.
  • 1 point: Identifies the complement with deviation at least 10, including Y=40 and 60.
  • 1 point: Applies Chebyshev and obtains the lower bound 27/32 with its bound interpretation.

(c)

Write Y=60U+40V, where independent U,V have success probabilities 3/4 and 1/8. The mean is still 50 by linearity. But Var(Y)=3600(3/16)+1600(7/64)=675+175=850. Indicators within each family are now identical rather than independent, so the old variance and its Chebyshev guarantee do not follow. Indeed Y can only be 0,40,60,100; none lies between 41 and 59, making the requested probability zero under this redesign.

  • 1 point: Retains mean 50 and expresses the redesigned count as 60U+40V.
  • 1 point: Computes variance 850 using squared coefficients and independence only between U and V.
  • 1 point: Explains the lost block independence and demonstrates failure of the old interval guarantee, ideally from the four-point support.

Targeted review:

Question 12: Fresh attempts versus a retained remainder

9 points

A synthetic inspection starts with three distinct tokens, two green and one blue, uniformly shuffled. One attempt inspects the first two tokens without replacement, paying one work unit per token. It succeeds if both are green. Both tokens are inspected even if the first is blue. After a failed attempt, protocol F discards its information and starts with a fresh independent shuffle of the full three-token collection. It allows at most three attempts, stopping at the first success.

(a) · 3 points

Derive the success probability of one attempt and of protocol F. State how many failures are possible at the cap and why fresh independent shuffles matter.

(b) · 3 points

Compute the expected number of attempts and expected work of F, including runs with no success. Why is using the uncapped geometric mean an error?

(c) · 3 points

Protocol R instead retains the original shuffle. After inspecting the first two, it stops if both were green; otherwise it inspects the last token and succeeds if that last token is green. Derive its success probability and expected work. A reviewer gives the last inspection success probability 2/3 by using the original proportion. Explain the error and compare R with F without claiming that every retention policy is superior.

Review question 12: worked argument and scoring criteria

(a)

One attempt succeeds with probability (2/3)(1/2)=1/3. Its failure probability is 2/3. Independent fresh attempts give probability (2/3)^3=8/27 of three failures and no success; hence success by the cap has probability 19/27. A failed attempt contains a blue token, but that information does not alter a newly independently shuffled full collection. This multiplication would not apply to a retained remainder.

  • 1 point: Uses without-replacement conditional probability to obtain single-attempt success 1/3.
  • 1 point: Obtains capped failure 8/27 and success 19/27.
  • 1 point: Identifies the independent full reset that justifies multiplying attempt failure probabilities.

(b)

Attempt one is always used, attempt two is used with probability 2/3, and attempt three with probability 4/9. Summing these indicators yields expected attempts 1+2/3+4/9=19/9 and work 2·19/9=38/9. All runs, including the 8/27 capped failures, are included. An unlimited geometric process would have mean three attempts and work six, but this process stops after at most three attempts regardless of success.

  • 1 point: Identifies the three attempt-use probabilities 1,2/3,4/9.
  • 1 point: Obtains expected attempts 19/9 and work 38/9 without conditioning on success.
  • 1 point: Distinguishes the finite-cap stopping rule from the unlimited geometric expectation.

(c)

Failure of the first pair means that pair contained the unique blue and exactly one green, so the last token is green with conditional probability one. Thus R always succeeds. It uses two inspections with probability 1/3 and three with probability 2/3, so expected work is 2(1/3)+3(2/3)=8/3. The reviewer ignores the observed composition: the remainder is not a fresh sample from the original proportions. Here R has greater success probability and lower expected work than F, but it uses a different success rule and retained information. This concrete comparison does not establish superiority of arbitrary retention policies.

  • 1 point: Conditions on the failed pair and proves the remaining token is green with certainty.
  • 1 point: Obtains success probability one and expected work 8/3.
  • 1 point: Diagnoses the unconditional-proportion error and qualifies the comparison by the changed information and success rule.

Targeted review:

Use the evidence to choose your next practice

Add only rubric points supported by the written work. A different valid proof may earn full credit. Award a later method point for a valid argument based on a carried-forward value unless that criterion explicitly requires the correct earlier result; do not award a correct-result point for an incorrect result. Record the exact missing hypothesis, invalid implication or calculation error.

The raw total is out of 100. There is no passing cutoff or university-grade conversion. A high total on this public sample does not establish coverage of every discrete topic or readiness for a particular institution's examination. Ask a teacher or reviewer to examine complete arguments, especially structural induction, invariants and probabilistic assumptions.

For each uncertain item, keep the original attempt, explain the error, use its targeted lesson return, and later solve an unfamiliar problem using the same mechanism. Distinguish reading a solution from independently constructing a proof. This form samples logic, number theory, induction, structures, counting and probability; it does not replace the source-coverage audits or the remaining teaching sequence.

Return to the mathematics program
Part of YoolVi · Learn by ExploringPublic practice · keep your own answersCourse site mapCopyright (c) 2026 Mobi Weave, Inc. All rights reserved