where \(F(x,f(x))\) denotes an arbitrary expression involving \(x\) and \(f(x)\text{.}\)
A solution to a differential equation is any function \(f\) that satisfies equation (1.13.2); as such it is useful to think of the function \(f\) in this context as an unknown that we are trying to solve for. The general solution to a differential equation is a formula, possibly containing undetermined constants, describing all solutions to the differential equation.
is said to be an implicit solution of the differential equation (1.13.5). An explicit solution is obtained from (1.13.6) by solving for \(y\) in terms of \(x\) and \(C\text{,}\) if possible.
Example1.13.6.Separation of variables.
Solve the following differential equations using separation of variables. If an initial condition is given, provide the corresponding particular solution. Otherwise, give the general solution.
is the general solution, where \(D=(\pm e^C)\text{.}\) How arbitrary is \(D\text{?}\) Since \(C\) was arbitrary, the expression \(\pm e^C\) can assume any value except 0. Setting \(D=0\) in our formula yields the function \(f(x)=-1\text{,}\) which by inspection also satisfies the differential equation. We conclude that the general solution is \(f(x)=De^{x^2/2}-1\) where \(D\) is any real number.
Suppose a hot object cools in a room kept at constant temperature of \(T_0\) (in celcius). Newton’s law of cooling states that the rate at which the object cools (with respect to time) is proportional to the difference between its current temperature and the room temperature \(T_0\text{.}\)
Write a differential equation that describes Newton’s law of cooling in this setting.
Find the general solution to this differential equation.
Find a the particular solution to the situation where \(T_0=15
^\circ\)C, the object’s initial temperature is \(100
^\circ\)C, and after \(5\) minutes the object’s temperature is \(80\)\(^\circ\)C.
Solution.
Let temperature \(T\) be given by the function \(T=f(t)\text{.}\) The rate of change of \(T\) with respect to \(t\) is then \(f'(t)\text{.}\) Newton’s law says this rate of change is proportional to the difference \(f(t)-T_0\) of the current temperature of the object and the room temperature. Mathematically, we write this proportionality relation as
Assuming \(T_0=15\text{,}\) we have \(f(t)=De^{kt}+15\text{.}\) We use the two additional pieces of information to determine the undetermined constants \(D\) and \(k\text{.}\) We have
We conclude that \(f(t)=85e^{kt}+15\text{,}\) where \(k=\frac{1}{5}\ln (13/17)\text{.}\) Below you find a graph of \(f\) along with its horizontal asymptote corresponding to the steady room temperature \(T_0=15\text{.}\)