FullSimplify a trigonometric expression doesn't work as expectedEfficiently define a function as the numerical result of infinite sumsSimplifying a trigonometric expressionWhy FullSimplify doesn't work here?Why doesn't FullSimplify work properly on this?Integrate wrong for absolute value of trig functionSimplify trigonometric expressionSimple case for FullSimplify doesn't workSimplifying symbolic integration with trigonometric functionsFullSimplify doesn't know simplify an obvious expression

What is this dial on my old film camera for?

Sum in bash outside while read line

How do I make the same variable available to all my theme files?

Slow coworker receiving compliments while I receive complaints

Would removing the "total cover" part of a Paladin's Divine Sense unbalance the feature?

How can demon technology be prevented from surpassing humans?

Future of iTunes and audio files in its library

How is the corresponding author on a (math) paper typically chosen?

Glacial, Magnetic and Mossy Lures; what Pokémon do they attract?

Shortest way to get an EOF Error

Is it possible to do a low carb diet for a month in Sicily?

SSH from a shared workplace computer

What is the German word for: "It only works when I try to show you how it does not work"?

First aid scissors confiscated by Dubai airport security

Negative feedbacks and "Language smoother"

Can you give me a sequence such that :

Are there any rules around when something can be described as "based on a true story"?

Can you decide not to sneak into a room after seeing your roll?

How can I attach a set of five panniers?

5v home network

Can a character dodge an attack that beats their Armor Class?

Is data science mathematically interesting?

Does this shuffle have non-zero probability for all permutations?

What is a light-year, really?



FullSimplify a trigonometric expression doesn't work as expected


Efficiently define a function as the numerical result of infinite sumsSimplifying a trigonometric expressionWhy FullSimplify doesn't work here?Why doesn't FullSimplify work properly on this?Integrate wrong for absolute value of trig functionSimplify trigonometric expressionSimple case for FullSimplify doesn't workSimplifying symbolic integration with trigonometric functionsFullSimplify doesn't know simplify an obvious expression






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

.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;








2














$begingroup$


I know this kind of question is frequent asked, yet each case has its own particularities. I will show my problem.



I define the following:



f[k_] := Binomial[n, k] (Sin[Φ]^2)^k (Cos[Φ]^2)^(n - k);
g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);


After that I want to perform the sum:



FullSimplify[Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n],
Element[n, Integers] && n > 0 && Element[Φ, Reals] && 0 < Φ < Pi/2]


And I got the result:



4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n)


This as much as I can simplify the expression. However, according to book the result of the sum is just 4n



H[n_]=Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n]]//FullSimplify

Table[H[i],i,1,10]//FullSimplify
4, 8, 12, 16, 20, 24, 28, 32, 36, 40


If I introduce the Assumptions in the following way at the beginning of the notebook:



$Assumptions = n ∈ Integers && n < 100 && 
n > 0 && Φ ∈ Reals && 0 < Φ < Pi/2


The result of the simplification is yet worse.



The problem is that I have to perform some summations similar to this, but this time I don't have previous knowledge of the solution










share|improve this question











