Simultaneous Diophantine equations

Algebra Level 4

{ x 2 + y 2 + x + y = 12 x y + x + y = 3 \begin{cases} x^2+y^2+x+y=12 \\ xy+x+y=3 \end{cases}

How many solutions are there to the system of equations above?


The answer is 3.

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.

3 solutions

Jaydee Lucero
Jul 5, 2016

Write the first equation as x 2 + y 2 + x + y = ( x + y ) 2 2 x y + x + y = ( x + y ) 2 + ( x y + x + y ) 3 x y = ( x + y ) 2 + 3 3 x y = 12 x^2 + y^2 + x + y = (x + y)^2 - 2xy + x + y = (x + y)^2 + (xy + x + y) - 3xy = (x + y)^2 + 3 - 3xy = 12 Let S = x + y S = x + y and P = x y P = xy . Then the above equation becomes S 2 3 P = 9 S^2 - 3P = 9 . On the other hand, the second equation becomes S + P = 3 S + P = 3 . Combining these two equations to eliminate P P yields S 2 + 3 S = 9 + 9 S 2 + 3 S 18 = ( S + 6 ) ( S 3 ) = 0 S = 6 , 3 S^2 + 3S = 9 + 9 \Longrightarrow S^2 + 3S - 18 = (S + 6)(S - 3) = 0\Longrightarrow S = -6, 3 From S + P = 3 S + P = 3 , we get two cases.

Case 1: If S = 6 S = -6 , then P = 9 P = 9 . By Vieta's relations, this forms the equation k 2 + 6 k + 9 = 0 k^2 + 6k + 9 =0 , giving k = 3 , 3 k = -3, -3 as solution.

Case 2: If S = 3 S = 3 , then P = 0 P = 0 . This forms k 2 3 k = 0 k^2 - 3k = 0 , giving k = 0 , 3 k = 0, 3 (or its permutation).

Thus, the original system has three solutions: ( 3 , 3 ) , ( 0 , 3 ) (-3, -3), (0, 3) and ( 3 , 0 ) (3, 0) .

Same as my solution 👍

Nitin Kumar - 1 year, 3 months ago
Harmanjot Singh
Jul 23, 2016

I wrote x in terms of y from 2nd equation and substituted it in the 1st equation and solved it by easy factorization with y having roots 0,3,-3

Jonathan Hocker
Jul 2, 2016

I solved it using x^2+y^2=(x+y)^2-2xy then solving for xy and x+y. Then it's just a matter of solving a few quadratic equations from the resulting systems of equations to find (3,0), (0,3), and (-3,-3) are the possible solutions. I'm on mobile so I'm just giving a summary and not a legit solution.

No solve in equation

prakash ap - 4 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...