Physics Forums

How would you go about solving these set of equations?

Say you have a set of equations of the form
[itex]\left\{ \begin{array}{rl}
x+y+z &=a \\
xy + xz + yz &= b \\
xyz &= c
\end{array} \right. [/itex]
(for clarity: I'm working over the regular numbers)
how would you go about solving it elegantly? (or at least rewriting it as linear equations)

I'm thinking of something analogous to how you can solve
[itex]\left\{ \begin{array}{rl}
x+y &=a \\
xy &= b
\end{array} \right. [/itex]
namely by noting that (x-y)² = (x+y)² - 4xy = a² - 4b (and after taking the square root we're left with two good ol' linear equations, i.e. x+y=... and x-y=..., a form which I regard as "being solved")

Quote by mr. vodka 					 				 				Say you have a set of equations of the form $\left\{ \begin{array}{rl} x+y+z &=a \\ xy + xz + yz &= b \\ xyz &= c \end{array} \right.$ (for clarity: I'm working over the regular numbers) how would you go about solving it elegantly? (or at least rewriting it as linear equations)  I'm thinking of something analogous to how you can solve  $\left\{ \begin{array}{rl} x+y &=a \\ xy &= b \end{array} \right.$ namely by noting that (x-y)² = (x+y)² - 4xy = a² - 4b (and after taking the square root we're left with two good ol' linear equations, i.e. x+y=... and x-y=..., a form which I regard as "being solved")
Hey mr. vodka.

Have you tried just subsituting two of the variables to get the whole thing in a third one?

So for example you could everything in terms of z by taking (1) to get x = a - y - z and taking (2) to get y = (b - xz)(x + z) and then plug in (1) and (2) and simplify to get an equation for (3) giving z = c/xy where you get an expression in terms of only z.

You could do it in more than one way (this is only one possible way), but then you would end up with some kind of equation and at the worst you can use a root-finding algorithm, and probably use a few transformations to get the thing in surd form if it exists (using your ideas in your original post).

Call the equations 1, 2 and 3  Multiply 2 by z  xyz+xz2+yz2=bz  Subtract 3  (x+y)z2 = bz-c  Substitute into 1  (bz-c)/z2+z=a  Can you take the cubic from there?

How would you go about solving these set of equations?

Thank you both for your trouble. Studiot's method was more like something I was looking for, thank you!

Thread Tools

|                                                                             |                                  |         |
|-----------------------------------------------------------------------------|----------------------------------|---------|
| Similar Threads for: How would you go about solving these set of equations? |                                  |         |
| Thread                                                                      | Forum                            | Replies |
|                                                                             | Precalculus Mathematics Homework | 2       |
|                                                                             | Calculus & Beyond Homework       | 25      |
|                                                                             | Calculus                         | 2       |
|                                                                             | Precalculus Mathematics Homework | 1       |
|                                                                             | Precalculus Mathematics Homework | 7       |
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 2, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": false, "markdown_code": false, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9503164887428284, "perplexity_flag": "middle"}