2.1.63 Problem 63

Solved using first_order_ode_homog_type_C
Solved using first_order_ode_LIE
Solved using first_order_ode_dAlembert
Maple
Mathematica
Sympy

Internal problem ID [9046]
Book : First order enumerated odes
Section : section 1
Problem number : 63
Date solved : Friday, April 18, 2025 at 01:39:24 PM
CAS classification : [[_homogeneous, `class C`], _dAlembert]

Solved using first_order_ode_homog_type_C

Time used: 0.041 (sec)

Solve

y=(a+bx+y)4

Let

(1)z=a+bx+y

Then

z(x)=b+y

Therefore

y=z(x)b

Hence the given ode can now be written as

z(x)b=z4

This is separable first order ode. Integrating

dx=1z4+bdzx+c1=2(ln(z2+b1/4z2+bz2b1/4z2+b)+2arctan(2zb1/4+1)+2arctan(2zb1/41))8b3/4

Replacing z back by its value from (1) then the above gives the solution as Which simplifies to

2(ln(b5/42x+2(y+a)b1/4+b+y2+(2bx+2a)y+b2x2+2abx+a2b5/42x2(y+a)b1/4+b+y2+(2bx+2a)y+b2x2+2abx+a2)+2arctan(2(a+bx+y)b1/4+1)+2arctan(2(a+bx+y)b1/41))8b3/4=x+c1

Summary of solutions found

2(ln(b5/42x+2(y+a)b1/4+b+y2+(2bx+2a)y+b2x2+2abx+a2b5/42x2(y+a)b1/4+b+y2+(2bx+2a)y+b2x2+2abx+a2)+2arctan(2(a+bx+y)b1/4+1)+2arctan(2(a+bx+y)b1/41))8b3/4=x+c1
Solved using first_order_ode_LIE

Time used: 0.538 (sec)

Solve

y=(a+bx+y)4

Writing the ode as

y=(bx+a+y)4y=ω(x,y)

The condition of Lie symmetry is the linearized PDE given by

(A)ηx+ω(ηyξx)ω2ξyωxξωyη=0

To determine ξ,η then (A) is solved using ansatz. Making bivariate polynomials of degree 1 to use as anstaz gives

(1E)ξ=xa2+ya3+a1(2E)η=xb2+yb3+b1

Where the unknown coefficients are

{a1,a2,a3,b1,b2,b3}

Substituting equations (1E,2E) and ω into (A) gives

(5E)b2+(bx+a+y)4(b3a2)(bx+a+y)8a34(bx+a+y)3b(xa2+ya3+a1)4(bx+a+y)3(xb2+yb3+b1)=0

Putting the above in normal form gives

Expression too large to display

Setting the numerator to zero gives

(6E)Expression too large to display

Looking at the above PDE shows the following are all the terms with {x,y} in them.

{x,y}

The following substitution is now made to be able to collect on all terms with {x,y} in them

{x=v1,y=v2}

The above PDE (6E) now becomes

(7E)Expression too large to display

Collecting the above on the terms vi introduced, and these are

{v1,v2}

Equation (7E) now becomes

(8E)b2+(70a4b4a35b4a2+b4b34b3b2)v14+(56a5b3a316ab3a2+4ab3b34b4a112ab2b24b3b1)v13+(28a6b2a318a2b2a2+6a2b2b312ab3a112a2bb212ab2b1)v12+(8a7ba38a3ba2+4a3bb312a2b2a14a3b212a2bb1)v1+(70a4a34ba3a23b3)v24+(56a5a312aba34aa28ab34ba14b1)v23+(28a6a312a2ba36a2a26a2b312aba112ab1)v22+(8a7a34a3ba34a3a212a2ba112a2b1)v2b8a3v1856a3a3v2528a2a3v268aa3v27560a3b2a3v12v23420a2b2a3v12v24168ab2a3v12v25280a3ba3v1v24168a2ba3v1v2556aba3v1v2656ab6a3v16v2168a2b5a3v15v2168ab5a3v15v22280a3b4a3v14v2420a2b4a3v14v22280ab4a3v14v23560a3b3a3v13v22560a2b3a3v13v23280ab3a3v13v244a3ba1a3v28a4a2+a4b3a8a34a3b1+(280a4b3a34b4a316b3a212b2b2)v13v2+(420a4b2a312b3a318b2a26b2b312bb2)v12v22+(168a5b2a312ab3a336ab2a212b3a124abb212b2b1)v12v2+(280a4ba312b2a38ba28bb34b2)v1v23+(168a5ba324ab2a324aba212abb312b2a112ab212bb1)v1v22+(56a6ba312a2b2a324a2ba224ab2a112a2b224abb1)v1v28b7a3v17v228a2b6a3v1628b6a3v16v2256a3b5a3v1556b5a3v15v2370b4a3v14v2456b3a3v13v2528b2a3v12v268ba3v1v278ab7a3v17=0

Setting each coefficients in (8E) to zero gives the following equations to solve

