2.5.4 Problem 5

Solved using first_order_ode_isobaric
Solved using first_order_ode_LIE
Maple
Mathematica
Sympy

Internal problem ID [18491]
Book : Elementary Differential Equations. By Thornton C. Fry. D Van Nostrand. NY. First Edition (1929)
Section : Chapter IV. Methods of solution: First order equations. section 32. Problems at page 89
Problem number : 5
Date solved : Monday, March 31, 2025 at 05:37:26 PM
CAS classification : [[_homogeneous, `class G`]]

Solved using first_order_ode_isobaric

Time used: 0.358 (sec)

Solve

t2+T=T

Solving for T gives

(1)T=t2+T

Each of the above ode’s is now solved An ode T=f(t,T) is isobaric if

(1)f(tt,tmT)=tm1f(t,T)

Where here

(2)f(t,T)=t2+T

m is the order of isobaric. Substituting (2) into (1) and solving for m gives

m=2

Since the ode is isobaric of order m=2, then the substitution

T=utm=ut2

Converts the ODE to a separable in u(t). Performing this substitution gives

2tu(t)+t2u(t)=t2+t2u(t)

The ode

(1)u(t)=2u(t)1+u(t)t

is separable as it can be written as

u(t)=2u(t)1+u(t)t=f(t)g(u)

Where

f(t)=1tg(u)=2u+u+1

Integrating gives

1g(u)du=f(t)dt12u+u+1du=1tdt
ln(2u(t)1+u(t))2+17arctanh((41+u(t)1)1717)17=ln(t)+c1

We now need to find the singular solutions, these are found by finding for what values g(u) is zero, since we had to divide by this above. Solving g(u)=0 or

2u+u+1=0

for u(t) gives

u(t)=18+178

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

ln(2u(t)1+u(t))2+17arctanh((41+u(t)1)1717)17=ln(t)+c1u(t)=18+178

Converting ln(2u(t)1+u(t))2+17arctanh((41+u(t)1)1717)17=ln(t)+c1 back to T gives

ln(2Tt21+Tt2)2+17arctanh((41+Tt21)1717)17=ln(t)+c1

Converting u(t)=18+178 back to T gives

Tt2=18+178

Solving for T gives

ln(2Tt21+Tt2)2+17arctanh((41+Tt21)1717)17=ln(t)+c1T=(1+17)t28

Which simplifies to

ln(t2+Tt2t2+2Tt2)2+17arctanh((4t2+Tt21)1717)17=ln(t)+c1T=(1+17)t28

Summary of solutions found

ln(t2+Tt2t2+2Tt2)2+17arctanh((4t2+Tt21)1717)17=ln(t)+c1T=(1+17)t28
Solved using first_order_ode_LIE

Time used: 1.517 (sec)

Solve

t2+T=T

Writing the ode as

T=t2+TT=ω(t,T)

The condition of Lie symmetry is the linearized PDE given by

(A)ηt+ω(ηTξt)ω2ξTωtξωTη=0

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

(1E)ξ=Ta3+ta2+a1(2E)η=Tb3+tb2+b1

Where the unknown coefficients are

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

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

(5E)b2+t2+T(b3a2)(t2+T)a3t(Ta3+ta2+a1)t2+TTb3+tb2+b12t2+T=0

Putting the above in normal form gives

2t2+Tt2a3+2t2+TTa3+2Tta3+4t2a22t2b32b2t2+T+2Ta2Tb3+2ta1+tb2+b12t2+T=0

Setting the numerator to zero gives

(6E)2t2+Tt2a32t2+TTa32Tta34t2a2+2t2b3+2b2t2+T2Ta2+Tb32ta1tb2b1=0

Simplifying the above gives

(6E)2t2+Tt2a32(t2+T)a2+2(t2+T)b32t2+TTa32Tta32t2a2+2b2t2+TTb32ta1tb2b1=0

Since the PDE has radicals, simplifying gives

2t2+Tt2a32t2+TTa32Tta34t2a2+2t2b3+2b2t2+T2Ta2+Tb32ta1tb2b1=0

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

{T,t,t2+T}

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

{T=v1,t=v2,t2+T=v3}

The above PDE (6E) now becomes

(7E)2v3v22a34v22a22v1v2a32v3v1a3+2v22b32v2a12v1a2v2b2+2b2v3+v1b3b1=0

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

{v1,v2,v3}

Equation (7E) now becomes

(8E)2v1v2a32v3v1a3+(2a2+b3)v12v3v22a3+(4a2+2b3)v22+(2a1b2)v2+2b2v3b1=0

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

2a3=0b1=02b2=02a1b2=04a2+2b3=02a2+b3=0

Solving the above equations for the unknowns gives

a1=0a2=a2a3=0b1=0b2=0b3=2a2

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

ξ=tη=2T

Shifting is now applied to make ξ=0 in order to simplify the rest of the computation

η=ηω(t,T)ξ=2T(t2+T)(t)=tt2+T+2Tξ=0

The next step is to determine the canonical coordinates R,S. The canonical coordinates map (t,T)(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)dtξ=dTη=dS

The above comes from the requirements that (ξt+ηT)S(t,T)=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). Since ξ=0 then in this special case

R=t

S is found from

S=1ηdy=1tt2+T+2Tdy

Which results in

S=ln(tt2+T+2T)417arctanh((4t2+T+t)1717t)34+ln(tt2+T+2T)417arctanh((t+4t2+T)1717t)34+ln(t4Tt2+4T2)417arctanh((t2+8T)1717t2)34

Now that R,S are found, we need to setup the ode in these coordinates. This is done by evaluating

(2)dSdR=St+ω(t,T)STRt+ω(t,T)RT

Where in the above Rt,RT,St,ST are all partial derivatives and ω(t,T) is the right hand side of the original ode given by

ω(t,T)=t2+T

Evaluating all the partial derivatives gives

Rt=1RT=0St=t6+2Tt43T2t24T3(tt2+T2T)2(tt2+T+2T)t2+TST=(2t2+T+t)T+t3(t4Tt2+4T2)t2+T

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

(2A)dSdR=0

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

dSdR=0

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=0dR+c3S(R)=c3

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

ln(tt2+T+2T)417arctanh((4t2+T+t)1717t)34+ln(tt2+T+2T)4+17arctanh((t4t2+T)1717t)34+ln(t4Tt2+4T2)417arctanh((t2+8T)1717t2)34=c3

Which simplifies to

ln(t4Tt2+4T2)4+ln(tt2+T+2T)4ln(tt2+T+2T)4+(2arctanh((4t2+T+t)1717t)+2arctanh((t4t2+T)1717t)+2arctanh((t28T)1717t2))1768=c3

Summary of solutions found

ln(t4Tt2+4T2)4+ln(tt2+T+2T)4ln(tt2+T+2T)4+(2arctanh((4t2+T+t)1717t)+2arctanh((t4t2+T)1717t)+2arctanh((t28T)1717t2))1768=c3
Maple. Time used: 0.012 (sec). Leaf size: 136
ode:=(t^2+T(t))^(1/2) = diff(T(t),t); 
dsolve(ode,T(t), singsol=all);
 
17ln(t4Tt2+4T2)+17ln(t2+Tt+2T)17ln(t2+Tt+2T)+(2arctanh((4t2+T+t)1717t)+2arctanh((t4t2+T)1717t)+2arctanh((t28T)1717t2))17c1=0

Maple trace

Methods for first order ODEs: 
--- Trying classification methods --- 
trying homogeneous types: 
trying homogeneous G 
1st order, trying the canonical coordinates of the invariance group 
<- 1st order, canonical coordinates successful 
<- homogeneous successful
 

Maple step by step

Let’s solvet2+T(t)=ddtT(t)Highest derivative means the order of the ODE is1ddtT(t)Solve for the highest derivativeddtT(t)=t2+T(t)
Mathematica. Time used: 0.277 (sec). Leaf size: 135
ode=Sqrt[t^2+T[t]]==D[T[t],t]; 
ic={}; 
DSolve[{ode,ic},T[t],t,IncludeSingularSolutions->True]
 
Solve[134(34log(t2+T(t)t)(1717)log(2(174)tt2+T(t)2(174)t2(173)T(t))+(17+17)log(2(4+17)tt2+T(t)2(4+17)t2(3+17)T(t)))=c1,T(t)]
Sympy
from sympy import * 
t = symbols("t") 
T = Function("T") 
ode = Eq(sqrt(t**2 + T(t)) - Derivative(T(t), t),0) 
ics = {} 
dsolve(ode,func=T(t),ics=ics)
 
NotImplementedError : The given ODE -sqrt(t**2 + T(t)) + Derivative(T(t), t) cannot be solved by the factorable group method