Determining if a function is surjective

  • Context: Undergrad 
  • Thread starter Thread starter smithnya
  • Start date Start date
  • Tags Tags
    Function Surjective
Click For Summary
SUMMARY

This discussion clarifies the concept of surjective functions, emphasizing the correct definition: a function f is surjective if for every element y in the codomain, there exists an element x in the domain such that f(x) = y. The example provided illustrates this definition using the function f(a,b) = (a+b)/2, demonstrating that for any positive real number y, suitable values for a and b can be found to satisfy the function, thus proving surjectivity. The distinction between the codomain and the image of a function is also highlighted, which is crucial for understanding surjectivity.

PREREQUISITES
  • Understanding of functions and their domains and codomains
  • Familiarity with logical notation and quantifiers
  • Basic knowledge of real numbers and their properties
  • Ability to manipulate algebraic expressions to solve for variables
NEXT STEPS
  • Study the differences between codomain and image in functions
  • Learn how to prove surjectivity using specific examples
  • Explore the concept of injective functions and their relationship with surjectivity
  • Investigate the implications of surjective functions in real-world applications
USEFUL FOR

Mathematics students, educators, and anyone studying functional analysis or related fields who seeks to deepen their understanding of surjective functions and their properties.

smithnya
Messages
41
Reaction score
0
I understand the concept of a surjective or onto function (to a degree). I understand that if the range and domain of the function are the same then the function is onto. My professor gave an additional definition which I did not understand. Here it goes:

\forally\inB \existsx\inA: f(x) = y

I understand that I need to solve the equation for x, but once I solve the equation for x, what is the next step. How do I use that to demonstrate the function is surjective?

Could you provide a function of your choosing and work out a problem, please?
 
Physics news on Phys.org
I understand that if the range and domain of the function are the same then the function is onto.

No. Take f:R+-->R where f(x) = x. Then the range and domain are the same and the function is not surjective.

The correct definition is the second one you listed, which is self-explanatory if you understand logical notation: For every element y in the codomain, there is an element x in the domain such that f(x) = y.
 
Number Nine said:
No. Take f:R+-->R where f(x) = x. Then the range and domain are the same and the function is not surjective.

The correct definition is the second one you listed, which is self-explanatory if you understand logical notation: For every element y in the codomain, there is an element x in the domain such that f(x) = y.

Whoops I meant if the range is equal to the codomain then the function is surjective.
 
If, for any y you are given, you can show that there's an x with f(x)=y, then you have proven that f is surjective. In other words: you need to show some way of determining the x for any y.

You say that "if the range and domain of the function are the same then the function is onto." This depends on your definition of "range". There are two:

(1) The set in which all images y=f(x) lie. This is also called the "codomain" of the function. For instance, if you look at the "square of an real number" function, all your images f(x) will be real numbers (never matrices, vectors or geometric objects like circles or lines). So your codomain is the set of all reals.

(2) The set of all images f(x) and no other elements. This is also called the "image" of the function. In our "square" example, the image contains only the positive reals and zero, since the square of a real number will never be negative.

In a typical example you will be given the codomain, and to show that your function is surjective, you must show that this codomain is also the image. Here's an example:

Consider the set of all pairs (a,b) of positive real numbers. The average of this pair is the number f(a,b) = (a+b)/2. The codomain of f is R+ (i.e. the set of all positive reals). Show that f is surjective.

To prove this, start with a value y=f(?,?). We know that y must be a positive real, so how do we find numbers a and b so that y=f(a,b)? Let's try a=y/2. That's still positive and real, so now we can try to look for b. Actually we can calculate b by b = (3/2)y. And this b is also positive and real.

So for any y we can produce a pair (a,b) with f(a,b)=y. That proves that f is surjective. Q.E.D.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K