Please ๐Ÿ™ help me to find the exact solution of ODE

์กฐํšŒ ์ˆ˜: 4 (์ตœ๊ทผ 30์ผ)
Tarek
Tarek 2025๋…„ 7์›” 27์ผ
๋Œ“๊ธ€: Sam Chak 2025๋…„ 7์›” 29์ผ

I want to find the exact solution of ODE .The delta1 and delta2 are constants. y^2 y''+y*(y')^2-(y')^2+C1*y^4+C2*y^3=0

  ๋Œ“๊ธ€ ์ˆ˜: 1
Sam Chak
Sam Chak 2025๋…„ 7์›” 28์ผ
Hi @Tarek, could you provide some background on the ODE ?
Where does this ODE originate?
Why is it necessary to determine and ?
And, once and are found, what do you expect to happen with the state variable y?

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์ฑ„ํƒ๋œ ๋‹ต๋ณ€

Torsten
Torsten 2025๋…„ 7์›” 27์ผ
ํŽธ์ง‘: Torsten 2025๋…„ 7์›” 27์ผ
I doubt you can get an analytical expression for y. All you can do is to transform your 2nd order ODE into a system of first-order ODEs and use a numerical solver to get an approximate solution. Depending on your boundary conditions, you have to use ode45 (if all boundary conditions are given in only one point) or bvp4c (if the boundary conditions are given in different points) to get this solution. Of course, C1 and C2 and the boundary conditions have to be specified as numerical values in this case.
  ๋Œ“๊ธ€ ์ˆ˜: 9
Tarek
Tarek 2025๋…„ 7์›” 28์ผ

Hi @Sam, thank you for your helping.

Does the obtained y is the exact solution for ode??

Sam Chak
Sam Chak 2025๋…„ 7์›” 29์ผ
Each trajectory in the plot represents the path of a solution to the differential equation, depending on the values of โ€‹ and โ€‹. In my previous comment, I provided the simplest form of the solution, which corresponds to the specific initial condition when both โ€‹ and โ€‹โ€‹ are zero. Note that singularities occur when .
title(t, {'Behavior of solutions'}, 'interpreter', 'latex')

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์ถ”๊ฐ€ ๋‹ต๋ณ€ (1๊ฐœ)

Walter Roberson
Walter Roberson 2025๋…„ 7์›” 27์ผ
syms C1 C2 y(x)
dy = diff(y);
d2y = diff(dy);
eqn = y^2 * d2y + y*dy^2 - dy^2 + C1*y^4 + C2*y^3 == 0
eqn(x)ย =ย 
dsolve(eqn)
ansย =ย 
โ—
  ๋Œ“๊ธ€ ์ˆ˜: 2
Tarek
Tarek 2025๋…„ 7์›” 27์ผ
 Thanks for your help.

what the values of constant c1 and c2 from the last condition?

Torsten
Torsten 2025๋…„ 7์›” 28์ผ
ํŽธ์ง‘: Torsten 2025๋…„ 7์›” 28์ผ
C1 and C2 are the values from your own ODE
y^2 y''+y*(y')^2-(y')^2+C1*y^4+C2*y^3=0
and they will of course appear in a solution.
C3 and C4 are constants that arise from integrating your ODE without specifying two boundary conditions.
Example:
y'' = 5
has the general solution
y(x) = 2.5*x^2 + C3*x + C4

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ Ordinary Differential Equations์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

์ œํ’ˆ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by