Proving n=p and m=q Given n,m,p,q

  • Context: Graduate 
  • Thread starter Thread starter jcsd
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around a mathematical problem involving the positive integers n, m, p, and q, specifically proving that if a certain equation holds, then n must equal p and m must equal q. The scope includes mathematical reasoning and proof techniques.

Discussion Character

  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant proposes a proof by defining a = n + m - 1 and analyzing the injectivity of a related function.
  • Another participant challenges the proof, suggesting that distinct values for m and n could yield the same result if swapped.
  • A later reply asserts that the original proof implicitly covers the case of m = n = p = q and argues that the asymmetry in the original identity prevents the equality from holding for swapped values unless n = m.
  • Further contributions clarify the injectivity of the functions involved and explore the implications of the proof structure.
  • One participant acknowledges a mistake in their earlier reasoning regarding the summation limits in the proof.

Areas of Agreement / Disagreement

Participants express differing views on the completeness of the proof, with some believing it sufficiently addresses potential counterexamples, while others argue that certain cases should not be overlooked. The discussion remains unresolved regarding the necessity of addressing the symmetry in the proof.

Contextual Notes

There are discussions about the injectivity of functions and the implications of swapping variables, which may depend on the definitions and assumptions made about the integers involved.

jcsd
Science Advisor
Gold Member
Messages
2,113
Reaction score
13
I thought up this little problem last night (hopefully it's not too easy):


If n,m,p,q are positive integers and:

[tex]\frac{(n+m-1)^2 +n -m +1}{2} = \frac{(p+q-1)^2 +p -q +1}{2}[/tex]

Prove that n=p and m=q
 
Mathematics news on Phys.org
Isn't anyone going to have a go at it?

Is it too easy? Too difficult? Just boring?
 
Too scary ! :eek: What background is needed to crack this (who is it accessible to) ?
 
The maths is all fairly simple, you can solve it without expanding the brackets.
 
I think I've got it, although it's not the most elegant proof in the world. Let :

[tex]a = n + m - 1[/tex]

Note that since we're given that n and m are both positive integers, [itex]n+m \geq 2[/itex] giving [itex]a \geq 1[/itex]

Then the expression on the LHS reduces to :

[tex]\frac{1}{2}(a^2 -a) + n = n + \frac{1}{2}a(a-1)[/tex]

Let [itex]f(a) = \frac{1}{2}a(a-1)[/itex]Sketching the graph of [itex]f(a)[/itex] over [itex]a[/itex] reveals that for the domain of [itex]a \geq 1[/itex], the function is injective.

Now the original LHS (let that be represented by [itex]g(a,n)[/itex]) is :

[tex]g(a,n) = n + f(a)[/tex]

Note that if [itex]n[/itex] changes, [itex]f(a)[/itex] will change in the same direction, implying that for a given value of [itex]g(a,n)[/itex] there can be only one particular pair of values [itex]n[/itex] and [itex]f(a)[/itex].

We've already established that [itex]f(a)[/itex] is injective for the domain under consideration, so for a particular value of [itex]f(a)[/itex], there is only one value of [itex]a[/itex].

For a particular value of [itex]a[/itex], there is only one particular value of the expression [itex](n+m)[/itex], further implying that given a value for [itex]n[/itex], the value for [itex]m[/itex] is fixed.

Connecting up the chain of reasoning above,

One value of the LHS in the original identity implies one value of [itex]m[/itex] and one value of [itex]n[/itex] giving the required proof.
 
Last edited:
Well, that's a lot better than my attempt! But I don't think you're done because there is still the possibility that there exist distinct values for m and n such that if you swap the values it comes out the same.
 
Bartholomew said:
Well, that's a lot better than my attempt! But I don't think you're done because there is still the possibility that there exist distinct values for m and n such that if you swap the values it comes out the same.

It's trivial to show that the eqaulity holds on switching n,m only if n=m.
 
Sure, but you do have to do it.
 
Bartholomew said:
Sure, but you do have to do it.

No, I don't think there's a need for it. For one thing the case m = n = p = q is implicit in my proof. For another, the original identity is obviously asymmetrical in m and n, which will mean the LHS will change if you switch, and if you follow the rest of the proof through, those will come out to be the only distinct values that will give that particular LHS.
 
  • #10
I'm just saying there should be a mention of it; it shouldn't be ignored completely.
 
  • #11
Bartholomew said:
I'm just saying there should be a mention of it; it shouldn't be ignored completely.

I'm afraid I still don't see the point of singling out that one case in the proof. :confused: I don't know exactly what you're looking for, but let me make a stab at it.

Let m = X and n = Y and let the function g(a,n) have a value of G in this case. Let the corresponding value of f(a) be F.

Then G = F + Y

Now let us say that the same value of g(a,n) is obtained by letting m = Y and n = X. Let the value of f(a) corresponding to this case be F'.

Then G = F' + X

Since f(a) is symmetric in m and n, F = F'. Which implies that X = Y.

Was that what you were looking for ? Because such a situation is already clearly covered by my proof as I've demonstrated above.

PS : Excuse the lack of LaTEX, I'm rushing. :smile:
 
  • #12
Oh, sorry, I didn't read it thoroughly enough. That was included in the original proof.
 
Last edited:
  • #13
Bartholomew said:
Oh, sorry, I didn't read it thoroughly enough. That was included in the original proof.

No problem. I thought I had covered all the bases. :smile:
 
  • #14
Seeing as it has been solved this is what I think is pobably the esiest way to see that n = p and m = q.

If you make the subsitution [itex]a = m + n -1[/itex], given that m and n are strictly natural numbers you can re-write the LHS as:

[tex]n + \sum^a_{i=1} i[/tex]

Given that [itex]n \le a[/itex], it follows that:

[tex]n + \sum^a_{i=1} i \le \sum^{a+1}_{i=1} i[/tex]

Therefore the function (where the domain is NxN):

[tex]g(n,a) = n + \sum^a_{i=1} i[/tex]

is injective as is the function:

[tex]f(n,m) = \frac{(n+m-1)^2 +n -m +1}{2}[/tex]

as the function is injective f(n,m) = f(p,q) implies that n=p and m = q

QED

For a little background the function f is infact a bijection from NxN->N and it is is simply my go at defiing such a function a non-piecewise manner. The easiets way to see thta it is bijecive is to think of the usual proof (i.e. the proof thta invoves an infite array of numbers) that there is a bijection between N and NxN.
 
  • #15
Very pretty !

This is just cosmetic (no pun...) but don't you mean :

[tex]LHS = n + \sum^{a-1}_{i=1} i ~~ ?[/tex]

From which it follows that:

[tex]n + \sum^{a-1}_{i=1} i \le \sum^{a}_{i=1} i= \sum^{a-1}_{i=1} i + a[/tex]

only if [itex]n \le a[/itex], which is true.
 
  • #16
yes that's much better.

That's the problem with proving things in my head rather than writing them down, I tend to make silly little mistakes.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
Replies
48
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K