Proof Help: Proving one to one and onto

  • Thread starter Thread starter kamui8899
  • Start date Start date
  • Tags Tags
    Proof
Click For Summary

Homework Help Overview

The discussion revolves around proving two functions are one-to-one and onto, focusing on the definitions and properties of the functions involved. The first function maps natural numbers to a specific set of real numbers defined by a quadratic expression, while the second function maps natural numbers to integers through a formula involving alternating signs and linear terms.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand how to demonstrate that the first function is onto by solving for n given t in the defined set S. They also explore the implications of the notation used in defining S. For the second function, they consider using the contrapositive to show it is one-to-one but struggle with simplifying the resulting equation. Questions arise about how to approach proving onto for this function as well.

Discussion Status

Some participants provide clarifications on the definition of the set S and suggest that the original poster may be overanalyzing the problem. They indicate that demonstrating surjectivity for the first function could be straightforward by leveraging the definition of f. Others suggest algebraic manipulation for the second function to show one-to-one properties, but there is no explicit consensus on the methods to be used.

Contextual Notes

Participants note the importance of understanding the definitions and implications of the functions and sets involved, as well as the need to clarify notation. There is an acknowledgment of potential confusion regarding the approach to solving for n and the implications of the equations set up for both functions.

kamui8899
Messages
15
Reaction score
0
Hello, I was having trouble proving that two functions are one to one and onto.

For one:

S = {x is an element of all reals: x = (n^2 + sqrt(2))/n, n is an element of naturals numbers}

Define f: Natural Numbers -> S by f(n) = (n^2 + sqrt(2))/n

We have to show that f is onto.

So I believe what we have to do is show that there exists an n such that f(n) = t where t is an element of S for any t?

So how would we go about that, do we solve the equation for t?

t = (n^2 +sqrt(2))/n

nt = n^2 +sqrt(2)

n(t-n) = sqrt(2)

... but of course the small sequence we just went through proves absolutely nothing?

I'm having a similar problem with proving that the function:

For f: Natural Numbers -> set of all Integers

f(r) = (1 + ((-1)^r)*(2r-1))/4

is bijective

For one to one I tried the contrapositive, set f(a) = f(b) for some a, b.

So I set the equations equal to each other and simplified to:

((-1)^a)*(2a-1) = ((-1)^b)*(2b-1)

but I can't see how to simplify this down to show that a=b...

I'm having a similar problem with onto, using the same idea as we used for the first problem:

Let q be an integer.

q = f(n)

4q - 1 = ((-1)^n)(2n-1)

What can I show from here?

Any help is appreciated, thanks.
 
Physics news on Phys.org
So how would we go about that, do we solve the equation for t?
Go back to the definition of S. What, precisely, does this notation mean?

[tex] S := \left\{ x \in \mathbb{R} \, \left| \, \exists n \in \mathbb{N} : x = \frac{n^2 + \sqrt{2}}{n} \right\}[/tex]

In particular, if you know [itex]t \in S[/itex], what does this definition tell you?
 
Thanks for the reply.

You may have to help me out here a bit, as far as I know the notation means that t is an element of all real numbers such that it is equal to the equation for some natural number n. Thus every natural number has some t value, so we have to find the inverse of the function to solve for n, so then we can show that for any t we can obtain some n. I think this is what I’m supposed to do? But I’m not entirely sure if that's correct/how to do that, I tried solving for t and it didn't work, so I'm not entirely sure what your question is implying, unless I interpreted the question incorrectly?
 
Regarding the first part you are probably over analyzing the question. S is the set of all reals FOR WHICH there exists an n in N SUCH THAT
x=(n^2+sqrt(2))/n. Therefore S is the set
S=(1+sqrt(2), (4+sqrt2)/2, (9+sqrt(2))/3, ...). To show that f is surjective you must show that for any s in S, there exists an n in N, such that s=f(n). By the definition of f this turns out to be rather trivial.
Pick an arbitrary s in S, then we know there exists an n in N such that s=(n^2+sqrt(2))/n, but this is precisely the definition of f(n). Therefore the mapping is surjective.
 
for the 1st part [tex]f(\sqrt{ny-\sqrt{2}}) = x[/tex] & [tex]f(-\sqrt{ny-\sqrt{2}}) = x[/tex], so x is the image of some element of that set S, showing that f is onto.

the 2nd one is similar. & just set f(x)=f(y) & do some algebra to get x=y.
 

Similar threads

Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K