Linear algebra: systems of equations, eigenvalues and conditioning
도입됨
7:40
ME를 위한 수학적 방법
This course uses one vibration test rig all the way through. Calculus reads its position trace, linear algebra solves its equations, a differential equation…
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| English | 의미 |
|---|---|
| truss/trʌs/ | A structure of straight members joined at their ends, usually in triangles. |
| mode/məʊd/ | |
| condition number/kənˈdɪʃn ˈnʌmbə/ | 조건수 |
| eigenvalue/ˈaɪɡənvæljuː/ | 고유값 |
| eigenvector/ˈaɪɡənvektə/ | 고유벡터 |
| basis/ˈbeɪsɪs/ | 기저 |
| least squares/liːst skweəz/ | Fitting a model by choosing the parameters that make the sum of squared residuals as small as possible. |
Three jobs, one subject
- The test rig's frame is a truss 桁架. Its vibration has mode shapes. Its load cell is calibrated with a best-fit line. All three jobs are linear algebra.
- Truss joint: $x + 2y = 10$ and $3x - y = 5$. The two lines cross at one point, $x = 2.857$ kN and $y = 3.571$ kN.
When can you trust the answer?
- If two lines cross at a very small angle, the crossing point moves a long way when the data changes a little. The condition number 条件数 $\kappa$ measures this: errors in the data can grow by up to $\kappa$ times.
- Rows $(1, 2)$ and $(2, 4.0001)$ are almost parallel, so $\kappa \approx 250{,}000$: a change of 0.0001 in the data moves the answer by whole units. The truss pair and the rig matrix have small $\kappa$ (1.5 and 3), so their answers can be trusted.

Can you trust the answer?
Sort each system by how far its answer can be trusted.
$x + 2y = 10$ 및 $3x - y = 5$. Find $x$ (three decimals).
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
$x = 20/7 = 2.857$ kN and $y = 25/7 = 3.571$ kN.
The larger eigenvalue of the stiffness matrix with rows $(2, -1)$ 및 $(-1, 2)$?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
$(2 - \lambda)^2 - 1 = 0$ gives $\lambda = 1$ 및 $3$.
Match each vector to its mode.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Only the direction matters; any non-zero length is the same mode.
Modes: the natural ways to shake
- The rig is two equal masses joined by three equal springs (wall, mass, mass, wall). Its stiffness matrix, in units of $k$, has rows $(2, -1)$ and $(-1, 2)$.
- Its eigenvalues 特征值 are 1 and 3, with eigenvectors 特征向量 $(1, 1)$ and $(1, -1)$. In mode $(1, 1)$ the masses move together; in mode $(1, -1)$ they move in opposite directions. The eigenvectors form a basis 基: any motion is a mix of them.
A condition number of 250,000 means:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The lines are nearly parallel, so a tiny change in the data moves the crossing point a long way.
The rig mode $(1, -1)$ means:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Eigenvalue 3: the opposed mode, at $\sqrt{3k/m}$. The middle spring is stretched and squashed twice as much.
Split a motion into modes
- A start of $(1, 0)$ is $\tfrac12(1, 1) + \tfrac12(1, -1)$: half in the in-phase mode 振型 and half in the opposed mode.
- Each part then vibrates at its own frequency: $\sqrt{k/m}$ in phase, where the middle spring does not stretch, and $\sqrt{3k/m}$ opposed. The ratio is $\sqrt3 = 1.732$. Each mode behaves like one simple oscillator.
Mode frequencies $\sqrt{3k/m}$ 및 $\sqrt{k/m}$: their ratio (three decimals)?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
$\sqrt{3k/m} / \sqrt{k/m} = \sqrt{3} = 1.732$: the opposed mode vibrates faster than the in-phase mode.
Doubling an eigenvector gives a different mode shape.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Any non-zero multiple points the same way: $(2, 2)$ is the same in-phase mode as $(1, 1)$.
Worked example: a calibration line by least squares
- Masses of 1, 2 and 3 kg read 2.1, 3.9 and 6.0 on the load cell. Three points and two unknowns ($y = a + bx$) give too many equations, so we use least squares 最小二乘法.
- The means are $\bar x = 2$ and $\bar y = 4$. Slope: $b = \dfrac{\sum (x - \bar x)(y - \bar y)}{\sum (x - \bar x)^2} = \dfrac{3.9}{2} = 1.95$. Intercept: $a = \bar y - b\bar x = 0.10$.
Least-squares slope through (1, 2.1), (2, 3.9), (3, 6.0)?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
$\sum (x - \bar x)(y - \bar y) = (-1)(-1.9) + 0 + (1)(2.0) = 3.9$ 및 $\sum (x - \bar x)^2 = 2$, so $b = 1.95$.
Three common mistakes
- Solving a system without checking $\kappa$. One line of code tells you whether to trust the answer.
- Thinking an eigenvector has one correct length. Any non-zero multiple is the same mode.
- Forgetting why modes help. In the mode basis 基, each mode can be solved on its own.
A solved system with $\kappa = 3$ can be trusted as much as one with $\kappa = 250{,}000$.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
$\kappa$ is how much data errors can grow. The two values are five orders of magnitude apart.
Spreading the calibration masses over a wider range lowers the condition number of the fit.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
Readings that are far apart fix the slope well; readings close together make the equations nearly parallel.
Recap
- Truss joint $(2.857, 3.571)$ kN; condition numbers 条件数 3 for the rig matrix and about 250,000 for the near-parallel pair.
- Eigenvalues 1 and 3; modes $(1, 1)$ in phase and $(1, -1)$ opposed. Split the motion, then solve one oscillator at a time.
- Check $\kappa$ before you trust any solved system.
| Job | Tool |
|---|---|
| Solve for forces | $A\mathbf x = \mathbf b$, after checking $\kappa$ |
| Find vibration modes | eigenvalues and eigenvectors |
| Fit a calibration line | least squares: $y = 0.10 + 1.95x$ |
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.