A Function and its Domain, Codomain and Image

Click For Summary
SUMMARY

The discussion focuses on finding a function with a domain of integers (ℤ) and a codomain of real numbers (ℝ) where the image does not equal the codomain. Two function attempts were presented: f(x) = √(x^4 + 5) and f(x) = 1/(x^3 - 3). Both functions are valid as they do not cover all real numbers; specifically, there is no integer x such that f(x) equals π, demonstrating that the image is indeed not equal to the codomain.

PREREQUISITES
  • Understanding of functions and their domains
  • Knowledge of real numbers and integers
  • Familiarity with injective functions
  • Basic algebraic manipulation of functions
NEXT STEPS
  • Study the properties of injective functions in detail
  • Explore the concept of function images and codomains
  • Learn about the implications of functions not being onto (surjective)
  • Investigate other examples of functions with restricted images
USEFUL FOR

Students studying mathematics, particularly those focusing on functions, algebra, and real analysis. This discussion is beneficial for anyone looking to deepen their understanding of function properties and their implications in mathematical contexts.

ver_mathstats
Messages
258
Reaction score
21

Homework Statement


Find a function where the domain is integers, codomain is real numbers, and image isn't equal to codomain.

Homework Equations

The Attempt at a Solution


I know that it means that when I plug in an integer I will obtain a real number, but how do I make it so that the image is not equal to the codomain? I don't quite understand what that means. Does it mean the function is injective?

Here is what I have so far for my first attempt:
f: ℤ→ℝ
f(x)=√x4+5

However if my x is 2 and -2 I get the same answer. So I am struggling with how to get an injective function.

However here is my second attempt:
f: ℤ→ℝ
f(x) = 1/(x3-3)

Is my second attempt correct?

Thank you.
 
Physics news on Phys.org
You don't have to find a 1-1 (injective) function. All you need is that the function image should not be equal to the codomain which in this case is the set of real numbers. So its enough to show that there is a real number ##y## such that there is no ##x## such that ##f(x)=y##.

Both of your examples are correct. To see this take as real number ##y## the ##\pi##. There is no integer ##x## such that ##f(x)=\pi## for both cases of how the function f is defined.
 
Delta2 said:
You don't have to find a 1-1 (injective) function. All you need is that the function image should not be equal to the codomain which in this case is the set of real numbers. So its enough to show that there is a real number ##y## such that there is no ##x## such that ##f(x)=y##.

Both of your examples are correct. To see this take as real number ##y## the ##\pi##. There is no integer ##x## such that ##f(x)=\pi## for both cases of how the function f is defined.

Okay thank you very much, I understand.
 

Similar threads

Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K