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


Groups > sci.math > #328995 > unrolled thread

log(square matrix) challenge

Started byRobert Delaney <delaneyrm@earthlnk.net>
First post2016-02-27 21:31 -0600
Last post2016-03-01 08:09 -0500
Articles 11 — 3 participants

Back to article view | Back to sci.math


Contents

  log(square matrix) challenge Robert Delaney <delaneyrm@earthlnk.net> - 2016-02-27 21:31 -0600
    Re: log(square matrix) challenge David Petry <davidlpetry@gmail.com> - 2016-02-27 22:13 -0800
      Re: log(square matrix) challenge Bill <BILL_NOSPAM@whoknows.net> - 2016-02-28 01:36 -0500
    Re: log(square matrix) challenge Bill <BILL_NOSPAM@whoknows.net> - 2016-02-28 01:18 -0500
      Re: log(square matrix) challenge Robert Delaney <delaneyrm@earthlnk.net> - 2016-02-28 12:52 -0600
        Re: log(square matrix) challenge Bill <BILL_NOSPAM@whoknows.net> - 2016-02-29 06:26 -0500
        Re: log(square matrix) challenge Bill <BILL_NOSPAM@whoknows.net> - 2016-02-29 08:47 -0500
          Re: log(square matrix) challenge Robert Delaney <delaneyrm@earthlnk.net> - 2016-02-29 15:13 -0600
            Re: log(square matrix) challenge Bill <BILL_NOSPAM@whoknows.net> - 2016-02-29 20:29 -0500
              Re: log(square matrix) challenge Robert Delaney <delaneyrm@earthlnk.net> - 2016-02-29 20:33 -0600
                Re: log(square matrix) challenge Bill <BILL_NOSPAM@whoknows.net> - 2016-03-01 08:09 -0500

#328995 — log(square matrix) challenge

FromRobert Delaney <delaneyrm@earthlnk.net>
Date2016-02-27 21:31 -0600
Subjectlog(square matrix) challenge
Message-ID<2016022721311186736-delaneyrm@earthlnknet>
The article:

https://en.wikipedia.org/wiki/Logarithm_of_a_matrix

says that the matrix
A =
3/4 5/4
5/4 3/4

has no logarithm matrix (presumably no real logarithm matrix)

An application based on my ComplexMatrix plugin for Xojo (was 
REALbasic, then Real Studio) finds that (where re,im is a complex 
number):

log(A) =
0,1.570796326794897                                           
0.6931471805599453,-1.570796326794897
 0.6931471805599453,-1.570796326794897   0,1.570796326794897

Those numbers looked familiar, so most probably:

log(A) =
0,pi/2        ln(2),-pi/2
ln(2),-pi/2   0,pi/2

Can anyone give a theoretical basis for this being the log(A) matrix?

Bob

[toc] | [next] | [standalone]


#329004

FromDavid Petry <davidlpetry@gmail.com>
Date2016-02-27 22:13 -0800
Message-ID<3c09236f-0d38-46eb-808c-e5093fb908ab@googlegroups.com>
In reply to#328995
On Saturday, February 27, 2016 at 7:31:19 PM UTC-8, Robert Delaney wrote:
> The article:
> 
> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
> 
> says that the matrix
> A =
> 3/4 5/4
> 5/4 3/4
> 
> has no logarithm matrix (presumably no real logarithm matrix)
> 
> An application based on my ComplexMatrix plugin for Xojo (was 
> REALbasic, then Real Studio) finds that (where re,im is a complex 
> number):
> 
> log(A) =
> 0,1.570796326794897                                           
> 0.6931471805599453,-1.570796326794897
>  0.6931471805599453,-1.570796326794897   0,1.570796326794897
> 
> Those numbers looked familiar, so most probably:
> 
> log(A) =
> 0,pi/2        ln(2),-pi/2
> ln(2),-pi/2   0,pi/2
> 
> Can anyone give a theoretical basis for this being the log(A) matrix?
> 
> Bob

The eigenvalues of the matrix are 2 and -1.  log(-1) = i*pi/2

[toc] | [prev] | [next] | [standalone]


#329006

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-02-28 01:36 -0500
Message-ID<nau4ht04hv@news4.newsguy.com>
In reply to#329004
David Petry wrote:
> On Saturday, February 27, 2016 at 7:31:19 PM UTC-8, Robert Delaney wrote:
>> The article:
>>
>> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>>
>> says that the matrix
>> A =
>> 3/4 5/4
>> 5/4 3/4
>>
>> has no logarithm matrix (presumably no real logarithm matrix)
>>
>> An application based on my ComplexMatrix plugin for Xojo (was
>> REALbasic, then Real Studio) finds that (where re,im is a complex
>> number):
>>
>> log(A) =
>> 0,1.570796326794897
>> 0.6931471805599453,-1.570796326794897
>>   0.6931471805599453,-1.570796326794897   0,1.570796326794897
>>
>> Those numbers looked familiar, so most probably:
>>
>> log(A) =
>> 0,pi/2        ln(2),-pi/2
>> ln(2),-pi/2   0,pi/2
>>
>> Can anyone give a theoretical basis for this being the log(A) matrix?
>>
>> Bob
> The eigenvalues of the matrix are 2 and -1.  log(-1) = i*pi/2
>
log(-1) = i Pi.
log(i) = i Pi/2.

[toc] | [prev] | [next] | [standalone]


#329005

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-02-28 01:18 -0500
Message-ID<nau3et0402@news4.newsguy.com>
In reply to#328995
Robert Delaney wrote:
> The article:
>
> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>
> says that the matrix
> A =
> 3/4 5/4
> 5/4 3/4
>
> has no logarithm matrix (presumably no real logarithm matrix)
>
> An application based on my ComplexMatrix plugin for Xojo (was 
> REALbasic, then Real Studio) finds that (where re,im is a complex 
> number):
>
> log(A) =
> 0,1.570796326794897 0.6931471805599453,-1.570796326794897
> 0.6931471805599453,-1.570796326794897   0,1.570796326794897
>
> Those numbers looked familiar, so most probably:
>
> log(A) =
> 0,pi/2        ln(2),-pi/2
> ln(2),-pi/2   0,pi/2
>
> Can anyone give a theoretical basis for this being the log(A) matrix?
>
> Bob
>

Substitute your matrix into the power series expansion for e^x and see 
what you get!

[toc] | [prev] | [next] | [standalone]


#329067

FromRobert Delaney <delaneyrm@earthlnk.net>
Date2016-02-28 12:52 -0600
Message-ID<2016022812522989670-delaneyrm@earthlnknet>
In reply to#329005
On 2016-02-28 06:18:17 +0000, Bill said:

> Robert Delaney wrote:
>> The article:
>> 
>> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>> 
>> says that the matrix
>> A =
>> 3/4 5/4
>> 5/4 3/4
>> 
>> has no logarithm matrix (presumably no real logarithm matrix)
>> 
>> An application based on my ComplexMatrix plugin for Xojo (was 
>> REALbasic, then Real Studio) finds that (where re,im is a complex 
>> number):
>> 
>> log(A) =
>> 0,1.570796326794897 0.6931471805599453,-1.570796326794897
>> 0.6931471805599453,-1.570796326794897   0,1.570796326794897
>> 
>> Those numbers looked familiar, so most probably:
>> 
>> log(A) =
>> 0,pi/2        ln(2),-pi/2
>> ln(2),-pi/2   0,pi/2
>> 
>> Can anyone give a theoretical basis for this being the log(A) matrix?
>> 
>> Bob
>> 
> 
> Substitute your matrix into the power series expansion for e^x and see 
> what you get!

Using the power series for exp:

exp(log(A)) =
0.75,-2.220446049250313e-16           1.25,0
1.25,0                                                         
0.75,-2.220446049250313e-16

Bob

[toc] | [prev] | [next] | [standalone]


