Van der pol equation

Given the Van der pol equation
+ 𝝁 ( – 1) x + kx =0
Where 𝝁 = k = -1
Obtain the non-linear stage space representation of the system
Find the Jacobian matrix at the equilibrium point
Use the Lyaponov direct method to check for the stability of the system
(Hint V(x)= Px : PA + P = -1)

1 件のコメント

Sam Chak
Sam Chak 2024 年 8 月 22 日
It is true that (- 1)*(- 1)*x + (- 1)*x = 0.

サインインしてコメントする。

回答 (1 件)

Rahul
Rahul 2024 年 8 月 22 日

0 投票

Hi @Chike,
I understand that you are trying to obtain the non-linear stage space representation of the Van der pol system. You require the Jacobian matrix at the equilibrium point and want to use Lyaponov direct method to check stability of the system.
Note: I am using ‘ (single quote) notation to demonstrate derivative of a variable in equations below.
The Van der Pol equation is given by: x'' + 𝝁 (x^2 - 1) x' + kx = 0
Substituting 𝝁 = -1 and k = -1, we have: x'' - (x^2 - 1) x' - x = 0 ]
To convert this into a state-space representation, define the state variables:
  • x1 = x
  • x2 = x'
The equilibrium point is where x1' = 0 and x2' = 0.
For this system, the equilibrium point is (x1, x2) = (0, 0).
Hence on calculating the partial derevatives we get the Jacobian Matrix "A" as: A = [0 1; 1 -1];
To check the stability using the Lyapunov direct method, the function "lyap" can be used.
Further, the eigen values of the matrix obtained from the "lyap" function can be used to check the stability of the system.
So you can follow this code to achieve the desired result:
% Jacobian matrix
A = [0 1; 1 -1];
I = eye(2);
% Lyapunov equation
P = lyap(A', I);
disp('Matrix P:');
disp(P);
% Check for stability
isPositiveDefinite = all(eig(P) > 0);
if isPositiveDefinite
disp('The system is stable.');
else
disp('The system is not stable.');
end
You can refer to the following documentations to know more about these functions:
Hope this helps! Thanks.

6 件のコメント

Sam Chak
Sam Chak 2024 年 8 月 22 日
Why is the function lyap() necessary when the eigenvalues of the state matrix A can be obtained directly? Additionally, is the Van der Pol system truly "unstable" with this approach to stability analysis? Your answer will guide @Chike to understand system dynamics using MATLAB.
A = [0 1; 1 -1];
eig(A)
ans = 2x1
-1.6180 0.6180
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
isNegativeDefinite = all(real(eig(A)) < 0);
if isNegativeDefinite
disp('The system is stable.');
else
disp('The system is not stable.');
end
The system is not stable.
Chike
Chike 2024 年 8 月 23 日
Thanks @Rahul i do appreciate your efforts in trying to help me resolve this quation.
John D'Errico
John D'Errico 2024 年 8 月 23 日
編集済み: John D'Errico 2024 年 8 月 23 日
Please do not do obvious homework questions for students. You do not help the student, who has now learned there is someone out there who will do their work for them, with no effort made.
It does not help the forum, as it teaches this student to come back, and ask every homework question, with no effort made. Worse, it actively hurts the forum, as it teaches other students to do the same.
And it does not help the teacher who assigned this problem, as now they need to decide if this student has learned something, or merely plagiarized your work. It forces the teacher to in the future, to find other questions to assign for their students to do.
Chike
Chike 2024 年 8 月 26 日
Yes i understand, but this is not a homework or an assignment though it is just a question i have been trying to resolve for a week now but i wasnt sure if i was right or wrong.
Torsten
Torsten 2024 年 8 月 26 日
編集済み: Torsten 2024 年 8 月 26 日
Nobody spends one week on "just a question" . Especially if there is no progress in any of the three subproblems.
Sam Chak
Sam Chak 2024 年 8 月 26 日
編集済み: Sam Chak 2024 年 8 月 26 日
i have been trying to resolve for a week now but i wasnt sure if i was right or wrong.
@Chike, could you please clarify which specific part of your attempted MATLAB-based solution you were uncertain about? We'd be happy to review the relevant section(s) and provide any feedback.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMatrix Computations についてさらに検索

質問済み:

2024 年 8 月 22 日

編集済み:

2024 年 8 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by