Solving a Quadratic Equation with Two Variables

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
Ashley1nOnly
Messages
132
Reaction score
3

Homework Statement


X^2-yx+y^2-7=0

Homework Equations



-b +- sqrt(b^2-4ac)/2a

The Attempt at a Solution


Trying to complete the square with two variables
(x^2-yx)+(y^2)=7

(X^2-yx+y/2)+y^2=7
Where else from here. I'm just having problems because of the y variable
 
Physics news on Phys.org
Ashley1nOnly said:

Homework Statement


X^2-yx+y^2-7=0
What's the complete problem statement? IOW, what are you supposed to do here?
Ashley1nOnly said:

Homework Equations



-b +- sqrt(b^2-4ac)/2a

The Attempt at a Solution


Trying to complete the square with two variables
(x^2-yx)+(y^2)=7

(X^2-yx+y/2)+y^2=7
Where else from here. I'm just having problems because of the y variable
 
The original equation was a differential equation
(2x-y)dx+(2y-X)dy= 0
Which I solved and got
X^2-yx+y^2=7

It took the form of
M(X,y)dx+N(X,y)=0

M(partial y)= N(partial X)

So it had an exact solution
I then continued the rest of the steps and got my final answer but it needs to be in terms of y.

The final answer is

Y=[x+sqrt(28-3x^2)]/2, |x|<sqrt(28/3)

I'm trying to transform my answer into their final answer.
 
I need help completing the squares so that I can use the quadratic equation to solve for y.
 
Ashley1nOnly said:
I need help completing the squares so that I can use the quadratic equation to solve for y.
You need y as function of x. So write y2-yx+x2-7 in form (y-x/2)2+f(x)
 
@Ashley1nOnly, your first post should have started like this:

Homework Statement


Solve for y in the equation X^2-yx+y^2-7=0

Homework Equations



-b +- sqrt(b^2-4ac)/2a
One other thing -- what you wrote above would be interpreted by most as
$$-b \pm \frac{\sqrt{b^2 - 4ac}}{2} a$$
 
Ashley1nOnly said:

Homework Statement


X^2-yx+y^2-7=0

Homework Equations



-b +- sqrt(b^2-4ac)/2a

The Attempt at a Solution


Trying to complete the square with two variables
(x^2-yx)+(y^2)=7

(X^2-yx+y/2)+y^2=7
Where else from here. I'm just having problems because of the y variable

You have an equation of the form ##y^2 + b y + c = 0##, with appropriate ##b## and ##c##. The solution forms
$$y_1 = \frac{-b + \sqrt{b^2 - 4 c}}{2} , \; y_2 = \frac{-b - \sqrt{b^2 - 4 c}}{2} $$
will give you the answer. It does not matter if ##b,c## are numerical constants, or if they are 1000-page formulas containing 500 other variables; as long as they do not contain ##y##, the quadratic solution formula holds and you are good to go.
 
Last edited: