Skip to main content
Bounty Ended with 50 reputation awarded by untreated_paramediensis_karnik
Fixed a few typos, and added what was mentioned in the comments (discussion) below the answer.
Source Link

Here you need as small a resistance value in the circuit as possible so that the voltage across the capacitor oscillatedoscillates between 0$0V$ and 2V$2V$ about V $V$ (the final voltage value), just like the spring.

The capacitor continues charging bubut when the potential difference across the capacitor is $v_{\rm cell}$ there is still a current in the circuit (ie the inductor has a store of energy in its magnetic field) and as the current cannot stop instantaneously the capacitor continues to charge until the voltage across it reaches $2v_{\rm cell}$ when the current becomes zero.
It is at this point that if you opened the switch all the energy delivered by the cell is now stored in the electric field of the capacitor.

Carrying on there would be an oscillation of the voltage across capacitor between $0$ and $2v_{\rm cell}$ about a voltage of $v_{\rm cell}$ as shown in the output of a simulation with the cell voltage being $1\,\rm V$. PlesePlease note that this simulation did not work for me when using Firefox under Windows 10 but did work with Edge.

These are in fact examples of switched mode power supplies.
There is more information and some nice animations about the buck convertor and the buck-boost converter here.

Update 2: As requested in the discussion below this answer, here are some more information and clarifications:

Electromagnetic radiation is always emitted but usually the energy loss due to this process is much less that via other processes - heating. In effect when all else fails lose energy by emitting electromagnetic radiation.

If we assume that one has normal conductors (with resistance) and inductance (even parasitic) then those oscillations shown in the transient graph would reduce in amplitude as time went on. As the resistance becomes smaller the electromagnetic radiation loss would become more significant as compared with the ohmic heating loss.

Here you need as small a resistance value in the circuit as possible so that the voltage across the capacitor oscillated between 0 and 2V about V (the final voltage value), just like the spring.

The capacitor continues charging bu when the potential difference across the capacitor is $v_{\rm cell}$ there is still a current in the circuit (ie the inductor has a store of energy in its magnetic field) and as the current cannot stop instantaneously the capacitor continues to charge until the voltage across it reaches $2v_{\rm cell}$ when the current becomes zero.
It is at this point that if you opened the switch all the energy delivered by the cell is now stored in the electric field of the capacitor.

Carrying on there would be an oscillation of the voltage across capacitor between $0$ and $2v_{\rm cell}$ about a voltage of $v_{\rm cell}$ as shown in the output of a simulation with the cell voltage being $1\,\rm V$. Plese note that this simulation did not work for me when using Firefox under Windows 10 but did work with Edge.

These are in fact examples of switched mode power supplies.
There is more information and some nice animations about the buck convertor and the buck-boost converter here.

Here you need as small a resistance value in the circuit as possible so that the voltage across the capacitor oscillates between $0V$ and $2V$ about $V$ (the final voltage value), just like the spring.

The capacitor continues charging but when the potential difference across the capacitor is $v_{\rm cell}$ there is still a current in the circuit (ie the inductor has a store of energy in its magnetic field) and as the current cannot stop instantaneously the capacitor continues to charge until the voltage across it reaches $2v_{\rm cell}$ when the current becomes zero.
It is at this point that if you opened the switch all the energy delivered by the cell is now stored in the electric field of the capacitor.

Carrying on there would be an oscillation of the voltage across capacitor between $0$ and $2v_{\rm cell}$ about a voltage of $v_{\rm cell}$ as shown in the output of a simulation with the cell voltage being $1\,\rm V$. Please note that this simulation did not work for me when using Firefox under Windows 10 but did work with Edge.

These are in fact examples of switched mode power supplies.
There is more information and some nice animations about the buck convertor and the buck-boost converter here.

Update 2: As requested in the discussion below this answer, here are some more information and clarifications:

