Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5851 > unrolled thread

Geometric series for matrices

Started byEvgeniya <872dea@gmail.com>
First post2011-10-25 10:21 +0000
Last post2011-10-26 21:51 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Geometric series for matrices Evgeniya <872dea@gmail.com> - 2011-10-25 10:21 +0000
    Re: Geometric series for matrices "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-10-26 21:51 +0000

#5851 — Geometric series for matrices

FromEvgeniya <872dea@gmail.com>
Date2011-10-25 10:21 +0000
SubjectGeometric series for matrices
Message-ID<j862is$5sl$1@smc.vnet.net>
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!

[toc] | [next] | [standalone]


#5902

From"Dr. Wolfgang Hintze" <weh@snafu.de>
Date2011-10-26 21:51 +0000
Message-ID<j89vds$23g$1@smc.vnet.net>
In reply to#5851
"Evgeniya" <872dea@gmail.com> schrieb im Newsbeitrag 
news:j862is$5sl$1@smc.vnet.net...
> 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!
>

If you want normal matrix multiplication you have to use MatrixPower, 
otherwise F^k gives a matrix consisting of each element taken to the 
power k.

Hence I would use InverseMatrix[MatrixPower[F,0]- w F] for the Sum[ 
MatrixPower[w F,k],{k,0,Infinity} ].

Note that MatrixPower[F,0] automatically gives you the unit matrix of 
the required dimension.

--- Wolfgang


[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web