Discrete Mathematics and Graph Theory: Problems with Solutions

Degrees and the handshake lemma, walks and the adjacency matrix, connectivity, planarity, Ramsey-type problems, recurrence relations, derangements, Boolean functions and Hamming distance, with step-by-step solutions.

Problem 1
Prove that in every simple graph with [tex]n\ge 2[/tex] vertices there are at least two vertices of equal degree.
Problem 2
The dual of a Boolean function [tex]f(x_1,\ldots,x_n)[/tex] is defined as [tex]f^*(x_1,\ldots,x_n)=\overline{f(\overline{x_1},\ldots,\overline{x_n})}[/tex]. Find the dual of the function [tex]f(x,y)=x\oplus y\oplus 1[/tex], where [tex]\oplus[/tex] denotes addition modulo [tex]2[/tex].
Problem 3
The graph [tex]G=(V,E)[/tex] has vertices [tex]V=\{v_1,v_2,v_3,v_4,v_5\}[/tex] and edges [tex]E=\{v_1v_3,\ v_1v_4,\ v_1v_5,\ v_2v_4,\ v_2v_5,\ v_3v_5,\ v_4v_5\}[/tex]. How many walks of length [tex]4[/tex] from [tex]v_2[/tex] to [tex]v_5[/tex] are there? (A walk of length [tex]4[/tex] from [tex]v_2[/tex] to [tex]v_5[/tex] is a sequence of vertices [tex]v_2=u_0,u_1,u_2,u_3,u_4=v_5[/tex] in which every two consecutive vertices are joined by an edge; vertices and edges may repeat.)
Problem 4
Find the general term of the sequence defined by [tex]a_1=1[/tex], [tex]a_2=2[/tex] and [tex]a_n=3a_{n-1}-2a_{n-2}+1[/tex] for [tex]n\ge 3[/tex].
Problem 5
Let [tex]G[/tex] be a finite simple graph with at least three vertices that has exactly one vertex of degree [tex]1[/tex]. Prove that [tex]G[/tex] contains a cycle.
Correct:
Wrong:
Unsolved problems:
Suggest a problem on this page

Feedback   Contact email:
Follow us on   X   Facebook

Copyright © 2005 - 2026.