#329143

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-02-29 06:26 -0500
Message-ID<nb19sf0157h@news3.newsguy.com>
In reply to#329067
Robert Delaney wrote:
> On 2016-02-28 06:18:17 +0000, Bill said:
>
>> Robert Delaney wrote:
>>> The article:
>>>
>>> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>>>
>>> says that the matrix
>>> A =
>>> 3/4 5/4
>>> 5/4 3/4
>>>
>>> has no logarithm matrix (presumably no real logarithm matrix)
>>>
>>> An application based on my ComplexMatrix plugin for Xojo (was 
>>> REALbasic, then Real Studio) finds that (where re,im is a complex 
>>> number):
>>>
>>> log(A) =
>>> 0,1.570796326794897 0.6931471805599453,-1.570796326794897
>>> 0.6931471805599453,-1.570796326794897   0,1.570796326794897
>>>
>>> Those numbers looked familiar, so most probably:
>>>
>>> log(A) =
>>> 0,pi/2        ln(2),-pi/2
>>> ln(2),-pi/2   0,pi/2
>>>
>>> Can anyone give a theoretical basis for this being the log(A) matrix?
>>>
>>> Bob
>>>
>>
>> Substitute your matrix into the power series expansion for e^x and 
>> see what you get!
>
> Using the power series for exp:
>
> exp(log(A)) =
> 0.75,-2.220446049250313e-16           1.25,0
> 1.25,0 0.75,-2.220446049250313e-16
>
> Bob
>

Cool Bob! I was hoping that would happen.  Does this result "suffice" 
for you?

Bill

[toc] | [prev] | [next] | [standalone]


#329152

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-02-29 08:47 -0500
Message-ID<nb1i64029ss@news4.newsguy.com>
In reply to#329067
Robert Delaney wrote:
> On 2016-02-28 06:18:17 +0000, Bill said:
>
>> Robert Delaney wrote:
>>> The article:
>>>
>>> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>>>
>>> says that the matrix
>>> A =
>>> 3/4 5/4
>>> 5/4 3/4
>>>
>>> has no logarithm matrix (presumably no real logarithm matrix)
>>>
>>> An application based on my ComplexMatrix plugin for Xojo (was 
>>> REALbasic, then Real Studio) finds that (where re,im is a complex 
>>> number):
>>>
>>> log(A) =
>>> 0,1.570796326794897 0.6931471805599453,-1.570796326794897
>>> 0.6931471805599453,-1.570796326794897   0,1.570796326794897
>>>
>>> Those numbers looked familiar, so most probably:
>>>
>>> log(A) =
>>> 0,pi/2        ln(2),-pi/2
>>> ln(2),-pi/2   0,pi/2
>>>
>>> Can anyone give a theoretical basis for this being the log(A) matrix?
>>>
>>> Bob
>>>
>>
>> Substitute your matrix into the power series expansion for e^x and 
>> see what you get!
>
> Using the power series for exp:
>
> exp(log(A)) =
> 0.75,-2.220446049250313e-16           1.25,0
> 1.25,0 0.75,-2.220446049250313e-16
>
> Bob
>

Do you know how to create a unitary matrix U which shows that your 
matrix is similar to a diagonal matrix?  If so, applying these operators 
becomes (much) more elementary.  It's standard topic in linear 
differential equations.

[toc] | [prev] | [next] | [standalone]


#329181

FromRobert Delaney <delaneyrm@earthlnk.net>
Date2016-02-29 15:13 -0600
Message-ID<2016022915130319021-delaneyrm@earthlnknet>
In reply to#329152
On 2016-02-29 13:47:59 +0000, Bill said:

> Robert Delaney wrote:
>> On 2016-02-28 06:18:17 +0000, Bill said:
>> 
>>> Robert Delaney wrote:
>>>> The article:
>>>> 
>>>> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>>>> 
>>>> says that the matrix
>>>> A =
>>>> 3/4 5/4
>>>> 5/4 3/4
>>>> 
>>>> has no logarithm matrix (presumably no real logarithm matrix)
>>>> 
>>>> An application based on my ComplexMatrix plugin for Xojo (was 
>>>> REALbasic, then Real Studio) finds that (where re,im is a complex 
>>>> number):
>>>> 
>>>> log(A) =
>>>> 0,1.570796326794897 0.6931471805599453,-1.570796326794897
>>>> 0.6931471805599453,-1.570796326794897   0,1.570796326794897
>>>> 
>>>> Those numbers looked familiar, so most probably:
>>>> 
>>>> log(A) =
>>>> 0,pi/2        ln(2),-pi/2
>>>> ln(2),-pi/2   0,pi/2
>>>> 
>>>> Can anyone give a theoretical basis for this being the log(A) matrix?
>>>> 
>>>> Bob
>>>> 
>>> 
>>> Substitute your matrix into the power series expansion for e^x and see 
>>> what you get!
>> 
>> Using the power series for exp:
>> 
>> exp(log(A)) =
>> 0.75,-2.220446049250313e-16           1.25,0
>> 1.25,0 0.75,-2.220446049250313e-16
>> 
>> Bob
>> 
> 
> Do you know how to create a unitary matrix U which shows that your 
> matrix is similar to a diagonal matrix?  If so, applying these 
> operators becomes (much) more elementary.  It's standard topic in 
> linear differential equations.

Yes, that's the solution to the challenge.

Bob

[toc] | [prev] | [next] | [standalone]


#329210

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-02-29 20:29 -0500
Message-ID<nb2re702p61@news6.newsguy.com>
In reply to#329181
Robert Delaney wrote:
> On 2016-02-29 13:47:59 +0000, Bill said:
>
>> Robert Delaney wrote:
>>> On 2016-02-28 06:18:17 +0000, Bill said:
>>>
>>>> Robert Delaney wrote:
>>>>> The article:
>>>>>
>>>>> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>>>>>
>>>>> says that the matrix
>>>>> A =
>>>>> 3/4 5/4
>>>>> 5/4 3/4
>>>>>
>>>>> has no logarithm matrix (presumably no real logarithm matrix)
>>>>>
>>>>> An application based on my ComplexMatrix plugin for Xojo (was 
>>>>> REALbasic, then Real Studio) finds that (where re,im is a complex 
>>>>> number):
>>>>>
>>>>> log(A) =
>>>>> 0,1.570796326794897 0.6931471805599453,-1.570796326794897
>>>>> 0.6931471805599453,-1.570796326794897 0,1.570796326794897
>>>>>
>>>>> Those numbers looked familiar, so most probably:
>>>>>
>>>>> log(A) =
>>>>> 0,pi/2        ln(2),-pi/2
>>>>> ln(2),-pi/2   0,pi/2
>>>>>
>>>>> Can anyone give a theoretical basis for this being the log(A) matrix?
>>>>>
>>>>> Bob
>>>>>
>>>>
>>>> Substitute your matrix into the power series expansion for e^x and 
>>>> see what you get!
>>>
>>> Using the power series for exp:
>>>
>>> exp(log(A)) =
>>> 0.75,-2.220446049250313e-16           1.25,0
>>> 1.25,0 0.75,-2.220446049250313e-16
>>>
>>> Bob
>>>
>>
>> Do you know how to create a unitary matrix U which shows that your 
>> matrix is similar to a diagonal matrix?  If so, applying these 
>> operators becomes (much) more elementary.  It's standard topic in 
>> linear differential equations.
>
> Yes, that's the solution to the challenge.
>
> Bob
>
Okay, the way you asked the question, it sounded like you were seeking 
assistance.  I went to your link though, and I did find it interesting 
(especially the discussion concerning non-diagonal matrices).

Bill

[toc] | [prev] | [next] | [standalone]


#329215

FromRobert Delaney <delaneyrm@earthlnk.net>
Date2016-02-29 20:33 -0600
Message-ID<2016022920335687338-delaneyrm@earthlnknet>
In reply to#329210
On 2016-03-01 01:29:39 +0000, Bill said:

