Internal
problem
ID
[9070]
Book
:
First
order
enumerated
odes
Section
:
section
3.
First
order
odes
solved
using
Laplace
method
Problem
number
:
13
Date
solved
:
Wednesday, March 05, 2025 at 07:19:00 AM
CAS
classification
:
[_separable]
Solve
With initial conditions
We will now apply Laplace transform to each term in the ode. Since this is time varying, the following Laplace transform property will be used
Where in the above
Collecting all the terms above, the ode in Laplace domain becomes
Replacing
The above ode in Y(s) is now solved.
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
Applying inverse Laplace transform on the above gives.
Substituting initial conditions
Solving for the constant
Substituting the above back into the solution (1) gives
ode:=diff(y(t),t)+(a*t+b*t)*y(t) = 0; ic:=y(0) = 0; dsolve([ode,ic],y(t),method='laplace');
Maple trace
`Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful`
Maple step by step
ode=D[y[t],t]+(a*t+b*t)*y[t]==0; ic=y[0]==0; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq((a*t + b*t)*y(t) + Derivative(y(t), t),0) ics = {y(0): 0} dsolve(ode,func=y(t),ics=ics)