Is there a way to know which symbolic expression mathematica usedGiven a symbolic expression how to find if starts with a minus or not?(Symbolic) LinearSolve is slower/different after upgrading to Mathematica 9Symbolic matrice or vectors in Mathematica?How to define the symbolic expression $V = frac1N sum_i=1^N ( y_i(g) - z_i)^2$ in Mathematica?Root: Simplifying symbolic expressionHow can I find the formal derivative of a polynomial w.r.t. to its coefficientsSymbolic Integration gives wrong answerSymbolic manipulation of expression with undefined functionIs it possible to get a symbolic a concise expression for my function?Trying to apply Jensen's inequality to a complicated symbolic expression

Machine learning and operations research projects

Do I have a right to cancel a purchase of foreign currency in the UK?

How to memorize multiple pieces?

Is "I do not want you to go nowhere" a case of "DOUBLE-NEGATIVES" as claimed by Grammarly?

How is angular momentum conserved for the orbiting body if the centripetal force disappears?

Are neural networks prone to catastrophic forgetting?

Why weren't bootable game disks ever common on the IBM PC?

What was the definition of "set" that resulted in Russell's Paradox

How can I calculate the sum of 2 random dice out of a 3d6 pool in AnyDice?

What prevents someone from claiming to be the murderer in order to get the real murderer off?

How to ask for a LinkedIn endorsement?

Is Trump personally blocking people on Twitter?

Using Newton's shell theorem to accelerate a spaceship

As the Dungeon Master, how do I handle a player that insists on a specific class when I already know that choice will cause issues?

Why didn't Nick Fury expose the villain's identity and plans?

How would my creatures handle groups without a strong concept of numbers?

Does Lufthansa weigh your carry on luggage?

How to evolve human-like eyes that can stare at the sun without protection?

Mathematica notebook opening off the screen

For a hashing function like MD5, how similar can two plaintext strings be and still generate the same hash?

Confirming the Identity of a (Friendly) Reviewer After the Reviews

Credit score and financing new car

Shortest hex dumping program

Does throwing a penny at a train stop the train?



Is there a way to know which symbolic expression mathematica used


Given a symbolic expression how to find if starts with a minus or not?(Symbolic) LinearSolve is slower/different after upgrading to Mathematica 9Symbolic matrice or vectors in Mathematica?How to define the symbolic expression $V = frac1N sum_i=1^N ( y_i(g) - z_i)^2$ in Mathematica?Root: Simplifying symbolic expressionHow can I find the formal derivative of a polynomial w.r.t. to its coefficientsSymbolic Integration gives wrong answerSymbolic manipulation of expression with undefined functionIs it possible to get a symbolic a concise expression for my function?Trying to apply Jensen's inequality to a complicated symbolic expression






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1












$begingroup$


Take the following symbolic sum:



Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


Mathematica answers me: $- fracpi4$



It is great, I have an exact expression for this complicated sum. But I would like to know how mathematica knows this result.



Is there a way to ask him which function he used to compute it ?










share|improve this question









