Wize Foundations of Physics Textbook > Differential Equations for Physics

Separable and Linear Equations with Integrating Factors

Choosing Between Separation and an Integrating Factor

First-order differential equations connect a changing physical quantity to its instantaneous rate of change. Velocity under resistance, charge in a circuit, and temperature during cooling often lead to equations you can solve by separation or an integrating factor. The useful first step is to inspect the equation's structure. Once you choose a method, keep track of its restrictions and use the initial condition to select the physical solution.

Recognize the available route

A separable equation can be written as a product of a function of time and a function of the dependent variable:


dydt=f(t)g(y).\frac{dy}{dt}=f(t)g(y).


Where g(y)≠0g(y)\ne0, rearrangement gives


1g(y) dy=f(t) dt.\frac{1}{g(y)}\,dy=f(t)\,dt.


For the integrating-factor route, look for the standard linear form


dydt+p(t)y=q(t).\frac{dy}{dt}+p(t)y=q(t).


Here the coefficients depend on time, rather than on the unknown yy. Divide by the coefficient of dy/dtdy/dt before identifying p(t)p(t) and q(t)q(t). Work on an interval where that division is valid.


Equation

Separation available?

Standard linear form available?

y′=−kyy'=-ky

Yes

Yes

y′=−ky2y'=-ky^2

Yes

No

y′+ky=a(t)y'+ky=a(t)

Generally no

Yes


In the table, k≠0k\ne0 is constant and the coefficients have the units required by the model. A constant choice of a(t)a(t) makes the last equation separable too. An equation can fit both methods; choose the route with simpler algebra.


Two parallel tests connect equation forms to separation and integrating factors.


Separate without losing solutions

After separating, integrate both sides and include an integration constant:


∫dyg(y)=∫f(t) dt+C.\int\frac{dy}{g(y)}=\int f(t)\,dt+C.


Use the initial condition to find CC. You may instead use definite integrals with matching initial and current limits. If you obtain logarithms, retain absolute values until the initial condition and solution interval justify a particular sign.


Before dividing by g(y)g(y), check its zeros in the original equation. A value y∗y_* satisfying g(y∗)=0g(y_*)=0 gives an equilibrium solution y(t)=y∗y(t)=y_*. Division removes this possibility from the rearranged equation, even though it remains a valid solution of the model.



An implicit relation can be a complete solution when isolating yy is inconvenient. State the interval on which it applies, especially if a denominator can vanish.

Build the product derivative

An integrating factor is a nonzero multiplier that turns the left side of the standard linear equation into the derivative of a product. Choose


μ(t)=exp⁡(∫p(t) dt).\mu(t)=\exp\left(\int p(t)\,dt\right).


Because μ′=pμ\mu'=p\mu, multiplying the entire equation gives


μy′+μpy=(μy)′=μq.\mu y'+\mu p y=(\mu y)'=\mu q.


Integrating and dividing by μ\mu produces


y(t)=1μ(t)[C+∫μ(t)q(t) dt].y(t)=\frac{1}{\mu(t)}\left[C+\int\mu(t)q(t)\,dt\right].


Multiply the right-hand side by the integrating factor too. Leaving it unchanged solves a different equation. Any nonzero constant multiple of μ\mu works, so choose the simplest convenient factor.


In a physical model with time as the independent variable, pp has units of inverse time. The exponent must be dimensionless. The equivalent choice μ(t)=exp⁡(∫t0tp(u) du)\mu(t)=\exp(\int_{t_0}^{t}p(u)\,du) makes both the integration reference and this dimensional requirement explicit.



Finally, substitute your result into the differential equation and the initial condition. Check units and the long-time behavior when the model remains applicable. These checks can expose an incorrect constant even when the integration itself is sound.

What to remember

  • Separate only after checking values excluded by division.
  • Put a linear equation in standard form before finding μ\mu.
  • Multiply every term by μ\mu, then integrate the product derivative.
  • Check the original equation, initial condition, units, and solution interval.

Example: A Drop Test Solved Two Ways

An idealized drop test uses an object of mass m=0.500 kgm=0.500\ \text{kg} released from rest at t=0t=0. Treat gravity and linear resistance as the only forces. The resistance magnitude is bvbv, with b=1.00 kg/sb=1.00\ \text{kg/s}. Take downward as positive and use g=9.81 m/s2g=9.81\ \text{m/s}^2. The model is


mdvdt=mg−bv,v(0)=0.m\frac{dv}{dt}=mg-bv, \qquad v(0)=0.


A descending object has downward weight and upward linear resistance.


a) Solve for v(t)v(t) by separating variables.


First identify the terminal speed, the constant speed at which the model's net force is zero. Setting mg−bv=0mg-bv=0 gives


V=mgb.V=\frac{mg}{b}.


