Definition 17.1.1: First Order Differential Equation A first order differential equation is an equation of the form \(F(t, y, \dot)=0\). A solution of a first order differential equation is a function \(f(t)\) that makes \(F(t,f(t),f'(t))=0\) for every value of \(t\).
Here, \(F\) is a function of three variables which we label \(t\), \(y\), and \(\dot
Example \(\PageIndex<2>\): The equation from Newton's law of cooling, \(\dot=k(M-y)\) is a first order differential equation; \(F(t,y,\dot y)=k(M-y)-\dot y\).2>
Example \(\PageIndex<3>\): \(\dot=t^2+1\) is a first order differential equation; \(F(t,y,\dot y)= \dot y-t^2-1\). All solutions to this equation are of the form \(t^3/3+t+C\).3>
Definition 17.1.4: First Order Initial Value Problem A first order initial value problem is a system of equations of the form \(F(t, y, \dot)=0\), \(y(t_0)=y_0\). Here \(t_0\) is a fixed time and \(y_0\) is a number. A solution of an initial value problem is a solution \(f(t)\) of the differential equation that also satisfies the initial condition \(f(t_0) = y_0\).
Example \(\PageIndex<5>\): The initial value problem \(\dot=t^2+1\), \(y(1)=4\) has solution \( f(t)=t^3/3+t+8/3\).5>
The general first order equation is rather too general, that is, we can't describe methods that will work on them all, or even a large portion of them. We can make progress with specific kinds of first order differential equations. For example, much can be said about equations of the form \(\dot
Example \(\PageIndex<6>\): Consider this specific example of an initial value problem for Newton's law of cooling: \(\dot y = 2(25-y)\), \(y(0)=40\). We first note that if \(y(t_0) = 25\), the right hand side of the differential equation is zero, and so the constant function \(y(t)=25\) is a solution to the differential equation. It is not a solution to the initial value problem, since \(y(0)\not=40\). (The physical interpretation of this constant solution is that if a liquid is at the same temperatureas its surroundings, then the liquid will stay at that temperature.) So long as \(y\) is not 25, we can rewrite the differential equation as \[\eqalign<
Why could we solve this problem? Our solution depended on rewriting the equation so that all instances of \(y\) were on one side of the equation and all instances of \(t\) were on the other; of course, in this case the only \(t\) was originally hidden, since we didn't write \(dy/dt\) in the original equation. This is not required, however.
Example \(\PageIndex<7>\): Solve the differential equation \(\dot y = 2t(25-y)\). This is almost identical to the previous example. As before, \(y(t)=25\) is a solution. If \(y\not=25\), \[\eqalign<\int <1\over 25-y>\,dy &= \int 2t\,dt\cr(-1)\ln|25-y| &= t^2+C_0\cr \ln|25-y| &= -t^2 - C_0 = -t^2 + C\cr |25-y| &= e^=e^ e^C\cr y-25 & = \pm\, e^C e^ \cr y &= 25 \pm e^C e^ =25+Ae^.\cr>\] As before, all solutions are represented by \(y=25+Ae^\), allowing \(A\) to be zero.7>
Definition 17.1.8: Separable Differential Equation A first order differential equation is separable if it can be written in the form \(\dot = f(t) g(y)\).
As in the examples, we can attempt to solve a separable equation by converting to the form \[\int <1\over g(y)>\,dy=\int f(t)\,dt.\] This technique is called separation of variables. The simplest (in principle) sort of separable equation is one in which \(g(y)=1\), in which case we attempt to solve \[\int 1\,dy=\int f(t)\,dt.\] We can do this if we can find an anti-derivative of \(f(t)\). Also as we have seen so far, a differential equation typically has an infinite number of solutions. Ideally, but certainly not always, a corresponding initial value problem will have just one solution. A solution in which there are no unknown constants remaining is called a particular solution. The general approach to separable equations is this: Suppose we wish to solve \(\dot =f(t) g(y)\) where \(f\) and \(g\) are continuous functions. If \(g(a)=0\) for some \(a\) then \(y(t)=a\) is a constant solution of the equation, since in this case \(\dot y = 0 = f(t)g(a)\). For example, \(\dot =y^2 -1\) has constant solutions \(y(t)=1\) and \(y(t)=-1\). To find the nonconstant solutions, we note that the function \(1/g(y)\) is continuous where \(g\not=0\), so \(1/g\) has an antiderivative \(G\). Let \(F\) be an antiderivative of \(f\). Now we write \[G(y) = \int <1\over g(y)>\,dy = \int f(t)\,dt=F(t)+C,\] so \(G(y)=F(t)+C\). Now we solve this equation for \(y\). Of course, there are a few places this ideal description could go wrong: we need to be able to find the antiderivatives \(G\) and \(F\), and we need to solve the final equation for \(y\). The upshot is that the solutions to the original differential equation are the constant solutions, if any, and all functions \(y\) that satisfy \(G(y)=F(t)+C\).
Example \(\PageIndex<9>\): Consider the differential equation \(\dot y=ky\). When \(k>0\), this describes certain simple cases of population growth: it says that the change in the population \(y\) is proportional to the population. The underlying assumption is that each organism in the current population reproduces at a fixed rate, so the larger the population the more new organisms are produced. While this is too simple to model most real populations, it is useful in some cases over a limited time. When \(k\,dy&=\int k\,dt\cr \ln|y| &= kt+C\cr |y| &= e^ e^C\cr y &= \pm \,e^C e^ \cr y&= Ae^.\cr>\] Again, if we allow \(A=0\) this includes the constant solution, and we can simply say that \( y=Ae^\) is the general solution. With an initial value we can easily solve for \(A\) to get the solution of the initial value problem. In particular, if the initial value is given for time \(t=0\), \(y(0)=y_0\), then \(A=y_0\) and the solution is \( y= y_0 e^\).9>
This page titled 17.1: First Order Differential Equations is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by David Guichard via source content that was edited to the style and standards of the LibreTexts platform.