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;
$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
simplifying-expressions summation assumptions trigonometry
$endgroup$
add a comment
|
$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
simplifying-expressions summation assumptions trigonometry
$endgroup$
add a comment
|
$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
simplifying-expressions summation assumptions trigonometry
$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
simplifying-expressions summation assumptions trigonometry
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
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
$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
$endgroup$
add a comment
|
$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 *)
$endgroup$
$begingroup$
Thank, that's very useful answer. That function may be helpful
$endgroup$
– Popeye
Apr 24 at 17:14
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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
$endgroup$
add a comment
|
$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
$endgroup$
add a comment
|
$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
$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
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
add a comment
|
add a comment
|
$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 *)
$endgroup$
$begingroup$
Thank, that's very useful answer. That function may be helpful
$endgroup$
– Popeye
Apr 24 at 17:14
add a comment
|
$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 *)
$endgroup$
$begingroup$
Thank, that's very useful answer. That function may be helpful
$endgroup$
– Popeye
Apr 24 at 17:14
add a comment
|
$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 *)
$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 *)
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
add a comment
|
$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
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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