Internal
problem
ID
[8723]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
12
Date
solved
:
Friday, April 25, 2025 at 04:58:01 PM
CAS
classification
:
[_separable]
Solve
With initial conditions
This is a linear ODE. In canonical form it is written as
Where here
Hence the ode is
The domain of
But the point
Time used: 0.034 (sec)
Solve
With initial conditions
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
Solving for the constant of integration from initial conditions, the solution becomes
| |
Solution plot | Slope field |
Summary of solutions found
Time used: 0.053 (sec)
Solve
With initial conditions
The ode
is separable as it can be written as
Where
Integrating gives
Taking the exponential of both sides the solution becomes
We now need to find the singular solutions, these are found by finding for what values
for
Now we go over each such singular solution and check if it verifies the ode itself and any initial conditions given. If it does not then the singular solution will not be used.
Therefore the solutions found are
Solving for the constant of integration from initial conditions, the solution becomes
| |
Solution plot | Slope field |
Summary of solutions found
Time used: 0.193 (sec)
Solve
With initial conditions
In canonical form, the ODE is
An ode of the form
In this case, it can be seen that both
Applying the
transformation
Or
Or
Which is now solved as separable in
The ode
is separable as it can be written as
Where
Integrating gives
Taking the exponential of both sides the solution becomes
We now need to find the singular solutions, these are found by finding for what values
for
Now we go over each such singular solution and check if it verifies the ode itself and any initial conditions given. If it does not then the singular solution will not be used.
Therefore the solutions found are
Converting
Converting
Solving for the constant of integration from initial conditions, the solution becomes
| |
Solution plot | Slope field |
Summary of solutions found
Time used: 0.047 (sec)
Solve
With initial conditions
Applying change of variables
Which is now solved The ode
is separable as it can be written as
Where
Integrating gives
Taking the exponential of both sides the solution becomes
We now need to find the singular solutions, these are found by finding for what values
for
Now we go over each such singular solution and check if it verifies the ode itself and any initial conditions given. If it does not then the singular solution will not be used.
Therefore the solutions found are
Converting
Converting
Solving for the constant of integration from initial conditions, the solution becomes
| |
Solution plot | Slope field |
Summary of solutions found
Time used: 0.247 (sec)
Solve
With initial conditions
Let
Solving for possible values of
Using these values now it is possible to easily solve for
In canonical form, the ODE is
An ode of the form
In this case, it can be seen that both
Applying the
transformation
Or
Or
Which is now solved as separable in
The ode
is separable as it can be written as
Where
Integrating gives
Taking the exponential of both sides the solution becomes
We now need to find the singular solutions, these are found by finding for what values
for
Now we go over each such singular solution and check if it verifies the ode itself and any initial conditions given. If it does not then the singular solution will not be used.
Therefore the solutions found are
Converting
Converting
Using the solution for
And replacing back terms in the above solution using
Or
Then the solution in
Using the solution for
And replacing back terms in the above solution using
Or
Then the solution in
Solving for the constant of integration from initial conditions, the solution becomes
| |
Solution plot | Slope field |
Summary of solutions found
Time used: 0.077 (sec)
Solve
With initial conditions
To solve an ode of the form
We assume there exists a function
Hence
But since
If the above condition is satisfied, then the original ode is called exact. We still need to determine
Therefore
Comparing (1A) and (2A) shows that
The next step is to determine if the ODE is is exact or not. The ODE is exact when the following condition is satisfied
Using result found above gives
And
Since
Since
The result of integrating gives
And
Now a modified ODE is ontained from the original ODE, which is exact and can be solved. The modified ODE is
The following equations are now set up to solve for the function
Integrating (2) w.r.t.
Where
But equation (1) says that
Solving equation (5) for
Therefore
Where
But since
Solving for the constant of integration from initial conditions, the solution becomes
Solving for
| |
Solution plot | Slope field |
Summary of solutions found
ode:=diff(y(x),x) = 2*y(x)/x; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
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[x],x] == 2*y[x]/x; ic=y[0]==0; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - 2*y(x)/x,0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)
ValueError : Couldnt solve for initial conditions