2.2.48 Problem 48

Existence and uniqueness analysis
Solved using first_order_ode_autonomous
Solved using first_order_ode_bernoulli
Solved using first_order_ode_exact
Solved using first_order_ode_dAlembert
Maple
Mathematica
Sympy

Internal problem ID [9171]
Book : Second order enumerated odes
Section : section 2
Problem number : 48
Date solved : Sunday, March 30, 2025 at 02:24:46 PM
CAS classification : [_quadrature]

Existence and uniqueness analysis

Solve

y=y1/3

With initial conditions

y(0)=0

This is non linear first order ODE. In canonical form it is written as

y=f(x,y)=y1/3

The y domain of f(x,y) when x=0 is

{0y}

And the point y0=0 is inside this domain. Now we will look at the continuity of

fy=y(y1/3)=13y2/3

The y domain of fy when x=0 is

{0<y}

But the point y0=0 is not inside this domain. Hence existence and uniqueness theorem does not apply. Solution exists but no guarantee that unique solution exists.

Solved using first_order_ode_autonomous

Time used: 0.085 (sec)

Solve

y=y1/3

With initial conditions

y(0)=0

Since the ode has the form y=f(y) and initial conditions (x0,y0) are given such that they satisfy the ode itself, then we can write

0=f(y)|y=y00=0

And the solution is immediately written as

y=y0y=0

Singular solutions are found by solving

y1/3=0

for y. This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.

y=0

The following diagram is the phase line diagram. It classifies each of the above equilibrium points as stable or not stable or semi-stable.

Solution plot Slope field y=y1/3

Summary of solutions found

y=0
Solved using first_order_ode_bernoulli

Time used: 0.065 (sec)

Solve

y=y1/3

With initial conditions

y(0)=0

In canonical form, the ODE is

y=F(x,y)=y1/3

This is a Bernoulli ODE.

(1)y=(1)y1/3

The standard Bernoulli ODE has the form

(2)y=f0(x)y+f1(x)yn

Comparing this to (1) shows that

f0=0f1=1

The first step is to divide the above equation by yn which gives

(3)yyn=f1(x)

The next step is use the substitution v=y1n in equation (3) which generates a new ODE in v(x) which will be linear and can be easily solved using an integrating factor. Backsubstitution then gives the solution y(x) which is what we want.

This method is now applied to the ODE at hand. Comparing the ODE (1) With (2) Shows that

f0(x)=0f1(x)=1n=13

Dividing both sides of ODE (1) by yn=y1/3 gives

(4)y1y1/3=0+1

Let

v=y1n(5)=y2/3

Taking derivative of equation (5) w.r.t x gives

(6)v=23y1/3y

Substituting equations (5) and (6) into equation (4) gives

3v(x)2=1(7)v=23

The above now is a linear ODE in v(x) which is now solved.

Since the ode has the form v(x)=f(x), then we only need to integrate f(x).

dv=23dxv(x)=2x3+c2

The substitution v=y1n is now used to convert the above solution back to y which results in

y2/3=2x3+c2

Solving for the constant of integration from initial conditions, the solution becomes

y2/3=2x3

Solving for y gives

y=223x3/29

Which simplifies to

y=2x3/269
Solution plot Slope field y=y1/3

Summary of solutions found

y=2x3/269
Solved using first_order_ode_exact

Time used: 0.203 (sec)

Solve

y=y1/3

With initial conditions

y(0)=0

To solve an ode of the form

(A)M(x,y)+N(x,y)dydx=0

We assume there exists a function ϕ(x,y)=c where c is constant, that satisfies the ode. Taking derivative of ϕ w.r.t. x gives

ddxϕ(x,y)=0

Hence

(B)ϕx+ϕydydx=0

Comparing (A,B) shows that

ϕx=Mϕy=N

But since 2ϕxy=2ϕyx then for the above to be valid, we require that

My=Nx

If the above condition is satisfied, then the original ode is called exact. We still need to determine ϕ(x,y) but at least we know now that we can do that since the condition 2ϕxy=2ϕyx is satisfied. If this condition is not satisfied then this method will not work and we have to now look for an integrating factor to force this condition, which might or might not exist. The first step is to write the ODE in standard form to check for exactness, which is

(1A)M(x,y)dx+N(x,y)dy=0

Therefore

dy=(y1/3)dx(2A)(y1/3)dx+dy=0

Comparing (1A) and (2A) shows that

M(x,y)=y1/3N(x,y)=1

The next step is to determine if the ODE is is exact or not. The ODE is exact when the following condition is satisfied

My=Nx

Using result found above gives

My=y(y1/3)=13y2/3

And

Nx=x(1)=0

Since MyNx, then the ODE is not exact. Since the ODE is not exact, we will try to find an integrating factor to make it exact. Let

A=1N(MyNx)=1((13y2/3)(0))=13y2/3

Since A depends on y, it can not be used to obtain an integrating factor. We will now try a second method to find an integrating factor. Let

B=1M(NxMy)=1y1/3((0)(13y2/3))=13y

Since B does not depend on x, it can be used to obtain an integrating factor. Let the integrating factor be μ. Then

μ=eBdy=e13ydy

The result of integrating gives

μ=eln(y)3=1y1/3

M and N are now multiplied by this integrating factor, giving new M and new N which are called M and N so not to confuse them with the original M and N.

M=μM=1y1/3(y1/3)=1

And

N=μN=1y1/3(1)=1y1/3

So now a modified ODE is obtained from the original ODE which will be exact and can be solved using the standard method. The modified ODE is

M+Ndydx=0(1)+(1y1/3)dydx=0

The following equations are now set up to solve for the function ϕ(x,y)

(1)ϕx=M(2)ϕy=N

Integrating (1) w.r.t. x gives

ϕxdx=Mdxϕxdx=1dx(3)ϕ=x+f(y)

Where f(y) is used for the constant of integration since ϕ is a function of both x and y. Taking derivative of equation (3) w.r.t y gives

(4)ϕy=0+f(y)

But equation (2) says that ϕy=1y1/3. Therefore equation (4) becomes

(5)1y1/3=0+f(y)

Solving equation (5) for f(y) gives

f(y)=1y1/3

Integrating the above w.r.t y gives

f(y)dy=(1y1/3)dyf(y)=3y2/32+c3

Where c3 is constant of integration. Substituting result found above for f(y) into equation (3) gives ϕ

ϕ=x+3y2/32+c3

But since ϕ itself is a constant function, then let ϕ=c4 where c2 is new constant and combining c3 and c4 constants into the constant c3 gives the solution as

c3=x+3y2/32

Solving for the constant of integration from initial conditions, the solution becomes

x+3y2/32=0

Solving for y gives

y=223x3/29

Which simplifies to

y=2x3/269
Solution plot Slope field y=y1/3

Summary of solutions found

y=2x3/269
Solved using first_order_ode_dAlembert

Time used: 0.075 (sec)

Solve

y=y1/3

With initial conditions

y(0)=0

Let p=y the ode becomes

p=y1/3

Solving for y from the above results in

(1)y=p3

This has the form

(*)y=xf(p)+g(p)

Where f,g are functions of p=y(x). The above ode is dAlembert ode which is now solved.

Taking derivative of (*) w.r.t. x gives

p=f+(xf+g)dpdx(2)pf=(xf+g)dpdx

Comparing the form y=xf+g to (1A) shows that

f=0g=p3

Hence (2) becomes

(2A)p=3p2p(x)

The singular solution is found by setting dpdx=0 in the above which gives

p=0

Solving the above for p results in

p1=0

Substituting these in (1A) and keeping singular solution that verifies the ode gives

y=0

The general solution is found when dpdx0. From eq. (2A). This results in

(3)p(x)=13p(x)

This ODE is now solved for p(x). No inversion is needed.

Integrating gives

3pdp=dx3p22=x+c5

Substituing the above solution for p in (2A) gives

y=(6x+6c5)3/227

Solving for the constant of integration from initial conditions, the solution becomes

y=2x3/269
Solutions plot Slope field y=y1/3

Summary of solutions found

y=0y=2x3/269
Maple. Time used: 0.015 (sec). Leaf size: 5
ode:=diff(y(x),x) = y(x)^(1/3); 
ic:=y(0) = 0; 
dsolve([ode,ic],y(x), singsol=all);
 
y=0

Maple trace

Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
trying 1st order linear 
trying Bernoulli 
<- Bernoulli successful
 

Maple step by step

Let’s solve[ddxy(x)=y(x)1/3,y(0)=0]Highest derivative means the order of the ODE is1ddxy(x)Solve for the highest derivativeddxy(x)=y(x)1/3Separate variablesddxy(x)y(x)1/3=1Integrate both sides with respect toxddxy(x)y(x)1/3dx=1dx+C1Evaluate integral3y(x)2/32=x+C1Solve fory(x)y(x)=(6x+6C1)3/227Redefine the integration constant(s)y(x)=(6x+C1)3/227Use initial conditiony(0)=00=C13/227Solve for_C1C1=0Substitute_C1=0into general solution and simplifyy(x)=26x3/29Solution to the IVPy(x)=26x3/29
Mathematica. Time used: 0.004 (sec). Leaf size: 21
ode=D[y[x],x]==y[x]^(1/3); 
ic={y[0]==0}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
y(x)2323x3/2
Sympy. Time used: 0.659 (sec). Leaf size: 32
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-y(x)**(1/3) + Derivative(y(x), x),0) 
ics = {y(0): 0} 
dsolve(ode,func=y(x),ics=ics)
 
[y(x)=26x329, y(x)=26x329]