이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
Can a system of differential equations have a solution when the rate of change of a variable is constant? And how to calculate it?
조회 수: 4 (최근 30일)
이전 댓글 표시
Cola
2021년 8월 23일
There is a system of differential equations containing more than two variables, and the rate of change (with time) of one of the variables is constant c as shown in the following. That is, the differentials of the variables cannot all be zero at the same time, and the equilibrium point may not exist. Can one still calculate this system. Thank you.

채택된 답변
Walter Roberson
2021년 8월 23일
There is no problem having a rate of change that is a constant. For example if you were using an ode you might have
ode45(@(t,x) [x(1)+x(2)^2, -1.234])
and that would be for the case where x'' is the constant -1.234
Your system is a PDE rather than an ODE, but Yes, you can do it.
If you are constructing symbolic expressions, then make sure that dz is a symbolic function, such as
syms x y z
dz(x,y,z) = c;
do not use
dz = c;
in this case.
The reason for this is that in the case you just assign a numeric constant, then matlabFunction(dz) would generate @() c -- a function with no parameters permitted. But if you define dz(x,y,z) = c then matlabFunction(dz) would generate @(x,y,z) c -- which permits (but ignores) inputs.
댓글 수: 17
Walter Roberson
2021년 8월 23일
편집: Walter Roberson
2021년 8월 23일
It is not clear to me that it is an ODE. For example,
dx/dt = x^2 - y*z
dy/dt = sin(y) + x*z
dz/dt = c
looks like a PDE to me when you consider the overall function of (t,x,y,z) being described and you consider the derivatives with respect to variables other than t.
Wan Ji
2021년 8월 23일

Whilst ode is defined as
An ordinary differential equation (ODE) is an equation involving an unknown function of one variable and some of its derivatives.
Here x,y,z however are all the function of the only one variable of t.
So definitely the system you comment is ode system and can be solved by matlab ode solver. IF it is pde type, you need some specific method to deal with it, e.g. finite element method, boundary element method, finite difference method...
Wan Ji
2021년 8월 23일
@Cola If symbolic solutions are hard to deal, try the numerical solution then, follow @Walter Roberson's tip, use ode45 or if stiff, use ode23s. I believe it is enough to get the answer.
Walter Roberson
2021년 8월 23일
Here x,y,z however are all the function of the only one variable of t.
You have a some function f0(t,x,y,z) such that
diff(f0,x) = f1(x,y,z)
diff(f0,y) = f2(x,y,z)
diff(f0,z) = c
and the task is to reconstruct that function f0.
It looks to me as if you are saying that really there is only one variable, t, and that really
diff(f0,x) = f1(x(t),y(t),z(t))
and that therefore t is the only actual variable.
However, you say this is an autonomous ODE, and a key property of autonomous ODE is that they do not evolve in time -- that having x really be x(t) is not permitted for autonomous systems.
And besides, even if diff(f0,x) = f1(x(t),y(t),z(t)) we are also given that diff(f0,y) = f2(x,y,z) which would have to mean that diff(f0,y) = f2(x(t),y(t),z(t)) and you start getting complicated implicit systems of functions depending on each other and yet somehow supposedly only "really" being functions of one variable.
I am not at all convinced you could create such as system as an ODE; I think you need a PDE.
Cola
2021년 8월 24일
Thank you for your help. Actually, the system can be described as
x'=diff(x,t) = f1(x,y,z),
y'=diff(y,t) = f2(x,y,z),
z'=diff(z,t) = c,
where variable t is implicit in the system. As you said above, there is an example
dx/dt = x^2 - y*z,
dy/dt = sin(y) + x*z,
dz/dt = c.
Paul
2021년 8월 24일
편집: Paul
2021년 8월 24일
Why did you mention anything about equilbrium points? Is the existence of an equlibrium point needed to "calculate this system?" If by "calculate this system" you mean determine an exact or approximate solution, then the answer to your question is, yes, an exact or approximate solution typically can be found depending on the forms of f1() and f2(). For example, suppose f1() and f2() are simply
f1(x,y,z) = c_x % edited after orginal post to clarify based on comment by Wan Ji.
f2(x,y,z) = c_y
where c_x and c_y are constants (to distinguish them from c used in the equation for zdot).
Then the soution to the equations is:
x(t) = c_x*t + x(0)
y(t) = c_y*t + y(0)
z(t) = c*t + z(0)
But the existence of a solution has nothing to do with equilibrium points. But because you brought up equilibrium points, I'm wondering if perhaps I don't fully understand your question.
With regard to this comment, where in the problem statement do you see anyting about taking derivatives wrt x, or y, or z? All of the derivatives in the question have to be with respect to the same variable, and unless otherwise stated it's safe to assume that variable is time (t), as you gave an example of in a preceding comment.
Cola
2021년 8월 24일
@Paul First I want to obtain equilibrium points especially for bifurcation analysis by solving the system of diffirential equations. Thank you for help. Indeed, the existence of a solution has nothing to do with equilibrium points. It means that equilibrium points may not exist when the rate of change of a variable cannot be zero. And following tips form @Walter Roberson@Wan Ji, the system can be calculated by Ode in Matlab.
Wan Ji
2021년 8월 24일
Well, I don't think @Walter Roberson knows what ODE or PDE refers to. He can't tell the difference between them. He even does not know the conventional notation
is the derivative of variable x wrt time.
Look, if
, then
. How can we solve it? At once the answer is obtained as
IF you use matlab symbolic toolbox, it will validate this answer.
syms x(t) t c
x = dsolve(diff(x,t,1)==c*x)
I have learned little about ODE or PDE in depth. I manage only some basic concepts of ODE or PDE for solving engineering problems. I think any of us need to read more and then not make mistake in conveying other people what we know.
Wan Ji
2021년 8월 24일
편집: Wan Ji
2021년 8월 24일
Fixed points are some points that may attract or repel the solution if the initial conditions are set near these points. So whether or not there exist fixed points for an ode, it does not hinder the matlab ode function from solving the ode. The easiest example is given by @Paul in his comment. Here I emphasize
There are no fixed pionts for this set of ode at all, but you see that it can be definitely solved by matlab ode solver.
Walter Roberson
2021년 8월 24일
He even does not know the conventional notation
is the derivative of variable x wrt time.
Notations change over time, but in my university days, dot notation was used for any function of one variable for differentiation with respect to that variable, with the variable being "anonymous" because any variable could be used.
diff(x(t),t) = x(t)^2 - 2
diff(x(s),s) = x(s)^2 - 2
diff(x(p),s) = x(p)^2 - 2
all denote the same functional relationship, and all of them can be expressed without the variable being made explicit by using the exact same dot notation.
Less used by far, but also used my physics courses and my differential equations courses and my Complex Analysis courses, the dot notation could also be used to indicate differentiation with respect to the first variable. Though occassionally, and confusingly, sometimes which variable the dot referred to differed between variables on the same line, and we were expected to figure it out through our familiarity with the conventions of the field.
I can't say what Engineering was doing with dot notation, only Chemistry, Computer Programming, Mathematics, Classical Physics and Quntum Physics at the time.
Walter Roberson
2021년 8월 24일
The "TL;DR" would be that the meaning of notations is different in different fields and at different times, and it is very often a mistake to say that a particular notation only means one particular thing.
The task of reconstructing an equation from its multiple derivatives was addressed in the Partial Differential Equations sections of my courses.
Cola
2021년 8월 26일
Thank you for your help @Wan Ji @Walter Roberson @Paul . As Newton once said, if I have seen further, it is by standing on the shoulders of giants.
추가 답변 (0개)
참고 항목
카테고리
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!오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)