a3=08aa3=028a2a3=056a3a3=08ba3=028b2a3=056b3a3=070b4a3=056b5a3=028b6a3=08b7a3=0b8a3=056aba3=0168ab2a3=0280ab3a3=0280ab4a3=0168ab5a3=056ab6a3=08ab7a3=0168a2ba3=0420a2b2a3=0560a2b3a3=0420a2b4a3=0168a2b5a3=028a2b6a3=0280a3ba3=0560a3b2a3=0560a3b3a3=0280a3b4a3=056a3b5a3=0280a4b3a34b4a316b3a212b2b2=070a4a34ba3a23b3=070a4b4a35b4a2+b4b34b3b2=08a7a34a3ba34a3a212a2ba112a2b1=0280a4ba312b2a38ba28bb34b2=0420a4b2a312b3a318b2a26b2b312bb2=0168a5b2a312ab3a336ab2a212b3a124abb212b2b1=056a6ba312a2b2a324a2ba224ab2a112a2b224abb1=056a5a312aba34aa28ab34ba14b1=028a6a312a2ba36a2a26a2b312aba112ab1=056a5b3a316ab3a2+4ab3b34b4a112ab2b24b3b1=028a6b2a318a2b2a2+6a2b2b312ab3a112a2bb212ab2b1=08a7ba38a3ba2+4a3bb312a2b2a14a3b212a2bb1=0a8a3a4a2+a4b34a3ba14a3b1+b2=0168a5ba324ab2a324aba212abb312b2a112ab212bb1=0

Solving the above equations for the unknowns gives

a1=a1a2=0a3=0b1=ba1b2=0b3=0

Substituting the above solution in the anstaz (1E,2E) (using 1 as arbitrary value for any unknown in the RHS) gives

ξ=1η=b

The next step is to determine the canonical coordinates R,S. The canonical coordinates map (x,y)(R,S) where (R,S) are the canonical coordinates which make the original ode become a quadrature and hence solved by integration.

The characteristic pde which is used to find the canonical coordinates is

(1)dxξ=dyη=dS

The above comes from the requirements that (ξx+ηy)S(x,y)=1. Starting with the first pair of ode’s in (1) gives an ode to solve for the independent variable R in the canonical coordinates, where S(R). Therefore

dydx=ηξ=b1=b

This is easily solved to give

y=bx+c1

Where now the coordinate R is taken as the constant of integration. Hence

R=bx+y

And S is found from

dS=dxξ=dx1

Integrating gives

S=dxT=x

Where the constant of integration is set to zero as we just need one solution. Now that R,S are found, we need to setup the ode in these coordinates. This is done by evaluating

(2)dSdR=Sx+ω(x,y)SyRx+ω(x,y)Ry

Where in the above Rx,Ry,Sx,Sy are all partial derivatives and ω(x,y) is the right hand side of the original ode given by

ω(x,y)=(bx+a+y)4

Evaluating all the partial derivatives gives

Rx=bRy=1Sx=1Sy=0

Substituting all the above in (2) and simplifying gives the ode in canonical coordinates.

(2A)dSdR=1b+(bx+a+y)4

We now need to express the RHS as function of R only. This is done by solving for x,y in terms of R,S from the result obtained earlier and simplifying. This gives

dSdR=1b+(R+a)4

The above is a quadrature ode. This is the whole point of Lie symmetry method. It converts an ode, no matter how complicated it is, to one that can be solved by integration when the ode is in the canonical coordiates R,S.

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

dS=1R4+4R3a+6R2a2+4Ra3+a4+bdRS(R)=(_R=RootOf(_Z4+4_Z3a+6_Z2a2+4_Za3+a4+b)ln(R_R)_R3+3_R2a+3_Ra2+a3)4+c3
S(R)=1R4+4R3a+6R2a2+4Ra3+a4+bdR+c3

To complete the solution, we just need to transform the above back to x,y coordinates. This results in

x=y1(bx+_a)4+4(bx+_a)3a+6(bx+_a)2a2+4(bx+_a)a3+a4+bd_a+c3

Which simplifies to

x=y1b4x4+4x3(a+_a)b3+6x2(a+_a)2b2+4b(a+_a)3x+a4+4_aa3+6_a2a2+4_a3a+_a4+bd_a+c3

Summary of solutions found

x=y1b4x4+4x3(a+_a)b3+6x2(a+_a)2b2+4b(a+_a)3x+a4+4_aa3+6_a2a2+4_a3a+_a4+bd_a+c3
Solved using first_order_ode_dAlembert

Time used: 2.985 (sec)

Solve

y=(a+bx+y)4

Let p=y the ode becomes

p=(bx+a+y)4

Solving for y from the above results in

(1)y=bx+p1/4a(2)y=bx+ip1/4a(3)y=bxp1/4a(4)y=bxip1/4a

This has the form

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

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

Solving ode 1A

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=bg=p1/4a

Hence (2) becomes

(2A)p+b=p(x)4p3/4

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

p+b=0

Solving the above for p results in

p1=b

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

y=bxa+(b)1/4

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

(3)p(x)=4(p(x)+b)p(x)3/4

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

Integrating gives

14(p+b)p3/4dp=dx2(ln(b1/4p1/42pbb1/4p1/42pb)+2arctan(2p1/4b1/4+1)2arctan(2p1/4b1/4+1))8b3/4=x+c4

