A University of Cambridge Math interview question

Algebra Level 5

{ x 1 + x 2 x 3 x 4 = 2 x 2 + x 1 x 3 x 4 = 2 x 3 + x 1 x 2 x 4 = 2 x 4 + x 1 x 2 x 3 = 2 \begin{cases} x_1+x_2x_3x_4=2 \\ x_2+x_1x_3x_4=2 \\ x_3+x_1x_2x_4=2 \\ x_4+x_1x_2x_3=2 \end{cases}

Find the number of ordered quadruples of real numbers ( x 1 , x 2 , x 3 , x 4 ) (x_1,x_2,x_3,x_4) that satisfy the system of equations above.


The answer is 5.

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

Zk Lin
Feb 13, 2016

Make the substitution P = x 1 x 2 x 3 x 4 P=x_{1}x_{2}x_{3}x_{4} . Our system of equations simplify to:

x i + P x i = 2 x_{i}+\frac{P}{x_{i}}=2 , where i = 1 , 2 , 3 , 4 i=1,2,3,4

Clearing denominators,we can write the equation above as

x i 2 2 x i + P = 0 {x_{i}}^{2}-2x_{i}+P=0

Using the quadratic formula, we find that x i = 1 ± 1 P x_{i}=1 \pm \sqrt{1-P} , so x i x_{i} can only take 2 2 forms.

Therefore, for a certain set of solution ( x 1 , x 2 , x 3 , x 4 ) (x_{1},x_{2},x_{3},x_{4}) which satisfies the systems of equation above, it must take the form of ( a , a , a , a ) , ( a , a , a , b ) (a,a,a,a),(a,a,a,b) or ( a , a , b , b ) (a,a,b,b) . Don't worry about permutation for now, we will take care of that later.

First case: ( a , a , a , a ) (a,a,a,a)

We get a 3 + a 2 = 0 a^{3}+a-2=0 , which simplifies to

( a 1 ) ( a 2 + a + 2 ) = 0 (a-1)(a^{2}+a+2)=0 .

It is easy to see that the only real root is a = 1 a=1 , therefore our first set of solution is ( 1 , 1 , 1 , 1 ) (1,1,1,1)

Second case: ( a , a , a , b ) (a,a,a,b)

We obtain two equations a + a 2 b = 2 a+a^{2}b=2 and b + a 3 = 2 b+a^{3}=2 by substitution.

Equating the L.H.S. of both equations yield

a + a 2 b = b + a 3 a+a^{2}b=b+a^{3} .

Moving all the terms to one side and factorizing yields

( b a ) ( 1 a 2 ) = 0 (b-a)(1-a^{2})=0

( b a ) ( 1 a ) ( 1 + a ) = 0 (b-a)(1-a)(1+a)=0

a = b a=b or a = 1 a=1 or a = 1 a=-1

If b = a b=a , we get back the same solution in first case.

If a = 1 a=1 , substitution into a + a 2 b = 2 a+a^{2}b=2 yields

1 + b = 2 b = 1 1+b=2 \Rightarrow b=1 , which gives us again the first solution.

If a = 1 a=-1 , substitution into a + a 2 b = 2 a+a^{2}b=2 yields

b 1 = 2 b = 3 b-1=2 \Rightarrow b=3 .

Therefore, we found our second set of solution, that is ( 1 , 1 , 1 , 3 ) (-1,-1,-1,3) and its permutation.

Third case: ( a , a , b , b ) (a,a,b,b)

We get the equations b + a 3 = 2 b+a^{3}=2 and a + a 2 b = 2 a+a^{2}b=2 by substitution.

Equating the L.H.S. of both equations give:

b + a 3 = a + a 2 b b+a^{3}=a+a^{2}b

( b a ) ( 1 a 2 ) = 0 (b-a)(1-a^{2})=0 but this is the same as our second case!

We therefore conclude that there exists only five sets of solution to the systems of equation above, namely ( 1 , 1 , 1 , 1 ) (1,1,1,1) and the permutations of ( 3 , 1 , 1 , 1 ) (3,-1,-1,-1)

Moderator note:

Great! For such cyclic equations, trying to express the values as the roots of a common polynomial can provide further insight/conditions.

well done sir thanks...+1!!!!

rajdeep brahma - 3 years ago
Mark Hennings
Feb 18, 2016

Here is a slightly different approach. If { p , q , r , s } = { 1 , 2 , 3 , 4 } \{p,q,r,s\} = \{1,2,3,4\} then, by subtracting two of the equations, ( x p x q ) ( 1 x r x s ) = 0 . (x_p - x_q)(1 - x_rx_s) = 0 \;. If no two of x 1 , x 2 , x 3 , x 4 x_1,x_2,x_3,x_4 are equal, then x r x s = 1 x_rx_s = 1 for all r s r \neq s . But this would imply that x 1 = x 2 = x 3 = x 4 x_1 = x_2 = x_3 = x_4 , which we have said is impossible. Thus at least two of the x i x_i must be equal.

Suppose that the four values are a , a , b , c a,a,b,c . Then the equations become a + a b c = b + a 2 c = c + a 2 b = 2 a + abc \; = \; b + a^2c \; = \; c + a^2b \; = \; 2 Subtracting the last two gives ( b c ) ( 1 a 2 ) = 0 . (b-c)(1 - a^2) \; = \; 0 \;. If a 2 1 a^2 \neq 1 , then b = c b=c . But then a + a b 2 = b + a 2 b = 2 a + ab^2 = b + a^2b = 2 , so that ( a b ) ( 1 a b ) = 0 (a-b)(1-ab) = 0 , If a b = 1 ab = 1 then a + b = 2 a+b = 2 , so that a = b = 1 a=b=1 . If a = b a=b then 0 = a 3 + a 2 = ( a 1 ) ( a 2 + a + 2 ) 0 = a^3 + a - 2 = (a-1)(a^2 + a + 2) , and so a = b = 1 a=b=1 . Either way, we have a = 1 a=1 , which is not possible.

Thus we must have a 2 = 1 a^2 = 1 .

  • If a = 1 a=1 we deduce that b + c = 2 b+c=2 and b c = 1 bc = 1 , so that b = c = 1 b=c=1 .
  • If a = 1 a=-1 we deduce that b + c = 2 b+c=2 and b c = 3 bc = -3 , so that { b , c } = { 1 , 3 } \{b,c\} = \{-1,3\} .

Thus the only possibilities are ( 1 , 1 , 1 , 1 ) (1,1,1,1) and ( 1 , 1 , 1 , 3 ) (-1,-1,-1,3) (plus permutations), giving us 5 \boxed{5} solutions.

Nice solution. Thanks for posting it. :)

ZK LIn - 5 years, 3 months ago

The analysis of the third case is not right. WE get $a+a^2b = b+b^2a = 2$. The conclusion if right though- there are no more solutions.

Jim Simons Tutor - 6 months, 1 week ago

Log in to reply

In this case, the roots are a , a , b , b a,a,b,b . Your equation b + b 2 a = 2 b + b^2a =2 implies that three of the roots are equal (to b b ), which is not (necessarily) the case. My equations note that there are two options (an a a is the single x i x_i , with the other three roots multiplied together, or a b b is the single x i x_i , with the other three roots multiplied together). Your second equation is incorrect.

Mark Hennings - 6 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...