Defining a Function from a Set: A Practical Guide

  • Thread starter Thread starter jsmith0476
  • Start date Start date
  • Tags Tags
    Functions Sets
Click For Summary
SUMMARY

The discussion focuses on defining a function from a set A = {{1,2},{1,3},{2},{2,5},{3,4,5}} to the natural numbers N, where the function f is defined as the sum of the elements of each subset in A. The correct evaluations of f for each subset are f({2}) = 2, f({1,2}) = 3, f({1,3}) = 4, f({2,5}) = 7, and f({3,4,5}) = 12. The range of the function f is confirmed to be {2, 3, 4, 7, 12}, representing all possible outputs of f(a) for a in A.

PREREQUISITES
  • Understanding of set theory and functions
  • Basic knowledge of natural numbers (N)
  • Familiarity with summation of elements in sets
  • Concept of range in mathematical functions
NEXT STEPS
  • Study the properties of functions in set theory
  • Learn about the concept of range and its significance in mathematics
  • Explore examples of functions defined on different sets
  • Investigate the implications of function definitions in real-world applications
USEFUL FOR

Students of mathematics, educators teaching set theory, and anyone interested in understanding function definitions and their properties.

jsmith0476
Messages
5
Reaction score
0
Let A = {{1,2},{1,3},{2},{2,5},{3,4,5}}. Define f : A-->N by f(a)=the sum of the elements of a (for all a that are a member of A).

I am just not sure how to define a function from a set. I have been really sick and haven't been able to make it to class :( Can someone point me in the right direction?
 
Physics news on Phys.org
So I have been reading some other posts and I think I understand it a bit more. Tell me if this would be right:

f( {2} ) = 2,
f( {1,2} ) = 1 + 2 = 3,
f( {1,3} ) = 1 + 3 = 4,
f( {2,5} ) = 2 + 5 = 7,
f( {3,4,5} ) = 3 + 4 + 5 = 12.

And so if I were to find the range of f it would be f = {2, 3, 4, 7, 12}??
 
Yes, that is exactly what "the sum of the elements of a" means! And since, as usual, "range of f" means "set of all values of f(a)", the range is {2, 3, 4, 7, 12} as you say.
 

Similar threads

Replies
1
Views
2K
Replies
20
Views
5K
Replies
2
Views
1K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
Replies
16
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K