Singular solutions are found by solving

4(p+b)p3/4=0

for p(x). 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.

p(x)=0p(x)=b

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

Expression too large to displayy=bxay=bxa+(b)1/4

Solving ode 2A

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=bg=ip1/4a

Hence (2) becomes

(2A)p+b=ip(x)4p3/4

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

p+b=0

Solving the above for p results in

p1=b

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

y=bx+i(b)1/4a

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

(3)p(x)=4i(p(x)+b)p(x)3/4

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

Integrating gives

i4(p+b)p3/4dp=dxi2(ln(p+b1/4p1/42+bpb1/4p1/42+b)+2arctan(2p1/4b1/4+1)2arctan(2p1/4b1/4+1))8b3/4=x+c5

Singular solutions are found by solving

4i(p+b)p3/4=0

for p(x). 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.

p(x)=0p(x)=b

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

Expression too large to displayy=bxay=bx+i(b)1/4a

Solving ode 3A

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=bg=p1/4a

Hence (2) becomes

(2A)p+b=p(x)4p3/4

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

p+b=0

Solving the above for p results in

p1=b

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

y=bx(b)1/4a

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

(3)p(x)=4(p(x)+b)p(x)3/4

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

Integrating gives

14(p+b)p3/4dp=dx2(ln(p+b1/4p1/42+bpb1/4p1/42+b)+2arctan(2p1/4b1/4+1)2arctan(2p1/4b1/4+1))8b3/4=x+c6

Singular solutions are found by solving

4(p+b)p3/4=0

for p(x). 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.

p(x)=0p(x)=b

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

Expression too large to displayy=bxay=bx(b)1/4a

Solving ode 4A

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=bg=ip1/4a

Hence (2) becomes

(2A)p+b=ip(x)4p3/4

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

p+b=0

Solving the above for p results in

p1=b

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

y=bxi(b)1/4a

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

(3)p(x)=4i(p(x)+b)p(x)3/4

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

Integrating gives

i4(p+b)p3/4dp=dxi2(ln(p+b1/4p1/42+bpb1/4p1/42+b)+2arctan(2p1/4b1/4+1)2arctan(2p1/4b1/4+1))8b3/4=x+c7

Singular solutions are found by solving

4i(p+b)p3/4=0

for p(x). 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.

p(x)=0p(x)=b

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

Expression too large to displayy=bxay=bxi(b)1/4a

Which simplifies to

y=bxa+(b)1/4y=bx(b)1/4aExpression too large to displayExpression too large to displayy=bxi(b)1/4ay=bx+i(b)1/4aExpression too large to displayExpression too large to displayy=bxa

The solution

Expression too large to display

was found not to satisfy the ode or the IC. Hence it is removed. The solution

Expression too large to display

was found not to satisfy the ode or the IC. Hence it is removed. The solution

Expression too large to display

was found not to satisfy the ode or the IC. Hence it is removed. The solution

Expression too large to display

was found not to satisfy the ode or the IC. Hence it is removed. The solution

y=bxa

was found not to satisfy the ode or the IC. Hence it is removed.

Summary of solutions found

y=bxa+(b)1/4y=bx(b)1/4ay=bxi(b)1/4ay=bx+i(b)1/4a
Maple. Time used: 0.011 (sec). Leaf size: 49
ode:=diff(y(x),x) = (a+b*x+y(x))^4; 
dsolve(ode,y(x), singsol=all);
 
y=bx+RootOf(x+_Z1_a4+4_a3a+6_a2a2+4_aa3+a4+bd_a+c1)

Maple trace

Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
trying 1st order linear 
trying Bernoulli 
trying separable 
trying inverse linear 
trying homogeneous types: 
trying homogeneous C 
1st order, trying the canonical coordinates of the invariance group 
   -> Calling odsolve with the ODE, diff(y(x),x) = -b, y(x) 
      *** Sublevel 2 *** 
      Methods for first order ODEs: 
      --- Trying classification methods --- 
      trying a quadrature 
      trying 1st order linear 
      <- 1st order linear successful 
<- 1st order, canonical coordinates successful 
<- homogeneous successful
 

Maple step by step

Let’s solveddxy(x)=(a+bx+y(x))4Highest derivative means the order of the ODE is1ddxy(x)Solve for the highest derivativeddxy(x)=(a+bx+y(x))4
Mathematica. Time used: 0.423 (sec). Leaf size: 163
ode=D[y[x],x]==(a+b*x+y[x])^(4); 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
Solve[22arctan(12(a+bx+y(x))b4)22arctan(2(a+bx+y(x))b4+1)+2log((a+bx+y(x))22b4(a+bx+y(x))+b)2log((a+bx+y(x))2+2b4(a+bx+y(x))+b)+8b3/4x8b3/4=c1,y(x)]
Sympy
from sympy import * 
x = symbols("x") 
a = symbols("a") 
b = symbols("b") 
y = Function("y") 
ode = Eq(-(a + b*x + y(x))**4 + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
TypeError : argument of type Mul is not iterable