Solving Circuits with Kirchhoff's Laws: A Rigorous Mathematical Approach

  • Thread starter Bipolarity
  • Start date
  • Tags
    Circuit
In summary: I.e. you can write out the equations for all the nodes in the circuit, and one of the equations will be linearly dependent on the other (n-1) equations. So, two batteries in parallel can't obey Kirchhoff's Voltage Law, or if they do, then at least one of them can't obey it's own ideal voltage law.It's like an irresistible force pushing an unmovable object. It just can't be resolved logically.Hence, any rigorous proof would isolate these types of pathological cases first, and then proceed to prove that the other cases are all solvable. Or, perhaps you already have your answer now because you set out to prove if all
  • #1
Bipolarity
776
2
Let's say I have a circuit consisting only of a finite number of batteries and resistors, all ideal. Given an arbitrary shape of this circuit, will I always be able to "solve" this circuit, i.e. find the missing variables (current through any wire, voltage across any two points) by using the Kirchhoff's laws in conjunction with Ohm's laws?

If yes, can this be proven mathematically? Where would I find a proof? Surely it involves proving that a certain coefficient matrix of some linear system is invertible? Perhaps it will require some graph theory?

If not, under what conditions can the circuit be solved for?

What about when we add dependent components to the circuit?

One thing I noticed is that if you have a circuit with N nodes and write out equations for all nodes, 1 of the equations will be linearly dependent on the other (n-1) equations.

I am reading my introductory circuits text, but have a good linear algebra background, so I like to see a very rigorous justification of the methods employed by my text.

Thanks!

BiP
 
Physics news on Phys.org
  • #2
Bipolarity said:
Let's say I have a circuit consisting only of a finite number of batteries and resistors, all ideal. Given an arbitrary shape of this circuit, will I always be able to "solve" this circuit, i.e. find the missing variables (current through any wire, voltage across any two points) by using the Kirchhoff's laws in conjunction with Ohm's laws?

If yes, can this be proven mathematically? Where would I find a proof? Surely it involves proving that a certain coefficient matrix of some linear system is invertible?
Yes. In a problem with N nodes there are N unknown voltages. As you noticed, this always results in a system of N-1 independent linear equations. Since you can arbitrarily set anyone node as ground that gives you N equations in N unknowns.

I don't know about a rigorous proof.
 
  • #3
I don't know about a rigorous proof either.

However, there will be pathological cases. For example, putting two batteries with unequal voltages in parallel is a no-no.
 
  • #4
stevenb said:
I don't know about a rigorous proof either.

However, there will be pathological cases. For example, putting two batteries with unequal voltages in parallel is a no-no.

What happens if you did do that?

BiP
 
  • #5
Booooommmmm

Calculate the current flow. Ohms law says..

V=IR
so
I = V/R
but
R=0
so
I=∞
Then
Power = Voltage * Current
so
Boooommmm

Some batteries really do go bang. Depends how well they approximate an ideal voltage source. Some relatively ordinary rechargable batteries can manage several hundred amps (but not for long).

Other things to avoid include disconnecting (open circuiting) an ideal current source.
 
Last edited:
  • #6
Lithium battery short circuited...

 
Last edited by a moderator:
  • #7
Bipolarity said:
What happens if you did do that?

BiP

Well, above you see the practical concerns, but I was thinking more about the mathematics. Just write out the equations to see it.

V1=V2 Kirchhoff's Voltage Law
V1=10V Ideal voltage law for battery # 1
V2=20V Ideal voltage law for battery # 2

So, two batteries in parallel can't obey Kirchhoff's Voltage Law, or if they do, then at least one of them can't obey it's own ideal voltage law.

It's like an irresistible force pushing an unmovable object. It just can't be resolved logically.

Hence, any rigorous proof would isolate these types of pathological cases first, and then proceed to prove that the other cases are all solvable. Or, perhaps you already have your answer now because you set out to prove if all cases are solvable, but by showing even one case that is not solvable, it's clear that it can't be done.

As a practical matter, when solving real problems, these issues tend not to come up unless you make a mistake, and then the mistake (or poor assumption) becomes obvious when you can't get a solution.
 
  • Like
Likes M Saad
  • #8
Real circuits haven't read your textbook, and they don't care if your over-simplified models of idealised components don't have solutions. As I said in another thread recently, physics is not a sub-branch of mathematics!

To answer the OP's question - try working backwards. Write down a matrix equation that has no solutions, or multiple solutions (obviously the matrix must be singular). Then invent a circuit diagram that corresponds to the matrix equations.
 
  • #9
You can add a tiny resistance in parallel to every voltage source to get a physical solution for all scenarios.
With batteries and resistors only, every connection between two vertices can be expressed as series connection of a voltage source (can be 0V) and a single resistor with a positive resistance.

I do not know if the star-mesh transform is possible with voltage sources inside. If it is, every circuit can be reduced to trivial circuits.

There are iterative ways to solve the equation system - it would be sufficient to show their convergence.
 
  • #10
stevenb said:
Well, above you see the practical concerns, but I was thinking more about the mathematics.
Well, mathematically you can always take a basic circuit like this and put it into a system of linear equations. Then you can use standard linear algebra techniques to solve it or to determine that it doesn't have a solution (i.e. determinant not equal to 0).
 
  • #11
DaleSpam said:
Well, mathematically you can always take a basic circuit like this and put it into a system of linear equations. Then you can use standard linear algebra techniques to solve it or to determine that it doesn't have a solution (i.e. determinant not equal to 0).

Well, yes, of course. The OP mentioned "invertibility" of the linear system, which I think amounts to the same thing. And, there are other ways to check it too. This is one point I was trying to make; that, as a practical matter, we can check it on a case by case basis as needed. However, if the OP truly wants a rigorous (and I assume that implies "general" too) proof, a case by case checking doesn't satisfy that. Another point I am making is that there are clearly some cases that are not solvable "given an arbitrary shape of this circuit". So, a general/rigorous proof would identify the unrealizable/pathological cases and (presumably) would show that the interesting real-world practical cases are all solvable.

This is just a guess on my part, but I think that requiring all ideal voltage sources to have a nonzero series resistor with it will give circuits that are practical and always have a solution. If this is correct, then this might be the starting point for the rigorous proof he wants. Using either graph theory or matrix formulations could allow him to show that a general system always has a nonzero determinant. But this does leave out some solvable cases that are not physical (let's ignore superconductivity for this discussion).
 
Last edited:

1. What is the definition of solvability in a circuit?

Solvability in a circuit refers to whether or not a given circuit can be solved to determine the values of all of its variables, such as current and voltage. In other words, it is the ability to find a unique solution to the circuit using mathematical techniques.

2. What factors determine the solvability of a circuit?

There are several factors that can affect the solvability of a circuit, such as the number of variables, the type and complexity of circuit elements, and the presence of dependent sources. Generally, the more complex a circuit is, the more difficult it is to solve and determine its solvability.

3. How do you determine if a circuit is solvable?

To determine if a circuit is solvable, you can use various mathematical methods such as Kirchhoff's laws, Ohm's law, and various circuit analysis techniques. These methods involve setting up and solving a system of equations to find the values of all of the variables in the circuit. If a unique solution can be found, then the circuit is considered solvable.

4. Can all circuits be solved?

No, not all circuits can be solved. Some circuits may have too many variables or be too complex for current mathematical techniques to solve. In these cases, approximate or numerical methods may be used to find an approximate solution, but a unique solution may not be achievable.

5. How does the solvability of a circuit affect its practical use?

The solvability of a circuit is an important consideration for its practical use. If a circuit is not solvable, it may not be possible to determine the values of its variables, making it difficult to design or troubleshoot. Additionally, a circuit that is not solvable may not function as desired or could even lead to undesirable results.

Similar threads

  • Electrical Engineering
Replies
3
Views
763
  • Introductory Physics Homework Help
Replies
3
Views
540
Replies
6
Views
952
Replies
1
Views
826
  • Introductory Physics Homework Help
Replies
4
Views
272
  • Introductory Physics Homework Help
Replies
16
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
235
Replies
7
Views
1K
  • Introductory Physics Homework Help
Replies
18
Views
1K
  • Introductory Physics Homework Help
Replies
11
Views
2K
Back
Top