$endgroup$


















    1












    $begingroup$


    Take the following symbolic sum:



    Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


    Mathematica answers me: $- fracpi4$



    It is great, I have an exact expression for this complicated sum. But I would like to know how mathematica knows this result.



    Is there a way to ask him which function he used to compute it ?










    share|improve this question









    $endgroup$














      1












      1








      1





      $begingroup$


      Take the following symbolic sum:



      Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


      Mathematica answers me: $- fracpi4$



      It is great, I have an exact expression for this complicated sum. But I would like to know how mathematica knows this result.



      Is there a way to ask him which function he used to compute it ?










      share|improve this question









      $endgroup$




      Take the following symbolic sum:



      Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


      Mathematica answers me: $- fracpi4$



      It is great, I have an exact expression for this complicated sum. But I would like to know how mathematica knows this result.



      Is there a way to ask him which function he used to compute it ?







      symbolic






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      StarBucKStarBucK

      8653 silver badges13 bronze badges




      8653 silver badges13 bronze badges




















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          You can use a Wolfram|Alpha query and then look at the Series Representation results.



          In Mathematica, the easiest way to do this is start your input with == and it will change it to a spikey input symbol.



          ==Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


          Result:
          enter image description here






          share|improve this answer









          $endgroup$




















            5












            $begingroup$

            In general, symbolic sums are evaluated by using a combination of internal methods and it is usually difficult to give insight into the evaluation process.



            However, this sum is evaluated by using a representation in terms of HypergeometricPFQ (strictly speaking, this is a Hypergeometric0F1).



            This may be seen by using the (undocumented) Method option setting "InactivePFQ" as shown below.




            In[1]:= Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity,
            Method -> "InactivePFQ"] // InputForm

            Out[1]//InputForm=
            -(Pi^2*Inactive[HypergeometricPFQ][, 3/2, -Pi^2/16])/8

            In[2]:= Activate[%] // FullSimplify // InputForm

            Out[2]//InputForm=
            -Pi/4

            In[3]:= N[%]

            Out[3]= -0.785398

            In[4]:= NSum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]

            Out[4]= -0.785398



            The representation in terms of HypergeometricPFQ can be understood by defining a sequence corresponding to the first argument of Sum as follows (the sequence has been shifted so that it starts at 0, rather than 1).



            a[n_] = (-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n /. n -> n + 1;



            The factor of-Pi^2/8 in the answer from Sum is the zeroth term of this sequence.




            In[6]:= a[0] // InputForm

            Out[6]//InputForm=
            -Pi^2/8



            The arguments of HypergeometricPFQ in this case can be understood by computing the ratio of the adjacent terms of a[n].



            In[7]:= DiscreteRatio[a[n], n] // InputForm

            Out[7]//InputForm=
            -Pi^2/(8*(1 + n)*(3 + 2*n))

            In[8]:=
            Simplify[% == -(Pi^2/16)*(1/((n + 1)*(n + 3/2)))]

            Out[8]= True



            The factor of (n+1) in the denominator of the above comes from the definition of Hypergoemetric0F1 and can be ignored.



            Hope this helps in understanding the result from Sum.






            share|improve this answer











            $endgroup$















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "387"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201870%2fis-there-a-way-to-know-which-symbolic-expression-mathematica-used%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2












              $begingroup$

              You can use a Wolfram|Alpha query and then look at the Series Representation results.



              In Mathematica, the easiest way to do this is start your input with == and it will change it to a spikey input symbol.



              ==Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


              Result:
              enter image description here






              share|improve this answer









              $endgroup$

















                2












                $begingroup$

                You can use a Wolfram|Alpha query and then look at the Series Representation results.



                In Mathematica, the easiest way to do this is start your input with == and it will change it to a spikey input symbol.



                ==Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


                Result:
                enter image description here






                share|improve this answer









                $endgroup$















                  2












                  2








                  2





                  $begingroup$

                  You can use a Wolfram|Alpha query and then look at the Series Representation results.



                  In Mathematica, the easiest way to do this is start your input with == and it will change it to a spikey input symbol.



                  ==Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


                  Result:
                  enter image description here






                  share|improve this answer









                  $endgroup$



                  You can use a Wolfram|Alpha query and then look at the Series Representation results.



                  In Mathematica, the easiest way to do this is start your input with == and it will change it to a spikey input symbol.



                  ==Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]


                  Result:
                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 5 hours ago









                  kickertkickert

                  1,0351 silver badge18 bronze badges




                  1,0351 silver badge18 bronze badges























                      5












                      $begingroup$

                      In general, symbolic sums are evaluated by using a combination of internal methods and it is usually difficult to give insight into the evaluation process.



                      However, this sum is evaluated by using a representation in terms of HypergeometricPFQ (strictly speaking, this is a Hypergeometric0F1).



                      This may be seen by using the (undocumented) Method option setting "InactivePFQ" as shown below.




                      In[1]:= Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity,
                      Method -> "InactivePFQ"] // InputForm

                      Out[1]//InputForm=
                      -(Pi^2*Inactive[HypergeometricPFQ][, 3/2, -Pi^2/16])/8

                      In[2]:= Activate[%] // FullSimplify // InputForm

                      Out[2]//InputForm=
                      -Pi/4

                      In[3]:= N[%]

                      Out[3]= -0.785398

                      In[4]:= NSum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]

                      Out[4]= -0.785398



                      The representation in terms of HypergeometricPFQ can be understood by defining a sequence corresponding to the first argument of Sum as follows (the sequence has been shifted so that it starts at 0, rather than 1).



                      a[n_] = (-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n /. n -> n + 1;



                      The factor of-Pi^2/8 in the answer from Sum is the zeroth term of this sequence.




                      In[6]:= a[0] // InputForm

                      Out[6]//InputForm=
                      -Pi^2/8



                      The arguments of HypergeometricPFQ in this case can be understood by computing the ratio of the adjacent terms of a[n].



                      In[7]:= DiscreteRatio[a[n], n] // InputForm

                      Out[7]//InputForm=
                      -Pi^2/(8*(1 + n)*(3 + 2*n))

                      In[8]:=
                      Simplify[% == -(Pi^2/16)*(1/((n + 1)*(n + 3/2)))]

                      Out[8]= True



                      The factor of (n+1) in the denominator of the above comes from the definition of Hypergoemetric0F1 and can be ignored.



                      Hope this helps in understanding the result from Sum.






                      share|improve this answer











                      $endgroup$

















                        5












                        $begingroup$

                        In general, symbolic sums are evaluated by using a combination of internal methods and it is usually difficult to give insight into the evaluation process.



                        However, this sum is evaluated by using a representation in terms of HypergeometricPFQ (strictly speaking, this is a Hypergeometric0F1).



                        This may be seen by using the (undocumented) Method option setting "InactivePFQ" as shown below.




                        In[1]:= Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity,
                        Method -> "InactivePFQ"] // InputForm

                        Out[1]//InputForm=
                        -(Pi^2*Inactive[HypergeometricPFQ][, 3/2, -Pi^2/16])/8

                        In[2]:= Activate[%] // FullSimplify // InputForm

                        Out[2]//InputForm=
                        -Pi/4

                        In[3]:= N[%]

                        Out[3]= -0.785398

                        In[4]:= NSum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]

                        Out[4]= -0.785398



                        The representation in terms of HypergeometricPFQ can be understood by defining a sequence corresponding to the first argument of Sum as follows (the sequence has been shifted so that it starts at 0, rather than 1).



                        a[n_] = (-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n /. n -> n + 1;



                        The factor of-Pi^2/8 in the answer from Sum is the zeroth term of this sequence.




                        In[6]:= a[0] // InputForm

                        Out[6]//InputForm=
                        -Pi^2/8



                        The arguments of HypergeometricPFQ in this case can be understood by computing the ratio of the adjacent terms of a[n].



                        In[7]:= DiscreteRatio[a[n], n] // InputForm

                        Out[7]//InputForm=
                        -Pi^2/(8*(1 + n)*(3 + 2*n))

                        In[8]:=
                        Simplify[% == -(Pi^2/16)*(1/((n + 1)*(n + 3/2)))]

                        Out[8]= True



                        The factor of (n+1) in the denominator of the above comes from the definition of Hypergoemetric0F1 and can be ignored.



                        Hope this helps in understanding the result from Sum.






                        share|improve this answer











                        $endgroup$















                          5












                          5








                          5





                          $begingroup$

                          In general, symbolic sums are evaluated by using a combination of internal methods and it is usually difficult to give insight into the evaluation process.



                          However, this sum is evaluated by using a representation in terms of HypergeometricPFQ (strictly speaking, this is a Hypergeometric0F1).



                          This may be seen by using the (undocumented) Method option setting "InactivePFQ" as shown below.




                          In[1]:= Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity,
                          Method -> "InactivePFQ"] // InputForm

                          Out[1]//InputForm=
                          -(Pi^2*Inactive[HypergeometricPFQ][, 3/2, -Pi^2/16])/8

                          In[2]:= Activate[%] // FullSimplify // InputForm

                          Out[2]//InputForm=
                          -Pi/4

                          In[3]:= N[%]

                          Out[3]= -0.785398

                          In[4]:= NSum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]

                          Out[4]= -0.785398



                          The representation in terms of HypergeometricPFQ can be understood by defining a sequence corresponding to the first argument of Sum as follows (the sequence has been shifted so that it starts at 0, rather than 1).



                          a[n_] = (-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n /. n -> n + 1;



                          The factor of-Pi^2/8 in the answer from Sum is the zeroth term of this sequence.




                          In[6]:= a[0] // InputForm

                          Out[6]//InputForm=
                          -Pi^2/8



                          The arguments of HypergeometricPFQ in this case can be understood by computing the ratio of the adjacent terms of a[n].



                          In[7]:= DiscreteRatio[a[n], n] // InputForm

                          Out[7]//InputForm=
                          -Pi^2/(8*(1 + n)*(3 + 2*n))

                          In[8]:=
                          Simplify[% == -(Pi^2/16)*(1/((n + 1)*(n + 3/2)))]

                          Out[8]= True



                          The factor of (n+1) in the denominator of the above comes from the definition of Hypergoemetric0F1 and can be ignored.



                          Hope this helps in understanding the result from Sum.






                          share|improve this answer











                          $endgroup$



                          In general, symbolic sums are evaluated by using a combination of internal methods and it is usually difficult to give insight into the evaluation process.



                          However, this sum is evaluated by using a representation in terms of HypergeometricPFQ (strictly speaking, this is a Hypergeometric0F1).



                          This may be seen by using the (undocumented) Method option setting "InactivePFQ" as shown below.




                          In[1]:= Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity,
                          Method -> "InactivePFQ"] // InputForm

                          Out[1]//InputForm=
                          -(Pi^2*Inactive[HypergeometricPFQ][, 3/2, -Pi^2/16])/8

                          In[2]:= Activate[%] // FullSimplify // InputForm

                          Out[2]//InputForm=
                          -Pi/4

                          In[3]:= N[%]

                          Out[3]= -0.785398

                          In[4]:= NSum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, n, 1, Infinity]

                          Out[4]= -0.785398



                          The representation in terms of HypergeometricPFQ can be understood by defining a sequence corresponding to the first argument of Sum as follows (the sequence has been shifted so that it starts at 0, rather than 1).



                          a[n_] = (-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n /. n -> n + 1;



                          The factor of-Pi^2/8 in the answer from Sum is the zeroth term of this sequence.




                          In[6]:= a[0] // InputForm

                          Out[6]//InputForm=
                          -Pi^2/8



                          The arguments of HypergeometricPFQ in this case can be understood by computing the ratio of the adjacent terms of a[n].



                          In[7]:= DiscreteRatio[a[n], n] // InputForm

                          Out[7]//InputForm=
                          -Pi^2/(8*(1 + n)*(3 + 2*n))

                          In[8]:=
                          Simplify[% == -(Pi^2/16)*(1/((n + 1)*(n + 3/2)))]

                          Out[8]= True



                          The factor of (n+1) in the denominator of the above comes from the definition of Hypergoemetric0F1 and can be ignored.



                          Hope this helps in understanding the result from Sum.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 3 hours ago









                          Community

                          1




                          1










                          answered 3 hours ago









                          Devendra KapadiaDevendra Kapadia

                          1,1596 silver badges9 bronze badges




                          1,1596 silver badges9 bronze badges



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Mathematica Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201870%2fis-there-a-way-to-know-which-symbolic-expression-mathematica-used%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                              Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                              Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її