Home
Random
Recent changes
Special pages
Community portal
Preferences
About Qbase
Disclaimers
Qbase
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Complement of a Set
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Examples of Complement of a Set == === Example 1: Numbers === Let the universal set be: <math>U = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}</math> and let <math>A = \{2, 4, 6, 8, 10\}</math> Step 1: Universal set <math>U</math> contains numbers 1 to 10. Step 2: Set <math>A</math> contains even numbers 2, 4, 6, 8, 10. Step 3: Elements in <math>U</math> but not in <math>A</math> are odd numbers: 1, 3, 5, 7, 9. Step 4: Complement of <math>A</math> is: <math>A' = \{1, 3, 5, 7, 9\}</math> === Example 2: Letters === Let <math>U = \{\text{a}, \text{b}, \text{c}, \text{d}, \text{e}\}</math> and <math>B = \{\text{a}, \text{c}, \text{e}\}</math> Then, <math>B' = \{\text{b}, \text{d}\}</math> since these are the letters in <math>U</math> not in <math>B</math>. === Example 3: Shapes === Consider a universal set of shapes: <math>U = \{\text{circle}, \text{square}, \text{triangle}, \text{rectangle}\}</math> and set <math>C = \{\text{circle}, \text{triangle}\}</math> The complement of <math>C</math> is: <math>C' = \{\text{square}, \text{rectangle}\}</math> === Example 4: Numbers Between 1 and 15 === Let <math>U = \{1, 2, 3, \dots, 15\}</math> and <math>D = \{5, 6, 7, 8, 9\}</math> The complement of <math>D</math> is all numbers from 1 to 15 except 5 through 9: <math>D' = \{1, 2, 3, 4, 10, 11, 12, 13, 14, 15\}</math> === Example 5: Prime Numbers Up to 20 === Let <math>U = \{1, 2, 3, \dots, 20\}</math> and <math>E = \{2, 3, 5, 7, 11, 13, 17, 19\}</math> (the prime numbers) Then the complement of <math>E</math> is all numbers from 1 to 20 that are not prime: <math>E' = \{1, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20\}</math>
Summary:
Please note that all contributions to Qbase may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
My wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)