x 2 b 1 b 2 b 3. x 1 x 3 c n 2 d n 1 e n 1 x n 1 b n 1 5 c n 1 d n x n b n

Size: px
Start display at page:

Download "x 2 b 1 b 2 b 3. x 1 x 3 c n 2 d n 1 e n 1 x n 1 b n 1 5 c n 1 d n x n b n"

Transcription

1 Tridiagonal linear systems <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> A<latexit sha1_base"l0wayqpxyx9f+fympjah9r0ovc">aaacknicbvbns8naenwenpxpzliknkoiiipepfa0kjrfnptpurjzhnjwkj/glf9ffat8wrp8rtmotphhvjlhr0wk8kgwdufmfxaxlyoqura+sbm1xb01aathgqu0fmgnskgihqanmqawhbluwseluf/ucbqrqbrbfgadhmvkdavnakxrc9d9kpdw8m+pfjamreshbacarcnpe1dijtomxszdgqmuxajazfidwsmpiypyqlodpfonfbtfkhhtptqwqjpwf8uldgmnrmmhymo9kfhfr1j9rtcjxlcippdnvzstgli+m0ehoyrljgthfw8xztjaonxawmoxvjrwgqxvbzrpzocszulj+jcwzlwhvpofkcqrfeoboj+bv/soqyf1fro1qjuczzibtkjxwqnyqbrkktdiinmtklbyrd+fd+xsgztdkdmpdbifjzvhzfepp0</latexit> <latexit sha1_base"l0wayqpxyx9f+fympjah9r0ovc">aaacknicbvbns8naenwenpxpzliknkoiiipepfa0kjrfnptpurjzhnjwkj/glf9ffat8wrp8rtmotphhvjlhr0wk8kgwdufmfxaxlyoqura+sbm1xb01aathgqu0fmgnskgihqanmqawhbluwseluf/ucbqrqbrbfgadhmvkdavnakxrc9d9kpdw8m+pfjamreshbacarcnpe1dijtomxszdgqmuxajazfidwsmpiypyqlodpfonfbtfkhhtptqwqjpwf8uldgmnrmmhymo9kfhfr1j9rtcjxlcippdnvzstgli+m0ehoyrljgthfw8xztjaonxawmoxvjrwgqxvbzrpzocszulj+jcwzlwhvpofkcqrfeoboj+bv/soqyf1fro1qjuczzibtkjxwqnyqbrkktdiinmtklbyrd+fd+xsgztdkdmpdbifjzvhzfepp0</latexit> <latexit sha1_base"l0wayqpxyx9f+fympjah9r0ovc">aaacknicbvbns8naenwenpxpzliknkoiiipepfa0kjrfnptpurjzhnjwkj/glf9ffat8wrp8rtmotphhvjlhr0wk8kgwdufmfxaxlyoqura+sbm1xb01aathgqu0fmgnskgihqanmqawhbluwseluf/ucbqrqbrbfgadhmvkdavnakxrc9d9kpdw8m+pfjamreshbacarcnpe1dijtomxszdgqmuxajazfidwsmpiypyqlodpfonfbtfkhhtptqwqjpwf8uldgmnrmmhymo9kfhfr1j9rtcjxlcippdnvzstgli+m0ehoyrljgthfw8xztjaonxawmoxvjrwgqxvbzrpzocszulj+jcwzlwhvpofkcqrfeoboj+bv/soqyf1fro1qjuczzibtkjxwqnyqbrkktdiinmtklbyrd+fd+xsgztdkdmpdbifjzvhzfepp0</latexit> <latexit sha1_base"l0wayqpxyx9f+fympjah9r0ovc">aaacknicbvbns8naenwenpxpzliknkoiiipepfa0kjrfnptpurjzhnjwkj/glf9ffat8wrp8rtmotphhvjlhr0wk8kgwdufmfxaxlyoqura+sbm1xb01aathgqu0fmgnskgihqanmqawhbluwseluf/ucbqrqbrbfgadhmvkdavnakxrc9d9kpdw8m+pfjamreshbacarcnpe1dijtomxszdgqmuxajazfidwsmpiypyqlodpfonfbtfkhhtptqwqjpwf8uldgmnrmmhymo9kfhfr1j9rtcjxlcippdnvzstgli+m0ehoyrljgthfw8xztjaonxawmoxvjrwgqxvbzrpzocszulj+jcwzlwhvpofkcqrfeoboj+bv/soqyf1fro1qjuczzibtkjxwqnyqbrkktdiinmtklbyrd+fd+xsgztdkdmpdbifjzvhzfepp0</latexit> x<latexit sha1_base"tkaukemcfzglu+ienlzdq9c">aaacmicbzdnssnaemcfhu/nr0slgetyurrb0vvhisyfvostlsjunizhnj9os+hpe9sl8f8gtepudhc1dow8oc/m8zml8ylmohb8ctlyyurauruxubw9unwbkxwaatnslmxmgbqkihqwlugawhhnvw/mjcv0abusmrngyqzdlirkxaytfqqpwylor/yqda/htyloc8mmqwrvvqqvrxosufhljjonxodkmkuxmlidqodoepligolyqlylrlogrpbboronm1rij+pizklxgzt0haojzr/apzv1qnwpiswwqvfwiktxffhasy0tebggknhoxqcsa1sldsmeacbscmcahagsjcbwgafrwtlcdc/fpn+gwg0okjgwzjapewsr8trf8vsnrpmqcn/yrqzocorvbipjkkpjkltxjjwqrnomnjekml8r8+8oj/t1gvnnrnlfoxz9qrr0</latexit> <latexit sha1_base"tkaukemcfzglu+ienlzdq9c">aaacmicbzdnssnaemcfhu/nr0slgetyurrb0vvhisyfvostlsjunizhnj9os+hpe9sl8f8gtepudhc1dow8oc/m8zml8ylmohb8ctlyyurauruxubw9unwbkxwaatnslmxmgbqkihqwlugawhhnvw/mjcv0abusmrngyqzdlirkxaytfqqpwylor/yqda/htyloc8mmqwrvvqqvrxosufhljjonxodkmkuxmlidqodoepligolyqlylrlogrpbboronm1rij+pizklxgzt0haojzr/apzv1qnwpiswwqvfwiktxffhasy0tebggknhoxqcsa1sldsmeacbscmcahagsjcbwgafrwtlcdc/fpn+gwg0okjgwzjapewsr8trf8vsnrpmqcn/yrqzocorvbipjkkpjkltxjjwqrnomnjekml8r8+8oj/t1gvnnrnlfoxz9qrr0</latexit> <latexit sha1_base"tkaukemcfzglu+ienlzdq9c">aaacmicbzdnssnaemcfhu/nr0slgetyurrb0vvhisyfvostlsjunizhnj9os+hpe9sl8f8gtepudhc1dow8oc/m8zml8ylmohb8ctlyyurauruxubw9unwbkxwaatnslmxmgbqkihqwlugawhhnvw/mjcv0abusmrngyqzdlirkxaytfqqpwylor/yqda/htyloc8mmqwrvvqqvrxosufhljjonxodkmkuxmlidqodoepligolyqlylrlogrpbboronm1rij+pizklxgzt0haojzr/apzv1qnwpiswwqvfwiktxffhasy0tebggknhoxqcsa1sldsmeacbscmcahagsjcbwgafrwtlcdc/fpn+gwg0okjgwzjapewsr8trf8vsnrpmqcn/yrqzocorvbipjkkpjkltxjjwqrnomnjekml8r8+8oj/t1gvnnrnlfoxz9qrr0</latexit> <latexit sha1_base"tkaukemcfzglu+ienlzdq9c">aaacmicbzdnssnaemcfhu/nr0slgetyurrb0vvhisyfvostlsjunizhnj9os+hpe9sl8f8gtepudhc1dow8oc/m8zml8ylmohb8ctlyyurauruxubw9unwbkxwaatnslmxmgbqkihqwlugawhhnvw/mjcv0abusmrngyqzdlirkxaytfqqpwylor/yqda/htyloc8mmqwrvvqqvrxosufhljjonxodkmkuxmlidqodoepligolyqlylrlogrpbboronm1rij+pizklxgzt0haojzr/apzv1qnwpiswwqvfwiktxffhasy0tebggknhoxqcsa1sldsmeacbscmcahagsjcbwgafrwtlcdc/fpn+gwg0okjgwzjapewsr8trf8vsnrpmqcn/yrqzocorvbipjkkpjkltxjjwqrnomnjekml8r8+8oj/t1gvnnrnlfoxz9qrr0</latexit> b<latexit sha1_base"orobbvdflaozwqrnvx0nyisye">aaacmxicbvbns8naenbfxq9hlyhe8luqu9vbwrgcvbepzbozpiubtdidqcx0xjvx+gf0zn9u+/tiodwdg8wagee+furqgpe/nmztfwfxaxll119ynrcq1dqvyqrnoc0zmembkbmqqkebbuqytwwnjrwhddjebx9cnynqldnlopixrihacoavugrhpzlcnir1lgnyc/wpqjnptxpvpxzegs9sumglmbjezlszrcaldnygmizfsqqfiqwgumwy8ldumezimaztqqjtmffyvljrmkod0cstr/zypyv1mnwpikwwqvfwiktxfhasy0zf/ggknhoxaasa1sfopzpnonqumcajvalc8dhed8ejh9uxj9cvpxawgcuinnasssdsiumjtdh/m9ksab80thv+xwg9zzguujyczjzjk1ytlqktthrik8kxfn1xlppzpyeqcmzjr/k+fogdrwqtg</latexit> <latexit sha1_base"orobbvdflaozwqrnvx0nyisye">aaacmxicbvbns8naenbfxq9hlyhe8luqu9vbwrgcvbepzbozpiubtdidqcx0xjvx+gf0zn9u+/tiodwdg8wagee+furqgpe/nmztfwfxaxll119ynrcq1dqvyqrnoc0zmembkbmqqkebbuqytwwnjrwhddjebx9cnynqldnlopixrihacoavugrhpzlcnir1lgnyc/wpqjnptxpvpxzegs9sumglmbjezlszrcaldnygmizfsqqfiqwgumwy8ldumezimaztqqjtmffyvljrmkod0cstr/zypyv1mnwpikwwqvfwiktxfhasy0zf/ggknhoxaasa1sfopzpnonqumcajvalc8dhed8ejh9uxj9cvpxawgcuinnasssdsiumjtdh/m9ksab80thv+xwg9zzguujyczjzjk1ytlqktthrik8kxfn1xlppzpyeqcmzjr/k+fogdrwqtg</latexit> <latexit sha1_base"orobbvdflaozwqrnvx0nyisye">aaacmxicbvbns8naenbfxq9hlyhe8luqu9vbwrgcvbepzbozpiubtdidqcx0xjvx+gf0zn9u+/tiodwdg8wagee+furqgpe/nmztfwfxaxll119ynrcq1dqvyqrnoc0zmembkbmqqkebbuqytwwnjrwhddjebx9cnynqldnlopixrihacoavugrhpzlcnir1lgnyc/wpqjnptxpvpxzegs9sumglmbjezlszrcaldnygmizfsqqfiqwgumwy8ldumezimaztqqjtmffyvljrmkod0cstr/zypyv1mnwpikwwqvfwiktxfhasy0zf/ggknhoxaasa1sfopzpnonqumcajvalc8dhed8ejh9uxj9cvpxawgcuinnasssdsiumjtdh/m9ksab80thv+xwg9zzguujyczjzjk1ytlqktthrik8kxfn1xlppzpyeqcmzjr/k+fogdrwqtg</latexit> <latexit sha1_base"orobbvdflaozwqrnvx0nyisye">aaacmxicbvbns8naenbfxq9hlyhe8luqu9vbwrgcvbepzbozpiubtdidqcx0xjvx+gf0zn9u+/tiodwdg8wagee+furqgpe/nmztfwfxaxll119ynrcq1dqvyqrnoc0zmembkbmqqkebbuqytwwnjrwhddjebx9cnynqldnlopixrihacoavugrhpzlcnir1lgnyc/wpqjnptxpvpxzegs9sumglmbjezlszrcaldnygmizfsqqfiqwgumwy8ldumezimaztqqjtmffyvljrmkod0cstr/zypyv1mnwpikwwqvfwiktxfhasy0zf/ggknhoxaasa1sfopzpnonqumcajvalc8dhed8ejh9uxj9cvpxawgcuinnasssdsiumjtdh/m9ksab80thv+xwg9zzguujyczjzjk1ytlqktthrik8kxfn1xlppzpyeqcmzjr/k+fogdrwqtg</latexit> A tridiagonal linear system of equations takes the form: d 1 e 1 c 1 d e c d e c n d n 1 e n 1 x x x n 1 b 1 b b b n 1 c n 1 d n x n b n The name tridiagonal comes from the fact that there are at most three non-zero entries per row of the coefficient matrix, and these entries can only appear on the main diagonal, sub-diagonal, and super-diagonal These systems appear in many applications

2 Example: multistage countercurrent extractor (W + Sm) Sm 0 0 W (W + Sm) Sm 0 0 W (W + Sm) Sm 0 0 W (W + Sm) x x x Wx in 0 0 Sy in Example: n, W 1, S, m, x in 01, y in 0 Model problem from previous lecture

3 Example: multistage countercurrent extractor <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> Model problem from previous lecture Example: System for a general n <latexit sha1_base"xpbzubzpvafjyrcabtemei">aaacxxicbzdpbtnaemybtpisknlgqoxfsksp8ioqlq9vaqqobzbakuisbrsbpq/rfx9diyovwnlcgdjudgodcwoxzkbfzc+vlfsujl90yohjadxhtafjrx989bzxasfckusuc/copmexsvjwtsensu8yk/ovvlb+i8toyllwqcaqimlkuactas/zyzvpocdwwe1sxydr0lxcqn/vpcempfwceavgnsg+kejgf9qtjmuulrboraap89l+yarrgh0ybekvj+ksutfhxjeblirpfygiccidbgtdoppk/dkrnvfaqxz/91oqxu/0hmy1ebzfemv/xmzruhk1baeqg0ih1unkotpavwpfcohskfkgacdlcysuchagkropmy8btkpqhbvvsggttpbvz/ojytyxjnjmokiycroyukkzmd0x9hwejh+gg1orxuco+wle8xesjs9zfsiztnyybydbdfrjfvt/rvrqba1ho9mzmvdglvxtq</latexit> d 1 e 1 c 1 d e c d e c n d n 1 e n 1 x x x n 1 b 1 b b b n 1 c j W, j 1,,n 1, d j (W + Sm), j1,,n, e j Sm, j 1,,n 1, b 1 Wx in, b j 0,j,,n 1, b n Sy in c n 1 d n x n b n

