What is the general solution of a multivariate quadratic equation
$begingroup$
There exists a general solution to solve the general quadratic equation
$$ax^2 + bx + c = 0$$
Solution:
$$x = frac{-b pm sqrt{b^2 - 4ac}}{2a}$$
Does there exist a general solution for a general multivariate version of the quadratic equation?
$$a_ax_1^2+b_ax_2^2 + c_ax_1 + d_ax_2 + e_ax_1x_2+f_a = 0$$
$$a_bx_1^2+b_bx_2^2 + c_bx_1 + d_bx_2 + e_bx_1x_2+f_b = 0$$
Can this solution be generalized for cases with $n$ equations and $n$ unknowns?
roots quadratics
$endgroup$
add a comment |
$begingroup$
There exists a general solution to solve the general quadratic equation
$$ax^2 + bx + c = 0$$
Solution:
$$x = frac{-b pm sqrt{b^2 - 4ac}}{2a}$$
Does there exist a general solution for a general multivariate version of the quadratic equation?
$$a_ax_1^2+b_ax_2^2 + c_ax_1 + d_ax_2 + e_ax_1x_2+f_a = 0$$
$$a_bx_1^2+b_bx_2^2 + c_bx_1 + d_bx_2 + e_bx_1x_2+f_b = 0$$
Can this solution be generalized for cases with $n$ equations and $n$ unknowns?
roots quadratics
$endgroup$
add a comment |
$begingroup$
There exists a general solution to solve the general quadratic equation
$$ax^2 + bx + c = 0$$
Solution:
$$x = frac{-b pm sqrt{b^2 - 4ac}}{2a}$$
Does there exist a general solution for a general multivariate version of the quadratic equation?
$$a_ax_1^2+b_ax_2^2 + c_ax_1 + d_ax_2 + e_ax_1x_2+f_a = 0$$
$$a_bx_1^2+b_bx_2^2 + c_bx_1 + d_bx_2 + e_bx_1x_2+f_b = 0$$
Can this solution be generalized for cases with $n$ equations and $n$ unknowns?
roots quadratics
$endgroup$
There exists a general solution to solve the general quadratic equation
$$ax^2 + bx + c = 0$$
Solution:
$$x = frac{-b pm sqrt{b^2 - 4ac}}{2a}$$
Does there exist a general solution for a general multivariate version of the quadratic equation?
$$a_ax_1^2+b_ax_2^2 + c_ax_1 + d_ax_2 + e_ax_1x_2+f_a = 0$$
$$a_bx_1^2+b_bx_2^2 + c_bx_1 + d_bx_2 + e_bx_1x_2+f_b = 0$$
Can this solution be generalized for cases with $n$ equations and $n$ unknowns?
roots quadratics
roots quadratics
asked Jul 27 '16 at 17:32
Paul TerwilligerPaul Terwilliger
1299
1299
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
If you want the general solution, first we treat one of the equations as quadratic in $x_1$ or $x_2$ and 'solve it'. Let's pick $x_1$ and the first equation:
$$color{green}{x_1}=frac{-(c_a+e_a color{blue}{x_2}) pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_ax_2+f_a)}}{2a_a}$$
Then you have to substitue $x_1$ into the second equation. The best way would be to use the first equation again for $x_1^2$:
$$color{green}{x_1^2}=-frac{1}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)$$
Now from the second equation you get:
$$-frac{a_b}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)+b_bcolor{blue}{x_2^2}+c_bcolor{green}{x_1}+d_bcolor{blue}{x_2}+e_b color{green}{x_1} color{blue}{x_2}+f_b=0$$
Now let's separate $x_1$ so we can deal with the square root:
$$(a_b(c_a+e_a color{blue}{x_2})-a_a e_b color{blue}{x_2}-a_ac_b)color{green}{x_1}=a_a(b_b color{blue}{x_2^2}+d_b color{blue}{x_2}+f_b)-a_b(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)$$
$$(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})color{green}{x_1}=(a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_a$$
Now we substitue $x_1$ and get the square root on one side:
$$pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)}(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})= \ =(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})(c_a+e_a color{blue}{x_2})+ \ +2a_aleft((a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_aright)$$
Now you square both sides and since the maximum degree of $x_2$ right now is $2$, after squaring you get a quartic (4th degree) equation.
It has a general solution in radicals, but I certainly won't be writing it here.
Feeling hopeful about $n>2$ yet?
$endgroup$
$begingroup$
Thank you for your response. The case when n=2 is important, but the general case is also important. Maybe it will be hard to compute by hand, but do you know of a way that one can solve the general case with the use of software/programming?
$endgroup$
– Paul Terwilliger
Jul 28 '16 at 14:02
1
$begingroup$
@PaulTerwilliger, if you mean numerical methods, there are plenty of them, although for non-linear systems of equations they are more complicated. See here for example about Newton's method for systems math.ohiou.edu/courses/math3600/lecture13.pdf
$endgroup$
– Yuriy S
Jul 28 '16 at 14:04
$begingroup$
I like your answer: it involves computations of a complexity that I would fear to attempt. By now, two years and more later, you probably know everything I put into my answer just now, but it offers a more abstract way of looking at the same problem.
$endgroup$
– Lubin
Jan 3 at 5:49
add a comment |
$begingroup$
I speak only to the solution of the pair of quadratic equations of the type you have given. A higher number number of variables brings on much more elaborate mathematics.
You have asked about simultaneous solutions of a pair of quadratic equations,
begin{align}
Q_1(x,y)&=0\Q_2(x,y)&=0,.
end{align}
There’s a general theorem of Bézout that says that, properly interpreted, a pair of two-variable equations of degrees $d_1$ and $d_2$ will have precisely $d_1d_2$ solutions. That is, looking at each of the equations as describing a curve, there are $d_1d_2$ points in the intersection. You have to count multiplicity, you have to allow coordinates in an algebraically closed field (like the complex numbers $Bbb C$), and you have to look projectively as well, to catch points “at infinity”.
In your case, as long as the equations both are genuinely of degree two, you are intersecting two conic sections, and there will be precisely four points in common. As @YuriyS has pointed out in his fine answer, getting their coordinates explicitly can be a bit of a bother.
But if you presented me with a particular pair of quadratics, I would make
things easy for myself by recoordinatizing the plane so that, if one of the curves was not a parabola, its equation would take on the nice form that you probably know, $$frac{x^2}{alpha^2}pmfrac{y^2}{beta^2}=1,,$$ where you’ll get the plus sign if the curve is an ellipse, a minus if it’s a hyperbola.
Then, you would perform the same transformation on the other quadratic so that its equation now looks like $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0,,$$after which you can solve the upper new equation for (say) $y$, substitute this into the lower, and get (after simplifying) a quartic equation in $x$ only. And now you can find the associated $y$-values from the other equation, being careful to discard extraneous values of $y$.
I can’t resist saying something about Bézout’s Theorem, which is truly wonderful. Think of what happens when you have two ellipses in the plane. You may see no apparent intersection points, because all four are complex; or one, two, three, or four apparent points in the real plane. For fun, you should try drawing all five possibilities. But what about the case of two concentric circles? Here, the four intersections are “at infinity”, you’ll have to learn a bit of projective geometry to understand the rigorous definition, and they have complex coordinates, so can’t even be seen in the real projective plane.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1873045%2fwhat-is-the-general-solution-of-a-multivariate-quadratic-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
If you want the general solution, first we treat one of the equations as quadratic in $x_1$ or $x_2$ and 'solve it'. Let's pick $x_1$ and the first equation:
$$color{green}{x_1}=frac{-(c_a+e_a color{blue}{x_2}) pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_ax_2+f_a)}}{2a_a}$$
Then you have to substitue $x_1$ into the second equation. The best way would be to use the first equation again for $x_1^2$:
$$color{green}{x_1^2}=-frac{1}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)$$
Now from the second equation you get:
$$-frac{a_b}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)+b_bcolor{blue}{x_2^2}+c_bcolor{green}{x_1}+d_bcolor{blue}{x_2}+e_b color{green}{x_1} color{blue}{x_2}+f_b=0$$
Now let's separate $x_1$ so we can deal with the square root:
$$(a_b(c_a+e_a color{blue}{x_2})-a_a e_b color{blue}{x_2}-a_ac_b)color{green}{x_1}=a_a(b_b color{blue}{x_2^2}+d_b color{blue}{x_2}+f_b)-a_b(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)$$
$$(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})color{green}{x_1}=(a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_a$$
Now we substitue $x_1$ and get the square root on one side:
$$pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)}(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})= \ =(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})(c_a+e_a color{blue}{x_2})+ \ +2a_aleft((a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_aright)$$
Now you square both sides and since the maximum degree of $x_2$ right now is $2$, after squaring you get a quartic (4th degree) equation.
It has a general solution in radicals, but I certainly won't be writing it here.
Feeling hopeful about $n>2$ yet?
$endgroup$
$begingroup$
Thank you for your response. The case when n=2 is important, but the general case is also important. Maybe it will be hard to compute by hand, but do you know of a way that one can solve the general case with the use of software/programming?
$endgroup$
– Paul Terwilliger
Jul 28 '16 at 14:02
1
$begingroup$
@PaulTerwilliger, if you mean numerical methods, there are plenty of them, although for non-linear systems of equations they are more complicated. See here for example about Newton's method for systems math.ohiou.edu/courses/math3600/lecture13.pdf
$endgroup$
– Yuriy S
Jul 28 '16 at 14:04
$begingroup$
I like your answer: it involves computations of a complexity that I would fear to attempt. By now, two years and more later, you probably know everything I put into my answer just now, but it offers a more abstract way of looking at the same problem.
$endgroup$
– Lubin
Jan 3 at 5:49
add a comment |
$begingroup$
If you want the general solution, first we treat one of the equations as quadratic in $x_1$ or $x_2$ and 'solve it'. Let's pick $x_1$ and the first equation:
$$color{green}{x_1}=frac{-(c_a+e_a color{blue}{x_2}) pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_ax_2+f_a)}}{2a_a}$$
Then you have to substitue $x_1$ into the second equation. The best way would be to use the first equation again for $x_1^2$:
$$color{green}{x_1^2}=-frac{1}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)$$
Now from the second equation you get:
$$-frac{a_b}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)+b_bcolor{blue}{x_2^2}+c_bcolor{green}{x_1}+d_bcolor{blue}{x_2}+e_b color{green}{x_1} color{blue}{x_2}+f_b=0$$
Now let's separate $x_1$ so we can deal with the square root:
$$(a_b(c_a+e_a color{blue}{x_2})-a_a e_b color{blue}{x_2}-a_ac_b)color{green}{x_1}=a_a(b_b color{blue}{x_2^2}+d_b color{blue}{x_2}+f_b)-a_b(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)$$
$$(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})color{green}{x_1}=(a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_a$$
Now we substitue $x_1$ and get the square root on one side:
$$pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)}(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})= \ =(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})(c_a+e_a color{blue}{x_2})+ \ +2a_aleft((a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_aright)$$
Now you square both sides and since the maximum degree of $x_2$ right now is $2$, after squaring you get a quartic (4th degree) equation.
It has a general solution in radicals, but I certainly won't be writing it here.
Feeling hopeful about $n>2$ yet?
$endgroup$
$begingroup$
Thank you for your response. The case when n=2 is important, but the general case is also important. Maybe it will be hard to compute by hand, but do you know of a way that one can solve the general case with the use of software/programming?
$endgroup$
– Paul Terwilliger
Jul 28 '16 at 14:02
1
$begingroup$
@PaulTerwilliger, if you mean numerical methods, there are plenty of them, although for non-linear systems of equations they are more complicated. See here for example about Newton's method for systems math.ohiou.edu/courses/math3600/lecture13.pdf
$endgroup$
– Yuriy S
Jul 28 '16 at 14:04
$begingroup$
I like your answer: it involves computations of a complexity that I would fear to attempt. By now, two years and more later, you probably know everything I put into my answer just now, but it offers a more abstract way of looking at the same problem.
$endgroup$
– Lubin
Jan 3 at 5:49
add a comment |
$begingroup$
If you want the general solution, first we treat one of the equations as quadratic in $x_1$ or $x_2$ and 'solve it'. Let's pick $x_1$ and the first equation:
$$color{green}{x_1}=frac{-(c_a+e_a color{blue}{x_2}) pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_ax_2+f_a)}}{2a_a}$$
Then you have to substitue $x_1$ into the second equation. The best way would be to use the first equation again for $x_1^2$:
$$color{green}{x_1^2}=-frac{1}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)$$
Now from the second equation you get:
$$-frac{a_b}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)+b_bcolor{blue}{x_2^2}+c_bcolor{green}{x_1}+d_bcolor{blue}{x_2}+e_b color{green}{x_1} color{blue}{x_2}+f_b=0$$
Now let's separate $x_1$ so we can deal with the square root:
$$(a_b(c_a+e_a color{blue}{x_2})-a_a e_b color{blue}{x_2}-a_ac_b)color{green}{x_1}=a_a(b_b color{blue}{x_2^2}+d_b color{blue}{x_2}+f_b)-a_b(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)$$
$$(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})color{green}{x_1}=(a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_a$$
Now we substitue $x_1$ and get the square root on one side:
$$pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)}(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})= \ =(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})(c_a+e_a color{blue}{x_2})+ \ +2a_aleft((a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_aright)$$
Now you square both sides and since the maximum degree of $x_2$ right now is $2$, after squaring you get a quartic (4th degree) equation.
It has a general solution in radicals, but I certainly won't be writing it here.
Feeling hopeful about $n>2$ yet?
$endgroup$
If you want the general solution, first we treat one of the equations as quadratic in $x_1$ or $x_2$ and 'solve it'. Let's pick $x_1$ and the first equation:
$$color{green}{x_1}=frac{-(c_a+e_a color{blue}{x_2}) pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_ax_2+f_a)}}{2a_a}$$
Then you have to substitue $x_1$ into the second equation. The best way would be to use the first equation again for $x_1^2$:
$$color{green}{x_1^2}=-frac{1}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)$$
Now from the second equation you get:
$$-frac{a_b}{a_a} left((c_a+e_a color{blue}{x_2})color{green}{x_1}+b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a right)+b_bcolor{blue}{x_2^2}+c_bcolor{green}{x_1}+d_bcolor{blue}{x_2}+e_b color{green}{x_1} color{blue}{x_2}+f_b=0$$
Now let's separate $x_1$ so we can deal with the square root:
$$(a_b(c_a+e_a color{blue}{x_2})-a_a e_b color{blue}{x_2}-a_ac_b)color{green}{x_1}=a_a(b_b color{blue}{x_2^2}+d_b color{blue}{x_2}+f_b)-a_b(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)$$
$$(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})color{green}{x_1}=(a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_a$$
Now we substitue $x_1$ and get the square root on one side:
$$pm sqrt{(c_a+e_a color{blue}{x_2})^2-4a_a(b_a color{blue}{x_2^2}+d_acolor{blue}{x_2}+f_a)}(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})= \ =(a_bc_a-a_ac_b+(a_be_a-a_a e_b)color{blue}{x_2})(c_a+e_a color{blue}{x_2})+ \ +2a_aleft((a_ab_b-a_bb_a)color{blue}{x_2^2}+(a_ad_b-a_bd_a)color{blue}{x_2}+a_af_b-a_bf_aright)$$
Now you square both sides and since the maximum degree of $x_2$ right now is $2$, after squaring you get a quartic (4th degree) equation.
It has a general solution in radicals, but I certainly won't be writing it here.
Feeling hopeful about $n>2$ yet?
edited Jul 27 '16 at 19:05
answered Jul 27 '16 at 18:49


