Squares and squares

If x x and x 3 + 2 x 2 + 2 x + 4 x^{3} + 2x^{2} + 2x + 4 are both perfect squares , find the sum of all possible values of x x .


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Calvin Lin Staff
May 9, 2017

Let x = a 2 x = a^2 where a 0 a \geq 0 .

We want a 6 + 2 a 4 + 2 a 2 + 4 a^6 + 2a^4 + 2a^2 + 4 to be a perfect square. Since this is polynomial of even degree, it suggests that we should attempt to bound it by perfect square polynomials. Notice that a 6 + 2 a 4 + 2 a 2 + 4 a^6 + 2a^4 + 2a^2 + 4 is close to ( a 3 + a + 1 ) 2 = a 6 + 2 a 4 + a 2 + 2 a + 1 (a^3 + a + 1)^2 = a^6 + 2a^4 + a^2 + 2a + 1 . Let's find the range that

( a 3 + a ) 2 < a 6 + 2 a 4 + 2 a 2 + 4 < ( a 3 + a + 1 ) 2 . (a^3 + a)^2 < a^6 + 2a^4 + 2a^2 + 4 < (a^3 + a + 1) ^ 2 .

Expanding and simplifying (some work required), we see that this is satisfied when a > 1 a > 1 . Thus, when a > 1 a > 1 , a 6 + 2 a 4 + 2 a 2 + 4 a^6 + 2a^4 + 2a^2 + 4 is bounded between two consecutive perfect squares, hence it cannot be a perfect square.

It then remains to check what happens when a = 0 , 1 a = 0, 1 .
a = 0 , x = 0 , x 3 + 2 x 2 + 2 x + 4 = 4 a = 0, x = 0, x^3 + 2x^2 + 2x + 4 = 4 is a perfect square.
a = 1 , x = 1 , x 3 + 2 x 2 + 2 x + 4 = 9 a = 1, x = 1, x^3 + 2x^2 + 2x + 4 = 9 is a perfect square.
Hence, the sum of solutions is 0 + 1 = 1 0 + 1 = 1 .

@Peter van der Linden This is how I solved it.

Calvin Lin Staff - 4 years, 1 month ago

Jup... You got me convinced ;) Always nice to take another view on things.

Peter van der Linden - 4 years, 1 month ago

Thanks for the solution!

Steven Jim - 4 years, 1 month ago

I used analysis of the function by taking the first and second en order deravative to find that x = 2 3 x = \frac{-2}{3} is a point of inflection. From there on I looked at the first square 1. This yields a perfect square as outcome. Looking at the first deravative tells us that the slope is getting great enough to ensure there is no next perfect square.

BTW I have been thinking: I disregarded 0 because it didn't contribute to the final answer.

Peter van der Linden - 4 years, 1 month ago

I think you are lucky, as 0 is the second answer which satisfies the conditions. But anyways, good job finding half of the answer!

Steven Jim - 4 years, 1 month ago

Log in to reply

Yeah well my work was more than I posted, sorry for that. Posted in a hurry ;)

Peter van der Linden - 4 years, 1 month ago

I'm not quite sure how your solution explains why there are no other perfect squares of the form a 6 + 2 a 4 + 2 a 2 + 4 a^6 + 2a^4 + 2a^2 + 4 .

Since we only care about the function at integer points, looking at the first and second derivative is going to be irrelevant (typically).

Calvin Lin Staff - 4 years, 1 month ago

Log in to reply

Hmmm I am trying to convince myself now too, but might be I did get lucky...

Peter van der Linden - 4 years, 1 month ago

Log in to reply

Oops hit post to early... I hoped @steven Jim would have posted his solution by now, but unfortunately he hasn't.

Peter van der Linden - 4 years, 1 month ago

Log in to reply

@Peter van der Linden I'm so stuck at the moment anyways ;) You can check Calvin's solution btw. That's a good one.

Steven Jim - 4 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...