Solving systems of equations >2 simultaneous

Click For Summary

Homework Help Overview

The discussion revolves around solving systems of equations arising from nodal analysis, specifically focusing on handling 3 to 5 simultaneous equations that are not in a matrix-friendly form. Participants are exploring methods to solve these equations, particularly in the context of using calculators versus software like Mathematica.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss rearranging equations to express variables in terms of others, as well as the potential use of linear algebra techniques. There are inquiries about the necessity of rearrangement for larger systems and whether simpler methods exist beyond computational tools.

Discussion Status

Several participants have offered insights into using linear algebra and matrix methods, with some expressing frustration over the complexity of Gaussian elimination. There is an ongoing exploration of different approaches, and while some guidance has been provided, no consensus has been reached on the best method for solving the equations.

Contextual Notes

Participants mention the challenges of rearranging equations and the limitations of their calculators compared to software solutions. There is a shared uncertainty regarding the names of specific methods within linear algebra that could simplify the process.

pat666
Messages
703
Reaction score
0

Homework Statement



Hi, I'm doing nodal analysis and I end up with 3-5 equations that need solving simultaneously. I have been sticking them in mathematica and letting it do its thing but I need to be able to do it on my 89 too.
The trouble is that there not in a matrix friendly form - - - something like this:
[tex]0=(v_1-10)/4700+v_1/10000+(v_1-v_2)/1000[/tex]
[tex]0=(v_2-v_1)/1000+(v_2-v_4)/470+(v_2- v_4)/1000[/tex]
[tex]0=(v_4-v_2)/1000+(v_4-v_2)/470+v_4/10000+(v_4-5)/10000[/tex]

Can someone help me find a simple way of solving these

Thanks

Homework Equations


The Attempt at a Solution

 
Physics news on Phys.org
hi pat666! :smile:

(try using the X2 icon just above the Reply box :wink:)

for just 3 equations, use the first one to write v1 as a function of v2

then substitute that value of v1 into the second equation …

you second and third equations are now two linear euqations in v2 and v4 :smile:
 
How about for systems of 4 or 5 eq's. From my experience matrices (can't remember the name of the mathematician or consequently the procedure's name) are the way to go. My question is, would that require rearrangement to or is there a shortcut I haven't seen yet. There must be simple ways to do this aside from mathematica, MATLAB etc??

Thanks
 
U can use linear algebra to solve it.

A*x = b
x = (inv)A*b

where in your case:
A ={{(1/4700+1/10000+1/1000), -1/1000,0};{-1/1000,(1/1000+1/470+1/1000),(-1/470-1/1000)};{0,(-1/1000-1/470),(1/1000+1/470+1/10000+1/10000)}}

b = (10/4700,0,5/10000)'
x = (v1,v2,v4)'

(inv)A you can easily get in a calculator which can handle matrixes.
By hand its very tedious :)
 
pat666 said:
From my experience matrices (can't remember the name of the mathematician or consequently the procedure's name) are the way to go.

you mean http://en.wikipedia.org/wiki/Gaussian_elimination" ? :wink:
 
Last edited by a moderator:
Gaussian elimination is a pain in the arse, what I meant gives the same result but is far easier. Not trying (GE) that for these, I wanted to shoot myself in the head when I was doing that in HS.
Jaynte has the method I meant but no name? and I still think it requires rearrangement so that you get; ax+bx+...fx for the three equations
then you stick the coefficients in a matrix - invert it then multiply by the rhs. Still painful and slow for my liking but I am probably used to using a computer to solve and don't want to go back to calculator and hand!
 
Do you mean how I rearrange it?
 
I agree, when you first learn the matrix method (still no name??) its not "very easy". But the reason its so popular is because once you learn it it becomes VERY easy and powerful (no match for Mathematica though) I havn't done it for years so I was't sure if the rearrangement was necessary or not? Thanks, Ill do some surfing on the subject until I remember again.

P.S. I'm interested in the name if you know it off the top of your head?
 
Hm, I don't know the name. Just that its a part of linear algebra :)
Its very powerful when you know it, I've use it in many differenent areas. But not by hand
for a long time.
But rearrange it so you get A and b is nessesary to get x.
 

Similar threads

Replies
2
Views
1K
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
2
Views
2K