Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

2nd order ODE circuit, switch question

  1. Dec 5, 2015 #1

    if we assume the condition immediately after switch is closed (t=0+),

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



    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?

    Attached Files:

  2. jcsd
  3. Dec 5, 2015 #2


    User Avatar

    Staff: Mentor

    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?
  4. Dec 5, 2015 #3
    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.
  5. Dec 5, 2015 #4


    User Avatar

    Staff: Mentor

    How do you differentiate a piecewise-continuous function? :smile:
  6. Dec 5, 2015 #5


    User Avatar
    Gold Member

    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)
  7. Dec 5, 2015 #6
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook