Discrete Mathematics · Propositional and predicate logic with proof methods
Let A={1,2,3,4} and B={3,4,5,6}
Problem
Let \(A=\{1,2,3,4\}\) and \(B=\{3,4,5,6\}\). Compute, by listing elements, each of the following sets: \[ A\cup B,\quad A\cap B,\quad A\setminus B,\quad B\setminus A,\quad A\triangle B,\quad\text{and}\quad\mathcal{P}(A\cap B), \] where \(\triangle\) denotes symmetric difference and \(\mathcal{P}\) denotes the power set.
Hint
Union is “in at least one,” intersection “in both,” difference “in the first but not the second,” and symmetric difference is the union of the two directed differences.
Check your work
Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.
Create a free account to check your answer and see the solution. Create a free account.
More Discrete Mathematics practice problems
- Let p, q, and r be propositionsPropositional and predicate logic with proof methods
- Let R be a relation on a set ASets, functions, relations, and equivalence classes
- Use strong induction to prove that every positive integer n can be written as n=2^k m…Sets, functions, relations, and equivalence classes
- (Honors) Let u_n be defined by u_0=0, u_1=1, and u_n=4u_(n-1)-4u_(n-2)+n for n≥ 2Induction, recursion, and invariants
- [Honors] Using inclusion-exclusion, find the number of permutations π of {1,2,…,9} such…Induction, recursion, and invariants
- Let n be a positive integerRecurrences, generating functions, and discrete asymptotics
- RSA decryption needs Euler, and Euler needs a coprime messageDivisibility, modular arithmetic, and elementary number theory
- Four labs sharing ten hours cannot exceed a per-lab capCombinatorics and inclusion-exclusion
- BFS two-coloring is the certificate that no odd cycle existsGraphs, trees, connectivity, and matchings