Is f: R->R one-to-one and onto?

  • Context: Undergrad 
  • Thread starter Thread starter relyt
  • Start date Start date
Click For Summary
SUMMARY

The function defined by f: R->R, where f(w) = -5 for x < 0, f(w) = 0 for x = 0, and f(w) = +5 for x > 0, is neither one-to-one nor onto. It fails the one-to-one criterion because multiple inputs (e.g., 3 and 10) map to the same output (+5), violating the uniqueness condition. Additionally, it is not onto since there are elements in the codomain, such as 10, that are not mapped by any element in the domain, as demonstrated through case analysis of the function's outputs.

PREREQUISITES
  • Understanding of function definitions and notation
  • Knowledge of one-to-one and onto functions
  • Familiarity with the horizontal line test for functions
  • Basic principles of real numbers and their properties
NEXT STEPS
  • Study the properties of functions, focusing on injective (one-to-one) and surjective (onto) functions
  • Learn about the horizontal line test and its applications in determining function characteristics
  • Explore examples of functions that are both one-to-one and onto, known as bijections
  • Investigate the implications of function mappings in different mathematical contexts, such as calculus and set theory
USEFUL FOR

Students and educators in mathematics, particularly those studying functions, algebra, and real analysis, will benefit from this discussion.

relyt
Messages
6
Reaction score
0
Define f: R->R by the rule:

f(w) =<br /> \left\{<br /> \begin{array}{lr}<br /> -5, if x &lt; 0\\<br /> 0, if x=0\\<br /> +5, if x &gt; 0<br /> \end{array}<br /> \right.


if f onto and/or one-to-one?

These questions always get me. Can someone please help me walk through this problem? What do I look for first, etc?

those should be "if" (if x < 0, if x=0, if x > 0 etc)

Any help would be appreciated.\bar{}
 
Physics news on Phys.org
I think I might be able to help you out.

A function is one-to-one if every element in the domain is mapped to a unique element in the range. Another way of saying that is that is that every element in the range is mapped to by at most one element in the domain. An easy way to check for this is to see whether the function passes the horizontal line test.

Your function is not one-to-one because 3 is in R and 10 is in R and f(3) = f(10) = +5. This means both 3 and 10 map to 5, or 5 is mapped to by both 3 and 10. You can draw a horizontal line y = 5 that passes through both points (3,5) and (10,5).


A function is onto if every element in the domain is mapped to by at least one element in the domain. Another way of saying this is that the range of the function is equal to the codomain. One way to show that something is one to one is to find a way to say which element in the domain maps to a given element in the range, and show that the method can find at least one element for any element in the codomain. An easy way of showing a function is not onto is to come up with one example of an element in the codomain which is not mapped to.

For instance, 10 is in R. But there are no x in R for which f(x) = 10. To prove this, note that any real number is positive, negative, or zero. If x is zero, f(x) = 0 =/= 10. If x is negative, x < 0 and f(x) = -5 =/= 10. If x is positive, f(x) = +5 =/= 10. The proof that f is not onto follows from considering these cases.


Does that answer your question?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K