In[27]:= A := \!\(\* TagBox[ RowBox[{"(", "", GridBox[{ { FractionBox["400", "63"], "0", RowBox[{"-", FractionBox["800", "2079"]}], "0", FractionBox["200", "9009"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", FractionBox["400", "693"], "0", RowBox[{"-", FractionBox["800", "9009"]}], "0", FractionBox["200", "27027"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, { RowBox[{"-", FractionBox["800", "2079"]}], "0", FractionBox["400", "3003"], "0", RowBox[{"-", FractionBox["800", "27027"]}], "0", FractionBox["200", "65637"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", RowBox[{"-", FractionBox["800", "9009"]}], "0", FractionBox["400", "9009"], "0", RowBox[{"-", FractionBox["800", "65637"]}], "0", FractionBox["200", "138567"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, { FractionBox["200", "9009"], "0", RowBox[{"-", FractionBox["800", "27027"]}], "0", FractionBox["400", "21879"], "0", RowBox[{"-", FractionBox["800", "138567"]}], "0", FractionBox["200", "264537"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", FractionBox["200", "27027"], "0", RowBox[{"-", FractionBox["800", "65637"]}], "0", FractionBox["400", "46189"], "0", RowBox[{"-", FractionBox["800", "264537"]}], "0", FractionBox["200", "468027"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", "0", FractionBox["200", "65637"], "0", RowBox[{"-", FractionBox["800", "138567"]}], "0", FractionBox["400", "88179"], "0", RowBox[{"-", FractionBox["800", "468027"]}], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", "0", "0", FractionBox["200", "138567"], "0", RowBox[{"-", FractionBox["800", "264537"]}], "0", FractionBox["400", "156009"], "0", RowBox[{"-", FractionBox["160", "156009"]}], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", "0", "0", "0", FractionBox["200", "264537"], "0", RowBox[{"-", FractionBox["800", "468027"]}], "0", FractionBox["80", "52003"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", "0", "0", "0", "0", FractionBox["200", "468027"], "0", RowBox[{"-", FractionBox["160", "156009"]}], "0", FractionBox["80", "82593"], "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", FractionBox["16", "105"], "0", RowBox[{"-", FractionBox["8", "315"]}], "0", "0", "0", "0", "0", "0", "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", FractionBox["16", "315"], "0", RowBox[{"-", FractionBox["8", "693"]}], "0", "0", "0", "0", "0", "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "315"]}], "0", FractionBox["16", "693"], "0", RowBox[{"-", FractionBox["8", "1287"]}], "0", "0", "0", "0", "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "693"]}], "0", FractionBox["16", "1287"], "0", RowBox[{"-", FractionBox["8", "2145"]}], "0", "0", "0", "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "1287"]}], "0", FractionBox["16", "2145"], "0", RowBox[{"-", FractionBox["8", "3315"]}], "0", "0", "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "2145"]}], "0", FractionBox["16", "3315"], "0", RowBox[{"-", FractionBox["8", "4845"]}], "0", "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "3315"]}], "0", FractionBox["16", "4845"], "0", RowBox[{"-", FractionBox["8", "6783"]}], "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "4845"]}], "0", FractionBox["16", "6783"], "0", RowBox[{"-", FractionBox["8", "9177"]}]}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "6783"]}], "0", FractionBox["16", "9177"], "0"}, {"0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", RowBox[{"-", FractionBox["8", "9177"]}], "0", FractionBox["16", "12075"]} }, GridBoxAlignment->{ "Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.7]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], "", ")"}], Function[BoxForm`e$, MatrixForm[BoxForm`e$]]]\); B := \!\(\* TagBox[ RowBox[{"(", "", GridBox[{ {"1.323809523809524`*^6", "0.`", RowBox[{"-", "220634.92063492065`"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "6.619047619047619`*^6", "0.`", RowBox[{"-", "1.103174603174603`*^6"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`"}, {"0.`", "441269.8412698413`", "0.`", RowBox[{"-", "100288.6002886003`"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "2.206349206349206`*^6", "0.`", RowBox[{"-", "501443.00144300144`"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`"}, { RowBox[{"-", "220634.92063492065`"}], "0.`", "200577.2005772006`", "0.`", RowBox[{"-", "54001.55400155401`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "1.103174603174603`*^6"}], "0.`", "1.0028860028860029`*^6", "0.`", RowBox[{"-", "270007.77000777`"}], "0.`", "0.`", "0.`", "0.`", "0.`"}, {"0.`", RowBox[{"-", "100288.6002886003`"}], "0.`", "108003.10800310802`", "0.`", RowBox[{"-", "32400.9324009324`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "501443.00144300144`"}], "0.`", "540015.54001554`", "0.`", RowBox[{"-", "162004.662004662`"}], "0.`", "0.`", "0.`", "0.`"}, {"0.`", "0.`", RowBox[{"-", "54001.55400155401`"}], "0.`", "64801.8648018648`", "0.`", RowBox[{"-", "20965.30920060332`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "270007.77000777`"}], "0.`", "324009.324009324`", "0.`", RowBox[{"-", "104826.5460030166`"}], "0.`", "0.`", "0.`"}, {"0.`", "0.`", "0.`", RowBox[{"-", "32400.9324009324`"}], "0.`", "41930.61840120664`", "0.`", RowBox[{"-", "14344.685242518059`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "162004.662004662`"}], "0.`", "209653.0920060332`", "0.`", RowBox[{"-", "71723.4262125903`"}], "0.`", "0.`"}, {"0.`", "0.`", "0.`", "0.`", RowBox[{"-", "20965.30920060332`"}], "0.`", "28689.370485036117`", "0.`", RowBox[{"-", "10246.203744655757`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "104826.5460030166`"}], "0.`", "143446.8524251806`", "0.`", RowBox[{"-", "51231.01872327879`"}], "0.`"}, {"0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "14344.685242518059`"}], "0.`", "20492.407489311514`", "0.`", RowBox[{"-", "7573.281028658603`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "71723.4262125903`"}], "0.`", "102462.03744655757`", "0.`", RowBox[{"-", "37866.405143293014`"}]}, {"0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "10246.203744655757`"}], "0.`", "15146.562057317205`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "51231.01872327879`"}], "0.`", "75732.81028658603`", "0.`"}, {"0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "7573.281028658603`"}], "0.`", "11511.387163561076`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "37866.405143293014`"}], "0.`", "57556.93581780538`"}, {"6.619047619047619`*^6", "0.`", RowBox[{"-", "1.103174603174603`*^6"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "3.34152380952381`*^7", "0.`", RowBox[{"-", "5.515873015873016`*^6"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`"}, {"0.`", "2.206349206349206`*^6", "0.`", RowBox[{"-", "501443.00144300144`"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "1.126031746031746`*^7", "0.`", RowBox[{"-", "2.507215007215007`*^6"}], "0.`", "0.`", "0.`", "0.`", "0.`", "0.`"}, { RowBox[{"-", "1.103174603174603`*^6"}], "0.`", "1.0028860028860029`*^6", "0.`", RowBox[{"-", "270007.77000777`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "5.515873015873016`*^6"}], "0.`", "5.192207792207792`*^6", "0.`", RowBox[{"-", "1.35003885003885`*^6"}], "0.`", "0.`", "0.`", "0.`", "0.`"}, {"0.`", RowBox[{"-", "501443.00144300144`"}], "0.`", "540015.54001554`", "0.`", RowBox[{"-", "162004.662004662`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "2.507215007215007`*^6"}], "0.`", "2.8455322455322454`*^6", "0.`", RowBox[{"-", "810023.31002331`"}], "0.`", "0.`", "0.`", "0.`"}, {"0.`", "0.`", RowBox[{"-", "270007.77000777`"}], "0.`", "324009.324009324`", "0.`", RowBox[{"-", "104826.5460030166`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "1.35003885003885`*^6"}], "0.`", "1.743123543123543`*^6", "0.`", RowBox[{"-", "524132.730015083`"}], "0.`", "0.`", "0.`"}, {"0.`", "0.`", "0.`", RowBox[{"-", "162004.662004662`"}], "0.`", "209653.0920060332`", "0.`", RowBox[{"-", "71723.4262125903`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "810023.31002331`"}], "0.`", "1.1549321266968327`*^6", "0.`", RowBox[{"-", "358617.1310629515`"}], "0.`", "0.`"}, {"0.`", "0.`", "0.`", "0.`", RowBox[{"-", "104826.5460030166`"}], "0.`", "143446.8524251806`", "0.`", RowBox[{"-", "51231.01872327879`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "524132.730015083`"}], "0.`", "811351.9091847265`", "0.`", RowBox[{"-", "256155.09361639395`"}], "0.`"}, {"0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "71723.4262125903`"}], "0.`", "102462.03744655757`", "0.`", RowBox[{"-", "37866.405143293014`"}], "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "358617.1310629515`"}], "0.`", "596520.7135485774`", "0.`", RowBox[{"-", "189332.02571646505`"}]}, {"0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "51231.01872327879`"}], "0.`", "75732.81028658603`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "256155.09361639395`"}], "0.`", "454854.52762340626`", "0.`"}, {"0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "37866.405143293014`"}], "0.`", "57556.93581780538`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", "0.`", RowBox[{"-", "189332.02571646505`"}], "0.`", "357349.8964803312`"} }, GridBoxAlignment->{ "Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.7]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], "", ")"}], Function[BoxForm`e$, MatrixForm[BoxForm`e$]]]\); D0 := -x*A + B; PositiveDefiniteMatrixQ[A] PositiveDefiniteMatrixQ[B] SymmetricMatrixQ[A] SymmetricMatrixQ[B] Solve[Det[D0] == 0, x] // MatrixForm Out[30]= True Out[31]= True Out[32]= True Out[33]= True Out[34]//MatrixForm= \!\(\* TagBox[ RowBox[{"(", "", GridBox[{ { RowBox[{"x", "->", RowBox[{"-", "5.8044241859540485`*^7"}]}]}, { RowBox[{"x", "->", RowBox[{ RowBox[{"-", "3.1467337836662523`*^7"}], "-", RowBox[{"7.737271566284263`*^8", " ", "I"}]}]}]}, { RowBox[{"x", "->", RowBox[{ RowBox[{"-", "3.1467337836662516`*^7"}], "+", RowBox[{"7.737271566284263`*^8", " ", "I"}]}]}]}, { RowBox[{"x", "->", RowBox[{"-", "946585.7726474439`"}]}]}, { RowBox[{"x", "->", RowBox[{"-", "476395.104445352`"}]}]}, { RowBox[{"x", "->", RowBox[{"-", "1.546372422934481`*^-11"}]}]}, { RowBox[{"x", "->", RowBox[{"-", "1.5463722500527035`*^-11"}]}]}, { RowBox[{"x", "->", RowBox[{"-", "1.2603136028695114`*^-24"}]}]}, { RowBox[{"x", "->", RowBox[{"6.301568014347557`*^-25", "-", RowBox[{"1.091463596819971`*^-24", " ", "I"}]}]}]}, { RowBox[{"x", "->", RowBox[{"6.301568014347557`*^-25", "+", RowBox[{"1.091463596819971`*^-24", " ", "I"}]}]}]}, { RowBox[{"x", "->", "1.2269468500057523`*^-8"}]}, { RowBox[{"x", "->", "1.2269916823714213`*^-8"}]}, { RowBox[{"x", "->", "1.228228535010886`*^-8"}]}, { RowBox[{"x", "->", "1.2290316769644471`*^-8"}]}, { RowBox[{"x", "->", "1.2294496072562016`*^-8"}]}, { RowBox[{"x", "->", "1978.294375636097`"}]}, { RowBox[{"x", "->", "14617.628280131652`"}]}, { RowBox[{"x", "->", "55725.5392142675`"}]}, { RowBox[{"x", "->", RowBox[{"66822.6942924043`", "\[VeryThinSpace]", "-", RowBox[{"96061.99043058319`", " ", "I"}]}]}]}, { RowBox[{"x", "->", RowBox[{"66822.6942924043`", "\[VeryThinSpace]", "+", RowBox[{"96061.99043058319`", " ", "I"}]}]}]}, { RowBox[{"x", "->", "321863.65320962254`"}]}, { RowBox[{"x", "->", "823182.4581619113`"}]}, { RowBox[{"x", "->", "1.13837258751904`*^6"}]}, { RowBox[{"x", "->", "5.278252037833617`*^6"}]}, { RowBox[{"x", "->", "8.051914224184573`*^6"}]}, { RowBox[{"x", "->", RowBox[{"1.4602182151991867`*^7", "-", RowBox[{"1.3798394782982904`*^8", " ", "I"}]}]}]}, { RowBox[{"x", "->", RowBox[{"1.4602182151991967`*^7", "+", RowBox[{"1.3798394782982904`*^8", " ", "I"}]}]}]}, { RowBox[{"x", "->", "3.923435373966664`*^7"}]}, { RowBox[{"x", "->", "8.43716414793156`*^7"}]}, { RowBox[{"x", "->", "2.1717442025302073`*^8"}]}, { RowBox[{"x", "->", "2.1721304330073574`*^8"}]}, { RowBox[{"x", "->", "2.197686236952558`*^8"}]}, { RowBox[{"x", "->", "2.2745382723250014`*^8"}]}, { RowBox[{"x", "->", "2.4019363840231752`*^8"}]}, { RowBox[{"x", "->", RowBox[{"2.5553831931775105`*^8", "-", RowBox[{"1.552061261059604`*^8", " ", "I"}]}]}]}, { RowBox[{"x", "->", RowBox[{"2.555383193178787`*^8", "+", RowBox[{"1.552061261064033`*^8", " ", "I"}]}]}]}, { RowBox[{"x", "->", "2.6138645904853445`*^8"}]}, { RowBox[{"x", "->", "3.54738834470547`*^8"}]}, { RowBox[{"x", "->", "5.23233362779823`*^8"}]}, { RowBox[{"x", "->", "2.6423044653902377`*^18"}]} }, GridBoxAlignment->{ "Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.7]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], "", ")"}], Function[BoxForm`e$, MatrixForm[BoxForm`e$]]]\)