Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5893
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | Heike Gramberg <heike.gramberg@gmail.com> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Geometric series for matrices |
| Date | Wed, 26 Oct 2011 21:47:18 +0000 (UTC) |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <j89v56$ef$1@smc.vnet.net> (permalink) |
| References | <201110251017.GAA05846@smc.vnet.net> |
| Lines | 42 |
| NNTP-Posting-Date | 26 Oct 2011 20:51:05 GMT |
| NNTP-Posting-Host | eae8538b.news.twtelecom.net |
| X-Trace | DXC=`2=CkjI3@BIO>]7?RIA\SKC_A=>8kQj6M=_1NR_H?JPMH<[keBa3DFEEFiONJ7[GoF9BfjUAOAcWB |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:5893 |
Show key headers only | View raw
Power (^) has attribute Listable which means that {{a,b},{c,d}}^k is
expanded to {{a^k,b^k},{c^k,d^k}}
which is probably not what you want. To take the j-th power of a matrix
F you should use MatrixPower
instead, e.g.
Fi = Sum[(w\[Beta])^i MatrixPower[F, i], {i, 0, Infinity}] //
FullSimplify
which gives as you second method.
Heike
On 25 Oct 2011, at 12:17, Evgeniya wrote:
> Hello,
> I have a problem with thegeometric series for matrices.
>
> Suppose we define a matrix as
> F = {{a1, a2}, {b1, b2}}
> I need to find a sum of (wb)^i*F^i . One way I can do it is:
> Fi = Sum[(w\[Beta])^i F^i, {i, 0, Infinity}]
> It gives the answer:
> Out={{1/(1 - a1 w\[Beta]), 1/(1 - a2 w\[Beta])}, {1/(1 - b1 w\[Beta]),
> 1/(1 - b2 w\[Beta])}}
>
> Another way is to use a formula (assuming convergence of course)
> Inverse[{{1, 0}, {0, 1}} - w\[Beta] F] // FullSimplify
> That gives the answer:
> {{(1 - b2 w\[Beta])/(1 - w\[Beta] (b2 + a2 b1 w\[Beta]) + a1 w\[Beta]
> (-1 + b2 w\[Beta])), -((a2 w\[Beta])/(-1 + w\[Beta] (a1 + b2 + a2 b1 w\
> [Beta] - a1 b2 w\[Beta])))}, {-(( b1 w\[Beta])/(-1 + w\[Beta] (a1 + b2
> + a2 b1 w\[Beta] - a1 b2 w\[Beta]))), (1 - a1 w\[Beta])/(1 - w\[Beta]
> (b2 + a2 b1 w\[Beta]) + a1 w\[Beta] (-1 + b2 w\[Beta]))}}
>
> It seems thatMathematica uses the matrix of {{1,1},{1,1}} instead of
> Identity. However I'm not sure exactly what to make out of it at this
> point. I want to make sure I solve it correctly.
> Thank you!
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Geometric series for matrices Heike Gramberg <heike.gramberg@gmail.com> - 2011-10-26 21:47 +0000
csiph-web