How would you go about solving these set of equations?

  • Level: Undergrad 
  • Thread starter Thread starter nonequilibrium
  • Start date Start date
  • Tags Tags
    Set
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 3K views
nonequilibrium
Messages
1,412
Reaction score
2
Say you have a set of equations of the form
[itex]\left\{ \begin{array}{rl}<br /> x+y+z &=a \\<br /> xy + xz + yz &= b \\<br /> xyz &= c<br /> \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}<br /> x+y &=a \\<br /> xy &= b<br /> \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")
 
Mathematics news on Phys.org
mr. vodka said:
Say you have a set of equations of the form
[itex]\left\{ \begin{array}{rl}<br /> x+y+z &=a \\<br /> xy + xz + yz &= b \\<br /> xyz &= c<br /> \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}<br /> x+y &=a \\<br /> xy &= b<br /> \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")

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?
 
Last edited:
Thank you both for your trouble. Studiot's method was more like something I was looking for, thank you!