How's that div and mod are functions on Cartesian products of integer?

We know that cartesian product of two sets and is:

and

the integer quotient obtained when is divided by

the integer remainder obtained when is divided by

I'm reading a Discrete math book and I am on Functions chapter. It has a line in it that says:

" and are really functions defined on Cartesian products of integers."

For what reason is this statement true? I know it's true but I've no idea why.

I don't see the connection between Cartesian product and the , functions.

Can anyone kindly tell me when I use and functions how is that they are really functions on Cartesian products of integers?

Re: How's that div and mod are functions on Cartesian products of integer?

Quote:

Originally Posted by

**x3bnm** We know that cartesian product of two sets

and

is:

and

the integer quotient obtained when

is divided by

the integer remainder obtained when

is divided by

I'm reading a Discrete math book and I am on Functions chapter. It has a line in it that says: "

and

are really functions defined on Cartesian products of integers."

Can anyone kindly tell me when I use

and

functions how is that they are really functions on Cartesian products of integers?

When posting this sort of question, it is useful to say what book.

I guess that from the way that textbook is using those words, both assign **pairs** of integers to an integer.

So in that sense we have .

Re: How's that div and mod are functions on Cartesian products of integer?

Re: How's that div and mod are functions on Cartesian products of integer?

Sorry for reopening this thread. I thought I understood the problem. Sorry for jumping to conclusion so quickly.

@Plato:

Can you kindly elaborate on what you said about "assign pairs of integers to an integer" comment?

Re: How's that div and mod are functions on Cartesian products of integer?

Quote:

Originally Posted by

**x3bnm** So if

and

For

and

function what do you assign here?

That doesn't make sense.

The book says that and are functions defined on __this__ cartesian product : (or a subset).

Re: How's that div and mod are functions on Cartesian products of integer?

Quote:

Originally Posted by

**x3bnm** Sorry for reopening this thread. I thought I understood the problem. Sorry for jumping to conclusion so quickly.

@Plato:

Can you kindly elaborate on what you said about "assign pairs of integers to an integer" comment?

I no longer have a copy of Epp's book. As I recall, wrote a positive review to the publisher. Because I have a positive impression of that text some of wording you posted worries me.

For the mod operator, it is clear that one could apply that operator to any pair integers and the output is an integer.

Examples from MathCad: .

But on the other hand, there is no similar understanding for what could mean. Clearly it is not true that any integer divides every integer. So how exactly does she define the operator?

Re: How's that div and mod are functions on Cartesian products of integer?

Quote:

Originally Posted by

**Plato** I no longer have a copy of Epp's book. As I recall, wrote a positive review to the publisher. Because I have a positive impression of that text some of wording you posted worries me.

For the mod operator, it is clear that one could apply that operator to any pair integers and the output is an integer.

Examples from MathCad:

.

But on the other hand, there is no similar understanding for what

could mean. Clearly it is not true that any integer divides every integer. So how exactly does she define the

operator?

Now it makes sense. Thank you for your response. I agree with you about the statement. Not all integers divide other integers.

So the statement is rather vague. No offense.

But I like this book. The author explained things here like teaching an elementary school kid.

Re: How's that div and mod are functions on Cartesian products of integer?

Quote:

Originally Posted by

**x3bnm** But I like this book. The author explained things here like teaching an elementary school kid.

If that is important to you may I suggest __ Discrete Mathematics for Teachers__

I did an *Eisenhower Institute* as a test site for that text.

IMO it was a huge success with the in service high school teachers.

Re: How's that div and mod are functions on Cartesian products of integer?

Quote:

Originally Posted by

**Plato** If that is important to you may I suggest

__ Discrete Mathematics for Teachers__
I did an

*Eisenhower Institute* as a test site for that text.

IMO it was a huge success with the in service high school teachers.

I'll look into the links. Again thanks.