4 Solving tridiagonal linear systems <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> Tridiagonal linear systems can be solved very efficiently by using a special version of the Gaussian elimination algorithm This algorithm is called the Thomas algorithm (or sometime Crout) Key ideas of the algorithm: 1 Reduction to upper triangular form only requires eliminating c j terms Resulting upper triangular matrix only has two non-zeros per row Augmented system d 1 e 1 b 1 c 1 d e b c d e b c n d n 1 e n 1 b n 1 c n 1 d n b n Step 1: upper triangular form for i 1ton µ c i /d i d i+1 d i+1 b i+1 b i+1 end 1do µe i µb i

5 Solving tridiagonal linear systems <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> Tridiagonal linear systems can be solved very efficiently by using a special version of the Gaussian elimination algorithm This algorithm is called the Thomas algorithm (or sometime Crout) Key ideas of the algorithm: 1 Reduction to upper triangular form only requires eliminating c j terms Resulting upper triangular matrix only has two non-zeros per row Upper triangular system (row echelon form) d 1 e 1 b 1 d e b d e b d n 1 e n 1 b n 1 d n b n Step : Back substitution x n b n /d n for i n 1to1do x i (b i e i x i+1 )/d i end

6 Solving tridiagonal linear systems: recap <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"bekrhueniaoqsftloik+wewkw">aaadahichzlnjtmwemedlo8lfgxa0jcrkoulbqkxabaehemiuxaluqocepamzirpvmoqhhp+ekbbl8b1gmikzfror9nfmopjxmxqbihpkot0bn/drstr1/8hd/dbjuxrsbegluzmnuivuajqgwhfpcam/ifmiifr+nklgkty/rfxbcwynmi1uikjc81wvuwwgkniyshubrixvbvxyngvoolpoidij8ndmvgquhdcjyygglgkbarxeledjjwgheddcitmkdrfdhs9of/gu/cgeq/gnw+ckeihfyv8wnudbjkjj0c1t0cblmdqmzussrzon/vd+guhvebwit1odr0/ydixzqyarcqtnubdamdux1qibbdzaahgoinmhvs8wzsrpj/uqbpnefsrwcqfzgxtnrv1nsyizj0ug1srytmsf9nldjfiabfc9citcnmdd0vcodatove1wywqlysknf+igkqwotpbjcvq/icnv01qvldtmljnmdckzpela+jlkapbsqjqojn0frh+p+yxhbzjylbysyqir8gjeu9oyysifvwpfgr/oz8vajtpgrqttdmpyjz1d/8aa+r8ba</latexit> <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"awdxcd0djfmr9n1glmmnmw0">aaadshicdzlljtmwfiaddjchxobceglzvizyudxtigaehuwg0szkeqqcpzt1brhieytgspkydowhafgcxgmvogdrhnefjjfp9vt8+8ymtukmlg8hinydvgzd1b0e0d+/tr8cvrnfzqsmraekcwc0pqgknebeelazncssi1crfnyjxspcv8vlcdocz1ropedourodcftmmdjxblipkmxzz1kknjkj0llmjyj99+rudljkvppbojcimov/siejyflrgry1nkvpgxzdraa9jpo9l/jtqrwounceor/lfjq9amnvvskera1dyiykdkcp9fsvzfodzqqyluri90ceoesjsqlqabskwzujbyvobohqkcwhokczzbxuvmcltfkhj10mpfpcuecj9dn1ftxprvmixpmhbdms/ktcucvprxuzywgrvtoximkbv1dcpkawlv0gkujhtfsswcgyqxziwxaseqbncbwvu1enfib1xnnaucimiiizpasg9t0xuxuzvtee9l/zfhvzpjrpafrjqmdwnj+q1osvjiojpwefgs/a1/bb+ch+gv1prghrrponal/awjm8ke</latexit> <latexit sha1_base"gzpkouyg+atfnkanrovtuasqk">aaackicbvfnb9qwepwgrxi+ui1sl1wsviakllvsfqgcshvwijujjzwwq9wjjobdeoqt0bvkn+i9f+kvby1epxjj0vnmxpmhq0miqnpw8gzdvbzcde/d//bw8+1vzmdgwfjkkjfhebegpiyxslrwxbjgwatgkdrophp8bymetvucxgmvfeykuhb01d1patryhiptuogsnjy+poyvd1przjwlfrkf+s0/ielrurftc9uazv0jqbu0omhzt0bvsxvxzfxcmglxqydswib0ctjbmzobdlbhqftzowqdaacunsqgg8vlpoedihccwcvdzdoy0wpns0keoiek8n+opcvykxfmuxweqymle1vryf9pkxlnbav1ewjomw0bxufhpaokxjaucgwjrahzhur1qsuoecr8zsetsseqbjcl/wpy9eneix1pxnwuckgt+nzpakgdjizihoxfcqz9fbehf0dhr+rschvbpdhaltklymhyqz+sqjikgv8k+dmjovvgfvqneruhgfnxvgmynq</latexit> <latexit sha1_base"gzpkouyg+atfnkanrovtuasqk">aaackicbvfnb9qwepwgrxi+ui1sl1wsviakllvsfqgcshvwijujjzwwq9wjjobdeoqt0bvkn+i9f+kvby1epxjj0vnmxpmhq0miqnpw8gzdvbzcde/d//bw8+1vzmdgwfjkkjfhebegpiyxslrwxbjgwatgkdrophp8bymetvucxgmvfeykuhb01d1patryhiptuogsnjy+poyvd1przjwlfrkf+s0/ielrurftc9uazv0jqbu0omhzt0bvsxvxzfxcmglxqydswib0ctjbmzobdlbhqftzowqdaacunsqgg8vlpoedihccwcvdzdoy0wpns0keoiek8n+opcvykxfmuxweqymle1vryf9pkxlnbav1ewjomw0bxufhpaokxjaucgwjrahzhur1qsuoecr8zsetsseqbjcl/wpy9eneix1pxnwuckgt+nzpakgdjizihoxfcqz9fbehf0dhr+rschvbpdhaltklymhyqz+sqjikgv8k+dmjovvgfvqneruhgfnxvgmynq</latexit> <latexit sha1_base"gzpkouyg+atfnkanrovtuasqk">aaackicbvfnb9qwepwgrxi+ui1sl1wsviakllvsfqgcshvwijujjzwwq9wjjobdeoqt0bvkn+i9f+kvby1epxjj0vnmxpmhq0miqnpw8gzdvbzcde/d//bw8+1vzmdgwfjkkjfhebegpiyxslrwxbjgwatgkdrophp8bymetvucxgmvfeykuhb01d1patryhiptuogsnjy+poyvd1przjwlfrkf+s0/ielrurftc9uazv0jqbu0omhzt0bvsxvxzfxcmglxqydswib0ctjbmzobdlbhqftzowqdaacunsqgg8vlpoedihccwcvdzdoy0wpns0keoiek8n+opcvykxfmuxweqymle1vryf9pkxlnbav1ewjomw0bxufhpaokxjaucgwjrahzhur1qsuoecr8zsetsseqbjcl/wpy9eneix1pxnwuckgt+nzpakgdjizihoxfcqz9fbehf0dhr+rschvbpdhaltklymhyqz+sqjikgv8k+dmjovvgfvqneruhgfnxvgmynq</latexit> <latexit sha1_base"gzpkouyg+atfnkanrovtuasqk">aaackicbvfnb9qwepwgrxi+ui1sl1wsviakllvsfqgcshvwijujjzwwq9wjjobdeoqt0bvkn+i9f+kvby1epxjj0vnmxpmhq0miqnpw8gzdvbzcde/d//bw8+1vzmdgwfjkkjfhebegpiyxslrwxbjgwatgkdrophp8bymetvucxgmvfeykuhb01d1patryhiptuogsnjy+poyvd1przjwlfrkf+s0/ielrurftc9uazv0jqbu0omhzt0bvsxvxzfxcmglxqydswib0ctjbmzobdlbhqftzowqdaacunsqgg8vlpoedihccwcvdzdoy0wpns0keoiek8n+opcvykxfmuxweqymle1vryf9pkxlnbav1ewjomw0bxufhpaokxjaucgwjrahzhur1qsuoecr8zsetsseqbjcl/wpy9eneix1pxnwuckgt+nzpakgdjizihoxfcqz9fbehf0dhr+rschvbpdhaltklymhyqz+sqjikgv8k+dmjovvgfvqneruhgfnxvgmynq</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> <latexit sha1_base"0gjakywbbwwrvf+itfdbvsqziw">aaackxicbvflb9naenyvzgvthdjsijgkkindgtiivwkilepuievoqjal0euu19bugbpz/ovc+r9cqyzdhgjlhgy+zewm/tnumvlmax/jrxr1/cvlvz9z999b+pdva+uaqyehax0zu8suarawtuqogktidkrmnxcvqhrx9/a+tuzbgpozvkxkjmiufumo9lokzdwsfsitpriex/wopazyvjahqy8madrwlhieu+rvhixrhysnau0sldor+wmfawkqavhnxpqjsaeofj1+njoa0h1dbtauttrwj9eol0rzrgugrhdika1y1wqksgjo/bhzqhqcihyvbi0pwqaqponpkzpy/g9zzzapx8zrsidqjvswffuyru/+rzsmhuzapwpgwqjzwdlje1fxlqbiguw8icgkvcpliayqsffwywd0ipnj0cyiz/hdptsnfuuxthgbctfk+jic0itygskfaplml0fi9n0ttpjvmxlggprozylmszrbefkyyh+wx+8+ei+8d9ce/+1bttoq/zbfm+/qxdcmui</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> <latexit sha1_base"mcx9ch0nnsgcdwqp0nxtqeo">aaaczhicbvfna9wwfjtdr8t9qthxktxhuljxlakhwcgvawrdjrbajcw/ykybktntivxtx+kvr/pvjmgrjvtnogwaqwnkhaji/npjpgtndgbpnl1o9va/o1amaivrwtlkfjtxmukkcy8yar1iff+nvpf/cqgylp/wudioxwuzschrumvqd1ag8jskmcwahvogdmlwu8ycvtqgc+iiyvtqnoasaukpfyk8zbizblnkssffx1t/umhdhcbe/vbhemti91wplco0fkygketadx0pojxyezwcsefssq0vbguahulxzogpw0xgduijoa9zacdmueafzbzwvwcvzs9feuyja9lvguml/ds8snzzpuzcsztd1abtvnw8ypfutyugxc1heaugoft0ewaekiwdnbhpmtkrcknf+gogdalrqwljjcd/xh8zcp91h1+ngglvetfufbjqzxhsqgvmufqmzh8ymknj/hupvuwrnohvczvydsskynyrjtczijwtv1dr1j8t/rd+/cut9be1rjff//quy9yc</latexit> Augmented system d 1 e 1 b 1 c 1 d e b c d e b c n d n 1 e n 1 b n 1 c n 1 d n b n Upper triangular system (row echelon form) d 1 e 1 b 1 d e b d e b d n 1 e n 1 b n 1 d n b n Step 1: Upper triangular form for i 1ton µ c i /d i d i+1 d i+1 b i+1 b i+1 end 1do µe i µb i Step : Back substitution How many floating point operations are required? x n b n /d n for i n 1to1do x i (b i e i x i+1 )/d i end Note: For numerical stability, the algorithm should only be used when d 1 e 1, d n c n 1, d j c j 1 + e j,j,,n 1 A tridiagonal matrix that satisfies this property is called diagonally dominant

