Mystery in the Middle 2

Algebra Level 3

In a circle puzzle like the one below, the dashed arrows mean to add and the solid arrows mean to multiply:

Find the non-zero integer that can replace X X so that there are three possible integer values for the question mark.

Inspiration


The answer is -360.

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

Chris Lewis
Sep 30, 2020

Let the values in the vertical line of three circles be u , y , v u,y,v (so y y is the question mark).

The equations we have are u + y = 3 , v + y = 17 , u v y = x u+y=3,\;\;\;v+y=17,\;\;\;uvy=x

We want to get an equation for y y in terms of x x that has three distinct integer roots. Substituting u = 3 y u=3-y and v = 17 y v=17-y : y ( 3 y ) ( 17 y ) = x y(3-y)(17-y)=x

which after tidying becomes y 3 20 y 2 + 51 y x = 0 y^3-20y^2+51y-x=0

This is a cubic in y y ; say its three roots are p , q , r p,q,r . By Vieta, p + q + r = 20 , q r + r p + p q = 51 , p q r = x p+q+r=20,\;\;\;qr+rp+pq=51,\;\;\;pqr=x

Squaring the first and subtracting twice the second, we get p 2 + q 2 + r 2 = 298 p^2+q^2+r^2=298

Since 298 < 18 \sqrt{298}<18 , this is easy enough to solve; the only triples (up to permutation) that work (together with p + q + r = 20 p+q+r=20 ) are ( 0 , 3 , 17 ) (0,3,17) and ( 3 , 8 , 15 ) (-3,8,15) . The first leads to x = 0 x=0 , which isn't allowed; hence the answer is 3 8 15 = 360 -3 \cdot 8 \cdot 15=\boxed{-360} .

Any better approaches than converting to a sum of squares? It feels a bit clunky.

Chris Lewis - 8 months, 2 weeks ago

Log in to reply

I posted my solution, similar to how I solved the bonus question of the inspiration problem . It's a different method, but also feels a bit clunky as I had to test every integer 3 r 17 -3 \leq r \leq 17 .

David Vreken - 8 months, 2 weeks ago

Log in to reply

I wondered about (but didn't get far with) a more number theoretical approach; perhaps there's a factorisation that would help? Or maybe some cases fall out modulo a certain number?

Chris Lewis - 8 months, 2 weeks ago
David Vreken
Sep 30, 2020

If the middle number is x x , then the top white circle must be ( 3 x ) (3 - x) and the bottom white circle must be ( 17 x ) (17 - x) , and ( 3 x ) x ( 17 x ) = X (3 - x)x(17 - x) = X , which rearranges to x 3 20 x 2 51 x X = 0 x^3 - 20x^2 - 51x - X = 0 .

Suppose that there are three possible integer values p p , q q , and r r for the middle number x x . Then by Vieta's Formula , p + q + r = 20 p + q + r = 20 , p q + q r + p r = 51 pq + qr + pr = 51 , and p q r = X pqr = X . By substitution, p = r 2 + 10 ± 1 2 3 r 2 + 40 r + 196 p = - \frac{r}{2} + 10 \pm \frac{1}{2}\sqrt{-3r^2 + 40r + 196} and q = r 2 + 10 1 2 3 r 2 + 40 r + 196 q = - \frac{r}{2} + 10 \mp \frac{1}{2}\sqrt{-3r^2 + 40r + 196} .

For p p and q q to be integers, 3 r 2 + 40 r + 196 -3r^2 + 40r + 196 must be a perfect square, and for p p and q q to be real, 3 r 2 + 40 r + 196 > 0 -3r^2 + 40r + 196 > 0 , which solves to 3 r 17 -3 \leq r \leq 17 . Testing each integer r r in this range, only r = 3 r = -3 , r = 0 r = 0 , r = 3 r = 3 , r = 8 r = 8 , r = 15 r = 15 , and r = 17 r = 17 give perfect squares for 3 r 2 + 40 r + 196 -3r^2 + 40r + 196 , and give the following p = r 2 + 10 + 1 2 3 r 2 + 40 r + 196 p = - \frac{r}{2} + 10 + \frac{1}{2}\sqrt{-3r^2 + 40r + 196} , q = r 2 + 10 1 2 3 r 2 + 40 r + 196 q = - \frac{r}{2} + 10 - \frac{1}{2}\sqrt{-3r^2 + 40r + 196} , and X = p q r X = pqr values:

r r p p q q X X
3 -3 15 15 8 8 360 -360
0 0 17 17 3 3 0 0
3 3 17 17 0 0 0 0
8 8 15 15 3 -3 360 -360
15 15 8 8 3 -3 360 -360
17 17 3 3 0 0 0 0

The only non-zero X X -value with three possible integer values for the middle number is X = 360 X = \boxed{-360} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...