All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Seems unlikely, but is not … (Posted on 2023-04-06) Difficulty: 2 of 5
Find two distinct numbers, so that
x^2-y=91
y^2-x=91

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 2 of 3 |
Two parabolas could have 0,1,2,3, or 4 intersections.

x^2 - y^2 + x - y = 0
(x-y)(x+y+1) = 0

case 1: x=y
x^2 - x - 91 = 0
x = (1 ± √365)/2
y = same as x

case 2: x = -(y+1) --> y = -(x+1)
x^2 + (x+1) - 91 = 0
x^2 + x - 90 = 0
x = (-1 ± √361)/2
x = (-1 ± 19)/2
x = {-10, 9}  with y = -(x+1)
y = {9, -10}

So the four solutions are:
((1 + √365)/2,(1 + √365)/2)
((1 - √365)/2,(1 - √365)/2)
(-10, 9)
(9, -10)

------
little program to check the results:

a = (1 + (365)**.5)/2
b = (1 - (365)**.5)/2

solutions = [ [a,a], [b,b], [-10, 9], [9,-10]  ]

def f(x,y):
    return x**2 - y , y**2 - x

for d in solutions:
    print(f(d[0],d[1]))

Output:
(90.99999999999999, 90.99999999999999)
(91.0, 91.0)
(91, 91)
(91, 91)


  Posted by Larry on 2023-04-06 11:21:15
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (16)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information