Files
vault/課本/微分方程/Ch6/6.4.md
T
vaultadmin dd3ef9721e 15Tw: 181 added
- .obsidian/app (conflict 15Tw 2026-11-16 1639).json
- .obsidian/app.json
- .obsidian/appearance.json
- .obsidian/community-plugins.json
- .obsidian/core-plugins.json
- .obsidian/envoy.log
- .obsidian/plugins/vault-sync-git/data.json
- .obsidian/plugins/vault-sync-git/main.js
- .obsidian/plugins/vault-sync-git/manifest.json
- .obsidian/plugins/vault-sync-git/styles.css
- …and 171 more

Device: 15Tw
Plugin: 1.8.0
2026-11-30 06:38:33 +00:00

129 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "6.4 分段外力的微分方程"
aliases: ["Boyce 6.4", "discontinuous forcing"]
tags: [微分方程, Boyce, Ch6]
course: 應用數學(二)
chapter: 6
section: "6.4"
source_pages: "264–270"
---
# 6.4 分段外力的微分方程
## 0. 脈絡:外力突然改變
### 0.1 先看一個 IVP
$$
y''+y=f(t),\qquad y(0)=0,\ y'(0)=0,
$$
其中
$$
f(t)=
\begin{cases}
1,&0\le t<\pi,\\
0,&t\ge\pi.
\end{cases}
$$
### 0.2 對應什麼狀況
外力分段、開關、方波。用第 3 章要分段解再拼接;用 Laplace 一次做完。
### 0.3 要什麼結果
把 $f$ 用 $u_c$ 寫出來 → 取 $\mathcal L$ → 解 $Y$ → 逆轉換(會出现 $u_\pi$)。
### 0.4 推廣
同樣方法處理任意分段函數;6.5 把「很短的分段」理想化成脈衝。
> [!tip] 一句話
> 分段外力先寫成 $u_c$ 的組合,Laplace 就會自動幫你分段。
---
## 1. 把 $f$ 寫成 step functions
上例:
$$
f(t)=1-u_\pi(t).
$$
因為 $t<\pi$ 時 $u_\pi=0$,$f=1$;$t\ge\pi$ 時 $u_\pi=1$,$f=0$。
## 2. 解 IVP
取轉換:
$$
(s^2+1)Y=\mathcal L\{1-u_\pi\}
=\frac1s-\frac{e^{-\pi s}}{s}.
$$
故
$$
Y=\frac{1}{s(s^2+1)}\big(1-e^{-\pi s}\big).
$$
部分分式:
$$
\frac{1}{s(s^2+1)}=\frac1s-\frac{s}{s^2+1}.
$$
所以
$$
Y=\Big(\frac1s-\frac{s}{s^2+1}\Big)\big(1-e^{-\pi s}\big).
$$
逆轉換:
$$
y(t)=\big(1-\cos t\big)-u_\pi(t)\big(1-\cos(t-\pi)\big).
$$
化簡 $\cos(t-\pi)=-\cos t$:
$$
\boxed{\ y(t)=1-\cos t+u_\pi(t)\big(1+\cos t\big)\ }.
$$
- $0\le t<\pi$:$y=1-\cos t$;
- $t\ge\pi$:$y=1-\cos t+1+\cos t=2$。
> [!note] 檢查
> $t=\pi$ 時 $y=2$,且 $y'=\sin t$ 在 $\pi$ 為 0:解與導數都連續,符合二階方程的要求。
## 3. 一般流程
1. 用 $u_c$ 寫 $f(t)$;
2. 取 $\mathcal L$;
3. 解 $Y(s)$;
4. 部分分式;
5. 用第二平移定理逆轉換;
6. 檢查分段交界處的連續性。
> [!warning] 常見錯誤
> 逆轉換 $e^{-cs}F(s)$ 時,裡面的函數要寫成 $f(t-c)$,不是 $f(t)$。
## 4. 速查
| 步驟 | 動作 |
|---|---|
| 1 | $f=\sum (\cdots)u_c$ |
| 2 | 取 $\mathcal L$,得 $e^{-cs}$ 因子 |
| 3 | 解 $Y$ |
| 4 | 逆轉換用 $u_c f(t-c)$ |
---
## 老師指定習題(Moodle)
> ⚠️ 目前 Moodle 登入失效,尚未取得;待恢復後補上。