Electromagnetic radiation is always emitted but usually the energy loss due to this process is much less that via other processes - heating. In effect when all else fails lose energy by emitting electromagnetic radiation.

If we assume that one has normal conductors (with resistance) and inductance (even parasitic) then those oscillations shown in the transient graph would reduce in amplitude as time went on. As the resistance becomes smaller the electromagnetic radiation loss would become more significant as compared with the ohmic heating loss.

added 2596 characters in body
Source Link
Farcher
  • 99.9k
  • 5
  • 83
  • 215

Update requested by @user54826

To carry on the spring mass analogy, you need to add an inductor to the electrical circuit.
So you need a circuit with a capacitor which stores energy in an electric field (potential energy) and an inductor which stores energy in a magnetic field ("kinetic energy") as explained here.

enter image description here

Initially the current is zero and the charge on the capacitor is zero.
The switch is closed and although the current is zero the current is changing with the inductor producing an emf $L\frac {di}{dt}$ in opposition to the change.
When current starts to flow the capacitor starts to charge and develop a potential difference across it $\frac q C$.

Allying Kirchhoff's voltage rule for the circuit gives

$$L \frac {di}{dt} + \frac q C = V_{\rm cell} \Rightarrow L\ddot q + \frac 1 C q = v_{\rm cell} $$

The capacitor continues charging bu when the potential difference across the capacitor is $v_{\rm cell}$ there is still a current in the circuit (ie the inductor has a store of energy in its magnetic field) and as the current cannot stop instantaneously the capacitor continues to charge until the voltage across it reaches $2v_{\rm cell}$ when the current becomes zero.
It is at this point that if you opened the switch all the energy delivered by the cell is now stored in the electric field of the capacitor.

Carrying on there would be an oscillation of the voltage across capacitor between $0$ and $2v_{\rm cell}$ about a voltage of $v_{\rm cell}$ as shown in the output of a simulation with the cell voltage being $1\,\rm V$. Plese note that this simulation did not work for me when using Firefox under Windows 10 but did work with Edge.

enter image description here

The period of the oscillation is $2\pi\sqrt{LC}$.


In a comment made by @CuriousOne there is a link to the following images but no explanation.

enter image description here

These are in fact examples of switched mode power supplies.
There is more information and some nice animations about the buck convertor and the buck-boost converter here.


Update requested by @user54826

To carry on the spring mass analogy, you need to add an inductor to the electrical circuit.
So you need a circuit with a capacitor which stores energy in an electric field (potential energy) and an inductor which stores energy in a magnetic field ("kinetic energy") as explained here.

enter image description here

Initially the current is zero and the charge on the capacitor is zero.
The switch is closed and although the current is zero the current is changing with the inductor producing an emf $L\frac {di}{dt}$ in opposition to the change.
When current starts to flow the capacitor starts to charge and develop a potential difference across it $\frac q C$.

Allying Kirchhoff's voltage rule for the circuit gives

$$L \frac {di}{dt} + \frac q C = V_{\rm cell} \Rightarrow L\ddot q + \frac 1 C q = v_{\rm cell} $$

The capacitor continues charging bu when the potential difference across the capacitor is $v_{\rm cell}$ there is still a current in the circuit (ie the inductor has a store of energy in its magnetic field) and as the current cannot stop instantaneously the capacitor continues to charge until the voltage across it reaches $2v_{\rm cell}$ when the current becomes zero.
It is at this point that if you opened the switch all the energy delivered by the cell is now stored in the electric field of the capacitor.

Carrying on there would be an oscillation of the voltage across capacitor between $0$ and $2v_{\rm cell}$ about a voltage of $v_{\rm cell}$ as shown in the output of a simulation with the cell voltage being $1\,\rm V$. Plese note that this simulation did not work for me when using Firefox under Windows 10 but did work with Edge.

enter image description here

The period of the oscillation is $2\pi\sqrt{LC}$.


