Solving for Real Values of x, y, & z with x+y=1 and xy-z^2=1

  • Thread starter Thread starter Euler_Euclid
  • Start date Start date
AI Thread Summary
The discussion focuses on solving the equations x + y = 1 and xy - z² = 1 for real values of x, y, and z. It is established that substituting y from the first equation into the second leads to a quadratic equation, which ultimately reveals that the discriminant is negative for all values of z. This indicates that there are no real solutions for the variables. The graphical interpretation further confirms that the intersection of the regions defined by the equations does not yield any valid (x, y) pairs. Consequently, the conclusion is that no real solutions exist for the given equations.
Euler_Euclid
Messages
10
Reaction score
0
find all real values such that:
x+y=1
and xy-z^2=1

This one was in one of the exams we had.
 
Mathematics news on Phys.org
Nothing at all difficult about that, except that I presume you mean "find all 'triples' of real numbers, (x, y, z) that satisfy the equations". From x+ y= 1, y= 1- x. Putting that for y in the second equation, x(1- x)- z2= x- x2- z2= 1 which we can rewrite as the quadratic equation x2- x- (z2+ 1)= 0. Now we can solve that for x, as a function of z, using the quadratic formula:
x= \frac{-(-1)\pm\sqrt{(-1)^2- 4(1)(-(z^2+ 1)}}{2}= \frac{1\pm \sqrt{8z^2+ 9}}{2}
Now, since 8z2+ 9 is positive for all z, z can be any number, x can be calculated from that formula, and then y can be calculated from y= 1- x.
 
HallsofIvy said:
x= \cdots= \frac{1\pm \sqrt{8z^2+ 9}}{2}

As x must be positive, that can't be right.

The problem is easy to see graphically. The set of values for (x,y) is just the intersection of the region xy>=1 with the line x + y = 1, which gives a closed line segment.
 
x^2+2xy+y^2=1
x^2+y^2+2(1+z^2)=1
x^2+y^2+2z^2=-1

or

We observe that both y and x must be positive.

(x+y)^2/4>=xy, so xy<=1/4. (AM-GM)
z^2=xy-1<=-3/4, so no solutions for z if x and y are real.
 
gel said:
As x must be positive, that can't be right.

The problem is easy to see graphically. The set of values for (x,y) is just the intersection of the region xy>=1 with the line x + y = 1, which gives a closed line segment.

How on Earth can you deduce that?
 
Jarle said:
How on Earth can you deduce that?
z2 is nonnegative.
 
Of course.
Intersection of the region xy>=1 and the line x+y=1 :

y>=1/x, and y=1-x Suppose 1-x > 1/x, then 1/x+x<1 which is impossible! (as x is positive)
 
Right. I find it slightly quicker to visualize the result -- xy >= 1 fills in the top-right and bottom-left parts of the hyperbola xy=1... and x+y=1 passes right between the two branches.
 
Either way, the closed line segment doesn't exist, right?
 
  • #10
The question has no solution... Consider the following argument...


x + y = 1
xy = 1 + z^2

Now if x > 1, then
y = 1 - x => y < 0

This gives x > 1, y < 0, Thus xy < 0. But since xy = 1 + z^2, xy must be positive.

Thus x <= 1 and y <= 1

Now if x < 0, then
y = 1 - x => y > 1

In this case x < 0 and y > 1. Therefore xy < 0.
Thus x >= 0 and y >= 0.

Taking in both arguments
0 <= x <= 1
and 0 <= y<= 1.

In this case xy <= 1. However since xy = z^2 + 1, xy must be greater than or equal to 1. The only possibility is xy = 1

Solve for

x+y = 1
xy = 1

Since no real value satisfies this equation, no solution exists
 
Last edited:
  • #11
HallsofIvy said:
Nothing at all difficult about that, except that I presume you mean "find all 'triples' of real numbers, (x, y, z) that satisfy the equations". From x+ y= 1, y= 1- x. Putting that for y in the second equation, x(1- x)- z2= x- x2- z2= 1 which we can rewrite as the quadratic equation x2- x- (z2+ 1)= 0

Well, u made a mistake. x(1-x) - z2 = 1 does not reduce to x^2 - x - (z^2 - 1) = 0. Infact, the equation is x^2 - x + z^2 + 1 = 0.

D = (-1)^2 - 4(1)(z^2 + 1) = 1 - 4 - 4z^2 = -3 - 4 z^2 which is negative for all values of z. Thus, no real solution exists
 
  • #12
Thanks for clearing that up,prahamirta.
Another way of seeing this is by rewriting the correct quadratic as
(x-\frac{1}{2})^{2}+z^{2}=-\frac{3}{4}
 
Back
Top