Wikipedia:Reference desk/Archives/Mathematics/2013 July 28
Mathematics desk | ||
---|---|---|
< July 27 | << Jun | July | Aug >> | July 29 > |
Welcome to the Wikipedia Mathematics Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
July 28
[edit]Solve this pair of two equations
[edit]Solve for x and y using two equations given below.
x2 + y2 = 25
x3 + y3 = 91
I have been finding the value of x and y using above two relations for a number of days but I failed. At last I gave up and put this one here. Please suggest me different ways to solve this. Also suggest me some simple tricks (or handy methods or videos) for solving problems like this. Thank you! Publisher54321 (talk) 03:54, 28 July 2013 (UTC)
- You could use Newton's method to solve it numerically, but it turns out that it might be easier to just graph the two. They happen to intersect at a point where both x and y are integers. I don't know of a way to reduce these two equations to one except by substitution - first solving for y from the first equation yields , which we can substitute into the second equation to obtain . We move the term to the right, square both sides, and solve.-Jasper Deng (talk) 04:00, 28 July 2013 (UTC)
- By observation, x = 3, y = 4 and x = 4, y = 3 are both valid solutions. You can easily deduce that solutions must satisfy |x| ≤ 5 and |y| ≤ 5, plotting the curves will give you a good idea of the number of solutions. EdChem (talk) 04:13, 28 July 2013 (UTC)
- Indeed (although it's more correct to say they must be on the circle with r=5 and center at the origin than that) - the only way to solve it algebraically is to then try to factor that sixth-order polynomial via synthetic division - it might take a long time, but that's the only algebraic way I can think of.--Jasper Deng (talk) 04:18, 28 July 2013 (UTC)
- By observation, x = 3, y = 4 and x = 4, y = 3 are both valid solutions. You can easily deduce that solutions must satisfy |x| ≤ 5 and |y| ≤ 5, plotting the curves will give you a good idea of the number of solutions. EdChem (talk) 04:13, 28 July 2013 (UTC)
- Addendum: After plotting both equations, I see there are in fact four solutions. These first two points with integer coordinates aren't that hard, but there are two others that have to be found using the quartic formula.--Jasper Deng (talk) 05:45, 28 July 2013 (UTC)
The equations are symmetric: if (x,y) is a solution then so is (y,x). Therefore each equation can be written in terms of the product p=xy and the sum s=x+y, and knowing p and s you find x by solving the equation x2 − sx + p = 0. The equations are
- 0 = s2 − 2p − 25 = s3 − 3ps − 91
= 3s(s2 − 2p − 25) − 2(s3 − 3ps − 91)
= s3 − 75s + 182 = (s − 7)(s2 + 7 s − 26)
Bo Jacoby (talk) 11:13, 28 July 2013 (UTC).
The equations are solved like this.
p = (s2 − 25)/2
x2 − sx + p = 0
x2 − sx + (s2 − 25)/2 = 0
x = (s + (50 − s2)1/2)/2
y = s − x
(s − 7)(s2 + 7 s − 26) = 0
There are six solutions: the following three and their symmetricals.
s1 = 7 ;
x1 = (7 + (50 − 72)1/2)/2 = 4 ;
y1 = 7 − 4 = 3
s2 = (3×171/2 − 7)/2 ;
x2 = (s2 + (50 − s2 2)1/2)/2 ;
y2 = s2 − x2
s3 = (− 3×171/2 − 7)/2 ;
x3 = (s3 + (50 − s3 2)1/2)/2 ;
y3 = s3 − x3
Bo Jacoby (talk) 21:53, 28 July 2013 (UTC).
- Really, six solutions? The graph of the two only suggests the existence of four, which makes two of those solutions extraneous.--Jasper Deng (talk) 23:20, 28 July 2013 (UTC)
- Only four of the solutions are real. Sławomir Biały (talk) 00:07, 29 July 2013 (UTC)
- Bézout's theorem guarantees 6 solutions (including multiples and complex).RDBury (talk) 00:46, 29 July 2013 (UTC)
- Only four of the solutions are real. Sławomir Biały (talk) 00:07, 29 July 2013 (UTC)
Solutions: (3, 4), (4, 3), (4.61313, −1.92847), (−1.92847, 4.61313), (−4.84233+3.3088i, −4.84233−3.3088i), (−4.84233−3.3088i, −4.84233+3.3088i) Bo Jacoby (talk) 05:08, 29 July 2013 (UTC).
- I'm sure it was one of the last two that the original poster was looking for. :) Naraht (talk) 15:37, 29 July 2013 (UTC)
- i imagine so. :-) StuRat (talk) 06:11, 1 August 2013 (UTC)
The OP was looking for tricks. It is luck that these equations are solvable by square roots. Algebraic equations 0=f(x,y)=g(x,y) are solved by eliminating y getting 0=h(x) where h is a polynomial. In our case h(x) has degree 6, as pointed out by Jasper Deng, and so there are six solutions. Bo Jacoby (talk) 05:14, 2 August 2013 (UTC).