7 Exercise <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> <latexit sha1_base"yi/dijygcvvsdigmmv0dajm">aaacinicbvhbthsxehwwlskqkbhllajihahi0gihbsjdj0ciiqpgwuebtjchruxzmiv+s9cnba91sjmuweiwnt/e8xkufopgv81bevn+dkqv/+w9rrn1z8mhehqznmzhmleihoymcjdznbpikjxtjxupn0cy0wmbgcq1+xviuhawdnagzpnigo+e0zomnixkkqftgmhiz+p1ipdvnlv0nkmzqgwua/cmnuh9ubqcmzfxjwdhpkxledzdpwlgs8ukcrsztlwxyjfmooasjnuwmgzfqp9bzutihtlmsjvszyxiziwgumm/b+jzmrasyqduzecuvtsrm9qocfuxqucfgubvogehkwz0gixnhagocuwa0at1i+yozxdphkqxnzrfurkh/mdvinfzymohn+1tbygxnpg+jqxlu0imsefougwxmsjol9apw+qjrbs/jxchbbpzjseiwyjvyrduhkj/ln/pc/ppj1zxvq81ppjnv+a0rlwea</latexit> The Thomas algorithm is implemented in the tridisolve MATLAB function on the course webpage Exercise 1 Use the tridisolve function to solve the Countercurrent exchanger problem Compare the time it takes to solve this system with the time it takes standard Gaussian elimination applied to the full matrix d 1 e 1 c 1 d e c d e c n d n 1 e n 1 x x x n 1 b 1 b b b n 1 c j W, j 1,,n 1, d j (W + Sm), j1,,n, e j Sm, j 1,,n 1, b 1 Wx in, b j 0,j,,n 1, b n Sy in c n 1 d n x n b n

8 Sparse linear systems: spdiags <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> <latexit sha1_base"y/w9be0+f+voao/bayzqn8cqme">aaadicjvjdb9mwfhubpkbsyjpfhutlxqne0mafpghckebgszzoaqrkd9raktzdyqyjtpifd+cd+gfpjflz+igep9dhx8tm+tfnitty/1qtb0bn/drnj1/8hdb9lyyrtichyjjmnfmijekhigxgbnca0taqf8/f19fnobshmfczfduouxupopwboqcleeoqcglynkuqagmmdzsyvadillvbtjyg8xfkvpgwobzyo0ladyizd0hqprpo/ifkmeuofgnbkevchtlsuzwig0bxfoolqv+pwlssioxfsdrsmwwqarkuqhycv9w8exnbj09t+9dewgsxvlmv1e1rnz8w88azn8888yplvcfb9ywn1+rtdbsaqdslwn9o/ednmfckofakzzht0chyxtkmucdiewkdoxdmlywshyimycekgrklplbpraabtpa9vqnkqxglfjulfanmn+vppbzkyftl+nsnyakgjjmhajbqzwk8rjaqggcncaia0tg+lysy0ehng8nifxmckeggolzkyoewrvcv1nfugtznakhzheokztxd8vgvwebynjvvugnwxflduqx+qpeuc8pick/fkhayjad9pv1/ah/0upfv++z9btt1vloikyvb+/auzkk9c</latexit> Tridiagonal systems are special examples of sparse linear systems MATLAB provides a convenient way to create tridiagonal systems (and other sparse systems) with their spdiags function For example, we can create the tridiagonal matrix in the linear system d 1 e 1 c 1 d e c d e c n d n 1 e n 1 x x x n 1 b 1 b b b n 1 c n 1 d n x n b n using A spdiags([[c; 0] d [0; e]],[-1 0 1],n,n) The system can then be solved using backslash \ x A\b If A is diagonally dominant then MATLAB will automatically use the Thomas algorithm to solve this system

Solving Linear Systems Using Gaussian Elimination. How can we solve

Solving Linear Systems Using Gaussian Elimination. How can we solve Solving Linear Systems Using Gaussian Elimination How can we solve? 1 Gaussian elimination Consider the general augmented system: Gaussian elimination Step 1: Eliminate first column below the main diagonal.

More information

MATH 3511 Lecture 1. Solving Linear Systems 1

MATH 3511 Lecture 1. Solving Linear Systems 1 MATH 3511 Lecture 1 Solving Linear Systems 1 Dmitriy Leykekhman Spring 2012 Goals Review of basic linear algebra Solution of simple linear systems Gaussian elimination D Leykekhman - MATH 3511 Introduction

More information

Hani Mehrpouyan, California State University, Bakersfield. Signals and Systems

Hani Mehrpouyan, California State University, Bakersfield. Signals and Systems Hani Mehrpouyan, Department of Electrical and Computer Engineering, Lecture 26 (LU Factorization) May 30 th, 2013 The material in these lectures is partly taken from the books: Elementary Numerical Analysis,

More information

Simple sparse matrices we have seen so far include diagonal matrices and tridiagonal matrices, but these are not the only ones.

Simple sparse matrices we have seen so far include diagonal matrices and tridiagonal matrices, but these are not the only ones. A matrix is sparse if most of its entries are zero. Simple sparse matrices we have seen so far include diagonal matrices and tridiagonal matrices, but these are not the only ones. In fact sparse matrices

More information

Direct Methods for Solving Linear Systems. Simon Fraser University Surrey Campus MACM 316 Spring 2005 Instructor: Ha Le

Direct Methods for Solving Linear Systems. Simon Fraser University Surrey Campus MACM 316 Spring 2005 Instructor: Ha Le Direct Methods for Solving Linear Systems Simon Fraser University Surrey Campus MACM 316 Spring 2005 Instructor: Ha Le 1 Overview General Linear Systems Gaussian Elimination Triangular Systems The LU Factorization

More information

MA2501 Numerical Methods Spring 2015

MA2501 Numerical Methods Spring 2015 Norwegian University of Science and Technology Department of Mathematics MA2501 Numerical Methods Spring 2015 Solutions to exercise set 3 1 Attempt to verify experimentally the calculation from class that

More information

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra Section 1.1 System of Linear Equations College of Science MATHS 211: Linear Algebra (University of Bahrain) Linear System 1 / 33 Goals:. 1 Define system of linear equations and their solutions. 2 To represent

More information

Chapter 1: Systems of Linear Equations and Matrices

Chapter 1: Systems of Linear Equations and Matrices : Systems of Linear Equations and Matrices Multiple Choice Questions. Which of the following equations is linear? (A) x + 3x 3 + 4x 4 3 = 5 (B) 3x x + x 3 = 5 (C) 5x + 5 x x 3 = x + cos (x ) + 4x 3 = 7.

More information

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued Definition The process of solving a system of linear equations by converting the system to an augmented matrix is called Gaussian Elimination. The general strategy is as follows: Convert the system of

More information

Linear Algebra I Lecture 8

