2nd order ODE circuit, switch question

Click For Summary

Discussion Overview

The discussion revolves around the mathematical interpretation of a second-order ordinary differential equation (ODE) in the context of an electrical circuit when a switch is closed. Participants explore the implications of initial conditions and differentiability at the moment the switch is closed, considering both physical and mathematical perspectives.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that immediately after the switch is closed, the capacitor voltage and inductor current cannot jump, leading to initial conditions that can be determined algebraically.
  • Others describe that all of the battery voltage appears across the inductor at the moment the switch is closed, with no current flow initially, and discuss the subsequent behavior of the circuit.
  • There is a concern about the mathematical contradiction regarding differentiability, as different values for derivatives at t=0+ and t=0- are noted, raising questions about how to justify the mathematical treatment of the system.
  • One participant challenges the notion of differentiating across an instantaneous switch closure, pointing out that the step function involved is not continuous at that point.
  • Another participant questions how to differentiate a piecewise-continuous function, suggesting that the equations written as di/dt may not reflect true differentiability due to the nature of the switch closure.

Areas of Agreement / Disagreement

Participants express differing views on the mathematical implications of the switch closure, particularly regarding differentiability and the treatment of initial conditions. There is no consensus on how to reconcile the physical behavior of the circuit with the mathematical framework.

Contextual Notes

The discussion highlights limitations in the assumptions made about differentiability and continuity at the moment of switch closure, as well as the dependence on how initial conditions are defined in the context of the ODEs involved.

kidsasd987
Messages
142
Reaction score
4
upload_2015-12-5_12-4-11.png
if we assume the condition immediately after switch is closed (t=0+),

*Capacitor voltage cannot jump.
*Inductor current cannot jump.

2ef0deb28c4bbc1ce6c11e4cce7e75b1.png


dv(0+)/dt=i_c(0+)/c
di(0+)/dt=v_l(0+)/L

which means we can find the initial condition of the post-zero system algebraically.

However, it contradcits to the definition of differentiability since the pre-zero value and post-zero value
of the system are different. (I_c(0+)=/=i_c(0-), v_l(0+)=/=v_l(0-))

I wonder how we can justify the math of the system.
Can I think this as two diffrent systems (ODEs) with one condition shared?
 

Attachments

  • upload_2015-12-5_12-3-55.png
    upload_2015-12-5_12-3-55.png
    9.8 KB · Views: 503
Engineering news on Phys.org
Immediately after the switch is closed, all of the battery voltage appears across the inductor, since there is no current flow in the circuit yet (so no voltage drop across the resistor yet, and the capacitor has not started to charge up yet). Then as current builds in the circuit, the voltage across the inductor falls and more of the voltage appears across the resistor and capacitor. Depending on the component values, there may be some ringing involved, but eventually all of the battery voltage appears across the capacitor, with no current flowing in the circuit.

Does that help?
 
berkeman said:
Immediately after the switch is closed, all of the battery voltage appears across the inductor, since there is no current flow in the circuit yet (so no voltage drop across the resistor yet, and the capacitor has not started to charge up yet). Then as current builds in the circuit, the voltage across the inductor falls and more of the voltage appears across the resistor and capacitor. Depending on the component values, there may be some ringing involved, but eventually all of the battery voltage appears across the capacitor, with no current flowing in the circuit.

Does that help?

Oh I understand the physics behind it but what I am confused of is how to interpret the math part.
at t=0, we have different di(0+)/dt and di(0-)/dt values as we consider prezero and postzero conditions. Mathmatically, it contradicts to differentiability.
 
kidsasd987 said:
Oh I understand the physics behind it but what I am confused of is how to interpret the math part.
at t=0, we have different di(0+)/dt and di(0-)/dt values as we consider prezero and postzero conditions. Mathmatically, it contradicts to differentiability.
How do you differentiate a piecewise-continuous function? :smile:
 
My math is weak, but I have a problem with you trying to simply differentiate across an instantaneous switch closure (applying a step function) and expecting it to be continuous. (the step function is not continuous at 0)
http://www4.ncsu.edu/~schecter/ma_341_sp06/varpar.pdf
 
berkeman said:
How do you differentiate a piecewise-continuous function? :smile:
hmm, I thought it was non-differentiable but since it was written as di/dt, I tried to figure out what was going on :)

so, we still write the equation as di/dt, but actually it is non-differentiable? However, the circuit above is written as ODE.

I thought closing switch transforms one system to another, hence changes the initial condition.
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 38 ·
2
Replies
38
Views
6K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
0
Views
2K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K