The weight is ________, so V=4.905 m/sV=4.905\ \text{m/s}. Dividing the original equation by mm gives a rate coefficient k=b/mk=b/m of ________. The equation becomes


dvdt=k(V−v).\frac{dv}{dt}=k(V-v).


Starting from rest, separate and use definite limits:


∫0v(t)duV−u=k∫0tds.\int_0^{v(t)}\frac{du}{V-u}=k\int_0^t ds.


The integration gives


−ln⁡(V−vV)=kt.-\ln\left(\frac{V-v}{V}\right)=kt.


Here V−vV-v is positive on the branch starting from rest. Exponentiating and isolating vv gives


V−vV=e−kt,v(t)=(4.905 m/s)[1−e−(2.00 s−1)t].\frac{V-v}{V}=e^{-kt}, \qquad \boxed{v(t)=(4.905\ \text{m/s})\left[1-e^{-(2.00\ \text{s}^{-1})t}\right]}.


Dividing by V−vV-v excluded the constant solution v=Vv=V. It is valid for the original equation but does not satisfy release from rest.


b) Obtain v(t)v(t) independently using an integrating factor and verify the initial condition.


Write the normalized linear equation:


v′+kv=g,k=2.00 s−1.v'+kv=g, \qquad k=2.00\ \text{s}^{-1}.


The integrating factor is the multiplier that creates a product derivative. Here it is μ(t)=ekt\mu(t)=e^{kt}, whose value at the initial time is ________. Multiply every term of the equation by this factor:


ektv′+kektv=gekt,ddt(ektv)=gekt.e^{kt}v'+ke^{kt}v=ge^{kt}, \qquad \frac{d}{dt}(e^{kt}v)=ge^{kt}.


Integrate from 00 to tt and use v(0)=0v(0)=0:


ektv(t)=gk(ekt−1).e^{kt}v(t)=\frac{g}{k}(e^{kt}-1).


Dividing by ekte^{kt} gives


v(t)=gk(1−e−kt)=(4.905 m/s)[1−e−(2.00 s−1)t].\boxed{v(t)=\frac{g}{k}(1-e^{-kt}) =(4.905\ \text{m/s})\left[1-e^{-(2.00\ \text{s}^{-1})t}\right]}.


At t=0t=0, the bracket is zero, recovering release from rest. Both methods give the same initial-value solution because this equation is both separable and linear.


c) Calculate the speed after 1.00 s1.00\ \text{s}, to two decimal places, and check whether it is physically consistent.


At the requested time, the dimensionless exponent is −kt=−(2.00)(1.00)=−2.00-kt=-(2.00)(1.00)=-2.00. The exponential factor e−2.00e^{-2.00} is approximately ________. Substitute without rounding the intermediate exponential:


v(1.00 s)=(4.905 m/s)(1−e−2.00)=4.241180… m/s.v(1.00\ \text{s}) =(4.905\ \text{m/s})(1-e^{-2.00}) =4.241180\ldots\ \text{m/s}.


The object moves downward, so its speed equals its positive velocity:


Speed after 1.00 s=4.24 m/s.\boxed{\text{Speed after }1.00\ \text{s}=4.24\ \text{m/s}}.


This lies between the initial speed of zero and the terminal speed of 4.905 m/s4.905\ \text{m/s}. Differentiating the solution also gives v′=ge−kt>0v'=g e^{-kt}>0, consistent with continued downward acceleration that decreases as resistance builds.

A heated sample has temperature excess θ(t)\theta(t), measured in kelvins, governed by the following model for t≥t0t\ge t_0, where t0=1.00 st_0=1.00\ \text{s}:


tdθdt+2θ=(3.00 K/s)t.t\frac{d\theta}{dt}+2\theta=(3.00\ \text{K/s})t.


Which expression is an integrating factor for this equation?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A test vehicle coasts along a horizontal track. During positive motion, its measured velocity model is


dvdt=−cv2,c=0.0800 m−1,v(0)=12.0 m/s.\frac{dv}{dt}=-cv^2, \qquad c=0.0800\ \text{m}^{-1}, \qquad v(0)=12.0\ \text{m/s}.


Assume this model remains valid for the next 4.00 s4.00\ \text{s}. Find the vehicle's speed at that time, in m/s to two decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A motorized cart moves horizontally with velocity v(t)v(t). Its programmed drive and linear resistance give the model


dvdt+αv=(A+Bt)e−αt,\frac{dv}{dt}+\alpha v=(A+Bt)e^{-\alpha t},


where α=0.500 s−1\alpha=0.500\ \text{s}^{-1}, A=2.00 m/s2A=2.00\ \text{m/s}^2, B=1.00 m/s3B=1.00\ \text{m/s}^3, and v(0)=1.00 m/sv(0)=1.00\ \text{m/s}. Find the velocity in m/s and the acceleration in m/s2 at t=2.00 st=2.00\ \text{s}. Give both answers to three decimal places.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors