SOLUTION: If a polygonal n sides has (n/2)(n - 3) diagonals, how many sides will a polygon with 65 diagonals have? Is there a polygon with 80 diagonals? Let me see. I gotta set (n/2)(n

Algebra ->  Polygons -> SOLUTION: If a polygonal n sides has (n/2)(n - 3) diagonals, how many sides will a polygon with 65 diagonals have? Is there a polygon with 80 diagonals? Let me see. I gotta set (n/2)(n      Log On


   



Question 1199136: If a polygonal n sides has (n/2)(n - 3) diagonals, how many sides will a polygon with 65 diagonals have? Is there a polygon with 80 diagonals?
Let me see.
I gotta set (n/2)(n - 3) equal to 65 and solve for n. The same with 80.
Yes?

Found 2 solutions by ikleyn, math_tutor2020:
Answer by ikleyn(52795) About Me  (Show Source):
You can put this solution on YOUR website!
.

Your first idea is right.


    +-----------------------------------------------------------------+
    |    But in such problems, you ALWAYS must make one more (next)   |
    |    step forward and to check,  if integer solution does exist.  |
    +-----------------------------------------------------------------+


In case of  65  diagonals it does exist: the number of sides is n = 13.


In case of  " 80  diagonals "  integer solution  DOES  NOT  exist.


You will easily detect it, when you apply the quadratic formula.


Not for every given  " number of diagonals "  the integer solution does exist.


So,  very often such problems have a  highlight%28highlight%28HUGE%29%29  hidden underwater stone  (as a trap),
and the duty of a person who solves such problem is to detect it / (to recognize it),
if such trap does present in the hidden form in the problem.


////////////////


By the way,  the formulation of the problem starts with the words

    If a polygonal n sides has  (n/2)(n - 3)  diagonals . . . 

The word  " if "  is excessive in this phrase :  the number of diagonals
of any convex  n-gon  is   %28n%2A%28n-3%29%29%2F2,   for any  n > 3,  and without any  " if ".



Answer by math_tutor2020(3817) About Me  (Show Source):
You can put this solution on YOUR website!

n = number of sides, such that n > 3.
d = number of diagonals of a polygon with n sides
d+=+%28n%2F2%29%2A%28n-3%29

d+=+%28n%2A%28n-3%29%29%2F2

65+=+%28n%2A%28n-3%29%29%2F2

65%2A2+=+n%2A%28n-3%29

130+=+n%5E2-3n

n%5E2-3n-130+=+0

Apply the quadratic formula to solve for n.
n+=+%28-b%2B-sqrt%28b%5E2-4ac%29%29%2F%282a%29

n+=+%28-%28-3%29%2B-sqrt%28%28-3%29%5E2-4%281%29%28-130%29%29%29%2F%282%281%29%29

n+=+%283%2B-sqrt%28529%29%29%2F%282%29

n+=+%283%2B-++23%29%2F%282%29

n+=+%283%2B23%29%2F%282%29 or n+=+%283-23%29%2F%282%29

n+=+%2826%29%2F%282%29 or n+=+%28-20%29%2F%282%29

n+=+13 or n+=+-10

Or you can factor like so
n%5E2-3n-130+=+0

%28n-13%29%28n%2B10%29+=+0

n-13+=+0 or n%2B10+=+0

n+=+13 or n+=+-10
Ignore the negative value of n.
It doesn't make sense to have a negative number of sides.

Therefore, a polygon with n = 13 sides will have d = 65 diagonals.

---------------------------------------------------------------------------------

If you were to plug in d = 80, then,
d+=+%28n%2A%28n-3%29%29%2F2

80+=+%28n%2A%28n-3%29%29%2F2

80%2A2+=+n%2A%28n-3%29

n%5E2-3n+=+160

n%5E2-3n-160+=+0

Now use the quadratic formula
n+=+%28-b%2B-sqrt%28b%5E2-4ac%29%29%2F%282a%29

n+=+%28-%28-3%29%2B-sqrt%28%28-3%29%5E2-4%281%29%28-160%29%29%29%2F%282%281%29%29

n+=+%283%2B-sqrt%28649%29%29%2F%282%29

n+=+%283%2B-++25.475478%29%2F%282%29 Each decimal value from here on out is approximate.

n+=+%283%2B25.475478%29%2F%282%29 or n+=+%283-25.475478%29%2F%282%29

n+=+%2828.475478%29%2F%282%29 or n+=+%28-22.475478%29%2F%282%29

n+=+14.237739 or n+=+-11.237739
We unfortunately do not get a positive integer solution in either case.
This means it's impossible to have a polygon with exactly 80 diagonals.


We can see this by constructing a table of values
n = number of sides
d = number of diagonals
n456789101112131415
d259142027354454657790

Example scratch work calculation for n = 10:
d = (n*(n-3))/2 = (10*(10-3))/2 = 35

The value d = 80 does not exist in the table. The closest two values are d = 77 and d = 90 (for n = 14 and n = 15 respectively).
Note the solution n+=+14.237739 found earlier is between n = 14 and n = 15.

Another way to see that we won't have a positive integer solution is to compute the discriminant
D+=+b%5E2-4ac

D+=+%28-3%29%5E2-4%281%29%28-160%29

D+=+9+%2B+640

D+=+649
This result is not a perfect square, which means sqrt%28D%29+=+sqrt%28649%29 isn't an integer.
Consequently it causes both roots to be non-integer values.