<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, program to decide when a matrix is symmetric positive definite????</title>
    <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 18:59:25 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 18:59:25 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, program to decide when a matrix is symmetric positive definite????</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, program to decide when a matrix is symmetric positive definite????</title>
      <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric</link>
    </image>
    <item>
      <title>built in command</title>
      <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric?ref=Feed:MaplePrimes:program to decide when a matrix is symmetric positive definite????:Comments#comment79917</link>
      <itunes:summary>Maple can check for positive definite using the IsDefinite command from the LinearAlgebra package.</itunes:summary>
      <description>The latest comments added to the Post, program to decide when a matrix is symmetric positive definite????</description>
      <guid>79917</guid>
      <pubDate>Wed, 26 Apr 2006 20:06:55 Z</pubDate>
      <itunes:author>dharr</itunes:author>
      <author>dharr</author>
    </item>
    <item>
      <title>If you really want to do it yourself ...</title>
      <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric?ref=Feed:MaplePrimes:program to decide when a matrix is symmetric positive definite????:Comments#comment86527</link>
      <itunes:summary>Check for "cholesky algorithm" in a textbook covering numerical linear algebra. Its implementation is rather straightforward.
Regards
WW</itunes:summary>
      <description>The latest comments added to the Post, program to decide when a matrix is symmetric positive definite????</description>
      <guid>86527</guid>
      <pubDate>Mon, 01 May 2006 21:01:11 Z</pubDate>
      <itunes:author>Werner</itunes:author>
      <author>Werner</author>
    </item>
    <item>
      <title>Does it have to be symmetric?</title>
      <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric?ref=Feed:MaplePrimes:program to decide when a matrix is symmetric positive definite????:Comments#comment81731</link>
      <itunes:summary>&lt;p&gt;&lt;b&gt;Maple 12 / help&lt;/b&gt; states this:&lt;b&gt;&lt;br /&gt;
LinearAlgebra[IsDefinite] &lt;/b&gt;- test for positive or negative definite or indefinite Matrices&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description&lt;br /&gt;
&lt;/b&gt;The &lt;b&gt;IsDefinite(A, query = 'positive_definite')&lt;/b&gt; returns &lt;b&gt;true&lt;/b&gt; if &lt;b&gt;A&lt;/b&gt; is a real symmetric or a complex Hermitian Matrix and all the eigenvalues are determined to be positive. Because the default query is &lt;b&gt;query = 'positive_definite'&lt;/b&gt;, this command is equivalent to &lt;b&gt;IsDefinite(A)&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This description&amp;nbsp;doesn't&amp;nbsp;imply&amp;nbsp;that&amp;nbsp;&lt;b&gt;IsDefinite(A)&lt;/b&gt; will always give &lt;b&gt;true&lt;/b&gt; when matrix A is positive definite and &lt;b&gt;not&lt;/b&gt; symmetric.&lt;br /&gt;
&lt;br /&gt;
Question:&lt;br /&gt;
Is it just a bug in help description or we can't rely on function&amp;nbsp;&lt;strong&gt;IsDefinite()&lt;/strong&gt;&amp;nbsp;for &lt;b&gt;non symmetric&lt;/b&gt; matrices?&lt;br /&gt;
(I didn't find a counterexample, i.e. a non symmetric positive definite matrix A for&amp;nbsp;which&amp;nbsp;&lt;strong&gt;IsDefinite(A)&lt;/strong&gt; =&lt;strong&gt; false&lt;/strong&gt;)&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, program to decide when a matrix is symmetric positive definite????</description>
      <guid>81731</guid>
      <pubDate>Sun, 07 Mar 2010 17:07:24 Z</pubDate>
      <itunes:author>Robertas Vilkas</itunes:author>
      <author>Robertas Vilkas</author>
    </item>
    <item>
      <title>Non-symmetric</title>
      <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric?ref=Feed:MaplePrimes:program to decide when a matrix is symmetric positive definite????:Comments#comment94378</link>
      <itunes:summary>&lt;p&gt;For example, for a 2 x 2 matrix:&lt;/p&gt;
&lt;pre&gt;
&amp;gt;  with(LinearAlgebra):
&amp;nbsp;&amp;nbsp; M:= &amp;lt;&amp;lt;1 | 0&amp;gt;, &amp;lt;3 | 1&amp;gt;&amp;gt;;
&amp;nbsp;&amp;nbsp; Eigenvalues(M);
&lt;/pre&gt;
&lt;p&gt;[&amp;nbsp;&amp;nbsp; 1 &amp;nbsp; ]&lt;br /&gt;
[&amp;nbsp;&amp;nbsp; 1 &amp;nbsp; ]&lt;/p&gt;
&lt;pre&gt;
&amp;gt; IsDefinite(M);
&lt;/pre&gt;
&lt;p&gt;false&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, program to decide when a matrix is symmetric positive definite????</description>
      <guid>94378</guid>
      <pubDate>Mon, 08 Mar 2010 01:50:00 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
    <item>
      <title>help bug</title>
      <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric?ref=Feed:MaplePrimes:program to decide when a matrix is symmetric positive definite????:Comments#comment94379</link>
      <itunes:summary>&lt;p&gt;It's a bug in the documentation only, I think, that it doesn't describe the nonsymmetric case.&lt;/p&gt;
&lt;p&gt;The term &amp;quot;positive definite&amp;quot; refers to what sign the scalar value x^%T.A.x can take on for any nonzero column Vector x, rather than (always) what sign the eigenvalues have. Hence Robert's example below is &lt;i&gt;not &lt;/i&gt;a counter-example to match your bracketed/ie description, I think.&lt;/p&gt;
&lt;p&gt;Now, some texts state the definition of the term &amp;quot;positive definite&amp;quot; by stating that &amp;quot;A symmetric/hermitian matrix is positive-definite if...&amp;quot; and so of course with that wording the symmetric aspect is built right into the concept. And for a symmetric/hermitian Matrix the positive-definiteness matches whether the eigenvalues are all positive. But the definition needn't be taken as always including the symmetric quality.&lt;/p&gt;
&lt;p&gt;Modulo bugs, you ought to be able to rely on IsDefinite for nonsymmetric Matrices.&lt;/p&gt;
&lt;p&gt;Having said that, I sort of remember that there was a short-lived (1 release, then fixed, maybe in Maple 12?) glitch introduced in the recent past for the nonsymmetric case. It's Sunday afternoon,... and I hope that I haven't remembered that situation all wrong.&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, program to decide when a matrix is symmetric positive definite????</description>
      <guid>94379</guid>
      <pubDate>Mon, 08 Mar 2010 03:08:18 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>positive definite</title>
      <link>http://www.mapleprimes.com/posts/42914-Program-To-Decide-When-A-Matrix-Is-Symmetric?ref=Feed:MaplePrimes:program to decide when a matrix is symmetric positive definite????:Comments#comment94380</link>
      <itunes:summary>&lt;p&gt;There are, I think, various different definitions of &amp;quot;positive definite&amp;quot; that all coincide in the hermitian case, but don't in general.&amp;nbsp; It appears to me that IsDefinite(A) actually works on A + A^%H, so (for real matrices) if you use the criterion that x^%T . A . x &amp;gt; 0 for all nonzero real vectors x,&amp;nbsp; IsDefinite should give a correct answer. &lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, program to decide when a matrix is symmetric positive definite????</description>
      <guid>94380</guid>
      <pubDate>Mon, 08 Mar 2010 06:20:25 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
  </channel>
</rss>