Skip to content
MathWorks - Mobile View
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 받기
MathWorks
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 받기
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃

비디오 및 웨비나

  • MathWorks
  • 비디오
  • 비디오 홈
  • 검색
  • 비디오 홈
  • 검색
  • 영업 담당 문의
  • 평가판 신청
10:31 Video length is 10:31.
  • Description
  • Full Transcript
  • Related Resources

Differential Equations and Linear Algebra, 3.2c: Two First Order Equations: Stability

From the series: Differential Equations and Linear Algebra

Gilbert Strang, Massachusetts Institute of Technology (MIT)

A second order equation gives two first order equations for y and dy/dt. The matrix becomes a companion matrix.

OK. A third video about stability for second order, constant coefficient equations. But we'll move on to matrices here. So this is a rather special video. So this is our familiar equation. And I took a to b1, I just divided out a. No problem.

So that's one second order equation. But we know how to convert it to two first order equations. And here they are. So this is two equations. That's a 2 by 2 matrix there. And so let me read the top equation. It says that dy dt is 0y plus 1dy dt. So that equation is a triviality. dy dt equals dy dt.

The second equation is the real one. The derivative of y prime is y double prime. So this is second derivative here, equals minus cy and minus b y prime. And that's my equation y double prime, when I bring the minus cy over as plus cy, and I bring the minus b y prime over as plus b y prime. I have my equation. So that equation is the same as that one. It's just written with a vector unknown. It's a system, system of two equations.

And it's got a 2 by 2 matrix. And it's called, this particular matrix with a 0 and a 1 is called the companion matrix. Companion, so this is the companion equation to that one.

OK. So whatever we know about this equation, from the exponents s1 and s2, we're going to have the same information out of this equation. But the language changes. And that's really the point of this video, just to tell you the change in language. So here it is. The old exponents, s1 and s2, for that problem, and everybody watching this video is remembering that the s's solve s squared plus Bs plus C equals 0. So that's always what are s's are.

So that has two roots, s1 and s2 that control everything, control stability. Now if I do it in this language, I no longer call them s1 and s2. But they're the same two numbers. What I call them is eigenvalues, a cool word, half German half English maybe, kind of a crazy word. But it's well established.

Those same numbers would be called the eigenvalues of the matrix. You see, the matrix in this problem is the same. We've got the same information as the equation here. So those are the eigenvalues. And may I just tell you what you may know already? That everybody writes lambda, a Greek lambda, for eigenvalue. So where I had two exponents, here I have two eigenvalues. And those numbers are the same as those numbers. And they satisfy the same equation.

And when we meet matrices and eigenvalues properly and soon, we'll see about eigenvalues of other matrices. And we'll see that for these particular companion matrices, the eigenvalues solve the same equation that the exponents solve, this quadratic s squared and Bs and C equals 0.

OK. And stability, remember that stability has been real part of those roots of those exponents less than zero, because then the exponential has that negative real part, and goes to zero. Now we're just using, so that was our old language. And our new language would be real part of lambda, less than zero.

Stable matrix is real part of the eigenvalues, lambda less than zero. So we're just really exchanging the letters s and the single high order equation for the letter lambda, and two first order equations. OK. I'm doing this without-- just connecting the lambda to the s, but without telling you what the lambda is on its own.

OK. So let me remember. So, here I've taken a further step. Because basically I've said everything about a second order equation. We know the condition for stability. The condition is that the damping should be positive, B should be positive. And the frequency squared better come out positive. So C should be positive. So B positive and C positive were the case when this was our matrix.

Now I just have a few minutes more. So why don't I allow any 2 by 2 matrix. I'm not going to give you the theory of eigenvalues here. But just make the connection. OK. So I want to make the connection. And you remember that the companion matrix had a special form 0. a was zero, b was 1, c was the minus the big C, and d was minus the B. That was the companion.

So what am I going to say at this early, almost too early moment about eigenvalues? Because I'll have to do those properly. Eigenvalues and eigenvectors are the key to a system of equations. And you understand what I mean by system? It means that the unknown-- that I have more than one equation.

My matrix is 2 by 2, or 3 by 3, or n by n. My unknown z has 2 or 3 or n different components. It's a vector. So z is a vector. A matrix multiplies a vector. That's what matrices do. They multiply vectors. So that's the general picture. And this was an especially important case.

So we can decide on the stability. So I'll just summarize the stability for that system. The stability will be-- well I have to tell you something about the solutions to that system. Remember z is a vector. So here are solutions. z is-- it turns out this is the key. That there is an e-- you expect exponentials. And you expect now eigenvalues instead of s there. And now we need a vector. And let me just call that vector x1. And this will be the eigenvector. And this is the eigenvalue.

And if I look for a solution of that form, put it into my equation, out pops the key equation for eigenvectors. So again, I put this, hope for solution, into the equation. And I'll discover that a times this vector x1 should be lambda 1 times x1. Oh well, I have a lot to say about that.

But if it holds, if a times x1 is lambda 1 times x1, then when I put this in, the equation works. I've got a solution. Well I've got one solution. And of course for second order things, I'm looking for two solutions. So the complete solution would also be-- so I could have it's linear. So I can always multiply by a constant. And then I would expect a second one, of the same form, e to some other eigenvalue, like some other exponent times some other eigenvector.

Here's my look-ahead message that solutions look like that. So we're looking for an eigenvalue, and looking for an eigenvector. And there is the key equation they have to satisfy. And that equation comes when we put this into the differential equation and make the two sides agree. So that's what's coming. Eigenvalues and eigenvectors control the stability for systems of equations.

And that's what the world is mostly looking at, single equation, once in awhile but very, very often a system. And it'll be the eigenvalues that tell us. So are the eigenvalues positive? In that case we blow up, unstable. Are the eigenvalues negative, or at least the real part is negative? That's the stable case that we live with. Good, thanks.

Learn More

Read about differential equations and linear algebra
Learn more about Gilbert Strang

3 Ways to Speed Up Model Predictive Controllers

Read white paper

A Practical Guide to Deep Learning: From Data to Deployment

Read ebook

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Deep Learning and Traditional Machine Learning: Choosing the Right Approach

Read ebook

Hardware-in-the-Loop Testing for Power Electronics Control Design

Read white paper

Predictive Maintenance with MATLAB

Read ebook

Electric Vehicle Modeling and Simulation - Architecture to Deployment : Webinar Series

Register for Free

How much do you know about power conversion control?

Start quiz
Related Information
Related Information
Learn differential equations

Feedback

Up Next:

A critical point is a constant solution <em>Y</em> to the differential equation <em>y’ = f(y)</em>. Near that <em>Y</em>, the sign of <em>df/dy</em> decides stability or instability.
15:07
3.3: Linearization at Critical Points
View full series (55 Videos)

Related Videos:

22:37
Differential Equations and Linear Algebra, 2.7: Laplace...
13:13
Differential Equations and Linear Algebra, 2.4b: Second...
19:19
Differential Equations and Linear Algebra, 2.1: Second...
19:29
Differential Equations and Linear Algebra, 3.3c:...
21:14
Differential Equations and Linear Algebra, 1.7c: The...
MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • 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
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • 영업 담당 문의
  • 평가판 신청

MathWorks

Accelerating the pace of engineering and science

MathWorks는 엔지니어와 과학자들을 위한 테크니컬 컴퓨팅 소프트웨어 분야의 선도적인 개발업체입니다.

활용 분야 …

제품 소개

  • MATLAB
  • Simulink
  • 학생용 소프트웨어
  • 하드웨어 지원
  • File Exchange

다운로드 및 구매

  • 다운로드
  • 평가판 신청
  • 영업 상담
  • 가격 및 라이선스
  • MathWorks 스토어

사용 방법

  • 문서
  • 튜토리얼
  • 예제
  • 비디오 및 웨비나
  • 교육

지원

  • 설치 도움말
  • MATLAB Answers
  • 컨설팅
  • 라이선스 센터
  • 지원 문의

회사 정보

  • 채용
  • 뉴스 룸
  • 사회적 미션
  • 고객 사례
  • 회사 정보
  • Select a Web Site United States
  • 신뢰 센터
  • 등록 상표
  • 정보 취급 방침
  • 불법 복제 방지
  • 애플리케이션 상태
  • 매스웍스코리아 유한회사
  • 주소: 서울시 강남구 삼성동 테헤란로 521 파르나스타워 14층
  • 전화번호: 02-6006-5100
  • 대표자 : 이종민
  • 사업자 등록번호 : 120-86-60062

© 1994-2022 The MathWorks, Inc.

  • Naver
  • Facebook
  • Twitter
  • YouTube
  • LinkedIn
  • RSS

대화에 참여하기