Differential-Equations Β· Unit 3 Β· Video 2 Β· Interactive Practice
Heat, Salt, and One Equation: Building the Conduction-Diffusion Model
IKey Formulas
Formula
Name
What you need
dtdTβ=k(TeββT)
Conduction model (Newton's law of cooling)
The bath temperature Teβ and a conductivity k>0
T(0)=T0β
Initial condition β with the equation, an IVP
The inside temperature at the starting time
dtdCβ=k1β(CeββC)
Diffusion model
The same equation, concentration in place of temperature
dtdTβ+k(t)T=k(t)Teβ(t)
Standard linear form, with p=k and q=kTeβ
Nothing new β the rewrite is pure algebra
Key Insight: The order inside the bracket is not a convention, it is what keeps k positive. If the bath is the hotter of the two then TeββT>0 and the inside must warm, so dT/dt>0 forces k>0; written the other way round, TβTeβ, the very same physics would demand a negative conductivity.
IIVisualization 1 β Which Order Keeps k Positive
The rate is a straight line in T 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: Teβ is prescribed from outside the chamber, so the equation still has exactly one unknown function even when Teβ changes with time.
IVVisualization 3 β Standard Form, and How General q Can Be
In standard form the whole bath collapses into the right-hand side q(t)=k(t)Teβ(t).
Newton's form
dtdTβ=k(t)(Teβ(t)βT)
Multiply out the bracket
dtdTβ=k(t)Teβ(t)βk(t)T
Move the T-term across
dtdTβ+k(t)T=k(t)Teβ(t)
term under term with 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=12 hangs in a bath held at Teβ=20 (degrees Celsius), and the wall has conductivity k=0.4 per minute β finddtdTβ at this instant.
β Correct!0.4(20β12)=0.4Γ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=8, not 32. 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β12; you computed 12β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.2.
β Not quite. Substitute straight into dtdTβ=k(TeββT) with k=0.4, Teβ=20 and T=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
Two checks are worth making every time. The bracket is external minus internal, so with the bath hotter it comes out positive; and k>0, so the rate comes out positive too β the chamber warms, as it must. Note also that 3.2 is the rate right now: as T climbs toward 20 the bracket shrinks and the warming slows.
Problem 2 Β· The Order and the Sign of k
Given: an engineer models the same warming chamber, Teβ>T, but writes the bracket backwards as dtdTβ=k(TβTeβ). For that equation to describe a chamber that actually warms, what must be true of k?
β Correct!TβTeβ<0 while dT/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β>T the factor TβTeβ is negative, so a positive k gives dT/dt<0: the chamber would cool inside a hotter bath.
β Then nothing happens at all.k=0 gives dT/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. They describe the same physics only if the constant flips sign too, so the choice of order really does decide the sign of k.
β Not quite. Fix the physics first β a chamber in a hotter bath has dT/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>0.
The written bracket has a fixed sign too, because Teβ>T is given: TβTeβ<0.
>0dtdTβββ=kβ <0(TβTeβ)βββΉk<0
A positive quantity equal to k times a negative quantity forces k 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>0.
Problem 3 Β· Into Standard Linear Form
Given:dtdTβ=k(TeββT) with constant conductivity k=0.25 and a bath that rises steadily, Teβ(t)=30+4t β rewrite it as Tβ²+pT=q and identify the two coefficients.
What is p?
What is q?
β Correct! Multiplying out gives Tβ²=7.5+tβ0.25T, so Tβ²+0.25T=7.5+t: the coefficient p is the conductivity and q is the conductivity times the bath.
β Check p.p is whatever multiplies T after the T-term has crossed the equals sign, and β0.25T crosses as +0.25T. So p=k=0.25, a positive constant β never the bath, and never negative.
β Check q. What is left on the right is kTeβ(t), and every term of the bath is multiplied by k: 0.25(30+4t)=7.5+t. Leaving it as 30+4t forgets the k; 7.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.25T
Step 2 β move the T-term to the left.
dtdTβ+0.25T=7.5+t
Step 3 β compare with yβ²+py=q. Term under term, p sits against 0.25 and q against the whole right-hand side:
p=0.25,q(t)=7.5+t
The equation is visibly linear with a positive p, and its right-hand side is a general function of t β 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)=1+t2β, while the brine outside is stirred to follow Ceβ(t)=5+sint β which standard-form equation is this model?
β Correct!p(t)=k1β(t) and q(t)=k1β(t)Ceβ(t), both now functions of t β which is a general first-order linear equation, not a special one.
β The right-hand side is k1βCeβ, not Ceβ. Multiplying out k1β(CeββC) scales the brine by the very same k1β that ends up multiplying C on the left.
β Check the sign. Moving βk1βC from the right to the left turns it into +k1βC, so p=+k1β β and p coming out positive is the whole reason the bracket is written external minus internal.
β p and q are swapped.p is whatever multiplies the unknown C, and that is the conductivity k1β(t); the brine Ceβ(t) never touches the unknown and stays on the right.
β Not quite. Multiply out k1β(t)(Ceβ(t)βC), then move the C-term across the equals sign.
Show solution
The diffusion model is word for word the conduction model, so run the same two algebraic steps:
Nothing in those two lines used the fact that C is a concentration; the identical steps turn the conduction model into Tβ²+k(t)T=k(t)Teβ(t). And with both coefficients free to depend on t, the last trace of specialness is gone: this is yβ²+p(x)y=q(x) in full generality, so one method for that equation solves every one of these models.