2
$\begingroup$

I cannot figure this out:

I have a square in the plane with side length $5$. $A$ and $B$ are points in the square. The coordinates of $A$ and $B$ are always integers.

I want to know how many unique Euclidean distances are possible between $A$ and $B$.

I thought $15$?

Editor note The original ambiguous phrasing of this question and the consequent edits to clarify resulted in conflicting solutions. Please take this into consideration as you vote on the answers.

  • 1
    You're not alone, I can't figure out what you're saying either. Distances between what? "Plane of integers?" What does the matrix have to do with this? Please clarify, and include your work on why you think "15".2012-08-10
  • 0
    ok the matrix is not the best describtio, but i couldnt come up with a more appropriate tage2012-08-10
  • 0
    Do you mean we are looking at the lattice of integer coordinates in a five by five square in the plane? Say, a square with vertices $(0,0),(5,0),(0,5)$ and $(5,5)$? And you want to know what the potential Euclidean distances are between points in this square?2012-08-10
  • 0
    yes that is exactly what i mean2012-08-10
  • 0
    @rschwieb: This shows why it's a good idea to clearly mark an edit that affects the meaning of a question such that it invalidates existing answers. My answer made sense in response to the original question, which spoke of a $5\times5$ matrix both in the title and in the body; it got two downvotes after your edit.2012-08-11
  • 1
    @joriki I'm sorry it turned out that way, but I don't accept the entire blame for this. The original question was incomprehensibly phrased, and I really don't know how you could even venture a solution. At the time I asked for clarification your solution was not up, and by the time I received clarification, your solution was up. I'll do my best to fix the problem, though.2012-08-11
  • 0
    @rschwieb: Sorry, I didn't mean to apportion blame for this case; certainly not entire blame :-) Perhaps I sometimes write answers too quickly; this is because I'm annoyed by all the comments that basically solve the question but then when it's confirmed they solve the question noone posts an answer and the question remains unanswered -- I agree that I was perhaps too quick to post in this case. Anyway, thanks for the edit! :-)2012-08-11
  • 0
    @joriki No problem: thanks for alerting me to problems I inadvertently caused.2012-08-11

3 Answers 3