Numerical Solution of Linear Systems(121-156)

Numerical Solution of Linear Systems(121-156)

ID:37582905

大小:643.56 KB

页数:36页

时间:2019-05-25

Numerical Solution of Linear Systems(121-156)_第1页
Numerical Solution of Linear Systems(121-156)_第2页
Numerical Solution of Linear Systems(121-156)_第3页
Numerical Solution of Linear Systems(121-156)_第4页
Numerical Solution of Linear Systems(121-156)_第5页
资源描述:

《Numerical Solution of Linear Systems(121-156)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、5NumericalSolutionofLinearSystemsInthischapterwepresentseveralmethodsforsolvinglinearsystemsoftheformAx=b.HereAisa(m×m)matrixandbothxandbarem-dimensionalvectors.OurinterestinlinearsystemsisrelatedtothesolutionofPDEsandthereforewewillconsiderthecasewherethecoefficien

2、tmatrixAistridiagonal,i.e.,⎡⎤a1c1000⎢....⎥⎢b2a2..0⎥⎢⎥A=⎢.........0⎥.⎢0⎥⎢⎣....⎥⎦0..am−1cm−1000bmamInthefollowingwewilladoptthenotationtridiag({bi}i=2,...,n,{ai}i=1,...,n,{ci}i=1,...,n)todenoteatridiagonalmatrixwithdiagonalentriesgivenrespectivelyby{bi}i=2,...,n,{ai}

3、i=1,...,n,{ci}i=1,...,n.Asashorthandnotation,wewillalsowritetridiag(bi,ai,ci).Iftheentriesdonotdependontheindexi,wejustwritetridiag(b,a,c).Inthepreviouschapter,wesawthatwhenwedealwiththeimplicitortheCrank–NicolsondiscretizationofaPDE,wehavetosolveasystemoflinearequ

4、a-tionsateachtimestep.Inprinciple,ifwecomputetheinverseA−1,assumingthatitexists,thenthesolutionofthelinearsystemcanbeobtainedbymatrixvectormul-tiplication,x=A−1b.Indeed,thiswouldrequireanumberO(m3)ofoperations,towhichweaddfurtherO(m2)arithmeticoperationsformultiply

5、ingtheresultinginversematrixbyvectorb.TheproblemwithmatrixinversionisthatwelosethetridiagonalstructureofA,seeFig.5.1.Therefore,storagerequirementsofAforlargeenoughvaluesofmcanalsobecomeanissue.Fortunately,whenthematrixAhasatridiagonalstructure,wehavehighlyeffi-cient

6、algorithmsexploitingthisparticularstructureinthesolutionofthelinearsys-tematourdisposal.Therefore,inthischapter,wewillfocusourattentiononthesolutionoflinearsystemswherethecoefficientmatrixAistridiagonal.Wewilldis-tinguishbetweendirectanditerativemethods.Theformerpro

7、videasolutioninafinitenumberofsteps,i.e.theywillcomeuptoanexactsolutionofthelinearsys-teminasmanyasO(m)operations:astrikingimprovementwithrespecttomatrix1225NumericalSolutionofLinearSystemsFig.5.1.Thestructureofa(5×5)tridiagonalmatrixandthenon-sparsenessofitsinverse

8、.inversion.Iterativemethodsbeginwithaninitialvectorx(0)andgenerateasequenceofvectorsx(1),...,x(k),...whichconvergetowardthedesiredsolutionask→∞.T

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。