Linear Algebra I Lecture 8 Linear Algebra I Lecture 8 Xi Chen 1 1 University of Alberta January 25, 2019 Outline 1 2 Gauss-Jordan Elimination Given a system of linear equations f 1 (x 1, x 2,..., x n ) = 0 f 2 (x 1, x 2,..., x n

More information

Relationships Between Planes

Relationships Between Planes Relationships Between Planes Definition: consistent (system of equations) A system of equations is consistent if there exists one (or more than one) solution that satisfies the system. System 1: {, System

More information

Lecture 7: Introduction to linear systems

Lecture 7: Introduction to linear systems Lecture 7: Introduction to linear systems Two pictures of linear systems Consider the following system of linear algebraic equations { x 2y =, 2x+y = 7. (.) Note that it is a linear system with two unknowns

More information

1 Last time: linear systems and row operations

1 Last time: linear systems and row operations 1 Last time: linear systems and row operations Here s what we did last time: a system of linear equations or linear system is a list of equations a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22

More information

System of Linear Equations

System of Linear Equations Math 20F Linear Algebra Lecture 2 1 System of Linear Equations Slide 1 Definition 1 Fix a set of numbers a ij, b i, where i = 1,, m and j = 1,, n A system of m linear equations in n variables x j, is given

More information

Solving Systems of Linear Equations Using Matrices

Solving Systems of Linear Equations Using Matrices Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.

More information

Lecture 9: Elementary Matrices

Lecture 9: Elementary Matrices Lecture 9: Elementary Matrices Review of Row Reduced Echelon Form Consider the matrix A and the vector b defined as follows: 1 2 1 A b 3 8 5 A common technique to solve linear equations of the form Ax

More information

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal [ x y Augmented matrix: 1 1 17 4 2 48 (Replacement) Replace a row by the sum of itself and a multiple

More information

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3 ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3 ISSUED 24 FEBRUARY 2018 1 Gaussian elimination Let A be an (m n)-matrix Consider the following row operations on A (1) Swap the positions any

More information

Matrix decompositions

Matrix decompositions Matrix decompositions How can we solve Ax = b? 1 Linear algebra Typical linear system of equations : x 1 x +x = x 1 +x +9x = 0 x 1 +x x = The variables x 1, x, and x only appear as linear terms (no powers

More information

(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB

(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB (Linear equations) Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots

More information

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Winfried Just, Ohio University September 22, 2017 Review: The coefficient matrix Consider a system of m linear equations in n variables.

More information

Linear Systems of Equations. ChEn 2450

Linear Systems of Equations. ChEn 2450 Linear Systems of Equations ChEn 450 LinearSystems-directkey - August 5, 04 Example Circuit analysis (also used in heat transfer) + v _ R R4 I I I3 R R5 R3 Kirchoff s Laws give the following equations

More information

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Review of matrices. Let m, n IN. A rectangle of numbers written like A = Review of matrices Let m, n IN. A rectangle of numbers written like a 11 a 12... a 1n a 21 a 22... a 2n A =...... a m1 a m2... a mn where each a ij IR is called a matrix with m rows and n columns or an

More information

Solving Consistent Linear Systems

Solving Consistent Linear Systems Solving Consistent Linear Systems Matrix Notation An augmented matrix of a system consists of the coefficient matrix with an added column containing the constants from the right sides of the equations.

More information

22A-2 SUMMER 2014 LECTURE 5

22A-2 SUMMER 2014 LECTURE 5 A- SUMMER 0 LECTURE 5 NATHANIEL GALLUP Agenda Elimination to the identity matrix Inverse matrices LU factorization Elimination to the identity matrix Previously, we have used elimination to get a system

More information

Lectures on Linear Algebra for IT

Lectures on Linear Algebra for IT Lectures on Linear Algebra for IT by Mgr. Tereza Kovářová, Ph.D. following content of lectures by Ing. Petr Beremlijski, Ph.D. Department of Applied Mathematics, VSB - TU Ostrava Czech Republic 2. Systems

More information

4 Elementary matrices, continued

4 Elementary matrices, continued 4 Elementary matrices, continued We have identified 3 types of row operations and their corresponding elementary matrices. To repeat the recipe: These matrices are constructed by performing the given row

More information

Matrix decompositions

Matrix decompositions Matrix decompositions How can we solve Ax = b? 1 Linear algebra Typical linear system of equations : x 1 x +x = x 1 +x +9x = 0 x 1 +x x = The variables x 1, x, and x only appear as linear terms (no powers

More information

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33 Chapter 3 Linear Equations Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33 Lineares Gleichungssystem System of m linear equations in n unknowns: a 11 x 1 + a 12 x 2 + + a 1n x n

More information

CHAPTER 8: Matrices and Determinants

CHAPTER 8: Matrices and Determinants (Exercises for Chapter 8: Matrices and Determinants) E.8.1 CHAPTER 8: Matrices and Determinants (A) means refer to Part A, (B) means refer to Part B, etc. Most of these exercises can be done without a

More information

1 - Systems of Linear Equations

1 - Systems of Linear Equations 1 - Systems of Linear Equations 1.1 Introduction to Systems of Linear Equations Almost every problem in linear algebra will involve solving a system of equations. ü LINEAR EQUATIONS IN n VARIABLES We are

More information

The Solution of Linear Systems AX = B

The Solution of Linear Systems AX = B Chapter 2 The Solution of Linear Systems AX = B 21 Upper-triangular Linear Systems We will now develop the back-substitution algorithm, which is useful for solving a linear system of equations that has

More information

Introduction to Systems of Equations

Introduction to Systems of Equations Introduction to Systems of Equations Introduction A system of linear equations is a list of m linear equations in a common set of variables x, x,, x n. a, x + a, x + Ù + a,n x n = b a, x + a, x + Ù + a,n

More information

Introduction to Mathematical Programming

Introduction to Mathematical Programming Introduction to Mathematical Programming Ming Zhong Lecture 6 September 12, 2018 Ming Zhong (JHU) AMS Fall 2018 1 / 20 Table of Contents 1 Ming Zhong (JHU) AMS Fall 2018 2 / 20 Solving Linear Systems A

More information

Linear Methods (Math 211) - Lecture 2

Linear Methods (Math 211) - Lecture 2 Linear Methods (Math 211) - Lecture 2 David Roe September 11, 2013 Recall Last time: Linear Systems Matrices Geometric Perspective Parametric Form Today 1 Row Echelon Form 2 Rank 3 Gaussian Elimination

More information

Next topics: Solving systems of linear equations

Next topics: Solving systems of linear equations Next topics: Solving systems of linear equations 1 Gaussian elimination (today) 2 Gaussian elimination with partial pivoting (Week 9) 3 The method of LU-decomposition (Week 10) 4 Iterative techniques:

More information

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix Pre-Calculus I 8.1 Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural

More information

Section 6.2 Larger Systems of Linear Equations

Section 6.2 Larger Systems of Linear Equations Section 6.2 Larger Systems of Linear Equations Gaussian Elimination In general, to solve a system of linear equations using its augmented matrix, we use elementary row operations to arrive at a matrix

More information

Section Matrices and Systems of Linear Eqns.

Section Matrices and Systems of Linear Eqns. QUIZ: strings Section 14.3 Matrices and Systems of Linear Eqns. Remembering matrices from Ch.2 How to test if 2 matrices are equal Assume equal until proved wrong! else? myflag = logical(1) How to test

More information

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013 Lecture 6 & 7 Shuanglin Shao September 16th and 18th, 2013 1 Elementary matrices 2 Equivalence Theorem 3 A method of inverting matrices Def An n n matrice is called an elementary matrix if it can be obtained

More information

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2 MATH 5 Assignment 6 Fall 8 Due: Thursday, November [5]. For what value of c does have a solution? Is it unique? x + y + z = x + y + z = c 4x + z = Writing the system as an augmented matrix, we have c R

More information

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Gauss-Jordan Row Reduction and Reduced Row Echelon Form Gauss-Jordan Row Reduction and Reduced Row Echelon Form If we put the augmented matrix of a linear system in reduced row-echelon form, then we don t need to back-substitute to solve the system. To put

More information

2.1 Gaussian Elimination

2.1 Gaussian Elimination 2. Gaussian Elimination A common problem encountered in numerical models is the one in which there are n equations and n unknowns. The following is a description of the Gaussian elimination method for

More information

Linear least squares problem: Example

Linear least squares problem: Example Linear least squares problem: Example We want to determine n unknown parameters c,,c n using m measurements where m n Here always denotes the -norm v = (v + + v n) / Example problem Fit the experimental

More information

PH1105 Lecture Notes on Linear Algebra.

PH1105 Lecture Notes on Linear Algebra. PH05 Lecture Notes on Linear Algebra Joe Ó hógáin E-mail: johog@mathstcdie Main Text: Calculus for the Life Sciences by Bittenger, Brand and Quintanilla Other Text: Linear Algebra by Anton and Rorres Matrices

More information

Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors 5 Eigenvalues and Eigenvectors 5.2 THE CHARACTERISTIC EQUATION DETERMINANATS n n Let A be an matrix, let U be any echelon form obtained from A by row replacements and row interchanges (without scaling),

More information

Chapter 7. Tridiagonal linear systems. Solving tridiagonal systems of equations. and subdiagonal. E.g. a 21 a 22 a A =

Chapter 7. Tridiagonal linear systems. Solving tridiagonal systems of equations. and subdiagonal. E.g. a 21 a 22 a A = Chapter 7 Tridiagonal linear systems The solution of linear systems of equations is one of the most important areas of computational mathematics. A complete treatment is impossible here but we will discuss

More information

4.3 Row operations. As we have seen in Section 4.1 we can simplify a system of equations by either:

4.3 Row operations. As we have seen in Section 4.1 we can simplify a system of equations by either: 4.3 Row operations As we have seen in Section 4.1 we can simplify a system of equations by either: 1. Swapping the order of the equations around. For example: can become 3x 1 + 7x 2 = 9 x 1 2x 1 = 2 x

More information

Lecture 4: Gaussian Elimination and Homogeneous Equations

Lecture 4: Gaussian Elimination and Homogeneous Equations Lecture 4: Gaussian Elimination and Homogeneous Equations Reduced Row Echelon Form An augmented matrix associated to a system of linear equations is said to be in Reduced Row Echelon Form (RREF) if the

More information

Linear Algebra I Lecture 10

Linear Algebra I Lecture 10 Linear Algebra I Lecture 10 Xi Chen 1 1 University of Alberta January 30, 2019 Outline 1 Gauss-Jordan Algorithm ] Let A = [a ij m n be an m n matrix. To reduce A to a reduced row echelon form using elementary

More information

Elementary Linear Algebra

Elementary Linear Algebra Elementary Linear Algebra Linear algebra is the study of; linear sets of equations and their transformation properties. Linear algebra allows the analysis of; rotations in space, least squares fitting,

More information

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij Topics Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij or a ij lives in row i and column j Definition of a matrix

More information

Math 1021, Linear Algebra 1. Section: A at 10am, B at 2:30pm

Math 1021, Linear Algebra 1. Section: A at 10am, B at 2:30pm Math 1021, Linear Algebra 1. Section: A at 10am, B at 2:30pm All course information is available on Moodle. Text: Nicholson, Linear algebra with applications, 7th edition. We shall cover Chapters 1,2,3,4,5:

More information

Methods for Solving Linear Systems Part 2

Methods for Solving Linear Systems Part 2 Methods for Solving Linear Systems Part 2 We have studied the properties of matrices and found out that there are more ways that we can solve Linear Systems. In Section 7.3, we learned that we can use

More information

MTH 464: Computational Linear Algebra

MTH 464: Computational Linear Algebra MTH 464: Computational Linear Algebra Lecture Outlines Exam 2 Material Prof. M. Beauregard Department of Mathematics & Statistics Stephen F. Austin State University February 6, 2018 Linear Algebra (MTH

More information

Matrix Solutions to Linear Equations

Matrix Solutions to Linear Equations Matrix Solutions to Linear Equations Augmented matrices can be used as a simplified way of writing a system of linear equations. In an augmented matrix, a vertical line is placed inside the matrix to represent

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

DEN: Linear algebra numerical view (GEM: Gauss elimination method for reducing a full rank matrix to upper-triangular

DEN: Linear algebra numerical view (GEM: Gauss elimination method for reducing a full rank matrix to upper-triangular form) Given: matrix C = (c i,j ) n,m i,j=1 ODE and num math: Linear algebra (N) [lectures] c phabala 2016 DEN: Linear algebra numerical view (GEM: Gauss elimination method for reducing a full rank matrix

More information

Solving Linear Systems Using Gaussian Elimination

Solving Linear Systems Using Gaussian Elimination Solving Linear Systems Using Gaussian Elimination DEFINITION: A linear equation in the variables x 1,..., x n is an equation that can be written in the form a 1 x 1 +...+a n x n = b, where a 1,...,a n

More information

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns 5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns (1) possesses the solution and provided that.. The numerators and denominators are recognized

More information

Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors 5 Eigenvalues and Eigenvectors 5.2 THE CHARACTERISTIC EQUATION DETERMINANATS nn Let A be an matrix, let U be any echelon form obtained from A by row replacements and row interchanges (without scaling),

More information

Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm

Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm References: Trefethen & Bau textbook Eigenvalue problem: given a matrix A, find

More information

Math 344 Lecture # Linear Systems

Math 344 Lecture # Linear Systems Math 344 Lecture #12 2.7 Linear Systems Through a choice of bases S and T for finite dimensional vector spaces V (with dimension n) and W (with dimension m), a linear equation L(v) = w becomes the linear

More information

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices MAC05-College Algebra Chapter 5-Systems of Equations & Matrices 5. Systems of Equations in Two Variables Solving Systems of Two Linear Equations/ Two-Variable Linear Equations A system of equations is

More information

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form Math 2 Homework #7 March 4, 2 7.3.3. Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y/2. Hence the solution space consists of all vectors of the form ( ( ( ( x (5 + 3y/2 5/2 3/2 x =

More information

Simultaneous Linear Equations

Simultaneous Linear Equations Simultaneous Linear Equations PHYSICAL PROBLEMS Truss Problem Pressure vessel problem a a b c b Polynomial Regression We are to fit the data to the polynomial regression model Simultaneous Linear Equations

More information

CS227-Scientific Computing. Lecture 4: A Crash Course in Linear Algebra

CS227-Scientific Computing. Lecture 4: A Crash Course in Linear Algebra CS227-Scientific Computing Lecture 4: A Crash Course in Linear Algebra Linear Transformation of Variables A common phenomenon: Two sets of quantities linearly related: y = 3x + x 2 4x 3 y 2 = 2.7x 2 x

More information

4 Elementary matrices, continued

4 Elementary matrices, continued 4 Elementary matrices, continued We have identified 3 types of row operations and their corresponding elementary matrices. If you check the previous examples, you ll find that these matrices are constructed

More information

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method 54 CHAPTER 10 NUMERICAL METHODS 10. ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS As a numerical technique, Gaussian elimination is rather unusual because it is direct. That is, a solution is obtained after

More information

Lecture 22: Section 4.7

Lecture 22: Section 4.7 Lecture 22: Section 47 Shuanglin Shao December 2, 213 Row Space, Column Space, and Null Space Definition For an m n, a 11 a 12 a 1n a 21 a 22 a 2n A = a m1 a m2 a mn, the vectors r 1 = [ a 11 a 12 a 1n

More information

MATLAB Project: LU Factorization

MATLAB Project: LU Factorization Name Purpose: To practice Lay's LU Factorization Algorithm and see how it is related to MATLAB's lu function. Prerequisite: Section 2.5 MATLAB functions used: *, lu; and ludat and gauss from Laydata4 Toolbox

More information

Chapter 4. Solving Systems of Equations. Chapter 4

Chapter 4. Solving Systems of Equations. Chapter 4 Solving Systems of Equations 3 Scenarios for Solutions There are three general situations we may find ourselves in when attempting to solve systems of equations: 1 The system could have one unique solution.

More information

Numerical Methods I: Numerical linear algebra

Numerical Methods I: Numerical linear algebra 1/3 Numerical Methods I: Numerical linear algebra Georg Stadler Courant Institute, NYU stadler@cimsnyuedu September 1, 017 /3 We study the solution of linear systems of the form Ax = b with A R n n, x,

More information

and let s calculate the image of some vectors under the transformation T.

and let s calculate the image of some vectors under the transformation T. Chapter 5 Eigenvalues and Eigenvectors 5. Eigenvalues and Eigenvectors Let T : R n R n be a linear transformation. Then T can be represented by a matrix (the standard matrix), and we can write T ( v) =

More information

The System of Linear Equations. Direct Methods. Xiaozhou Li.

The System of Linear Equations. Direct Methods. Xiaozhou Li. 1/16 The Direct Methods xiaozhouli@uestc.edu.cn http://xiaozhouli.com School of Mathematical Sciences University of Electronic Science and Technology of China Chengdu, China Does the LU factorization always

More information

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4 Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math Week # 1 Saturday, February 1, 1 Linear algebra Typical linear system of equations : x 1 x +x = x 1 +x +9x = 0 x 1 +x x

More information

Eigenvalues and Eigenvectors 7.1 Eigenvalues and Eigenvecto

Eigenvalues and Eigenvectors 7.1 Eigenvalues and Eigenvecto 7.1 November 6 7.1 Eigenvalues and Eigenvecto Goals Suppose A is square matrix of order n. Eigenvalues of A will be defined. Eigenvectors of A, corresponding to each eigenvalue, will be defined. Eigenspaces

More information

Exercise Sketch these lines and find their intersection.

Exercise Sketch these lines and find their intersection. These are brief notes for the lecture on Friday August 21, 2009: they are not complete, but they are a guide to what I want to say today. They are not guaranteed to be correct. 1. Solving systems of linear

More information

Low-Complexity Encoding Algorithm for LDPC Codes

Low-Complexity Encoding Algorithm for LDPC Codes EECE 580B Modern Coding Theory Low-Complexity Encoding Algorithm for LDPC Codes Problem: Given the following matrix (imagine a larger matrix with a small number of ones) and the vector of information bits,

More information

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit. Name: MATH 3195 :: Fall 2011 :: Exam 2 No document, no calculator, 1h00. Explanations and justifications are expected for full credit. 1. ( 4 pts) Say which matrix is in row echelon form and which is not.

More information

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4 Linear Algebra Section. : LU Decomposition Section. : Permutations and transposes Wednesday, February 1th Math 01 Week # 1 The LU Decomposition We learned last time that we can factor a invertible matrix

More information

The Behavior of Algorithms in Practice 2/21/2002. Lecture 4. ɛ 1 x 1 y ɛ 1 x 1 1 = x y 1 1 = y 1 = 1 y 2 = 1 1 = 0 1 1

The Behavior of Algorithms in Practice 2/21/2002. Lecture 4. ɛ 1 x 1 y ɛ 1 x 1 1 = x y 1 1 = y 1 = 1 y 2 = 1 1 = 0 1 1 8.409 The Behavior of Algorithms in Practice //00 Lecture 4 Lecturer: Dan Spielman Scribe: Matthew Lepinski A Gaussian Elimination Example To solve: [ ] [ ] [ ] x x First factor the matrix to get: [ ]

More information

MAT1332 Assignment #5 solutions

MAT1332 Assignment #5 solutions 1 MAT133 Assignment #5 solutions Question 1 Determine the solution of the following systems : a) x + y + z = x + 3y + z = 5 x + 9y + 7z = 1 The augmented matrix associated to this system is 1 1 1 3 5.

More information

Lecture 12 (Tue, Mar 5) Gaussian elimination and LU factorization (II)

Lecture 12 (Tue, Mar 5) Gaussian elimination and LU factorization (II) Math 59 Lecture 2 (Tue Mar 5) Gaussian elimination and LU factorization (II) 2 Gaussian elimination - LU factorization For a general n n matrix A the Gaussian elimination produces an LU factorization if

More information

Gaussian Elimination -(3.1) b 1. b 2., b. b n

Gaussian Elimination -(3.1) b 1. b 2., b. b n Gaussian Elimination -() Consider solving a given system of n linear equations in n unknowns: (*) a x a x a n x n b where a ij and b i are constants and x i are unknowns Let a n x a n x a nn x n a a a

More information

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511) GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511) D. ARAPURA Gaussian elimination is the go to method for all basic linear classes including this one. We go summarize the main ideas. 1.

More information

Lecture 3: QR-Factorization

Lecture 3: QR-Factorization Lecture 3: QR-Factorization This lecture introduces the Gram Schmidt orthonormalization process and the associated QR-factorization of matrices It also outlines some applications of this factorization

More information

MTH 464: Computational Linear Algebra

MTH 464: Computational Linear Algebra MTH 464: Computational Linear Algebra Lecture Outlines Exam 2 Material Prof. M. Beauregard Department of Mathematics & Statistics Stephen F. Austin State University March 2, 2018 Linear Algebra (MTH 464)

More information

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic 1300 Linear Algebra and Vector Geometry Week 2: Jan 14 18 1.2, 1.3... Gauss-Jordan, homogeneous matrices, intro matrix arithmetic R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca Winter 2019 What

More information

Determine whether the following system has a trivial solution or non-trivial solution:

Determine whether the following system has a trivial solution or non-trivial solution: Practice Questions Lecture # 7 and 8 Question # Determine whether the following system has a trivial solution or non-trivial solution: x x + x x x x x The coefficient matrix is / R, R R R+ R The corresponding

More information

Numerical Linear Algebra

Numerical Linear Algebra Numerical Linear Algebra Decompositions, numerical aspects Gerard Sleijpen and Martin van Gijzen September 27, 2017 1 Delft University of Technology Program Lecture 2 LU-decomposition Basic algorithm Cost

More information

Program Lecture 2. Numerical Linear Algebra. Gaussian elimination (2) Gaussian elimination. Decompositions, numerical aspects

Program Lecture 2. Numerical Linear Algebra. Gaussian elimination (2) Gaussian elimination. Decompositions, numerical aspects Numerical Linear Algebra Decompositions, numerical aspects Program Lecture 2 LU-decomposition Basic algorithm Cost Stability Pivoting Cholesky decomposition Sparse matrices and reorderings Gerard Sleijpen

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2 MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS SYSTEMS OF EQUATIONS AND MATRICES Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

Consider the following example of a linear system:

Consider the following example of a linear system: LINEAR SYSTEMS Consider the following example of a linear system: Its unique solution is x + 2x 2 + 3x 3 = 5 x + x 3 = 3 3x + x 2 + 3x 3 = 3 x =, x 2 = 0, x 3 = 2 In general we want to solve n equations

More information

Gaussian Elimination and Back Substitution

Gaussian Elimination and Back Substitution Jim Lambers MAT 610 Summer Session 2009-10 Lecture 4 Notes These notes correspond to Sections 31 and 32 in the text Gaussian Elimination and Back Substitution The basic idea behind methods for solving

More information

Linear Algebraic Equations

Linear Algebraic Equations Linear Algebraic Equations 1 Fundamentals Consider the set of linear algebraic equations n a ij x i b i represented by Ax b j with [A b ] [A b] and (1a) r(a) rank of A (1b) Then Axb has a solution iff

More information

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey Copyright 2005, W.R. Winfrey Topics Preliminaries Echelon Form of a Matrix Elementary Matrices; Finding A -1 Equivalent Matrices LU-Factorization Topics Preliminaries Echelon Form of a Matrix Elementary

More information

Lecture 10: Determinants and Cramer s Rule

Lecture 10: Determinants and Cramer s Rule Lecture 0: Determinants and Cramer s Rule The determinant and its applications. Definition The determinant of a square matrix A, denoted by det(a) or A, is a real number, which is defined as follows. -by-

More information

Solution of Linear Equations

Solution of Linear Equations Solution of Linear Equations (Com S 477/577 Notes) Yan-Bin Jia Sep 7, 07 We have discussed general methods for solving arbitrary equations, and looked at the special class of polynomial equations A subclass

More information

CHAPTER 9: Systems of Equations and Matrices

CHAPTER 9: Systems of Equations and Matrices MAT 171 Precalculus Algebra Dr. Claude Moore Cape Fear Community College CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of Equations in Three Variables

More information