Everything2
Near Matches
Ignore Exact
Full Text
Everything2

simultaneous equations

created by Percepied

(idea) by Percepied (1.7 mon) (print)   ?   1 C! Fri Sep 29 2000 at 21:15:08

A set of equations that (typically) share the same set of variables. A single equation is usually all that's necessary to find a unique value for a variable. If you have multiple variables in an equation, the values won't be unique. However, if you have multiple equations that use those same variables, you may be able to find a set (or finite number of sets) of unique values for those variables.

Let's consider the simplest example: linear equations. Each equation can be graphed as a line (or a plane, or a higher-dimensional point set). Oops, we're drifting from simple. Let's say we have the two-variable linear equation x - y = 0. If we draw this on a graph, we get a diagonal line from the lower left corner to the upper right corner of the graph. Any point on the line is a solution for x and y; for example, (-1,-1), (1,1), (2,2), etc. This equation has an infinite number of solutions.

Now we get more information in the form of a second linear equation: 2x + y = 4. If we draw this on the same graph, we get a line going from the lower right to the upper left (but with a steeper slope than the previous equation. Again, this equation has an infinite number of solutions for x and y: (0,4), (1,2), (2,0), and so on.

Separately, each equation has an infinite number of solutions but together, there is a unique solution. Since the lines aren't parallel, they intersect, and the point of intersection has a value of x and a value of y that fits on both lines.

What we just did was find a graphical solution to a pair of linear equations. One nice thing about linear equations is that they can be solved by algebraic substitution. We can rearrange an equation so one variable is expressed in terms of another variable. Then we plug that expression into the other equation, reducing it to a single variable, and solve it. We can get the same result by adding equations together.

When dealing with a large number of simultaneous (linear) equations, it's often convenient to put them in matrix format. The basic approach is to put the coefficients of the equation into a matrix, which, when multiplied by a column vector of variables, produces a column vector of constants. We can take the inverse of the matrix (got complicated rather fast, didn't it?), multiply it by both sides of the equation, and get the values of the variables immediately.

Are we always guaranteed a unique solution? No. Imagine if in the earlier example the lines were parallel. In this case, there would be no solution. Or, imagine if the equations described the same line. In that case, there would be an infinite number of solutions. When we use matricies, there are tricks for determining quickly the number of solutions. Coincidentally enough, these are called determinants.

Incidentally, these techniques cover only linear equations. When the equations are nonlinear, things turn ugly.


(idea) by Noung (5.7 hr) (print)   ?   1 C! Sat Nov 10 2001 at 13:39:27

Simultaneous equations are equations that share the same variables. Typically, we want to find both variables. Here's how.

If both equations are linear

Imagine the two equations

3x - 7y = 1
y = 2x - 8

We want to find the value of x and the value of y.

3x - 7y = 1
y = 2x - 8

First, we rearrange the first equation to make y the subject. That goes like this -

3x - 7y = 1
3x - 1 = 7y
(3x - 1)/ 7 = y

So far so good. Now we have two equations for y. The next logical thing to do is put them together, like this -

(3x - 1)/ 7 = 2x - 8

Now, we solve this for x. We will then have a value for x. Like this -

3x - 1 = 7( 2x - 8 )
3x - 1 = 14x - 56
-1 = 11x - 56
11x = 55
55 / 11 = x
x = 5

x is 5! Now, to get y, we simply subsitute this value for x back into one of the original equations, like so -

y = 2x - 8
y = (2 * 5) - 8
y = 10 - 8
y = 2

Voila, we now have values for x and y! This method is the hardest of the two to get to grips with, but the simplest once you master it.

If only one equation is linear

If only one of the equations in a simultaneous pair is linear, then the above method becomes a little different. Imagine one is linear and one is quadratic, like this -

y = 3x + 2
y = x2 + 2x + 2

As both of these are equations for y, we can put them together like this -

3x + 2 = y = x2 + 2x + 2

Then we can rearrange it into a quadratic equation, like this -

0 = x2 - x

The solution to this simple quadratic can then be found by completing the square, the quadratic formula or factorising. Then, when you have the two solutions to the quadratic equation, you simply plug these values for x back into one of the original equations to get values for y. In this case, when x = 1, y =5 and when x = 0, y = 2.

Graphs

It is also possible to find the solutions to simultaneous equations by plotting graphs of them. The points where the two graphs intersect one another are the solutions.

printable version
chaos

completing the square Theories about the future that make you think "Holy shit, I'm scared!" Matrix Order/Chaos bullshit question
Linear algebra computer vision half equation C!
Toom-Cook multiplication linear differential equation Anurupye - Shunyamanyat partial fraction
Gaussian formula 1000 Homo DJs Walkers Crisps Mesh Current Analysis
Coefficient Determinant Laplacian Vilokanam
Diverging Triangulate Bisecting a circle with a line Differential equation
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
Paris
love conquers all **
The peasant
The Lofoten Maelstrom
The boy who spoke with the sky
The top secret of talking like an American
The quest for high rep nodes
Eduard Wiiralt
Mesopotamia
eruv
Soap making
Salvador Dalí
Obedience to Authority
New Writeups
choirotey
Violent pickup lines(idea)
Ouzo
Blue Ovaries, Grrrrrrwl(log)
uncljoedoc
explanation(person)
Noung
One no longer loves one's insight when one communicates it(idea)
AspieDad
Pornology(essay)
nailbiter
Nicole duFresne(person)
Simulacron3
stigmergy(idea)
nakusavi
Yesterday I learned how to kiss(idea)
aneurin
UK Local Elections 2008(event)
Phyrkrakr
Kansas City Royals(thing)
niruena
Amalric of Bena(person)
niruena
Third Crusade(event)
Ariloulaleelay
I am a female android(personal)
csmith1492
Sublime Optimism(person)
etouffee
A tentative laugh, she expected to be interrupted(poetry)
E2 is a by-product of the existence of The Everything Development Company