$endgroup$






















    2














    $begingroup$


    I know this kind of question is frequent asked, yet each case has its own particularities. I will show my problem.



    I define the following:



    f[k_] := Binomial[n, k] (Sin[Φ]^2)^k (Cos[Φ]^2)^(n - k);
    g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);


    After that I want to perform the sum:



    FullSimplify[Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n],
    Element[n, Integers] && n > 0 && Element[Φ, Reals] && 0 < Φ < Pi/2]


    And I got the result:



    4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
    1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n)


    This as much as I can simplify the expression. However, according to book the result of the sum is just 4n



    H[n_]=Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n]]//FullSimplify

    Table[H[i],i,1,10]//FullSimplify
    4, 8, 12, 16, 20, 24, 28, 32, 36, 40


    If I introduce the Assumptions in the following way at the beginning of the notebook:



    $Assumptions = n ∈ Integers && n < 100 && 
    n > 0 && Φ ∈ Reals && 0 < Φ < Pi/2


    The result of the simplification is yet worse.



    The problem is that I have to perform some summations similar to this, but this time I don't have previous knowledge of the solution










    share|improve this question











    $endgroup$


















      2












      2








      2


      1



      $begingroup$


      I know this kind of question is frequent asked, yet each case has its own particularities. I will show my problem.



      I define the following:



      f[k_] := Binomial[n, k] (Sin[Φ]^2)^k (Cos[Φ]^2)^(n - k);
      g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);


      After that I want to perform the sum:



      FullSimplify[Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n],
      Element[n, Integers] && n > 0 && Element[Φ, Reals] && 0 < Φ < Pi/2]


      And I got the result:



      4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
      1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n)


      This as much as I can simplify the expression. However, according to book the result of the sum is just 4n



      H[n_]=Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n]]//FullSimplify

      Table[H[i],i,1,10]//FullSimplify
      4, 8, 12, 16, 20, 24, 28, 32, 36, 40


      If I introduce the Assumptions in the following way at the beginning of the notebook:



      $Assumptions = n ∈ Integers && n < 100 && 
      n > 0 && Φ ∈ Reals && 0 < Φ < Pi/2


      The result of the simplification is yet worse.



      The problem is that I have to perform some summations similar to this, but this time I don't have previous knowledge of the solution










      share|improve this question











      $endgroup$




      I know this kind of question is frequent asked, yet each case has its own particularities. I will show my problem.



      I define the following:



      f[k_] := Binomial[n, k] (Sin[Φ]^2)^k (Cos[Φ]^2)^(n - k);
      g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);


      After that I want to perform the sum:



      FullSimplify[Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n],
      Element[n, Integers] && n > 0 && Element[Φ, Reals] && 0 < Φ < Pi/2]


      And I got the result:



      4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
      1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n)


      This as much as I can simplify the expression. However, according to book the result of the sum is just 4n



      H[n_]=Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n]]//FullSimplify

      Table[H[i],i,1,10]//FullSimplify
      4, 8, 12, 16, 20, 24, 28, 32, 36, 40


      If I introduce the Assumptions in the following way at the beginning of the notebook:



      $Assumptions = n ∈ Integers && n < 100 && 
      n > 0 && Φ ∈ Reals && 0 < Φ < Pi/2


      The result of the simplification is yet worse.



      The problem is that I have to perform some summations similar to this, but this time I don't have previous knowledge of the solution







      simplifying-expressions summation assumptions trigonometry






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question



      share|improve this question








      edited Apr 24 at 16:22









      user64494

      4,2162 gold badges14 silver badges23 bronze badges




      4,2162 gold badges14 silver badges23 bronze badges










      asked Apr 24 at 14:40









      PopeyePopeye

      729 bronze badges




      729 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          4
















          $begingroup$

          Eliminating the trigonometric terms work in this case:



          expr = 4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
          1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n);

          FullSimplify[expr /. Φ -> ArcCos[q], 0 < q < 1]



          4n






          share|improve this answer










          $endgroup$






















            3
















            $begingroup$

            Clear["Global`*"];

            $Assumptions =
            Element[n, Integers] && n > 0 && 0 < Φ < Pi/2;

            f[k_] := Binomial[n, k] (Sin[Φ]^2)^
            k (Cos[Φ]^2)^(n - k);
            g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);

            seq = Table[
            Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify,
            n, 1, 10]

            (* 4, 8, 12, 16, 20, 24, 28, 32, 36, 40 *)


            Using FindSequenceFunction,



            H[n_] = FindSequenceFunction[seq, n]

            (* 4 n *)


            Verifying over wider range,



            And @@ Table[
            H[n] == Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify, n,
            1, 25]

            (* True *)





            share|improve this answer










            $endgroup$














            • $begingroup$
              Thank, that's very useful answer. That function may be helpful
              $endgroup$
              – Popeye
              Apr 24 at 17:14













            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/4.0/"u003ecc by-sa 4.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%2f196933%2ffullsimplify-a-trigonometric-expression-doesnt-work-as-expected%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









            4
















            $begingroup$

            Eliminating the trigonometric terms work in this case:



            expr = 4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
            1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n);

            FullSimplify[expr /. Φ -> ArcCos[q], 0 < q < 1]



            4n






            share|improve this answer










            $endgroup$



















              4
















              $begingroup$

              Eliminating the trigonometric terms work in this case:



              expr = 4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
              1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n);

              FullSimplify[expr /. Φ -> ArcCos[q], 0 < q < 1]



              4n






              share|improve this answer










              $endgroup$

















                4














                4










                4







                $begingroup$

                Eliminating the trigonometric terms work in this case:



                expr = 4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
                1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n);

                FullSimplify[expr /. Φ -> ArcCos[q], 0 < q < 1]



                4n






                share|improve this answer










                $endgroup$



                Eliminating the trigonometric terms work in this case:



                expr = 4 n^2 Cos[Φ]^2 HypergeometricPFQ[-n,1-n/2-1/2 n Cos[2 Φ],1-n/2- 
                1/2 n Cos[2 Φ],-n Cos[Φ]^2,-n Cos[Φ]^2,-Cot[Φ]^2] Sin[Φ]^(-2+2 n);

                FullSimplify[expr /. Φ -> ArcCos[q], 0 < q < 1]



                4n







                share|improve this answer













                share|improve this answer




                share|improve this answer



                share|improve this answer










                answered Apr 24 at 17:14









                Chip HurstChip Hurst

                25.7k1 gold badge61 silver badges100 bronze badges




                25.7k1 gold badge61 silver badges100 bronze badges


























                    3
















                    $begingroup$

                    Clear["Global`*"];

                    $Assumptions =
                    Element[n, Integers] && n > 0 && 0 < Φ < Pi/2;

                    f[k_] := Binomial[n, k] (Sin[Φ]^2)^
                    k (Cos[Φ]^2)^(n - k);
                    g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);

                    seq = Table[
                    Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify,
                    n, 1, 10]

                    (* 4, 8, 12, 16, 20, 24, 28, 32, 36, 40 *)


                    Using FindSequenceFunction,



                    H[n_] = FindSequenceFunction[seq, n]

                    (* 4 n *)


                    Verifying over wider range,



                    And @@ Table[
                    H[n] == Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify, n,
                    1, 25]

                    (* True *)





                    share|improve this answer










                    $endgroup$














                    • $begingroup$
                      Thank, that's very useful answer. That function may be helpful
                      $endgroup$
                      – Popeye
                      Apr 24 at 17:14
















                    3
















                    $begingroup$

                    Clear["Global`*"];

                    $Assumptions =
                    Element[n, Integers] && n > 0 && 0 < Φ < Pi/2;

                    f[k_] := Binomial[n, k] (Sin[Φ]^2)^
                    k (Cos[Φ]^2)^(n - k);
                    g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);

                    seq = Table[
                    Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify,
                    n, 1, 10]

                    (* 4, 8, 12, 16, 20, 24, 28, 32, 36, 40 *)


                    Using FindSequenceFunction,



                    H[n_] = FindSequenceFunction[seq, n]

                    (* 4 n *)


                    Verifying over wider range,



                    And @@ Table[
                    H[n] == Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify, n,
                    1, 25]

                    (* True *)





                    share|improve this answer










                    $endgroup$














                    • $begingroup$
                      Thank, that's very useful answer. That function may be helpful
                      $endgroup$
                      – Popeye
                      Apr 24 at 17:14














                    3














                    3










                    3







                    $begingroup$

                    Clear["Global`*"];

                    $Assumptions =
                    Element[n, Integers] && n > 0 && 0 < Φ < Pi/2;

                    f[k_] := Binomial[n, k] (Sin[Φ]^2)^
                    k (Cos[Φ]^2)^(n - k);
                    g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);

                    seq = Table[
                    Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify,
                    n, 1, 10]

                    (* 4, 8, 12, 16, 20, 24, 28, 32, 36, 40 *)


                    Using FindSequenceFunction,



                    H[n_] = FindSequenceFunction[seq, n]

                    (* 4 n *)


                    Verifying over wider range,



                    And @@ Table[
                    H[n] == Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify, n,
                    1, 25]

                    (* True *)





                    share|improve this answer










                    $endgroup$



                    Clear["Global`*"];

                    $Assumptions =
                    Element[n, Integers] && n > 0 && 0 < Φ < Pi/2;

                    f[k_] := Binomial[n, k] (Sin[Φ]^2)^
                    k (Cos[Φ]^2)^(n - k);
                    g[k_] := 2 (f[n - k - 1] (k + 1) - f[n - k] k);

                    seq = Table[
                    Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify,
                    n, 1, 10]

                    (* 4, 8, 12, 16, 20, 24, 28, 32, 36, 40 *)


                    Using FindSequenceFunction,



                    H[n_] = FindSequenceFunction[seq, n]

                    (* 4 n *)


                    Verifying over wider range,



                    And @@ Table[
                    H[n] == Tan[Φ]^2*Sum[g[k]^2/f[n - k], k, 0, n] // Simplify, n,
                    1, 25]

                    (* True *)






                    share|improve this answer













                    share|improve this answer




                    share|improve this answer



                    share|improve this answer










                    answered Apr 24 at 16:49









                    Bob HanlonBob Hanlon

                    66.2k3 gold badges37 silver badges101 bronze badges




                    66.2k3 gold badges37 silver badges101 bronze badges














                    • $begingroup$
                      Thank, that's very useful answer. That function may be helpful
                      $endgroup$
                      – Popeye
                      Apr 24 at 17:14

















                    • $begingroup$
                      Thank, that's very useful answer. That function may be helpful
                      $endgroup$
                      – Popeye
                      Apr 24 at 17:14
















                    $begingroup$
                    Thank, that's very useful answer. That function may be helpful
                    $endgroup$
                    – Popeye
                    Apr 24 at 17:14





                    $begingroup$
                    Thank, that's very useful answer. That function may be helpful
                    $endgroup$
                    – Popeye
                    Apr 24 at 17:14



















                    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%2f196933%2ffullsimplify-a-trigonometric-expression-doesnt-work-as-expected%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

                    Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                    How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

                    Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü