How can I handle exp(ln|x|) to solve 1st

tibukooinm

tibukooinm

Answered question

2022-03-26

How can I handle exp(ln|x|) to solve 1st order linear DE?
RHS and LHS are same.
exp(ln(x))=exp(ln(x))     (1)
Taking log.
ln(exp(ln(x)))=ln(exp(ln(x)))     (2)
ln(x)=ln(exp(ln(x)))     (3)
∴≈x=exp(ln(x))     (4)
Then what about ln|x| ?
This problem is a sub-problem of below ODE.
yx2xy=x6     (5)
My thoughts are as below.
P(x) =2x     (6)
Q(x) =x6     (7)
yx+P(x)y=Q(x)1st order linear DE     (8)
Integrating factor=exp(P(x)dx)     (9)
exp(2xdx)     (10)
=exp(21xdx)     (11)
=exp(2ln|x|+const)     (12)
=exp(2ln|x|)exp(const)     (13)
=exp(ln|x|)2exp(const)     (14)
exp(ln|x|)=exp(ln|x|)     (15)
I got the following general solution as I forcefully assumed
~x=exp(ln|x|)~
y=15x7+const1x2     (16)

Answer & Explanation

Aidyn Wall

Aidyn Wall

Beginner2022-03-27Added 10 answers

Explanation:
exp(ln|x|)2     (1)
=1exp(lnx)2     (2)
=1exp(2ln|x|)     (3)
=1exp(ln(|x|2))     (4)
=1exp(ln(x2))     (5)
=1exp(2ln(x))     (6)
=1exp(ln(x))2     (7)
=1(x)2     (8)

pastuh7vka

pastuh7vka

Beginner2022-03-28Added 13 answers

Firstly, on your equations for exp and ln,
x=exp[ln(x)]
only holds for x>0. Secondly, the integrating factor for the equation
y(x)2xy(x)=x6
is given by the function

μ ( x ) = { C 0 exp [ 2 ln ( x ) ] x < 0 C 1 exp [ 2 ln ( x ) ] x > 0 = { C 0 x 2 x < 0 C 1 x 2 x > 0

with C0,C1>0. What this means is that if
f(x)=1x2,
then (fy)(x)=f(x)x6=x4.
Since 0 is a singularity, we have that
f(x)y(x)=x55+C0=y(x)x2,;;;;x<0
f(x)y(x)=x55+C1=y(x)x2,;;;;x>0.
What this implies is that

y ( x ) = { x 7 5 + C 0 x < 0 x 7 5 + C 1 x > 0 .

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?