施密特正交化(Gram-Schmidt method to orthonormalize vectors)

施密特正交化算法

Give an arbitrary basis \begin{Bmatrix} u_1, u_2,\cdots ,u_n \end{Bmatrix} for an n-dimensional inner product space V, we can constructs an orthogonal basis \begin{Bmatrix} v_1, v_2,\cdots ,v_n \end{Bmatrix} for V.

the Gram-Schmidt algorithm is:

Step 1: Let v_1 = u_1

Step 2: Let v_2=u_2-\frac{\left \langle u_2,v_1 \right \rangle}{\left \| v_1 \right \|^2}v_1

Step 3: Let v_3=u_3-\frac{\left \langle u_3,v_1 \right \rangle}{\left \| v_1 \right \|^2}v_1--\frac{\left \langle u_3,v_2 \right \rangle}{\left \| v_2 \right \|^2}v_2

.

.

.

计算举例

Let V=R^3 with the Euclidean inner product. We will apply the Gram-Schmidt algorithm to orthogonalize the basis \begin{Bmatrix} (1,-1,1), (1,0,1),(1,1,2) \end{Bmatrix}.

Step 1

Let v_1 = u_1, so v_1=(1, -1, 1).

Step 2

Let v_2=u_2-\frac{\left \langle u_2,v_1 \right \rangle}{\left \| v_1 \right \|^2}v_1.

v_2=(1,0,1)-\frac{\left \langle (1,0,1)\cdot (1,-1,1) \right \rangle}{\left \| (1,-1,1) \right \|^2}(1,-1,1)=(1,0,1)-\frac{2}{3}(1,-1,1)=(\frac{1}{3},\frac{2}{3},\frac{1}{3}).

Step 3

Let v_3=u_3-\frac{\left \langle u_3,v_1 \right \rangle}{\left \| v_1 \right \|^2}v_1--\frac{\left \langle u_3,v_2 \right \rangle}{\left \| v_2 \right \|^2}v_2.

v_3=(1,1,2)-\frac{\left \langle (1,1,2)\cdot (1,-1,1) \right \rangle}{\left \| (1,-1,1) \right \|^2}(1,-1,1)--\frac{\left \langle (1,1,2)\cdot (\frac{1}{3},\frac{2}{3},\frac{1}{3}) \right \rangle}{\left \| (\frac{1}{3},\frac{2}{3},\frac{1}{3}) \right \|^2}(\frac{1}{3},\frac{2}{3},\frac{1}{3})=(1,1,2)-\frac{2}{3}(1,-1,1)-\frac{5}{2}(\frac{1}{3},\frac{2}{3},\frac{1}{3})=(-\frac{1}{2},0,\frac{1}{2})

You can verify that \begin{Bmatrix} (1,-1,1),(\frac{1}{3},\frac{2}{3},\frac{1}{3}),(-\frac{1}{2},0,\frac{1}{2}) \end{Bmatrix} forms an orthogonal basis for R^3. Normalizing the vectors in the orthogonal basis, we obtain the orthonormal basis

\begin{Bmatrix} (\frac{\sqrt{3}}{3},-\frac{\sqrt{3}}{3},\frac{\sqrt{3}}{3}),(\frac{\sqrt{6}}{6},\frac{\sqrt{6}}{3},\frac{\sqrt{6}}{6}),(-\frac{\sqrt{2}}{2},0,\frac{\sqrt{2}}{2}) \end{Bmatrix}.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

努力的老周

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值