In a comment made by @CuriousOne there is a link to the following images but no explanation.

enter image description here

These are in fact examples of switched mode power supplies.
There is more information and some nice animations about the buck convertor and the buck-boost converter here.

deleted 1509 characters in body
Source Link
Farcher
  • 99.9k
  • 5
  • 83
  • 215

It depends what you meanAs has been pointed out by @CuriousOne you can save.
This factor $\frac 1 2$ comes into play the energy but let's me first explain the context in lotswhich one usually first meet this loss of other situations eg the energy stored.

A capacitor $C$ in an inductorseries with a resistor $\frac 1 2 LI^2$$R$ and in a springvoltage source $\frac 1 2 k x^2$$V$ is charged.

In all these casesIf the "missing" energy turns up as heat due tofinal charge on the resistance in an electrical circuitcapacitor is $Q$ then the work done by the voltage source is $VQ$ and friction inas $Q=CV$ the mechanical example.

So not to wastework done by the energy requires a system which does not have resistance or frictionsource is $CV^2$.

In the electrical case assume thatThe energy stored in the resistance is very low and you attempt to charge a capacitor from a voltage sourceis $\int_0^QVdQ = \int_0^Q\frac Q C dQ = \frac 1 2 CV^2$.
If The integration has to be done because as the resistancecapacitor is low enoughcharged the growth of voltage across the capacitor is not oscillatoryits plates changes. 

The voltage across the capacitor becomes oscillatory about the supply voltagemissing energy is $\frac 12 CV^2$ and at times the voltage across the capacitor actually exceeds the voltage ofthat is lost as heat in the voltage supplyresistor.

ThisTo show that is because in such circumstancetrue and the inductanceloss is independent of the circuit (the loop which isvalue of the resistance in the circuit) becomes important and you have an LCR one must do a bit more circuit with voltages and currents oscillating at the circuits natural frequencyanalysis.
Because ofDuring the resistancecharging process it can be shown that the current in the circuit these oscillations will dampen down and the final state will be$I(t) = \frac V R e^{-\frac {t}{RC}}$.

The power dissipated in a resistor is $I^2R$ so during the capacitor storing halfchanging process the energy and the rest dissipated as heat. But thatin the resistor is not all$\int_0 ^\infty \frac {V^2}{R^2} e^{-\frac {2t}{RC}} dt = \frac 1 2 CV^2$. An accelerating unbound


If the capacitor is charged particle emits electromagnetic radiationin the way described changing the resistance value will not change the amount of energy lost as heat.
SoIf the resistance in our example somebecomes very low instead of the "lost"charging process following an exponential curve the current in the circuit becomes a damped sinusoid and then energy will becomeis lost as heat and electromagnetic waves which are radiated out from the circuit. The smallerbecause the resistanceelectrons in the circuit the more this effectwires are accelerating and unbound accelerating charges emit electromagnetic radiation.


The factor $\frac 1 2$ comes into play whilstin lots of other situations eg the circuit is reaching steady stateenergy stored in an inductor $\frac 1 2 LI^2$ and in a spring $\frac 1 2 k x^2$.

And forIn all these cases the spring"missing" energy turns up as heat due to the resistance in an electrical circuit and friction in the mechanical example.

I imagineUsing Hooke’s law for a spring, of spring constant $k$ withwhich has a weight $mg$ on the end of it. If thestatic extension isof $x$ then $mg=kx$ - Hooke's Law.

However let's look at this in terms of energy.

Unextended spring andwhen a weight $mg$ is added to the thehung from its end and the spring extends by $x$ $mg= kx$. Energy stored in spring is $\frac 1 2 kx^2$ and

The work done by gravitythe gravitational force is (loss of potential$mgx = kx^2$ whereas the energy) stored in the spring is $mg\cdot x = k x^2$$\frac 12 k x^2$

HalfIn this case imagine releasing the energymass when the spring is missingunextended.
Of course it is not. The rest of the energy isWhat would happen?
The mass would oscillate about the kineticstatic extension position and as frictional forces converted mechanical energy ofinto heat the mass as it passes throughwould eventually reach the static equilibrium position to eventually stop at an extension of $2x$. At this point work done by gravity = energy stored in springposition. $mg\cdot 2x = kx \cdot 2 x = \frac 12 k (2x)^2$
So catch hold of the spring at this point and


So how can you have allsave that "extra"missing energy available to you even though that factor of $\frac 12$ has turned up again.?

And of course, in principle, you can do the sameOne reason for introducing the capacitor.


Later in answer to a comment.
The equation ofspring is that perhaps discussing the motion forof a spring-mass system with resistance is of the same form as that formakes it easier to understand an LCR circuit. The inductor is the inertia (mass) component and the capacitor (or rather 1/C) has a resemblanceanswer to the spring constant - the springiness term.this question?

IfWhat you holding a mass atdo is, with the end of an unextended spring andunextended, release the mass what will happen? It all depends on the valuesand catch hold of the mass, the spring constant and the drag force when it first stops after half a period.
If the drag force is relatively small (the system is under damped) the mass

If there are no frictional forces this will overshoot its static equilibrium position and undergo damped harmonic and eventually come to rest at the static equilibrium position. Ifhappen when the extension at that point is $x$ then the energy stored inof the spring is $\frac 1 2 k x^2$ However if you move a mass down a distance $x$ the$2x$.

The work thatdone by the gravitational force does is now $mgx = kx^2$$mg 2x = 2kx^2$. The difference

The energy stored in the spring is $\frac 1 2 k x^2$$\frac 1 2 k (2x)^2 = 2 k x^2$ which is dissipated as heat dueexactly equal to the drag.
Ifwork done by the draggravitational force is very large (system over damped) then the mass again will reach the static equilibrium position but wiout oscillating again with a loss to the system of mechanical energy $\frac 1 2 kx^2$ which again becomes heat.

The charging capacitor is really an example of an LCR circuit where the small value of L makes results in this system being over damped and you get to the final state of the capacitor being charged without any oscillation. However again there is a loss ofNo energy to the system of $\frac 12 C V^2$ due to ohmic heatingwasted as heat.

Later still So what about the capacitor?

Let me start from the beginning.
There is no way thatHere you can chargeneed as small a capacitor without some resistance being presentvalue in the circuit as possible so a charging circuit for athat the voltage across the capacitor will always contain a battery, a resistoroscillated between 0 and a capacitor in series with one another as shown in2V about V (the final voltage value), just like the diagram belowspring.

When one analysis such a circuit one finds that the charging process does not occur instantaneously andIn this case you disconnect the relevant equations forcapacitor from the voltages, current and charge are listed below.
Energy is power $\times$ time and for electrical circuits power is voltage $\times$ time.
Because the voltages and currents are not constant to find the energy one has to integrate.
I have not shown details of the integration but have put downsource after half a period when the results ofvoltage across the integrationscapacitor is 2V.

You will note that the energyThe work done by the battery suppliesvoltage source is now $CV^2$$V 2Q = 2CV^2$.
The

The energy supplied tostored in the capacitor is $ \frac 1 2 CV^2$.
The energy supplied to the resistor$\frac 1 2 C (2V)^2 = 2 CV^2$ which ends up as heat is $ \frac 1 2 CV^2$. This is where the "missing" energy has gone. An important thing aboutexactly equal to the last statement is thatwork done by the voltage source.

No energy lostwasted as heat does not depend on the resistance of the resistance.

enter image description here You have all the energy supplied by the voltage source stored in the capacitor.

It depends what you mean by save.
This factor $\frac 1 2$ comes into play in lots of other situations eg the energy stored in an inductor $\frac 1 2 LI^2$ and in a spring $\frac 1 2 k x^2$.

In all these cases the "missing" energy turns up as heat due to the resistance in an electrical circuit and friction in the mechanical example.

So not to waste the energy requires a system which does not have resistance or friction.

In the electrical case assume that the resistance is very low and you attempt to charge a capacitor from a voltage source.
If the resistance is low enough the growth of voltage across the capacitor is not oscillatory. The voltage across the capacitor becomes oscillatory about the supply voltage and at times the voltage across the capacitor actually exceeds the voltage of the voltage supply.

This is because in such circumstance the inductance of the circuit (the loop which is the circuit) becomes important and you have an LCR circuit with voltages and currents oscillating at the circuits natural frequency.
Because of the resistance in the circuit these oscillations will dampen down and the final state will be the capacitor storing half the energy and the rest dissipated as heat. But that is not all. An accelerating unbound charged particle emits electromagnetic radiation.
So in our example some of the "lost" energy will become electromagnetic waves which are radiated out from the circuit. The smaller the resistance in the circuit the more this effect comes into play whilst the circuit is reaching steady state.

And for the spring.

I imagine a spring, spring constant $k$ with a weight $mg$ on the end of it. If the extension is $x$ then $mg=kx$ - Hooke's Law.

However let's look at this in terms of energy.

Unextended spring and a weight $mg$ is added to the the end and the spring extends by $x$. Energy stored in spring is $\frac 1 2 kx^2$ and work done by gravity (loss of potential energy) is $mg\cdot x = k x^2$

Half the energy is missing.
Of course it is not. The rest of the energy is the kinetic energy of the mass as it passes through the static equilibrium position to eventually stop at an extension of $2x$. At this point work done by gravity = energy stored in spring. $mg\cdot 2x = kx \cdot 2 x = \frac 12 k (2x)^2$
So catch hold of the spring at this point and you have all that "extra" energy available to you even though that factor of $\frac 12$ has turned up again.

And of course, in principle, you can do the same for the capacitor.


Later in answer to a comment.
The equation of motion for a spring-mass system with resistance is of the same form as that for an LCR circuit. The inductor is the inertia (mass) component and the capacitor (or rather 1/C) has a resemblance to the spring constant - the springiness term.

If you holding a mass at the end of an unextended spring and release the mass what will happen? It all depends on the values of the mass, the spring constant and the drag force.
If the drag force is relatively small (the system is under damped) the mass will overshoot its static equilibrium position and undergo damped harmonic and eventually come to rest at the static equilibrium position. If the extension at that point is $x$ then the energy stored in the spring is $\frac 1 2 k x^2$ However if you move a mass down a distance $x$ the work that the gravitational force does is $mgx = kx^2$. The difference $\frac 1 2 k x^2$ is dissipated as heat due to the drag.
If the drag force is very large (system over damped) then the mass again will reach the static equilibrium position but wiout oscillating again with a loss to the system of mechanical energy $\frac 1 2 kx^2$ which again becomes heat.

The charging capacitor is really an example of an LCR circuit where the small value of L makes results in this system being over damped and you get to the final state of the capacitor being charged without any oscillation. However again there is a loss of energy to the system of $\frac 12 C V^2$ due to ohmic heating.

Later still

Let me start from the beginning.
There is no way that you can charge a capacitor without some resistance being present in the circuit so a charging circuit for a capacitor will always contain a battery, a resistor and a capacitor in series with one another as shown in the diagram below.

When one analysis such a circuit one finds that the charging process does not occur instantaneously and the relevant equations for the voltages, current and charge are listed below.
Energy is power $\times$ time and for electrical circuits power is voltage $\times$ time.
Because the voltages and currents are not constant to find the energy one has to integrate.
I have not shown details of the integration but have put down the results of the integrations.

You will note that the energy the battery supplies is $CV^2$.
The energy supplied to the capacitor is $ \frac 1 2 CV^2$.
The energy supplied to the resistor which ends up as heat is $ \frac 1 2 CV^2$. This is where the "missing" energy has gone. An important thing about the last statement is that the energy lost as heat does not depend on the resistance of the resistance.

enter image description here

As has been pointed out by @CuriousOne you can save the energy but let's me first explain the context in which one usually first meet this loss of energy.

A capacitor $C$ in series with a resistor $R$ and a voltage source $V$ is charged.

If the final charge on the capacitor is $Q$ then the work done by the voltage source is $VQ$ and as $Q=CV$ the work done by the source is $CV^2$.

The energy stored in the capacitor is $\int_0^QVdQ = \int_0^Q\frac Q C dQ = \frac 1 2 CV^2$. The integration has to be done because as the capacitor is charged the voltage across its plates changes. 

The missing energy is $\frac 12 CV^2$ and that is lost as heat in the resistor.

To show that is true and the loss is independent of the value of the resistance in the circuit one must do a bit more circuit analysis.
During the charging process it can be shown that the current in the circuit $I(t) = \frac V R e^{-\frac {t}{RC}}$.

The power dissipated in a resistor is $I^2R$ so during the changing process the energy dissipated in the resistor is $\int_0 ^\infty \frac {V^2}{R^2} e^{-\frac {2t}{RC}} dt = \frac 1 2 CV^2$.


If the capacitor is charged in the way described changing the resistance value will not change the amount of energy lost as heat.
If the resistance in becomes very low instead of the charging process following an exponential curve the current in the circuit becomes a damped sinusoid and then energy is lost as heat and electromagnetic waves because the electrons in the wires are accelerating and unbound accelerating charges emit electromagnetic radiation.


The factor $\frac 1 2$ comes into play in lots of other situations eg the energy stored in an inductor $\frac 1 2 LI^2$ and in a spring $\frac 1 2 k x^2$.

In all these cases the "missing" energy turns up as heat due to the resistance in an electrical circuit and friction in the mechanical example.

Using Hooke’s law for a spring of spring constant $k$ which has a static extension of $x$ when a weight $mg$ is hung from its end $mg= kx$.

The work done by the gravitational force is $mgx = kx^2$ whereas the energy stored in the spring is $\frac 12 k x^2$

In this case imagine releasing the mass when the spring is unextended.
What would happen?
The mass would oscillate about the static extension position and as frictional forces converted mechanical energy into heat the mass would eventually reach the static extension position.


So how can you save that missing energy?

One reason for introducing the spring is that perhaps discussing the motion of a spring-mass system makes it easier to understand an answer to this question?

What you do is, with the spring unextended, release the mass and catch hold of the mass when it first stops after half a period.

If there are no frictional forces this will happen when the extension of the spring is $2x$.

The work done by the gravitational force is now $mg 2x = 2kx^2$.

The energy stored in the spring is $\frac 1 2 k (2x)^2 = 2 k x^2$ which is exactly equal to the work done by the gravitational force.

No energy wasted as heat.

So what about the capacitor?

Here you need as small a resistance value in the circuit as possible so that the voltage across the capacitor oscillated between 0 and 2V about V (the final voltage value), just like the spring.

In this case you disconnect the capacitor from the voltage source after half a period when the voltage across the capacitor is 2V.

The work done by the voltage source is now $V 2Q = 2CV^2$.

The energy stored in the capacitor is $\frac 1 2 C (2V)^2 = 2 CV^2$ which is exactly equal to the work done by the voltage source.

No energy wasted as heat.

You have all the energy supplied by the voltage source stored in the capacitor.

added 1271 characters in body
Source Link
Farcher
  • 99.9k
  • 5
  • 83
  • 215
Loading
added 1547 characters in body
Source Link
Farcher
  • 99.9k
  • 5
  • 83
  • 215
Loading
Source Link
Farcher
  • 99.9k
  • 5
  • 83
  • 215
Loading