Is f(a,b) = 2^(a-1)(2b-1) a Bijective Function?

  • Thread starter Thread starter The Captain
  • Start date Start date
Click For Summary
SUMMARY

The function f(a,b) = 2^(a-1)(2b-1) is defined for positive integers a and b, mapping from Z+ x Z+ to Z+. The discussion confirms that f is a bijective function by demonstrating it is one-to-one (injective) and onto (surjective). The proof utilizes diagonal processing and contradiction to establish that distinct pairs (a,b) yield distinct outputs, and that every positive integer can be represented as f(a,b) for some (a,b) in Z+ x Z+.

PREREQUISITES
  • Understanding of bijective functions and their properties
  • Familiarity with positive integers (Z+)
  • Knowledge of Cartesian products in set theory
  • Basic principles of mathematical proof techniques, including contradiction
NEXT STEPS
  • Study the concept of bijective functions in detail
  • Learn about diagonalization techniques in set theory
  • Explore proofs by contradiction in mathematical logic
  • Investigate the properties of functions defined on Cartesian products
USEFUL FOR

Mathematicians, students studying discrete mathematics, and anyone interested in the properties of functions and set theory.

The Captain
Messages
21
Reaction score
0

Homework Statement


Define f: Z+ X Z+ -> Z+ by
f(a,b) = 2^(a-1)(2b-1) for all a,b in Z+
where Z+ is the set of all positive integers,
and X is the Cartesian product

Homework Equations


The Attempt at a Solution



If we assume (a,b) as ordered pairs and write them as follows:

(1,1) (1,2) (1,3) (1,4)...(a,b+n)
(2,1) (2,2) (2,3) (2,4)...(a+1,b+n)
.
.
.
.
.
.
.
(a+n,b)........(a+n,b+n)

Using diagonal processing, we deduce that f is one-one.

Now can we also assume it is onto because f(a,b) maps to exactly one ordered pair?
 
Last edited:
Physics news on Phys.org
The Captain said:

Homework Statement


Define f: Z+ X Z+ -> Z+ by
f(a,b) = 2^(a-1)(2b-1) for all a,b in Z+
where Z+ is the set of all positive integers,
and X is the Cartesian product


Homework Equations





The Attempt at a Solution


I have absolutely no idea how to start this.
So what's the question?
 
Sorry, forgot that.

Question is, "Prove f is bijection."
 
Please check my assumption.
 
The Captain said:
If we assume (a,b) as ordered pairs and write them as follows:

(1,1) (1,2) (1,3) (1,4)...(a,b+n)
(2,1) (2,2) (2,3) (2,4)...(a+1,b+n)
.
.
.
.
.
.
.
(a+n,b)........(a+n,b+n)

Using diagonal processing, we deduce that f is one-one.

Now can we also assume it is onto because f(a,b) maps to exactly one ordered pair?
What this shows is that there is a bijection from Z+ x Z+ to Z+. It doesn't prove that (2^(a-1))(2b-1) is one of such bijections. So it doesn't help.

I'm interpreting f(a,b) = 2^(a-1)(2b-1) as (2^(a-1))(2b-1), and not 2^((a-1)(2b-1)) since the latter isn't 1-1. E.g subbing in (1,1) and (1,2), both gives f = 1.

To prove that the function is 1-1. Suppose that it isn't, i.e. there exists (a,b) not equal to (c,d) such that f(a,b) = f(c,d). Suppose that a is not equal to c, and without loss of generality assume a>c, then we have (2^(a-1))(2b-1) = (2^(c-1))(2d-1). Therefore (2^(a-c))(2b-1) = 2d - 1. Then the left hand side is an even number, and the right hand side is an odd number. Contradiction. (Notice that a-c = 0 is not possible).

I assumed that a isn't equal to c there. Now you need to try what happens when a is equal to c, which would imply b is not equal to d (since (a,b) is not equal to (c,d)), and show that this also leads to a contradiction. (It's a simple argument). Once you've done that, you've finished the proof for 1-1.

To prove it's onto: think about how if I gave you a positive integer, k, how you would find (a,b) so that f(a,b) = k. If that hint doesn't help much, I can be more specific.
 
Last edited:

Similar threads

Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
2
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 17 ·
Replies
17
Views
11K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
2K