Differential-Equations ยท Unit 8 ยท Video 5 ยท Interactive Practice

RC Circuits, Decay Chains and Negative k

IKey Formulas

FormulaNameWhere it comes from
Rโ€‰dqdt+qC=E(t)โ€…โ€Šโ‡’โ€…โ€Šqโ€ฒ+1RCโ€‰q=E(t)RR\,\frac{dq}{dt} + \frac{q}{C} = E(t) \;\Rightarrow\; q' + \frac{1}{RC}\,q = \frac{E(t)}{R}RC circuit, form (2)Kirchhoff: drops RiRi and q/Cq/C add to the EMF; k=1RCk = \frac{1}{RC}
Bโ€ฒ+k2B=k1A0โ€‰eโˆ’k1tB' + k_2 B = k_1 A_0\,e^{-k_1 t}Decay chain Aโ†’BA \to B, form (2)Inflow k1Ak_1 A minus outflow k2Bk_2 B, with A=A0eโˆ’k1tA = A_0 e^{-k_1 t}
B=k1A0k2โˆ’k1(eโˆ’k1tโˆ’eโˆ’k2t)B = \frac{k_1 A_0}{k_2 - k_1}\left(e^{-k_1 t} - e^{-k_2 t}\right), or B=k1A0โ€‰tโ€‰eโˆ’k1tB = k_1 A_0\,t\,e^{-k_1 t} if k1=k2k_1 = k_2Amount of BB when B(0)=0B(0) = 0Integrating factor ek2te^{k_2 t}
yโ€ฒโˆ’ay=q(t)โ€…โ€Šโ‡’โ€…โ€Šy=eatโ€‰โฃโˆซq(t)โ€‰eโˆ’atโ€‰dt+cโ€‰eaty' - ay = q(t) \;\Rightarrow\; y = e^{at}\!\int q(t)\,e^{-at}\,dt + c\,e^{at}Negative k=โˆ’ak = -a, a>0a \gt 0Same method, integrating factor eโˆ’ate^{-at}

Key Insight: The solution method never looks at the sign of kk. With k>0k \gt 0 the term cโ€‰eโˆ’ktc\,e^{-kt} is a transient and the initial condition fades; with k=โˆ’a<0k = -a \lt 0 the term cโ€‰eatc\,e^{at} grows without bound and the initial condition decides everything.

IIVisualization 1 โ€” Charging the Capacitor: k=1/RCk = 1/RC

The coefficient k=1/RCk = 1/RC sets how fast the charge forgets q(0)q(0); the source E(t)/RE(t)/R sets where it settles.

IIIVisualization 2 โ€” The Decay Chain Aโ†’Bโ†’โ‹ฏA \to B \to \cdots

BB rises while its inflow k1Ak_1 A exceeds its outflow k2Bk_2 B, and peaks exactly when the two are equal.

๐Ÿ’ก Challenge: set k1=k2k_1 = k_2. The general formula divides by k2โˆ’k1=0k_2 - k_1 = 0, yet BB stays finite: it becomes k1A0โ€‰tโ€‰eโˆ’k1tk_1 A_0\,t\,e^{-k_1 t}, peaking at t=1/k1t = 1/k_1.

IVVisualization 3 โ€” When kk Turns Negative

The same starting value feeds yโ€ฒ+y=1y' + y = 1 and yโ€ฒโˆ’y=โˆ’1y' - y = -1; only one of them forgets it.

VQuiz Questions

Problem 1 ยท The RC Circuit in Standard Form

Given: A series circuit with resistance R=4R = 4, capacitance C=0.5C = 0.5 and a battery E=6E = 6 obeys Rโ€‰dqdt+qC=ER\,\frac{dq}{dt} + \frac{q}{C} = E. Which is its standard form qโ€ฒ+kq=q(t)q' + kq = q(t)?

โœ… Correct! k=1RC=12k = \frac{1}{RC} = \frac{1}{2} and the right-hand side is ER=32\frac{E}{R} = \frac{3}{2}, so the charge settles at CE=3CE = 3.
โŒ That coefficient is RCRC, not 1/RC1/RC. Dividing Rโ€‰qโ€ฒ+q/C=ER\,q' + q/C = E by RR leaves 1RC\frac{1}{RC} in front of qq; here RC=2RC = 2, so k=12k = \frac{1}{2}.
โŒ The left side was divided by RR, the right side was not. Every term is divided by R=4R = 4, so the right-hand side is 64\frac{6}{4}.
โŒ 3=CE3 = CE is the steady-state charge, not the right-hand side. Form (1) would read qโ€ฒ+kq=kโ‹…CE=12โ‹…3q' + kq = k\cdot CE = \frac{1}{2}\cdot 3; the right-hand side itself is ER\frac{E}{R}.
โŒ Not quite. Divide every term by RR.
Show solution

Divide Rโ€‰qโ€ฒ+qC=ER\,q' + \frac{q}{C} = E through by RR:

qโ€ฒ+1RCโ€‰q=ER=64,RC=4โ‹…0.5=2.q' + \frac{1}{RC}\,q = \frac{E}{R} = \frac{6}{4}, \qquad RC = 4 \cdot 0.5 = 2. qโ€ฒ+12โ€‰q=32q' + \tfrac{1}{2}\,q = \tfrac{3}{2}

So k=1RC=12k = \frac{1}{RC} = \frac{1}{2} and q(t)=ER=32q(t) = \frac{E}{R} = \frac{3}{2}. The solution is q=3+cโ€‰eโˆ’t/2q = 3 + c\,e^{-t/2}: the steady state is CE=3CE = 3, and cโ€‰eโˆ’t/2c\,e^{-t/2} is the transient. Writing the right side as kโ‹…CEk\cdot CE would put the equation in form (1), but nobody writes the circuit that way.

Problem 2 ยท Equal Decay Constants

Given: In the chain Aโ†’BA \to B, A0=5A_0 = 5, k1=k2=0.5k_1 = k_2 = 0.5 and B(0)=0B(0) = 0, so Bโ€ฒ+0.5B=2.5โ€‰eโˆ’0.5tB' + 0.5B = 2.5\,e^{-0.5t}. Find B(t)B(t).

โœ… Correct! With equal rates, e0.5te^{0.5t} cancels the forcing exponential completely and the integral produces a factor of tt.
โŒ This misses B(0)=0B(0) = 0. At t=0t = 0 it gives 2.52.5, and it solves Bโ€ฒ+0.5B=0B' + 0.5B = 0, not the forced equation.
โŒ The general formula is 00\frac{0}{0} here, not 00. BB receives atoms at rate k1A>0k_1 A \gt 0, so it cannot stay zero; solve the equation directly.
โŒ The coefficient is k1A0k_1 A_0, not A0A_0. Check: Bโ€ฒ+0.5BB' + 0.5B for 5teโˆ’0.5t5te^{-0.5t} is 5eโˆ’0.5t5e^{-0.5t}, twice the right-hand side.
โŒ Not quite. Multiply by the integrating factor e0.5te^{0.5t}.
Show solution

Multiply Bโ€ฒ+0.5B=2.5โ€‰eโˆ’0.5tB' + 0.5B = 2.5\,e^{-0.5t} by the integrating factor e0.5te^{0.5t}:

(Bโ€‰e0.5t)โ€ฒ=2.5โ€‰eโˆ’0.5tโ€‰e0.5t=2.5\left(B\,e^{0.5t}\right)' = 2.5\,e^{-0.5t}\,e^{0.5t} = 2.5 Bโ€‰e0.5t=2.5โ€‰t+c,B(0)=0โ‡’c=0B\,e^{0.5t} = 2.5\,t + c, \qquad B(0) = 0 \Rightarrow c = 0 B=2.5โ€‰tโ€‰eโˆ’0.5tB = 2.5\,t\,e^{-0.5t}

The general formula k1A0k2โˆ’k1(eโˆ’k1tโˆ’eโˆ’k2t)\frac{k_1 A_0}{k_2 - k_1}\left(e^{-k_1 t} - e^{-k_2 t}\right) cannot be used when k1=k2k_1 = k_2: the forcing exponential then has the same rate as the integrating factor, and the integrand is a constant instead of an exponential. BB peaks at t=1/k1=2t = 1/k_1 = 2 with B(2)=5eโˆ’1โ‰ˆ1.84B(2) = 5e^{-1} \approx 1.84.

Problem 3 ยท When Does B Peak?

Given: A0=4A_0 = 4, k1=1k_1 = 1, k2=0.5k_2 = 0.5, B(0)=0B(0) = 0 โ€” so B=8(eโˆ’t/2โˆ’eโˆ’t)B = 8\left(e^{-t/2} - e^{-t}\right). Find the time of the peak of BB and the peak amount.

When is BB largest?

What is the peak amount of BB?

โœ… Correct! At t=2lnโก2t = 2\ln 2, eโˆ’t/2=12e^{-t/2} = \frac{1}{2} and eโˆ’t=14e^{-t} = \frac{1}{4}, so B=8โ‹…14=2B = 8 \cdot \frac{1}{4} = 2, and the inflow k1A=1k_1 A = 1 equals the outflow k2B=1k_2 B = 1.
โŒ lnโก2\ln 2 is lnโก(k1/k2)\ln(k_1/k_2) before dividing by k1โˆ’k2=0.5k_1 - k_2 = 0.5. Setting Bโ€ฒ=0B' = 0 gives et/2=2e^{t/2} = 2, so t=2lnโก2t = 2\ln 2.
โŒ That is a single decay time, 1/k21/k_2 or 1/k11/k_1. The peak depends on both constants: tโˆ—=lnโก(k1/k2)k1โˆ’k2t^* = \frac{\ln(k_1/k_2)}{k_1 - k_2}.
โŒ Check the peak time. Set Bโ€ฒ=8(โˆ’12eโˆ’t/2+eโˆ’t)=0B' = 8\left(-\tfrac{1}{2}e^{-t/2} + e^{-t}\right) = 0.
โŒ BB never holds all of A0A_0. While AA is still feeding BB, part of BB has already decayed onward.
โŒ 11 is the amount of AA at the peak, not of BB. At t=2lnโก2t = 2\ln 2, A=4eโˆ’2lnโก2=1A = 4e^{-2\ln 2} = 1 and the inflow is k1A=1k_1 A = 1; BB itself is 8(12โˆ’14)8\left(\tfrac{1}{2} - \tfrac{1}{4}\right).
โŒ 88 is the prefactor k1A0k2โˆ’k1\frac{k_1 A_0}{k_2 - k_1} in absolute value, not a value of BB. Substitute the peak time into 8(eโˆ’t/2โˆ’eโˆ’t)8\left(e^{-t/2} - e^{-t}\right).
โŒ Check the peak amount. Substitute eโˆ’t/2=12e^{-t/2} = \frac{1}{2} and eโˆ’t=14e^{-t} = \frac{1}{4}.
Show solution

From the formula, B=k1A0k2โˆ’k1(eโˆ’k1tโˆ’eโˆ’k2t)=4โˆ’0.5(eโˆ’tโˆ’eโˆ’t/2)=8(eโˆ’t/2โˆ’eโˆ’t)B = \frac{k_1 A_0}{k_2 - k_1}\left(e^{-k_1 t} - e^{-k_2 t}\right) = \frac{4}{-0.5}\left(e^{-t} - e^{-t/2}\right) = 8\left(e^{-t/2} - e^{-t}\right).

Step 1: peak time.

Bโ€ฒ=8(โˆ’12eโˆ’t/2+eโˆ’t)=0โ€…โ€Šโ‡’โ€…โ€Šeโˆ’t=12eโˆ’t/2โ€…โ€Šโ‡’โ€…โ€Šeโˆ’t/2=12โ€…โ€Šโ‡’โ€…โ€Št=2lnโก2โ‰ˆ1.39B' = 8\left(-\tfrac{1}{2}e^{-t/2} + e^{-t}\right) = 0 \;\Rightarrow\; e^{-t} = \tfrac{1}{2}e^{-t/2} \;\Rightarrow\; e^{-t/2} = \tfrac{1}{2} \;\Rightarrow\; t = 2\ln 2 \approx 1.39

This agrees with tโˆ—=lnโก(k1/k2)k1โˆ’k2=lnโก20.5t^* = \frac{\ln(k_1/k_2)}{k_1 - k_2} = \frac{\ln 2}{0.5}.

Step 2: peak amount.

B(2lnโก2)=8(12โˆ’14)=2B(2\ln 2) = 8\left(\tfrac{1}{2} - \tfrac{1}{4}\right) = 2

Check with the rates: A=4eโˆ’2lnโก2=1A = 4e^{-2\ln 2} = 1, so the inflow is k1A=1k_1 A = 1 and the outflow is k2B=0.5โ‹…2=1k_2 B = 0.5 \cdot 2 = 1. Then Bโ€ฒ=k1Aโˆ’k2B=0B' = k_1 A - k_2 B = 0, as it must be at a peak.

Problem 4 ยท Negative k Amplifies the Initial Condition

Given: yโ€ฒโˆ’0.5y=โˆ’1y' - 0.5y = -1. Two solutions start at y(0)=2.1y(0) = 2.1 and y(0)=1.9y(0) = 1.9. How far apart are they at t=4t = 4?

โœ… Correct! Here k=โˆ’0.5k = -0.5, so the gap 0.20.2 is multiplied by e0.5te^{0.5 t} instead of shrinking: at t=4t = 4 it is 0.2e2โ‰ˆ1.480.2e^2 \approx 1.48.
โŒ That treats kk as +0.5+0.5. In standard form yโ€ฒ+kyy' + ky, the equation yโ€ฒโˆ’0.5yy' - 0.5y has k=โˆ’0.5k = -0.5, so the free term is cโ€‰e+0.5tc\,e^{+0.5t}, which grows.
โŒ The two solutions differ by cโ€‰e0.5tc\,e^{0.5t}, not by a constant. Both share the particular solution y=2y = 2; only the cc-term differs, and it grows.
โŒ Each cc is measured from the line y=2y = 2. The two solutions have c=0.1c = 0.1 and c=โˆ’0.1c = -0.1, so the gap is 0.2โ€‰e0.5t0.2\,e^{0.5t}.
โŒ Not quite. Write each solution as 2+cโ€‰e0.5t2 + c\,e^{0.5t}.
Show solution

In standard form yโ€ฒ+ky=qy' + ky = q the coefficient is k=โˆ’0.5=โˆ’ak = -0.5 = -a with a=0.5a = 0.5. The constant y=2y = 2 is a particular solution, since 0โˆ’0.5โ‹…2=โˆ’10 - 0.5 \cdot 2 = -1, so

y=2+cโ€‰e0.5t,c=y(0)โˆ’2.y = 2 + c\,e^{0.5t}, \qquad c = y(0) - 2.

The two solutions have c=0.1c = 0.1 and c=โˆ’0.1c = -0.1:

y1(4)=2+0.1e2โ‰ˆ2.739,y2(4)=2โˆ’0.1e2โ‰ˆ1.261y_1(4) = 2 + 0.1e^{2} \approx 2.739, \qquad y_2(4) = 2 - 0.1e^{2} \approx 1.261 y1(4)โˆ’y2(4)=0.2โ€‰e2โ‰ˆ1.48y_1(4) - y_2(4) = 0.2\,e^{2} \approx 1.48

A starting difference of 0.20.2 has grown more than sevenfold by t=4t = 4. The line y=2y = 2 is not a steady state that solutions approach; they move away from it, and the initial condition decides where each one goes.

Solved: 0 / 4