Differential-Equations Β· Unit 3 Β· Video 2 Β· Interactive Practice

Heat, Salt, and One Equation: Building the Conduction-Diffusion Model

IKey Formulas

FormulaNameWhat you need
dTdt=k(Teβˆ’T)\dfrac{dT}{dt} = k(T_e - T)Conduction model (Newton's law of cooling)The bath temperature TeT_e and a conductivity k>0k > 0
T(0)=T0T(0) = T_0Initial condition β€” with the equation, an IVPThe inside temperature at the starting time
dCdt=k1(Ceβˆ’C)\dfrac{dC}{dt} = k_1(C_e - C)Diffusion modelThe same equation, concentration in place of temperature
dTdt+k(t) T=k(t) Te(t)\dfrac{dT}{dt} + k(t)\,T = k(t)\,T_e(t)Standard linear form, with p=kp = k and q=kTeq = kT_eNothing new β€” the rewrite is pure algebra

Key Insight: The order inside the bracket is not a convention, it is what keeps kk positive. If the bath is the hotter of the two then Teβˆ’T>0T_e - T > 0 and the inside must warm, so dT/dt>0dT/dt > 0 forces k>0k > 0; written the other way round, Tβˆ’TeT - T_e, the very same physics would demand a negative conductivity.

IIVisualization 1 β€” Which Order Keeps kk Positive

The rate is a straight line in TT crossing zero at the bath temperature β€” one order tilts it down, the other up.

IIIVisualization 2 β€” One Equation, Two Stories

The gap drives the rate and the rate closes the gap, so the approach only ever slows.

πŸ’‘ The bath is data, not a second unknown: TeT_e is prescribed from outside the chamber, so the equation still has exactly one unknown function even when TeT_e changes with time.

IVVisualization 3 β€” Standard Form, and How General qq Can Be

In standard form the whole bath collapses into the right-hand side q(t)=k(t) Te(t)q(t) = k(t)\,T_e(t).

Newton's form
dTdt=k(t)(Te(t)βˆ’T)\dfrac{dT}{dt} = k(t)\big(T_e(t) - T\big)
Multiply out the bracket
dTdt=k(t)Te(t)βˆ’k(t)T\dfrac{dT}{dt} = k(t)T_e(t) - k(t)T
Move the TT-term across
dTdt+k(t)T=k(t)Te(t)\dfrac{dT}{dt} + k(t)T = k(t)T_e(t)
term under term with yβ€²+p(x)y=q(x)y' + p(x)y = q(x)

πŸ’‘ The rewrite used no physics at all, only algebra, so every model in the previous video's list arrives at the same standard form.

VQuiz Questions

Problem 1 Β· Reading the Model

Given: a chamber at T=12T = 12 hangs in a bath held at Te=20T_e = 20 (degrees Celsius), and the wall has conductivity k=0.4k = 0.4 per minute β€” find dTdt\dfrac{dT}{dt} at this instant.

βœ… Correct! 0.4(20βˆ’12)=0.4Γ—8=3.20.4(20 - 12) = 0.4 \times 8 = 3.2, positive because the bath is the hotter of the two and heat leaks inward.
❌ The bracket is a difference, not a sum. Teβˆ’T=20βˆ’12=8T_e - T = 20 - 12 = 8, not 3232. Newton's law is driven by the gap between the two temperatures, which vanishes when they are equal.
❌ Check the order. The bracket is external minus internal, 20βˆ’1220 - 12; you computed 12βˆ’2012 - 20, which says a chamber sitting in a hotter bath gets colder.
❌ That is the temperature difference, not the rate. The difference still has to be multiplied by the conductivity: 0.4Γ—8=3.20.4 \times 8 = 3.2.
❌ Not quite. Substitute straight into dTdt=k(Teβˆ’T)\dfrac{dT}{dt} = k(T_e - T) with k=0.4k = 0.4, Te=20T_e = 20 and T=12T = 12.
Show solution

The model is evaluated, not solved β€” everything on the right is known at this instant:

dTdt=k(Teβˆ’T)=0.4(20βˆ’12)=0.4Γ—8=3.2\frac{dT}{dt} = k(T_e - T) = 0.4(20 - 12) = 0.4 \times 8 = 3.2

Two checks are worth making every time. The bracket is external minus internal, so with the bath hotter it comes out positive; and k>0k > 0, so the rate comes out positive too β€” the chamber warms, as it must. Note also that 3.23.2 is the rate right now: as TT climbs toward 2020 the bracket shrinks and the warming slows.

Problem 2 Β· The Order and the Sign of kk

Given: an engineer models the same warming chamber, Te>TT_e > T, but writes the bracket backwards as dTdt=k(Tβˆ’Te)\dfrac{dT}{dt} = k(T - T_e). For that equation to describe a chamber that actually warms, what must be true of kk?

βœ… Correct! Tβˆ’Te<0T - T_e < 0 while dT/dt>0dT/dt > 0, so the constant in front must be negative β€” and a negative conductivity is exactly what the standard order was chosen to avoid.
❌ Check the sign of the bracket. With Te>TT_e > T the factor Tβˆ’TeT - T_e is negative, so a positive kk gives dT/dt<0dT/dt < 0: the chamber would cool inside a hotter bath.
❌ Then nothing happens at all. k=0k = 0 gives dT/dt=0dT/dt = 0, a perfectly insulating wall β€” and the video's chamber is explicitly not perfectly insulated.
❌ The two brackets differ by a factor of βˆ’1-1. They describe the same physics only if the constant flips sign too, so the choice of order really does decide the sign of kk.
❌ Not quite. Fix the physics first β€” a chamber in a hotter bath has dT/dt>0dT/dt > 0 β€” then read off the sign the constant is forced to carry.
Show solution

The physics fixes the left-hand side. Heat leaks inward, so the inside temperature rises: dT/dt>0dT/dt > 0.

The written bracket has a fixed sign too, because Te>TT_e > T is given: Tβˆ’Te<0T - T_e < 0.

dTdt⏟> 0β€…β€Š=β€…β€Škβ‹…(Tβˆ’Te)⏟< 0⟹k<0\underbrace{\frac{dT}{dt}}_{>\,0} \; = \; k \cdot \underbrace{(T - T_e)}_{<\,0} \quad \Longrightarrow \quad k < 0

A positive quantity equal to kk times a negative quantity forces kk to be negative. Nobody wants to carry a negative conductivity through a calculation β€” physical parameters are arranged so they come out positive β€” so the difference is always written external minus internal, and k>0k > 0.

Problem 3 Β· Into Standard Linear Form

Given: dTdt=k(Teβˆ’T)\dfrac{dT}{dt} = k(T_e - T) with constant conductivity k=0.25k = 0.25 and a bath that rises steadily, Te(t)=30+4tT_e(t) = 30 + 4t β€” rewrite it as Tβ€²+pT=qT' + pT = q and identify the two coefficients.

What is pp?

What is qq?

βœ… Correct! Multiplying out gives Tβ€²=7.5+tβˆ’0.25TT' = 7.5 + t - 0.25T, so Tβ€²+0.25T=7.5+tT' + 0.25T = 7.5 + t: the coefficient pp is the conductivity and qq is the conductivity times the bath.
❌ Check pp. pp is whatever multiplies TT after the TT-term has crossed the equals sign, and βˆ’0.25T-0.25T crosses as +0.25T+0.25T. So p=k=0.25p = k = 0.25, a positive constant β€” never the bath, and never negative.
❌ Check qq. What is left on the right is kTe(t)kT_e(t), and every term of the bath is multiplied by kk: 0.25(30+4t)=7.5+t0.25(30 + 4t) = 7.5 + t. Leaving it as 30+4t30 + 4t forgets the kk; 7.5+4t7.5 + 4t scales only the first term.
Show solution

Step 1 β€” multiply out the bracket.

dTdt=0.25((30+4t)βˆ’T)=7.5+tβˆ’0.25 T\frac{dT}{dt} = 0.25\big((30 + 4t) - T\big) = 7.5 + t - 0.25\,T

Step 2 β€” move the TT-term to the left.

dTdt+0.25 T=7.5+t\frac{dT}{dt} + 0.25\,T = 7.5 + t

Step 3 β€” compare with yβ€²+py=qy' + py = q. Term under term, pp sits against 0.250.25 and qq against the whole right-hand side:

p=0.25,q(t)=7.5+tp = 0.25, \qquad q(t) = 7.5 + t

The equation is visibly linear with a positive pp, and its right-hand side is a general function of tt β€” here a rising straight line, because the bath is rising.

Problem 4 Β· A Congealing Membrane

Given: salt diffuses into a chamber through a membrane that keeps setting, so its constant is really a function of time, k1(t)=21+tk_1(t) = \dfrac{2}{1+t}, while the brine outside is stirred to follow Ce(t)=5+sin⁑tC_e(t) = 5 + \sin t β€” which standard-form equation is this model?

βœ… Correct! p(t)=k1(t)p(t) = k_1(t) and q(t)=k1(t)Ce(t)q(t) = k_1(t)C_e(t), both now functions of tt β€” which is a general first-order linear equation, not a special one.
❌ The right-hand side is k1Cek_1C_e, not CeC_e. Multiplying out k1(Ceβˆ’C)k_1(C_e - C) scales the brine by the very same k1k_1 that ends up multiplying CC on the left.
❌ Check the sign. Moving βˆ’k1C-k_1C from the right to the left turns it into +k1C+k_1C, so p=+k1p = +k_1 β€” and pp coming out positive is the whole reason the bracket is written external minus internal.
❌ pp and qq are swapped. pp is whatever multiplies the unknown CC, and that is the conductivity k1(t)k_1(t); the brine Ce(t)C_e(t) never touches the unknown and stays on the right.
❌ Not quite. Multiply out k1(t)(Ce(t)βˆ’C)k_1(t)\big(C_e(t) - C\big), then move the CC-term across the equals sign.
Show solution

The diffusion model is word for word the conduction model, so run the same two algebraic steps:

dCdt=k1(t)(Ce(t)βˆ’C)=k1(t)Ce(t)βˆ’k1(t)C\frac{dC}{dt} = k_1(t)\big(C_e(t) - C\big) = k_1(t)C_e(t) - k_1(t)C dCdt+21+t C=21+t (5+sin⁑t)=2(5+sin⁑t)1+t\frac{dC}{dt} + \frac{2}{1+t}\,C = \frac{2}{1+t}\,(5 + \sin t) = \frac{2(5 + \sin t)}{1+t}

So p(t)=21+tp(t) = \dfrac{2}{1+t} and q(t)=2(5+sin⁑t)1+tq(t) = \dfrac{2(5 + \sin t)}{1+t}.

Nothing in those two lines used the fact that CC is a concentration; the identical steps turn the conduction model into Tβ€²+k(t)T=k(t)Te(t)T' + k(t)T = k(t)T_e(t). And with both coefficients free to depend on tt, the last trace of specialness is gone: this is yβ€²+p(x)y=q(x)y' + p(x)y = q(x) in full generality, so one method for that equation solves every one of these models.

Solved: 0 / 4