Alex F.

asked • 05/29/22

Set Theory - Functions & Set Duplicates

Hey there! I'm really looking to understand a property of set theory. I've built a function PS() that takes in a set and returns a set. However, the output set may have duplicates. The definition of a set says that a set may not have duplicates (ignoring other more lax forms of set theory). To be correct, does my function need to REMOVE duplicates from its output set to be correct, or do the laws of set theory mean that a set like {A, A, B, C} "reduces" to {A, B, C} automatically?

1 Expert Answer

By:

Stanton D. answered • 05/31/22

Tutor
4.6 (42)

Tutor to Pique Your Sciences Interest

Alex F.

Hey, thank you for your response! I was afraid you'd say that. The problem is that I want this to remain a mathematical function with an input set and an output set rather than utilize the type of "function" or "method" that we use when referring to a programming algorithm. Is removing the duplicates from a set often a necessary process that occurs in traditional mathematical set functions?
Report

05/31/22

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.