Yuriy SYuriy S
15.7k433117
15.7k433117
$begingroup$
Thank you for your response. The case when n=2 is important, but the general case is also important. Maybe it will be hard to compute by hand, but do you know of a way that one can solve the general case with the use of software/programming?
$endgroup$
– Paul Terwilliger
Jul 28 '16 at 14:02
1
$begingroup$
@PaulTerwilliger, if you mean numerical methods, there are plenty of them, although for non-linear systems of equations they are more complicated. See here for example about Newton's method for systems math.ohiou.edu/courses/math3600/lecture13.pdf
$endgroup$
– Yuriy S
Jul 28 '16 at 14:04
$begingroup$
I like your answer: it involves computations of a complexity that I would fear to attempt. By now, two years and more later, you probably know everything I put into my answer just now, but it offers a more abstract way of looking at the same problem.
$endgroup$
– Lubin
Jan 3 at 5:49
add a comment |
$begingroup$
Thank you for your response. The case when n=2 is important, but the general case is also important. Maybe it will be hard to compute by hand, but do you know of a way that one can solve the general case with the use of software/programming?
$endgroup$
– Paul Terwilliger
Jul 28 '16 at 14:02
1
$begingroup$
@PaulTerwilliger, if you mean numerical methods, there are plenty of them, although for non-linear systems of equations they are more complicated. See here for example about Newton's method for systems math.ohiou.edu/courses/math3600/lecture13.pdf
$endgroup$
– Yuriy S
Jul 28 '16 at 14:04
$begingroup$
I like your answer: it involves computations of a complexity that I would fear to attempt. By now, two years and more later, you probably know everything I put into my answer just now, but it offers a more abstract way of looking at the same problem.
$endgroup$
– Lubin
Jan 3 at 5:49
$begingroup$
Thank you for your response. The case when n=2 is important, but the general case is also important. Maybe it will be hard to compute by hand, but do you know of a way that one can solve the general case with the use of software/programming?
$endgroup$
– Paul Terwilliger
Jul 28 '16 at 14:02
$begingroup$
Thank you for your response. The case when n=2 is important, but the general case is also important. Maybe it will be hard to compute by hand, but do you know of a way that one can solve the general case with the use of software/programming?
$endgroup$
– Paul Terwilliger
Jul 28 '16 at 14:02
1
1
$begingroup$
@PaulTerwilliger, if you mean numerical methods, there are plenty of them, although for non-linear systems of equations they are more complicated. See here for example about Newton's method for systems math.ohiou.edu/courses/math3600/lecture13.pdf
$endgroup$
– Yuriy S
Jul 28 '16 at 14:04
$begingroup$
@PaulTerwilliger, if you mean numerical methods, there are plenty of them, although for non-linear systems of equations they are more complicated. See here for example about Newton's method for systems math.ohiou.edu/courses/math3600/lecture13.pdf
$endgroup$
– Yuriy S
Jul 28 '16 at 14:04
$begingroup$
I like your answer: it involves computations of a complexity that I would fear to attempt. By now, two years and more later, you probably know everything I put into my answer just now, but it offers a more abstract way of looking at the same problem.
$endgroup$
– Lubin
Jan 3 at 5:49
$begingroup$
I like your answer: it involves computations of a complexity that I would fear to attempt. By now, two years and more later, you probably know everything I put into my answer just now, but it offers a more abstract way of looking at the same problem.
$endgroup$
– Lubin
Jan 3 at 5:49
add a comment |
$begingroup$
I speak only to the solution of the pair of quadratic equations of the type you have given. A higher number number of variables brings on much more elaborate mathematics.
You have asked about simultaneous solutions of a pair of quadratic equations,
begin{align}
Q_1(x,y)&=0\Q_2(x,y)&=0,.
end{align}
There’s a general theorem of Bézout that says that, properly interpreted, a pair of two-variable equations of degrees $d_1$ and $d_2$ will have precisely $d_1d_2$ solutions. That is, looking at each of the equations as describing a curve, there are $d_1d_2$ points in the intersection. You have to count multiplicity, you have to allow coordinates in an algebraically closed field (like the complex numbers $Bbb C$), and you have to look projectively as well, to catch points “at infinity”.
In your case, as long as the equations both are genuinely of degree two, you are intersecting two conic sections, and there will be precisely four points in common. As @YuriyS has pointed out in his fine answer, getting their coordinates explicitly can be a bit of a bother.
But if you presented me with a particular pair of quadratics, I would make
things easy for myself by recoordinatizing the plane so that, if one of the curves was not a parabola, its equation would take on the nice form that you probably know, $$frac{x^2}{alpha^2}pmfrac{y^2}{beta^2}=1,,$$ where you’ll get the plus sign if the curve is an ellipse, a minus if it’s a hyperbola.
Then, you would perform the same transformation on the other quadratic so that its equation now looks like $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0,,$$after which you can solve the upper new equation for (say) $y$, substitute this into the lower, and get (after simplifying) a quartic equation in $x$ only. And now you can find the associated $y$-values from the other equation, being careful to discard extraneous values of $y$.
I can’t resist saying something about Bézout’s Theorem, which is truly wonderful. Think of what happens when you have two ellipses in the plane. You may see no apparent intersection points, because all four are complex; or one, two, three, or four apparent points in the real plane. For fun, you should try drawing all five possibilities. But what about the case of two concentric circles? Here, the four intersections are “at infinity”, you’ll have to learn a bit of projective geometry to understand the rigorous definition, and they have complex coordinates, so can’t even be seen in the real projective plane.
$endgroup$
add a comment |
$begingroup$
I speak only to the solution of the pair of quadratic equations of the type you have given. A higher number number of variables brings on much more elaborate mathematics.
You have asked about simultaneous solutions of a pair of quadratic equations,
begin{align}
Q_1(x,y)&=0\Q_2(x,y)&=0,.
end{align}
There’s a general theorem of Bézout that says that, properly interpreted, a pair of two-variable equations of degrees $d_1$ and $d_2$ will have precisely $d_1d_2$ solutions. That is, looking at each of the equations as describing a curve, there are $d_1d_2$ points in the intersection. You have to count multiplicity, you have to allow coordinates in an algebraically closed field (like the complex numbers $Bbb C$), and you have to look projectively as well, to catch points “at infinity”.
In your case, as long as the equations both are genuinely of degree two, you are intersecting two conic sections, and there will be precisely four points in common. As @YuriyS has pointed out in his fine answer, getting their coordinates explicitly can be a bit of a bother.
But if you presented me with a particular pair of quadratics, I would make
things easy for myself by recoordinatizing the plane so that, if one of the curves was not a parabola, its equation would take on the nice form that you probably know, $$frac{x^2}{alpha^2}pmfrac{y^2}{beta^2}=1,,$$ where you’ll get the plus sign if the curve is an ellipse, a minus if it’s a hyperbola.
Then, you would perform the same transformation on the other quadratic so that its equation now looks like $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0,,$$after which you can solve the upper new equation for (say) $y$, substitute this into the lower, and get (after simplifying) a quartic equation in $x$ only. And now you can find the associated $y$-values from the other equation, being careful to discard extraneous values of $y$.
I can’t resist saying something about Bézout’s Theorem, which is truly wonderful. Think of what happens when you have two ellipses in the plane. You may see no apparent intersection points, because all four are complex; or one, two, three, or four apparent points in the real plane. For fun, you should try drawing all five possibilities. But what about the case of two concentric circles? Here, the four intersections are “at infinity”, you’ll have to learn a bit of projective geometry to understand the rigorous definition, and they have complex coordinates, so can’t even be seen in the real projective plane.
$endgroup$
add a comment |
$begingroup$
I speak only to the solution of the pair of quadratic equations of the type you have given. A higher number number of variables brings on much more elaborate mathematics.
You have asked about simultaneous solutions of a pair of quadratic equations,
begin{align}
Q_1(x,y)&=0\Q_2(x,y)&=0,.
end{align}
There’s a general theorem of Bézout that says that, properly interpreted, a pair of two-variable equations of degrees $d_1$ and $d_2$ will have precisely $d_1d_2$ solutions. That is, looking at each of the equations as describing a curve, there are $d_1d_2$ points in the intersection. You have to count multiplicity, you have to allow coordinates in an algebraically closed field (like the complex numbers $Bbb C$), and you have to look projectively as well, to catch points “at infinity”.
In your case, as long as the equations both are genuinely of degree two, you are intersecting two conic sections, and there will be precisely four points in common. As @YuriyS has pointed out in his fine answer, getting their coordinates explicitly can be a bit of a bother.
But if you presented me with a particular pair of quadratics, I would make
things easy for myself by recoordinatizing the plane so that, if one of the curves was not a parabola, its equation would take on the nice form that you probably know, $$frac{x^2}{alpha^2}pmfrac{y^2}{beta^2}=1,,$$ where you’ll get the plus sign if the curve is an ellipse, a minus if it’s a hyperbola.
Then, you would perform the same transformation on the other quadratic so that its equation now looks like $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0,,$$after which you can solve the upper new equation for (say) $y$, substitute this into the lower, and get (after simplifying) a quartic equation in $x$ only. And now you can find the associated $y$-values from the other equation, being careful to discard extraneous values of $y$.
I can’t resist saying something about Bézout’s Theorem, which is truly wonderful. Think of what happens when you have two ellipses in the plane. You may see no apparent intersection points, because all four are complex; or one, two, three, or four apparent points in the real plane. For fun, you should try drawing all five possibilities. But what about the case of two concentric circles? Here, the four intersections are “at infinity”, you’ll have to learn a bit of projective geometry to understand the rigorous definition, and they have complex coordinates, so can’t even be seen in the real projective plane.
$endgroup$
I speak only to the solution of the pair of quadratic equations of the type you have given. A higher number number of variables brings on much more elaborate mathematics.
You have asked about simultaneous solutions of a pair of quadratic equations,
begin{align}
Q_1(x,y)&=0\Q_2(x,y)&=0,.
end{align}
There’s a general theorem of Bézout that says that, properly interpreted, a pair of two-variable equations of degrees $d_1$ and $d_2$ will have precisely $d_1d_2$ solutions. That is, looking at each of the equations as describing a curve, there are $d_1d_2$ points in the intersection. You have to count multiplicity, you have to allow coordinates in an algebraically closed field (like the complex numbers $Bbb C$), and you have to look projectively as well, to catch points “at infinity”.
In your case, as long as the equations both are genuinely of degree two, you are intersecting two conic sections, and there will be precisely four points in common. As @YuriyS has pointed out in his fine answer, getting their coordinates explicitly can be a bit of a bother.
But if you presented me with a particular pair of quadratics, I would make
things easy for myself by recoordinatizing the plane so that, if one of the curves was not a parabola, its equation would take on the nice form that you probably know, $$frac{x^2}{alpha^2}pmfrac{y^2}{beta^2}=1,,$$ where you’ll get the plus sign if the curve is an ellipse, a minus if it’s a hyperbola.
Then, you would perform the same transformation on the other quadratic so that its equation now looks like $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0,,$$after which you can solve the upper new equation for (say) $y$, substitute this into the lower, and get (after simplifying) a quartic equation in $x$ only. And now you can find the associated $y$-values from the other equation, being careful to discard extraneous values of $y$.
I can’t resist saying something about Bézout’s Theorem, which is truly wonderful. Think of what happens when you have two ellipses in the plane. You may see no apparent intersection points, because all four are complex; or one, two, three, or four apparent points in the real plane. For fun, you should try drawing all five possibilities. But what about the case of two concentric circles? Here, the four intersections are “at infinity”, you’ll have to learn a bit of projective geometry to understand the rigorous definition, and they have complex coordinates, so can’t even be seen in the real projective plane.
answered Jan 3 at 5:47
LubinLubin
44k44585
44k44585
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1873045%2fwhat-is-the-general-solution-of-a-multivariate-quadratic-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown