1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/larryleifeng-linear-algebra-lecture

В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
la005-5-ppt.lyx 42 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
larryeppes Отправлено 21.03.2024 10:00 9647a2b
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass beamer
\begin_preamble
% 如果没有这一句命令,XeTeX会出错,原因参见
% http://bbs.ctex.org/viewthread.php?tid=60547
\DeclareRobustCommand\nobreakspace{\leavevmode\nobreak\ }
% \usepackage{tkz-euclide}
% \usetkzobj{all}
\usepackage{multicol}
\usepackage[define-L-C-R]{nicematrix}
\usetheme[lw]{uantwerpen}
\AtBeginDocument{
\renewcommand\logopos{111.png}
\renewcommand\logoneg{111.png}
\renewcommand\logomonowhite{111.png}
\renewcommand\iconfile{111.png}
}
\setbeamertemplate{theorems}[numbered]
\AtBeginSection[]
{
\begin{frame}{章节内容}
\transfade%淡入淡出效果
\begin{multicols}{2}
\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide]
\end{multicols}
\addtocounter{framenumber}{-1} %目录页不计算页码
\end{frame}
}
\usepackage{amsmath, amsfonts, amssymb, mathtools, yhmath, mathrsfs}
% http://ctan.org/pkg/extarrows
% long equal sign
\usepackage{extarrows}
\DeclareMathOperator{\sech}{sech}
\DeclareMathOperator{\curl}{curl}
%\everymath{\color{blue}\everymath{}}
%\everymath\expandafter{\color{blue}\displaystyle}
%\everydisplay\expandafter{\the\everydisplay \color{red}}
\def\degree{^\circ}
\def\bt{\begin{theorem}}
\def\et{\end{theorem}}
\def\bl{\begin{lemma}}
\def\el{\end{lemma}}
\def\bc{\begin{corrolary}}
\def\ec{\end{corrolary}}
\def\ba{\begin{proof}[解]}
\def\ea{\end{proof}}
\def\ue{\mathrm{e}}
\def\ud{\,\mathrm{d}}
\def\GF{\mathrm{GF}}
\def\ui{\mathrm{i}}
\def\Re{\mathrm{Re}}
\def\Im{\mathrm{Im}}
\def\uRes{\mathrm{Res}}
\def\diag{\,\mathrm{diag}\,}
\def\be{\begin{equation}}
\def\ee{\end{equation}}
\def\bee{\begin{equation*}}
\def\eee{\end{equation*}}
\def\sumcyc{\sum\limits_{cyc}}
\def\prodcyc{\prod\limits_{cyc}}
\def\i{\infty}
\def\a{\alpha}
\def\b{\beta}
\def\g{\gamma}
\def\d{\delta}
\def\l{\lambda}
\def\m{\mu}
\def\t{\theta}
\def\p{\partial}
\def\wc{\rightharpoonup}
\def\udiv{\mathrm{div}}
\def\diam{\mathrm{diam}}
\def\dist{\mathrm{dist}}
\def\uloc{\mathrm{loc}}
\def\uLip{\mathrm{Lip}}
\def\ucurl{\mathrm{curl}}
\def\usupp{\mathrm{supp}}
\def\uspt{\mathrm{spt}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\providecommand{\abs}[1]{\left\lvert#1\right\rvert}
\providecommand{\norm}[1]{\left\Vert#1\right\Vert}
\providecommand{\paren}[1]{\left(#1\right)}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\FF}{\mathbb{F}}
\newcommand{\ZZ}{\mathbb{Z}}
\newcommand{\WW}{\mathbb{W}}
\newcommand{\NN}{\mathbb{N}}
\newcommand{\PP}{\mathbb{P}}
\newcommand{\QQ}{\mathbb{Q}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\TT}{\mathbb{T}}
\newcommand{\CC}{\mathbb{C}}
\newcommand{\pNN}{\mathbb{N}_{+}}
\newcommand{\cZ}{\mathcal{Z}}
\newcommand{\cM}{\mathcal{M}}
\newcommand{\cS}{\mathcal{S}}
\newcommand{\cX}{\mathcal{X}}
\newcommand{\cW}{\mathcal{W}}
\newcommand{\eqdef}{\xlongequal{\text{def}}}%
\newcommand{\eqexdef}{\xlongequal[\text{存在}]{\text{记为}}}%
\end_preamble
\options aspectratio = 1610, 11pt, UTF8
\use_default_options true
\begin_modules
theorems-ams
theorems-sec
\end_modules
\maintain_unincluded_children false
\language chinese-simplified
\language_package default
\inputencoding utf8-cjk
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\font_cjk gbsn
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command default
\index_command default
\float_placement H
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks true
\pdf_pdfborder true
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry true
\use_package amsmath 2
\use_package amssymb 2
\use_package cancel 1
\use_package esint 2
\use_package mathdots 1
\use_package mathtools 2
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 2cm
\topmargin 2cm
\rightmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Section
化二次型为标准形
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
引言
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
若二次型
\begin_inset Formula $f\left(x_{1},x_{2},\cdots,x_{n}\right)$
\end_inset
经可逆线性变换化为只含平方项的形式
\begin_inset Formula
\begin{equation}
b_{1}y_{1}^{2}+b_{2}y_{2}^{2}+\cdots+b_{n}y_{n}^{2},\label{eq:5.2-1}
\end{equation}
\end_inset
则称
\series bold
(
\begin_inset CommandInset ref
LatexCommand ref
reference "eq:5.2-1"
plural "false"
caps "false"
noprefix "false"
\end_inset
) 为二次型
\begin_inset Formula $f\left(x_{1},x_{2},\cdots,x_{n}\right)$
\end_inset
的标准形
\series default
.
由上节讨论知, 二次型
\begin_inset Formula $f\left(x_{1},x_{2},\cdots,x_{n}\right)=X^{T}AX$
\end_inset
在线性变换
\begin_inset Formula $X=CY$
\end_inset
下, 可化为
\begin_inset Formula $Y^{T}\left(C^{T}AC\right)Y$
\end_inset
.
如果
\begin_inset Formula $C^{T}AC$
\end_inset
为对角矩阵
\begin_inset Formula
\[
B=\begin{bmatrix}b_{1}\\
& b_{2}\\
& & \ddots\\
& & & b_{n}
\end{bmatrix},
\]
\end_inset
\begin_inset Formula $f\left(x_{1},x_{2},\cdots,x_{n}\right)$
\end_inset
就可化为标准形
\begin_inset Formula $b_{1}y_{1}^{2}+b_{2}y_{2}^{2}+\cdots+b_{n}y_{n}^{2}$
\end_inset
, 其标准形中的系数恰好为对角阵
\begin_inset Formula $B$
\end_inset
的对角线上的元素, 因此上面的问题归结为
\begin_inset Formula $A$
\end_inset
能否合同于一个对角矩阵.
\end_layout
\end_deeper
\begin_layout Subsection
用配方法化二次型为标准形
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用配方法化二次型为标准形
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Theorem
\begin_inset CommandInset label
LatexCommand label
name "thm:5.2-1"
\end_inset
任何二次型都可以通过可逆线性变换化为标准形.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
拉格朗日配方法
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
拉格朗日配方法的步骤:
\end_layout
\begin_layout Standard
(1) 若二次型含有
\begin_inset Formula $x_{i}$
\end_inset
的平方项, 则先把含有
\begin_inset Formula $x_{i}$
\end_inset
的项按
\begin_inset Formula $x_{i}$
\end_inset
的幂降次排列, 然后配方.
再对其余的变量进行同样过程的操作, 直到所有的变量都配成平方项为止.
经过可逆线性变换, 就得到标准形;
\end_layout
\begin_layout Standard
(2) 若二次型中不含有平方项, 但是
\begin_inset Formula $a_{ij}\neq0$
\end_inset
, (
\begin_inset Formula $i\neq j$
\end_inset
), 则先作可逆变换
\begin_inset Formula
\[
\begin{cases}
x_{i}=y_{i}-y_{j},\\
x_{j}=y_{i}+y_{j}, & (k=1,2,\cdots,n\text{ 且 }k\neq i,j)\\
x_{k}=y_{k},
\end{cases}
\]
\end_inset
化二次型为含有平方项的二次型, 然后再按 (1) 中方法配方.
\end_layout
\begin_layout Remark*
配方法是一种可逆线性变换, 但平方项的系数与
\begin_inset Formula $A$
\end_inset
的特征值无关.
\end_layout
\begin_layout Standard
因为二次型
\begin_inset Formula $f$
\end_inset
与它的对称矩阵
\begin_inset Formula $A$
\end_inset
有一一对应的关系, 由定理
\begin_inset CommandInset ref
LatexCommand ref
reference "thm:5.2-1"
plural "false"
caps "false"
noprefix "false"
\end_inset
即得:
\end_layout
\begin_layout Theorem
对任一实对称矩阵
\begin_inset Formula $A$
\end_inset
, 存在非奇异矩阵
\begin_inset Formula $C$
\end_inset
, 使
\begin_inset Formula $B=C^{T}AC$
\end_inset
为对角矩阵.
即任一实对称矩阵都与一个对角矩阵合同.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
将二次型化为标准形
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
\begin_inset Argument 1
status open
\begin_layout Plain Layout
E01
\end_layout
\end_inset
\begin_inset Formula $x_{1}^{2}+2x_{1}x_{2}+2x_{1}x_{3}+2x_{2}^{2}+4x_{2}x_{3}+x_{3}^{2}$
\end_inset
化为标准形.
\end_layout
\begin_layout Solution*
因标准形是平方项的代数和, 可利用配方法解之.
\begin_inset Formula
\begin{equation}
\begin{aligned}x_{1}^{2}+2x_{1}x_{2}+2x_{1}x_{3}+2x_{2}^{2}+4x_{2}x_{3}+x_{3}^{2} & =x_{1}^{2}+2x_{1}\left(x_{2}+x_{3}\right)+\left(x_{2}+x_{3}\right)^{2}-\left(x_{2}+x_{3}\right)^{2}+2x_{2}^{2}+4x_{2}x_{3}+x_{3}^{2}\\
& =\left(x_{1}+x_{2}+x_{3}\right)^{2}+x_{2}^{2}+2x_{2}x_{3}\\
& =\left(x_{1}+x_{2}+x_{3}\right)^{2}+\left(x_{2}+x_{3}\right)^{2}-x_{3}^{2},
\end{aligned}
\label{eq:5.2-2}
\end{equation}
\end_inset
其线性变换矩阵的行列式
\begin_inset Formula $\mathrm{det}(C)=\begin{vmatrix}1 & -1 & 0\\
0 & 1 & -1\\
0 & 0 & 1
\end{vmatrix}=1\neq0$
\end_inset
, 将
\begin_inset Formula $X=CY$
\end_inset
代入 (
\begin_inset CommandInset ref
LatexCommand ref
reference "eq:5.2-2"
plural "false"
caps "false"
noprefix "false"
\end_inset
) 式, 得二次型的标准形
\begin_inset Formula $y_{1}^{2}+y_{2}^{2}-y_{3}^{2}$
\end_inset
, 该二次型的矩阵为
\begin_inset Formula $B=\begin{bmatrix}1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & -1
\end{bmatrix}$
\end_inset
, 而原二次型的矩阵为
\begin_inset Formula $A=\begin{bmatrix}1 & 1 & 1\\
1 & 2 & 2\\
1 & 2 & 1
\end{bmatrix}$
\end_inset
, 线性替换的矩阵为
\begin_inset Formula $C=\begin{bmatrix}1 & -1 & 0\\
0 & 1 & -1\\
0 & 0 & 1
\end{bmatrix}$
\end_inset
, 易验证
\begin_inset Formula $C^{T}AC=B=\begin{bmatrix}1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & -1
\end{bmatrix}$
\end_inset
是对角矩阵, 且
\begin_inset Formula $y^{T}By=y_{1}^{2}+y_{2}^{2}-y_{3}^{2}$
\end_inset
.
\end_layout
\begin_layout Remark*
可见, 要把二次型化为标准形, 关键在于求出一个非奇异矩阵
\begin_inset Formula $C$
\end_inset
, 使得
\begin_inset Formula $C^{T}AC$
\end_inset
是对角矩阵.
而这需要在 (
\begin_inset CommandInset ref
LatexCommand ref
reference "eq:5.2-2"
plural "false"
caps "false"
noprefix "false"
\end_inset
) 式中令
\begin_inset Formula $y_{1}=x_{1}+x_{2}+x_{3}$
\end_inset
,
\begin_inset Formula $y_{2}=x_{2}+x_{3}$
\end_inset
,
\begin_inset Formula $y_{3}=x_{3}$
\end_inset
反解出
\begin_inset Formula $x_{1},x_{2},x_{3}$
\end_inset
, 用矩阵的语言来表述就是从
\begin_inset Formula
\[
\begin{bmatrix}y_{1}\\
y_{2}\\
y_{3}
\end{bmatrix}=\begin{bmatrix}1 & 1 & 1\\
0 & 1 & 1\\
0 & 0 & 1
\end{bmatrix}\begin{bmatrix}x_{1}\\
x_{2}\\
x_{3}
\end{bmatrix}\Longleftrightarrow\begin{bmatrix}x_{1}\\
x_{2}\\
x_{3}
\end{bmatrix}=\begin{bmatrix}1 & -1\\
& 1 & -1\\
& & 1
\end{bmatrix}\begin{bmatrix}y_{1}\\
y_{2}\\
y_{3}
\end{bmatrix}\Longleftrightarrow X=CY.
\]
\end_inset
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用配方法化二次型为标准形并求变换矩阵
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
化二次型
\begin_inset Formula $f=x_{1}^{2}+2x_{2}^{2}+5x_{3}^{2}+2x_{1}x_{2}+2x_{1}x_{3}+6x_{2}x_{3}$
\end_inset
为标准形, 并求所用的变换矩阵.
\end_layout
\begin_layout Solution*
\begin_inset Formula
\begin{align*}
f & =x_{1}^{2}+2x_{2}^{2}+5x_{3}^{2}+2x_{1}x_{2}+2x_{1}x_{3}+6x_{2}x_{3}=x_{1}^{2}+2x_{1}x_{2}+2x_{1}x_{3}+2x_{2}^{2}+5x_{3}^{2}+6x_{2}x_{3}\\
& =\left(x_{1}+x_{2}+x_{3}\right)^{2}-x_{2}^{2}-x_{3}^{2}-2x_{2}x_{3}+2x_{2}^{2}+5x_{3}^{2}+6x_{2}x_{3}\\
& =\left(x_{1}+x_{2}+x_{3}\right)^{2}+x_{2}^{2}+4x_{3}^{2}+4x_{2}x_{3}\\
& =\left(x_{1}+x_{2}+x_{3}\right)^{2}+\left(x_{2}+2x_{3}\right)^{2}.
\end{align*}
\end_inset
\begin_inset Formula
\[
\begin{cases}
y_{1}=x_{1}+x_{2}+x_{3}\\
y_{2}=x_{2}+2x_{3}\\
y_{3}=x_{3}
\end{cases}\Longrightarrow\begin{cases}
x_{1}=y_{1}-y_{2}+y_{3}\\
x_{2}=y_{2}-2y_{3}\\
x_{3}=y_{3}
\end{cases},
\]
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
\begin_inset Formula
\[
\begin{cases}
y_{1}=x_{1}+x_{2}+x_{3}\\
y_{2}=x_{2}+2x_{3}\\
y_{3}=x_{3}
\end{cases}\Longrightarrow\begin{cases}
x_{1}=y_{1}-y_{2}+y_{3}\\
x_{2}=y_{2}-2y_{3}\\
x_{3}=y_{3}
\end{cases},
\]
\end_inset
也即
\begin_inset Formula
\[
\begin{bmatrix}x_{1}\\
x_{2}\\
x_{3}
\end{bmatrix}=\begin{bmatrix}1 & -1 & 1\\
0 & 1 & -2\\
0 & 0 & 1
\end{bmatrix}\begin{bmatrix}y_{1}\\
y_{2}\\
y_{3}
\end{bmatrix}.
\]
\end_inset
因此二次型
\begin_inset Formula
\[
f=x_{1}^{2}+2x_{2}^{2}+5x_{3}^{2}+2x_{1}x_{2}+2x_{1}x_{3}+6x_{2}x_{3}=y_{1}^{2}+y_{2}^{2}.
\]
\end_inset
所用变换矩阵为
\begin_inset Formula $C=\begin{bmatrix}1 & -1 & 1\\
0 & 1 & -2\\
0 & 0 & 1
\end{bmatrix}$
\end_inset
, (
\begin_inset Formula $|C|=1\neq0$
\end_inset
).
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
另一个例子 (但需要拉格朗日配方法的 (2))
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
\begin_inset CommandInset label
LatexCommand label
name "exa:5.2-3"
\end_inset
\begin_inset Argument 1
status open
\begin_layout Plain Layout
E02
\end_layout
\end_inset
化二次型
\begin_inset Formula $f=2x_{1}x_{2}+2x_{1}x_{3}-6x_{2}x_{3}$
\end_inset
成标准形, 并求所用的变换矩阵.
\end_layout
\begin_layout Solution*
由于所给二次型中无平方项, 所以先令
\begin_inset Formula
\[
\begin{cases}
x_{1}=y_{1}+y_{2}\\
x_{2}=y_{1}-y_{2},\\
x_{3}=y_{3}
\end{cases}\Longleftrightarrow\begin{bmatrix}x_{1}\\
x_{2}\\
x_{3}
\end{bmatrix}=\begin{bmatrix}1 & 1 & 0\\
1 & -1 & 0\\
0 & 0 & 1
\end{bmatrix}\begin{bmatrix}y_{1}\\
y_{2}\\
y_{3}
\end{bmatrix},
\]
\end_inset
代入原二次型得
\begin_inset Formula $f=2y_{1}^{2}-2y_{2}^{2}-4y_{1}y_{3}+8y_{2}y_{3}$
\end_inset
.
再配方得
\begin_inset Formula $f=2\left(y_{1}-y_{3}\right)^{2}-2\left(y_{2}-2y_{3}\right)^{2}+6y_{3}^{2}$
\end_inset
.
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
\begin_inset Formula $f=2\left(y_{1}-y_{3}\right)^{2}-2\left(y_{2}-2y_{3}\right)^{2}+6y_{3}^{2}$
\end_inset
.
\end_layout
\begin_layout Solution*
\begin_inset Formula
\[
\begin{cases}
z_{1}=y_{1}-y_{3}\\
z_{2}=y_{2}-2y_{3}\\
z_{3}=y_{3}
\end{cases}\Longrightarrow\begin{cases}
y_{1}=z_{1}+z_{3}\\
y_{2}=z_{2}+2z_{3}\text{, }\\
y_{3}=z_{3}
\end{cases}\Longrightarrow\begin{bmatrix}y_{1}\\
y_{2}\\
y_{3}
\end{bmatrix}=\begin{bmatrix}1 & 0 & 1\\
0 & 1 & 2\\
0 & 0 & 1
\end{bmatrix}\begin{bmatrix}z_{1}\\
z_{2}\\
z_{3}
\end{bmatrix}.
\]
\end_inset
代入原二次型得标准形
\begin_inset Formula $f=2z_{1}^{2}-2z_{2}^{2}+6z_{3}^{2}$
\end_inset
.
所用变换矩阵为
\begin_inset Formula
\[
C=\begin{bmatrix}1 & 1 & 0\\
1 & -1 & 0\\
0 & 0 & 1
\end{bmatrix}\begin{bmatrix}1 & 0 & 1\\
0 & 1 & 2\\
0 & 0 & 1
\end{bmatrix}=\begin{bmatrix}1 & 1 & 3\\
1 & -1 & -1\\
0 & 0 & 1
\end{bmatrix},\quad(|C|=-2\neq0).
\]
\end_inset
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用配方法化二次型为标准形
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
用配方法将下列二次型化为标准形
\begin_inset Formula
\[
f\left(x_{1},x_{2},x_{3},x_{4}\right)=2x_{1}x_{2}-x_{1}x_{3}+x_{1}x_{4}-x_{2}x_{3}+x_{2}x_{4}-2x_{3}x_{4}.
\]
\end_inset
\end_layout
\begin_layout Solution*
因二次型
\begin_inset Formula $f$
\end_inset
缺少
\begin_inset Formula $x_{1}^{2}$
\end_inset
(
\begin_inset Formula $i=1,2,3,4$
\end_inset
) 项, 无法配方.
作变换:
\begin_inset Formula
\begin{equation}
\begin{cases}
x_{1}=y_{1}+y_{2}\\
x_{2}=y_{1}-y_{2}\\
x_{3}=y_{3}\\
x_{4}=y_{4}
\end{cases},\label{eq:5.2-3}
\end{equation}
\end_inset
代入原二次型得关于
\begin_inset Formula $y_{i}$
\end_inset
的二次型:
\begin_inset Formula
\[
f=2y_{1}^{2}-2y_{2}^{2}-2y_{1}y_{3}+2y_{1}y_{4}-2y_{3}y_{4},
\]
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
由于
\begin_inset Formula
\[
f=2y_{1}^{2}-2y_{2}^{2}-2y_{1}y_{3}+2y_{1}y_{4}-2y_{3}y_{4},
\]
\end_inset
\begin_inset Formula $y_{1}^{2}$
\end_inset
项的系数不为零, 配方得
\begin_inset Formula
\[
\begin{aligned}f & =\left(2y_{1}^{2}-2y_{1}y_{3}+2y_{1}y_{4}\right)-2y_{2}^{2}-2y_{3}y_{4}\\
& =2\left[\left(y_{1}-\frac{1}{2}y_{3}+\frac{1}{2}y_{4}\right)^{2}-\frac{1}{4}y_{3}^{2}-\frac{1}{4}y_{4}^{2}+\frac{1}{2}y_{3}y_{4}\right]-2y_{2}^{2}-2y_{3}y_{4}\\
& =2\left(y_{1}-\frac{1}{2}y_{3}+\frac{1}{2}y_{4}\right)^{2}-2y_{2}^{2}-\frac{1}{2}y_{3}^{2}-y_{3}y_{4}-\frac{1}{2}y_{4}^{2}\\
& =2\left(y_{1}-\frac{1}{2}y_{3}+\frac{1}{2}y_{4}\right)^{2}-2y_{2}^{2}-\frac{1}{2}\left(y_{3}+y_{4}\right)^{2}.
\end{aligned}
\]
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
\begin_inset Formula $f=2\left(y_{1}-\frac{1}{2}y_{3}+\frac{1}{2}y_{4}\right)^{2}-2y_{2}^{2}-\frac{1}{2}\left(y_{3}+y_{4}\right)^{2}$
\end_inset
, 令
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
vspace{-4mm}
\end_layout
\end_inset
\begin_inset Formula
\begin{equation}
\begin{cases}
z_{1}=y_{1}-\frac{1}{2}y_{3}+\frac{1}{2}y_{4}\\
z_{2}=y_{2}\\
z_{3}=y_{3}+y_{4}\\
z_{4}=y_{4}
\end{cases}\label{eq:5.2-4}
\end{equation}
\end_inset
故标准形为
\begin_inset Formula $2z_{1}^{2}-2z_{2}^{2}-\frac{1}{2}z_{3}^{2}$
\end_inset
.
为求变换矩阵
\begin_inset Formula $C$
\end_inset
, 从 (
\begin_inset CommandInset ref
LatexCommand ref
reference "eq:5.2-4"
plural "false"
caps "false"
noprefix "false"
\end_inset
) 解出
\begin_inset Formula $y_{i}$
\end_inset
:
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
vspace{-4mm}
\end_layout
\end_inset
\begin_inset Formula
\[
\begin{cases}
y_{1}=z_{1}+\frac{1}{2}z_{3}-z_{4}\\
y_{2}=z_{2}\\
y_{3}=z_{3}-z_{4}\\
y_{4}=z_{4}
\end{cases}\xrightarrow{\text{ 代入 }(\ref{eq:5.2-3})}\begin{cases}
x_{1}=z_{1}+z_{2}+\frac{1}{3}z_{3}-z_{4}\\
x_{2}=z_{1}-z_{2}+\frac{1}{2}z_{3}-z_{4}.\\
x_{3}=z_{3}-z_{4}\\
x_{4}=z_{4}
\end{cases}
\]
\end_inset
于是
\begin_inset Formula $C=\begin{bmatrix}1 & 1 & 1/2 & -1\\
1 & -1 & 1/2 & -1\\
0 & 0 & 1 & -1\\
0 & 0 & 0 & 1
\end{bmatrix}$
\end_inset
, 所用线性变换为
\begin_inset Formula $x=Cz$
\end_inset
.
\end_layout
\end_deeper
\begin_layout Subsection
用初等变换化二次型为标准形
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用初等变换化二次型为标准形
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
设有可逆线性变换为
\begin_inset Formula $X=CY$
\end_inset
, 它把二次型
\begin_inset Formula $X^{T}AX$
\end_inset
化为标准形
\begin_inset Formula $Y^{T}BY$
\end_inset
, 则
\begin_inset Formula $C^{T}AC=B$
\end_inset
.
已知任一非奇异矩阵均可表示为若干个初等矩阵的乘积, 故存在初等矩阵
\begin_inset Formula $P_{1},P_{2},\cdots,P_{s}$
\end_inset
, 使
\begin_inset Formula $C=P_{1}P_{2}\cdots P_{s}$
\end_inset
, 于是
\begin_inset Formula
\begin{align*}
C & =EP_{1}P_{2}\cdots P_{s}\\
C^{T}AC & =P_{s}^{T}\cdots P_{2}^{T}P_{1}^{T}AP_{1}P_{2}\cdots P_{s}\\
& =\mathrm{diag}\left(\lambda_{1},\lambda_{2},\cdots,\lambda_{n}\right)\eqqcolon\Lambda.
\end{align*}
\end_inset
由此可见, 对
\begin_inset Formula $2n\times n$
\end_inset
矩阵
\begin_inset Formula $\begin{bmatrix}A\\
E
\end{bmatrix}$
\end_inset
施以相应于右乘
\begin_inset Formula $P_{1}P_{2}\cdots P_{s}$
\end_inset
的初等列变换
\begin_inset Note Note
status open
\begin_layout Plain Layout
初等变换细节解析
\end_layout
\end_inset
, 再对
\begin_inset Formula $A$
\end_inset
施以相应于左乘
\begin_inset Formula $P_{1}^{T},P_{2}^{T},\cdots,P_{s}^{T}$
\end_inset
的初等行变换, 则矩阵
\begin_inset Formula $A$
\end_inset
变为对角矩阵
\begin_inset Formula $B$
\end_inset
, 而单位矩阵
\begin_inset Formula $E$
\end_inset
就变为所要求的可逆矩阵
\begin_inset Formula $C$
\end_inset
.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用初等变换化二次型为标准形
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
\begin_inset Argument 1
status open
\begin_layout Plain Layout
E03
\end_layout
\end_inset
求一可逆线性变换将
\begin_inset Formula
\[
x_{1}^{2}+2x_{2}^{2}+x_{3}^{2}+2x_{1}x_{2}+2x_{1}x_{3}+4x_{2}x_{3}
\]
\end_inset
化为标准形.
\end_layout
\begin_layout Solution*
二次型对应的矩阵为
\begin_inset Formula $A=\begin{bmatrix}1 & 1 & 1\\
1 & 2 & 2\\
1 & 2 & 1
\end{bmatrix}$
\end_inset
, 利用初等变换, 有
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
vspace{-4mm}
\end_layout
\end_inset
\begin_inset Formula
\[
\begin{bmatrix}A\\
E
\end{bmatrix}=\begin{bmatrix}1 & 1 & 1\\
1 & 2 & 2\\
1 & 2 & 1\\
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & 1
\end{bmatrix}\boxed{\xrightarrow[c_{3}-c_{1}]{c_{2}-c_{1}}\begin{bmatrix}1 & 0 & 0\\
1 & 1 & 1\\
1 & 1 & 0\\
1 & -1 & -1\\
0 & 1 & 0\\
0 & 0 & 1
\end{bmatrix}\xrightarrow[r_{3}-r_{1}]{r_{2}-r_{1}}\begin{bmatrix}1 & 0 & 0\\
0 & 1 & 1\\
0 & 1 & 0\\
1 & -1 & -1\\
0 & 1 & 0\\
0 & 0 & 1
\end{bmatrix}}\xrightarrow[r_{3}-r_{2}]{c_{3}-c_{2}}\begin{bmatrix}1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & -1\\
1 & -1 & 0\\
0 & 1 & -1\\
0 & 0 & 1
\end{bmatrix},
\]
\end_inset
因此,
\begin_inset Formula $C=\begin{bmatrix}1 & -1 & 0\\
0 & 1 & -1\\
0 & 0 & 1
\end{bmatrix}$
\end_inset
,
\begin_inset Formula $|C|=1\neq0$
\end_inset
.
\begin_inset Formula $\begin{cases}
x_{1}=z_{1}-z_{2}\\
x_{2}=z_{2}-z_{3}\\
x_{3}=z_{3}
\end{cases}$
\end_inset
, 代入原二次型可得标准形
\begin_inset Formula $z_{1}^{2}+z_{2}^{2}-z_{3}^{2}$
\end_inset
.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
一个特殊的例子
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
求一可逆线性变换化
\begin_inset Formula $2x_{1}x_{2}+2x_{1}x_{3}-4x_{2}x_{3}$
\end_inset
为标准形.
\end_layout
\begin_layout Solution*
此二次型对应的矩阵为
\begin_inset Formula $A=\begin{bmatrix}0 & 1 & 1\\
1 & 0 & -2\\
1 & -2 & 0
\end{bmatrix}$
\end_inset
, 对矩阵
\begin_inset Formula $\begin{bmatrix}A\\
E
\end{bmatrix}$
\end_inset
做合同变换, 有
\begin_inset Formula
\begin{align*}
\begin{bmatrix}A\\
E
\end{bmatrix} & =\begin{bmatrix}0 & 1 & 1\\
1 & 0 & -2\\
1 & -2 & 0\\
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & 1
\end{bmatrix}\boxed{\xrightarrow{c_{1}+c_{2}}\begin{bmatrix}1 & 1 & 1\\
1 & 0 & -2\\
-1 & -2 & 0\\
1 & 0 & 0\\
1 & 1 & 0\\
0 & 0 & 1
\end{bmatrix}\xrightarrow{r_{1}+r_{2}}\begin{bmatrix}2 & 1 & -1\\
1 & 0 & -2\\
-1 & -2 & 0\\
1 & 0 & 0\\
1 & 1 & 0\\
0 & 0 & 1
\end{bmatrix}}\\
& \qquad\boxed{\xrightarrow[c_{3}-c_{1}/2]{c_{2}-c_{1}/2}\begin{bmatrix}2 & 0 & 0\\
1 & -1/2 & -3/2\\
-1 & -3/2 & -1/2\\
1 & -1/2 & 1/2\\
1 & 1/2 & 1/2\\
0 & 0 & 1
\end{bmatrix}\xrightarrow[r_{3}-r_{1}/2]{r_{2}-r_{1}/2}\begin{bmatrix}2 & 0 & 0\\
0 & -1/2 & -3/2\\
0 & -3/2 & -1/2\\
1 & -1/2 & 1/2\\
1 & 1/2 & 1/2\\
0 & 0 & 1
\end{bmatrix}}
\end{align*}
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
\begin_inset Formula
\begin{align*}
\begin{bmatrix}A\\
E
\end{bmatrix} & {\color{gray}\xrightarrow[r_{3}-r_{1}/2]{r_{2}-r_{1}/2}\begin{bmatrix}2 & 0 & 0\\
0 & -1/2 & -3/2\\
0 & -3/2 & -1/2\\
1 & -1/2 & 1/2\\
1 & 1/2 & 1/2\\
0 & 0 & 1
\end{bmatrix}}\xrightarrow{c_{3}-3c_{2}}\begin{bmatrix}2 & 0 & 0\\
0 & -1/2 & 0\\
0 & -3/2 & 4\\
1 & -1/2 & 2\\
1 & 1/2 & -1\\
0 & 0 & 1
\end{bmatrix}\xrightarrow{r_{3}-3r_{2}}\begin{bmatrix}2 & 0 & 0\\
0 & -1/2 & 0\\
0 & 0 & 4\\
1 & -1/2 & 2\\
1 & 1/2 & -1\\
0 & 0 & 1
\end{bmatrix}.
\end{align*}
\end_inset
所以
\begin_inset Formula $C=\begin{bmatrix}1 & -1/2 & 2\\
1 & 1/2 & -1\\
0 & 0 & 1
\end{bmatrix}$
\end_inset
,
\begin_inset Formula $|C|=1\neq0$
\end_inset
.
\begin_inset Formula $\begin{cases}
x_{1}=z_{1}-(1/2)z_{2}+2z_{3}\\
x_{2}=z_{1}+(1/2)z_{2}-z_{3}\\
x_{3}=z_{3}
\end{cases}$
\end_inset
, 代入原二次型可得标准形
\begin_inset Formula
\[
2z_{1}^{2}-(1/2)z_{2}^{2}+4z_{3}^{2}.
\]
\end_inset
\end_layout
\end_deeper
\begin_layout Subsection
用正交变换化二次型为标准型
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用正交变换化二次型为标准型
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Theorem
\begin_inset Formula $A$
\end_inset
为对称矩阵,
\begin_inset Formula $C$
\end_inset
为任一可逆矩阵, 令
\begin_inset Formula $B=C^{T}AC$
\end_inset
, 则
\begin_inset Formula $B$
\end_inset
也为对称矩阵, 且
\begin_inset Formula $r(B)=r(A)$
\end_inset
.
\end_layout
\begin_layout Remark*
(1) 二次型经可逆变换
\begin_inset Formula $X=CY$
\end_inset
后, 其秩不变, 但
\begin_inset Formula $f$
\end_inset
的矩阵由
\begin_inset Formula $A$
\end_inset
变为
\begin_inset Formula $B=C^{T}AC$
\end_inset
;
\end_layout
\begin_layout Remark*
(2) 要使二次型
\begin_inset Formula $f$
\end_inset
经可逆变换
\begin_inset Formula $X=CY$
\end_inset
变成标准形, 即要使
\begin_inset Formula $C^{T}AC$
\end_inset
成为对角矩阵, 即
\begin_inset Formula
\[
Y^{T}C^{T}ACY=\begin{bmatrix}y_{1} & y_{2} & \cdots & y_{n}\end{bmatrix}\begin{bmatrix}b_{1}\\
& b_{2}\\
& & \ddots\\
& & & b_{n}
\end{bmatrix}\begin{bmatrix}y_{1}\\
y_{2}\\
\vdots\\
y_{n}
\end{bmatrix}=b_{1}y_{1}^{2}+b_{2}y_{2}^{2}+\cdots+b_{n}y_{n}^{2}\text{. }
\]
\end_inset
\end_layout
\begin_layout Theorem
任给二次型
\begin_inset Formula $f=\sum_{i,j=1}^{n}a_{ij}x_{i}x_{j}$
\end_inset
, (
\begin_inset Formula $a_{ji}=a_{ij}$
\end_inset
), 总有正交变换
\begin_inset Formula $X=PY$
\end_inset
, 使
\begin_inset Formula $f$
\end_inset
化为标准形
\begin_inset Formula
\[
f=\lambda_{1}y_{1}^{2}+\lambda_{2}y_{2}^{2}+\cdots+\lambda_{n}y_{n}^{2},
\]
\end_inset
其中
\begin_inset Formula $\lambda_{1},\lambda_{2},\cdots,\lambda_{n}$
\end_inset
\begin_inset Formula $f$
\end_inset
的矩阵
\begin_inset Formula $A=\left(a_{ij}\right)$
\end_inset
的特征值.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用正交变换化二次型为标准形的步骤
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
用正交变换化二次型为标准形的步骤:
\end_layout
\begin_layout Standard
(1) 将二次型表成矩阵形式
\begin_inset Formula $f=X^{T}AX$
\end_inset
, 求出
\begin_inset Formula $A$
\end_inset
;
\end_layout
\begin_layout Standard
(2) 求出
\begin_inset Formula $A$
\end_inset
的所有特征值
\begin_inset Formula $\lambda_{1},\lambda_{2},\cdots,\lambda_{n}$
\end_inset
;
\end_layout
\begin_layout Standard
(3) 求出对应于特征值的特征向量
\begin_inset Formula $\xi_{1},\xi_{2},\cdots,\xi_{n}$
\end_inset
;
\end_layout
\begin_layout Standard
(4) 将特征向量
\begin_inset Formula $\xi_{1},\xi_{2},\cdots,\xi_{n}$
\end_inset
正交化, 单位化, 得
\begin_inset Formula $\eta_{1},\eta_{2},\cdots,\eta_{n}$
\end_inset
, 记
\begin_inset Formula $C=\left(\eta_{1},\eta_{2},\cdots,\eta_{n}\right)$
\end_inset
;
\end_layout
\begin_layout Standard
(5) 作正交变换
\begin_inset Formula $X=CY$
\end_inset
, 则得
\begin_inset Formula $f$
\end_inset
的标准形
\begin_inset Formula
\[
f=\lambda_{1}y_{1}^{2}+\lambda_{2}y_{2}^{2}+\cdots+\lambda_{n}y_{n}^{2}.
\]
\end_inset
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用正交变换将二次型化为标准形的例
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
\begin_inset Argument 1
status open
\begin_layout Plain Layout
E04
\end_layout
\end_inset
将二次型
\begin_inset Formula $f=17x_{1}^{2}+14x_{2}^{2}+14x_{3}^{2}-4x_{1}x_{2}-4x_{1}x_{3}-8x_{2}x_{3}$
\end_inset
通过正交变换
\begin_inset Formula $x=PY$
\end_inset
, 化成标准形.
\end_layout
\begin_layout Solution*
(1) 写出二次型矩阵:
\begin_inset Formula $A=\begin{bmatrix}17 & -2 & -2\\
-2 & 14 & -4\\
-2 & -4 & 14
\end{bmatrix}$
\end_inset
,
\end_layout
\begin_layout Solution*
(2) 求其特征值: 由
\end_layout
\begin_layout Solution*
\begin_inset Formula
\[
|\lambda E-A|=\begin{vmatrix}\lambda-17 & 2 & 2\\
2 & \lambda-14 & 4\\
2 & 4 & \lambda-14
\end{vmatrix}=(\lambda-18)^{2}(\lambda-9)\Longrightarrow\lambda_{1}=9,\ \lambda_{2}=\lambda_{3}=18.
\]
\end_inset
\end_layout
\begin_layout Solution*
(3) 求特征向量:
\end_layout
\begin_layout Solution*
\begin_inset Formula $\lambda_{1}=9$
\end_inset
代入
\begin_inset Formula $(\lambda E-A)x=0$
\end_inset
, 得基础解系
\begin_inset Formula $\xi_{1}=(1/2,1,1)^{T}$
\end_inset
.
\end_layout
\begin_layout Solution*
\begin_inset Formula $\lambda_{2}=\lambda_{3}=18$
\end_inset
代入
\begin_inset Formula $(\lambda E-A)x=0$
\end_inset
, 得基础解系
\begin_inset Formula $\xi_{2}=(-2,1,0)^{T}$
\end_inset
,
\begin_inset Formula $\xi_{3}=(-2,0,1)^{T}$
\end_inset
.
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
(4) 将特征向量正交化
\end_layout
\begin_layout Solution*
\begin_inset Formula $\alpha_{1}=\xi_{1}$
\end_inset
,
\begin_inset Formula $\alpha_{2}=\xi_{2}$
\end_inset
,
\begin_inset Formula $\alpha_{3}=\xi_{3}-\frac{\left[\alpha_{2},\xi_{3}\right]}{\left[\alpha_{2},\alpha_{2}\right]}\alpha_{2}$
\end_inset
, 得正交向量组:
\begin_inset Formula $\alpha_{1}=(1/2,1,1)^{T}$
\end_inset
,
\begin_inset Formula $\alpha_{2}=(-2,1,0)^{T}$
\end_inset
,
\begin_inset Formula $\alpha_{3}=(-2/5,-4/5,1)^{T}$
\end_inset
.
将其单位化得:
\end_layout
\begin_layout Solution*
\begin_inset Formula
\[
\eta_{1}=\begin{bmatrix}1/3\\
2/3\\
2/3
\end{bmatrix},\ \eta_{2}=\begin{bmatrix}-2/\sqrt{5}\\
1/\sqrt{5}\\
0
\end{bmatrix},\ \eta_{3}=\begin{bmatrix}-2/\sqrt{45}\\
-4/\sqrt{45}\\
5/\sqrt{45}
\end{bmatrix}.
\]
\end_inset
作正交矩阵:
\begin_inset Formula $P=\begin{bmatrix}1/3 & -2/\sqrt{5} & -2/\sqrt{45}\\
2/3 & 1/\sqrt{5} & -4/\sqrt{45}\\
2/3 & 0 & 5/\sqrt{45}
\end{bmatrix}$
\end_inset
.
\end_layout
\begin_layout Solution*
(5) 故所求正交变换为
\begin_inset Formula $\begin{bmatrix}x_{1}\\
x_{2}\\
x_{3}
\end{bmatrix}=\begin{bmatrix}1/3 & -2/\sqrt{5} & -2/\sqrt{45}\\
2/3 & 1/\sqrt{5} & -4/\sqrt{45}\\
2/3 & 0 & 5/\sqrt{45}
\end{bmatrix}\begin{bmatrix}y_{1}\\
y_{2}\\
y_{3}
\end{bmatrix}$
\end_inset
, 在此变换下原二次型化为标准形:
\begin_inset Formula $f=9y_{1}^{2}+18y_{2}^{2}+18y_{3}^{2}$
\end_inset
.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
用正交变换将二次型化为标准形的例
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
\begin_inset Formula $f=2x_{1}x_{2}+2x_{1}x_{3}-2x_{1}x_{4}-2x_{2}x_{3}+2x_{2}x_{4}+2x_{3}x_{4}$
\end_inset
, 求一个正交变换
\begin_inset Formula $X=PY$
\end_inset
, 把该二次型化为标准形.
\end_layout
\begin_layout Solution*
二次型的矩阵为
\begin_inset Formula $A=\begin{bmatrix}0 & 1 & 1 & -1\\
1 & 0 & -1 & 1\\
1 & -1 & 0 & 1\\
-1 & 1 & 1 & 0
\end{bmatrix}$
\end_inset
, 其特征多项式为
\begin_inset Formula
\[
\begin{aligned}|A-\lambda E| & =\begin{vmatrix}-\lambda & 1 & 1 & -1\\
1 & -\lambda & -1 & 1\\
1 & -1 & -\lambda & 1\\
-1 & 1 & 1 & -\lambda
\end{vmatrix}=(-\lambda+1)\begin{vmatrix}1 & 1 & 1 & -1\\
1 & -\lambda & -1 & 1\\
1 & -1 & -\lambda & 1\\
1 & 1 & 1 & -\lambda
\end{vmatrix}=(-\lambda+1)\begin{vmatrix}\boxed{1} & 1 & 1 & -1\\
0 & -\lambda-1 & -2 & 2\\
0 & -2 & -\lambda-1 & 2\\
0 & 0 & 0 & \boxed{-\lambda+1}
\end{vmatrix}\\
& =(-\lambda+1)^{2}\begin{vmatrix}-\lambda-1 & -2\\
-2 & -\lambda-1
\end{vmatrix}=(-\lambda+1)^{2}\left(\lambda^{2}+2\lambda-3\right)=(\lambda+3)(\lambda-1)^{3}.
\end{aligned}
\]
\end_inset
\begin_inset Formula $A$
\end_inset
的特征值
\begin_inset Formula $\lambda_{1}=-3$
\end_inset
,
\begin_inset Formula $\lambda_{2}=\lambda_{3}=\lambda_{4}=1$
\end_inset
.
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
\begin_inset Formula $\lambda_{1}=-3$
\end_inset
时, 解方程
\begin_inset Formula $(A+3E)x=0$
\end_inset
, 得基础解系
\begin_inset Formula $\xi_{1}=\begin{bmatrix}1\\
-1\\
-1\\
1
\end{bmatrix}$
\end_inset
,
\end_layout
\begin_layout Solution*
\begin_inset Formula $\lambda_{2}=\lambda_{3}=\lambda_{4}=1$
\end_inset
时, 解方程
\begin_inset Formula $(A-E)x=0$
\end_inset
, 可得正交的基础解系
\begin_inset Formula
\[
\xi_{2}=\begin{bmatrix}1\\
1\\
0\\
0
\end{bmatrix},\ \xi_{3}=\begin{bmatrix}0\\
0\\
1\\
1
\end{bmatrix},\ \xi_{4}=\begin{bmatrix}1\\
-1\\
1\\
-1
\end{bmatrix}.
\]
\end_inset
单位化得
\begin_inset Formula
\[
P_{1}=\frac{1}{2}\begin{bmatrix}1\\
-1\\
-1\\
1
\end{bmatrix},\ P_{2}=\begin{bmatrix}1/\sqrt{2}\\
1/\sqrt{2}\\
0\\
0
\end{bmatrix},\ P_{3}=\begin{bmatrix}0\\
0\\
1/\sqrt{2}\\
1/\sqrt{2}
\end{bmatrix},\ P_{4}=\begin{bmatrix}1/2\\
-1/2\\
1/2\\
-1/2
\end{bmatrix}.
\]
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Solution*
\begin_inset Formula
\[
P_{1}=\frac{1}{2}\begin{bmatrix}1\\
-1\\
-1\\
1
\end{bmatrix},\ P_{2}=\begin{bmatrix}1/\sqrt{2}\\
1/\sqrt{2}\\
0\\
0
\end{bmatrix},\ P_{3}=\begin{bmatrix}0\\
0\\
1/\sqrt{2}\\
1/\sqrt{2}
\end{bmatrix},\ P_{4}=\begin{bmatrix}1/2\\
-1/2\\
1/2\\
-1/2
\end{bmatrix}.
\]
\end_inset
构成的正交变换为
\begin_inset Formula
\[
\begin{bmatrix}x_{1}\\
x_{2}\\
x_{3}\\
x_{4}
\end{bmatrix}=\begin{bmatrix}1/2 & 1/\sqrt{2} & 0 & 1/2\\
-1/2 & 1/\sqrt{2} & 0 & -1/2\\
-1/2 & 0 & 1/\sqrt{2} & 1/2\\
1/2 & 0 & 1/\sqrt{2} & -1/2
\end{bmatrix}\begin{bmatrix}y_{1}\\
y_{2}\\
y_{3}\\
y_{4}
\end{bmatrix}.
\]
\end_inset
在此变换下原二次型化为标准形
\begin_inset Formula $f=-3y_{1}^{2}+y_{2}^{2}+y_{3}^{2}+y_{4}^{2}$
\end_inset
.
\end_layout
\end_deeper
\begin_layout Subsection
二次型与对称矩阵的规范形
\end_layout
\begin_layout Frame
\begin_inset Argument 3
status open
\begin_layout Plain Layout
allowframebreaks
\end_layout
\end_inset
\begin_inset Argument 4
status open
\begin_layout Plain Layout
二次型与对称矩阵的规范形
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
将二次型化为平方项的代数和形式后, 如有必要可重新安排各项的次序 (相当于作一次可逆线性变换), 使这个标准形为
\begin_inset Formula
\[
d_{1}x_{1}^{2}+\cdots+d_{p}x_{p}^{2}-d_{p+1}x_{p+1}^{2}-\cdots-d_{r}x_{r}^{2},
\]
\end_inset
其中
\begin_inset Formula $d_{i}>0$
\end_inset
, (
\begin_inset Formula $i=1,2,\cdots,r$
\end_inset
).
\end_layout
\begin_layout Theorem
任何二次型都可通过可逆线性变换化为规范形, 且规范形是由二次型本身唯一决定的形式, 与所作的可逆线性变换无关.
\end_layout
\begin_layout Remark*
\bar under
规范形中的正项个
\series bold
\begin_inset Formula $p$
\end_inset
称为二次型的正惯性指数
\series default
\bar default
,
\bar under
负项个
\series bold
\begin_inset Formula $r-p$
\end_inset
称为二次型的负惯性指数
\series default
\bar default
,
\series bold
\bar under
\begin_inset Formula $r$
\end_inset
是二次型的秩
\series default
\bar default
.
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Remark*
任何合同的对称矩阵具有相同的规范形
\begin_inset Formula $\begin{bmatrix}E_{p} & 0 & 0\\
0 & -E_{r-p} & 0\\
0 & 0 & 0
\end{bmatrix}$
\end_inset
.
\end_layout
\begin_layout Theorem
\begin_inset Formula $A$
\end_inset
为任意对称矩阵, 如果存在可逆矩阵
\begin_inset Formula $C,Q$
\end_inset
, 且
\begin_inset Formula $C\neq Q$
\end_inset
, 使得
\begin_inset Formula
\[
C^{T}AC=\begin{bmatrix}E_{p} & 0 & 0\\
0 & -E_{r-p} & 0\\
0 & 0 & 0
\end{bmatrix},\quad Q^{T}AQ=\begin{bmatrix}E_{q} & 0 & 0\\
0 & -E_{r-q} & 0\\
0 & 0 & 0
\end{bmatrix}.
\]
\end_inset
\begin_inset Formula $p=q$
\end_inset
.
\end_layout
\begin_layout Remark*
说明二次型的正惯性指数、负惯性指数是被二次型本身唯一确定的.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
例子
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
将标准型
\begin_inset Formula $2y_{1}^{2}-2y_{2}^{2}-\frac{1}{2}y_{3}^{2}$
\end_inset
规范化.
\end_layout
\begin_layout Solution*
\begin_inset Formula
\[
2y_{1}^{2}-2y_{2}^{2}-\frac{1}{2}y_{3}^{2}=\left(\sqrt{2}y_{1}\right)^{2}-\left(\sqrt{2}y_{2}\right)^{2}-\left(\frac{1}{\sqrt{2}}y_{3}\right)^{2},
\]
\end_inset
假如做变换:
\begin_inset Formula $\begin{cases}
w_{1}=\sqrt{2}y_{1}\\
w_{2}=\sqrt{2}y_{2}\\
w_{3}=\frac{1}{\sqrt{2}}y_{3}
\end{cases}$
\end_inset
, 则原二次型就成为
\begin_inset Formula $w_{1}^{2}-w_{2}^{2}-w_{3}^{2}$
\end_inset
, 就为所求规范标准形.
\end_layout
\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
例子
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Example
\begin_inset Argument 1
status open
\begin_layout Plain Layout
E05
\end_layout
\end_inset
化二次型
\begin_inset Formula $f=2x_{1}x_{2}+2x_{1}x_{3}-6x_{2}x_{3}$
\end_inset
为规范形, 并求其正惯性指数.
\end_layout
\begin_layout Solution*
由例
\begin_inset CommandInset ref
LatexCommand ref
reference "exa:5.2-3"
plural "false"
caps "false"
noprefix "false"
\end_inset
知,
\begin_inset Formula $f$
\end_inset
经线性变换
\begin_inset Formula $\begin{cases}
x_{1}=z_{1}+z_{2}+3z_{3}\\
x_{2}=z_{1}-z_{2}-z_{3}\\
x_{3}=y_{3}
\end{cases}$
\end_inset
, 化为标准形
\begin_inset Formula $f=2z_{1}^{2}-2z_{2}^{2}+6z_{3}^{2}$
\end_inset
.
\begin_inset Formula $\begin{cases}
w_{1}=\sqrt{2}z_{1}\\
w_{3}=\sqrt{2}z_{2},\\
w_{2}=\sqrt{6}z_{3}
\end{cases}$
\end_inset
\begin_inset Formula $\begin{cases}
z_{1}=\frac{1}{\sqrt{2}}w_{1}\\
z_{2}=\frac{1}{\sqrt{2}}w_{3}\\
z_{3}=\frac{1}{\sqrt{6}}w_{2}
\end{cases}$
\end_inset
, 就把
\begin_inset Formula $f$
\end_inset
化成规范形
\begin_inset Formula $f=w_{1}^{2}+w_{2}^{2}-w_{3}^{2}$
\end_inset
, 且
\begin_inset Formula $f$
\end_inset
的正惯性指数为
\begin_inset Formula $2$
\end_inset
.
\end_layout
\end_deeper
\begin_layout Subsection
作业
\end_layout
\begin_layout Frame
\begin_inset Argument 4
status open
\begin_layout Plain Layout
作业
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Solution
求一正交变换, 将二次型
\begin_inset Formula
\[
f\left(x_{1},x_{2},x_{3}\right)=5x_{1}^{2}+5x_{2}^{2}+3x_{3}^{2}-2x_{1}x_{2}+6x_{1}x_{3}-6x_{2}x_{3}
\]
\end_inset
化为标准型, 并指出
\begin_inset Formula $f\left(x_{1},x_{2},x_{3}\right)=1$
\end_inset
表示何种二次曲面.
\end_layout
\end_deeper
\begin_layout Frame
\end_layout
\end_body
\end_document

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/larryleifeng-linear-algebra-lecture.git
git@api.gitlife.ru:oschina-mirror/larryleifeng-linear-algebra-lecture.git
oschina-mirror
larryleifeng-linear-algebra-lecture
larryleifeng-linear-algebra-lecture
master