> Robert Delaney wrote:
>> On 2016-02-29 13:47:59 +0000, Bill said:
>> 
>>> Robert Delaney wrote:
>>>> On 2016-02-28 06:18:17 +0000, Bill said:
>>>> 
>>>>> Robert Delaney wrote:
>>>>>> The article:
>>>>>> 
>>>>>> https://en.wikipedia.org/wiki/Logarithm_of_a_matrix
>>>>>> 
>>>>>> says that the matrix
>>>>>> A =
>>>>>> 3/4 5/4
>>>>>> 5/4 3/4
>>>>>> 
>>>>>> has no logarithm matrix (presumably no real logarithm matrix)
>>>>>> 
>>>>>> An application based on my ComplexMatrix plugin for Xojo (was 
>>>>>> REALbasic, then Real Studio) finds that (where re,im is a complex 
>>>>>> number):
>>>>>> 
>>>>>> log(A) =
>>>>>> 0,1.570796326794897 0.6931471805599453,-1.570796326794897
>>>>>> 0.6931471805599453,-1.570796326794897 0,1.570796326794897
>>>>>> 
>>>>>> Those numbers looked familiar, so most probably:
>>>>>> 
>>>>>> log(A) =
>>>>>> 0,pi/2        ln(2),-pi/2
>>>>>> ln(2),-pi/2   0,pi/2
>>>>>> 
>>>>>> Can anyone give a theoretical basis for this being the log(A) matrix?
>>>>>> 
>>>>>> Bob
>>>>>> 
>>>>> 
>>>>> Substitute your matrix into the power series expansion for e^x and see 
>>>>> what you get!
>>>> 
>>>> Using the power series for exp:
>>>> 
>>>> exp(log(A)) =
>>>> 0.75,-2.220446049250313e-16           1.25,0
>>>> 1.25,0 0.75,-2.220446049250313e-16
>>>> 
>>>> Bob
>>>> 
>>> 
>>> Do you know how to create a unitary matrix U which shows that your 
>>> matrix is similar to a diagonal matrix?  If so, applying these 
>>> operators becomes (much) more elementary.  It's standard topic in 
>>> linear differential equations.
>> 
>> Yes, that's the solution to the challenge.
>> 
>> Bob
>> 
> Okay, the way you asked the question, it sounded like you were seeking 
> assistance.  I went to your link though, and I did find it interesting 
> (especially the discussion concerning non-diagonal matrices).
> 
> Bill

When I enter the non-diagonalizable matrix
A =
1  1
0  1
into my application and click on Log, I obtain the matrix
log(A) =
 0,0   1,0
 0,0   0,0
which is the real matrix
0  1
0  0
and the power series expansion for exp gives:
exp(log(A)) =
1  1
0  1

This happens because the log of a square matrix in my ComplexMatrix 
plugin was based on a paper “Real Powers and Logarithm of a Matrix” by 
Professor Dar-Veig Ho, Jan. 19, 2003. This is the URL for that paper:

http://people.math.gatech.edu/~ho/a2t.pdf

Bob

[toc] | [prev] | [next] | [standalone]


#329248

FromBill <BILL_NOSPAM@whoknows.net>
Date2016-03-01 08:09 -0500
Message-ID<nb44e40bsq@news6.newsguy.com>
In reply to#329215
Robert Delaney wrote:
>
> When I enter the non-diagonalizable matrix
> A =
> 1  1
> 0  1
> into my application and click on Log, I obtain the matrix
> log(A) =
> 0,0   1,0
> 0,0   0,0
> which is the real matrix
> 0  1
> 0  0
> and the power series expansion for exp gives:
> exp(log(A)) =
> 1  1
> 0  1
>
> This happens because the log of a square matrix in my ComplexMatrix 
> plugin was based on a paper “Real Powers and Logarithm of a Matrix” by 
> Professor Dar-Veig Ho, Jan. 19, 2003. This is the URL for that paper:
>
> http://people.math.gatech.edu/~ho/a2t.pdf
>
> Bob
>
Thank you. I saved copy to examine later today.

Bill

[toc] | [prev] | [standalone]


Back to top | Article view | sci.math


csiph-web