SOLUTION: How do you solve a system of equations with two equations that are non linear if you have both of the following? {{{ x = 3-y }}} {{{ y = sqrt(x+3) }}}

Algebra ->  Linear-equations -> SOLUTION: How do you solve a system of equations with two equations that are non linear if you have both of the following? {{{ x = 3-y }}} {{{ y = sqrt(x+3) }}}      Log On


   



Question 1103940: How do you solve a system of equations with two equations that are non linear if you have both of the following?
+x+=+3-y+
+y+=+sqrt%28x%2B3%29+

Found 2 solutions by ikleyn, josgarithmetic:
Answer by ikleyn(52831) About Me  (Show Source):
You can put this solution on YOUR website!
.
How do you solve a system of equations with two equations that are non linear if you have both of the following?
+x+=+3-y+
+y+=+sqrt%28x%2B3%29+
~~~~~~~~~~~~~~~~~~~~~~

x = 3-y,           (1)
y = sqrt%28x%2B3%29.         (2)


In problems like this, the square root in equation (2) is the POSITIVE branch of the square root, so it is POSITIVE.


Square the equation (2) (both sides).  You will get

y^2 = x + 3. 


Now replace "x" in this last equation by 3-y, based on (1). You will get

y^2 = (3-y) + 3,    or

y^2 + y - 6 = 0.


y%5B1%2C2%5D = %28-1+%2B-+sqrt%28%28-1%29%5E2+-+4%2A%28-6%29%29%29%2F2 = %28-1+%2B-+sqrt%281%2B24%29%29%2F2 = %28-1+%2B-+5%29%2F2.


Now, only positive "y" is acceptable, as I said above.

So, y = %28-1+%2B+5%29%2F2 = 2 is the only solution.

Then x = 3-2 = 1.


Answer.  The solution is  x = 1,  y = 2.   

         You can easily check it.


Below is the graph of participating functions.






Plot y = 3-x (red)  and y = sqrt%28x%2B3%29 (green)


Answer by josgarithmetic(39623) About Me  (Show Source):
You can put this solution on YOUR website!
The system is equivalent to system%28y=3-x%2Cy=sqrt%28x%2B3%29%29;
Solve this to find x, first.

3-x=sqrt%28x%2B3%29
9-6x%2Bx%5E2=x%2B3
.
.
.
%28x-1%29%28x-6%29=0

One of these might NOT be part of the solution:
system%28x=1%2Cx=6%29

If x is 1, then y=2.
If x is 6, then y=-3.---------This one will NOT work.
Looking at this for the second given equation, -3=sqrt(6+3) is false.

SOLUTION:
highlight%28system%28x=1%2Cy=2%29%29