Approximating integral with small parameter Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How to do symbolic definite integral without copy and paste the intermediate results?Forcing an integral to be solved in separate termsSeries approximation to integralComputation (or estimation) of an trigonometric Integral with a parameterHow to Mellin transform a complicated Log integrand?Evaluate an Exponential involving an Integral OperatorAnalytic result for integral?How to compute my integralapproximations and limitsTrouble with numerical evaluation of a four-fold integral
A Dictionary or Encyclopedia of Fantasy or Fairy Tales from the 1960s
Co-worker works way more than he should
How to get even lighting when using flash for group photos near wall?
std::is_constructible on incomplete types
Can we hide a text first in a picture and then hide that image again in one more image?
"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?
Reattaching fallen shelf to wall?
Rolling a die 1000 times , a string of the product will be a cube
How to not starve gigantic beasts
My admission is revoked after accepting the admission offer
How to avoid introduction cliches
How long after the last departure shall the airport stay open for an emergency return?
Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?
What's the difference between using dependency injection with a container and using a service locator?
Could moose/elk survive in the Amazon forest?
Has a Nobel Peace laureate ever been accused of war crimes?
Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?
What is /etc/mtab in Linux?
Was Sri Krishna's vishwaroopam seen by anyone before the Gita Upadesha?
"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"
How would I use different systems of magic when they are capable of the same effects?
What is the term for a person whose job is to place products on shelves in stores?
Why did Israel vote against lifting the American embargo on Cuba?
Is Electric Central Heating worth it if using Solar Panels?
Approximating integral with small parameter
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to do symbolic definite integral without copy and paste the intermediate results?Forcing an integral to be solved in separate termsSeries approximation to integralComputation (or estimation) of an trigonometric Integral with a parameterHow to Mellin transform a complicated Log integrand?Evaluate an Exponential involving an Integral OperatorAnalytic result for integral?How to compute my integralapproximations and limitsTrouble with numerical evaluation of a four-fold integral
$begingroup$
I want to approximately compute integral $$I =int_0^1 dx fracx(2-x)(1-x)(1-x)^2+mu x$$ assuming that $mu$ is small. I tried
Integrate [(2 - x) (1 - x) x/((1 - x)^2 + A x), x, 0, 1]
My Mathematica for some reason fails to do this integral explicitly (which is strange, since it is an integral of a rational function; I guess Mathematica obtains divergent answer after decomposing the fraction, but can see that the integral is convergent in fact), so that I could just approximate the exact result.
On the other hand, the point of $mu x$ term is to "regulate" divergence of this integral (i.e. integral without it, $int_0^1 dx fracx(2-x)(1-x)(1-x)^2$, is logarithmically divergent on the upper limit). Therefore, the whole effect of this term can be accounted by shifting the upper limit:
$$I approx int_0^1-mu dx fracx(2-x)(1-x)(1-x)^2$$
Now Mathematica can compute this integral easily
Integrate [(2 - x) (1 - x) x/(1 - x)^2, x, 0, 1 - A, Assumptions -> A > 0]
giving $I = -frac12(1+ln(mu^2)-mu^2)$, which can be approximated as $I approx -frac12(1+ln(mu^2))$
I wonder if there is any function, smth like ApproximateIntegral[f[x,s],x,a,b,s,0], which could do this whole manipulation for me.
calculus-and-analysis approximation
$endgroup$
add a comment |
$begingroup$
I want to approximately compute integral $$I =int_0^1 dx fracx(2-x)(1-x)(1-x)^2+mu x$$ assuming that $mu$ is small. I tried
Integrate [(2 - x) (1 - x) x/((1 - x)^2 + A x), x, 0, 1]
My Mathematica for some reason fails to do this integral explicitly (which is strange, since it is an integral of a rational function; I guess Mathematica obtains divergent answer after decomposing the fraction, but can see that the integral is convergent in fact), so that I could just approximate the exact result.
On the other hand, the point of $mu x$ term is to "regulate" divergence of this integral (i.e. integral without it, $int_0^1 dx fracx(2-x)(1-x)(1-x)^2$, is logarithmically divergent on the upper limit). Therefore, the whole effect of this term can be accounted by shifting the upper limit:
$$I approx int_0^1-mu dx fracx(2-x)(1-x)(1-x)^2$$
Now Mathematica can compute this integral easily
Integrate [(2 - x) (1 - x) x/(1 - x)^2, x, 0, 1 - A, Assumptions -> A > 0]
giving $I = -frac12(1+ln(mu^2)-mu^2)$, which can be approximated as $I approx -frac12(1+ln(mu^2))$
I wonder if there is any function, smth like ApproximateIntegral[f[x,s],x,a,b,s,0], which could do this whole manipulation for me.
calculus-and-analysis approximation
$endgroup$
$begingroup$
Please, always remember to give copyable code.
$endgroup$
– Henrik Schumacher
2 hours ago
1
$begingroup$
@HenrikSchumacher did that. Thanks for reminding!
$endgroup$
– Kolya Terziev
2 hours ago
add a comment |
$begingroup$
I want to approximately compute integral $$I =int_0^1 dx fracx(2-x)(1-x)(1-x)^2+mu x$$ assuming that $mu$ is small. I tried
Integrate [(2 - x) (1 - x) x/((1 - x)^2 + A x), x, 0, 1]
My Mathematica for some reason fails to do this integral explicitly (which is strange, since it is an integral of a rational function; I guess Mathematica obtains divergent answer after decomposing the fraction, but can see that the integral is convergent in fact), so that I could just approximate the exact result.
On the other hand, the point of $mu x$ term is to "regulate" divergence of this integral (i.e. integral without it, $int_0^1 dx fracx(2-x)(1-x)(1-x)^2$, is logarithmically divergent on the upper limit). Therefore, the whole effect of this term can be accounted by shifting the upper limit:
$$I approx int_0^1-mu dx fracx(2-x)(1-x)(1-x)^2$$
Now Mathematica can compute this integral easily
Integrate [(2 - x) (1 - x) x/(1 - x)^2, x, 0, 1 - A, Assumptions -> A > 0]
giving $I = -frac12(1+ln(mu^2)-mu^2)$, which can be approximated as $I approx -frac12(1+ln(mu^2))$
I wonder if there is any function, smth like ApproximateIntegral[f[x,s],x,a,b,s,0], which could do this whole manipulation for me.
calculus-and-analysis approximation
$endgroup$
I want to approximately compute integral $$I =int_0^1 dx fracx(2-x)(1-x)(1-x)^2+mu x$$ assuming that $mu$ is small. I tried
Integrate [(2 - x) (1 - x) x/((1 - x)^2 + A x), x, 0, 1]
My Mathematica for some reason fails to do this integral explicitly (which is strange, since it is an integral of a rational function; I guess Mathematica obtains divergent answer after decomposing the fraction, but can see that the integral is convergent in fact), so that I could just approximate the exact result.
On the other hand, the point of $mu x$ term is to "regulate" divergence of this integral (i.e. integral without it, $int_0^1 dx fracx(2-x)(1-x)(1-x)^2$, is logarithmically divergent on the upper limit). Therefore, the whole effect of this term can be accounted by shifting the upper limit:
$$I approx int_0^1-mu dx fracx(2-x)(1-x)(1-x)^2$$
Now Mathematica can compute this integral easily
Integrate [(2 - x) (1 - x) x/(1 - x)^2, x, 0, 1 - A, Assumptions -> A > 0]
giving $I = -frac12(1+ln(mu^2)-mu^2)$, which can be approximated as $I approx -frac12(1+ln(mu^2))$
I wonder if there is any function, smth like ApproximateIntegral[f[x,s],x,a,b,s,0], which could do this whole manipulation for me.
calculus-and-analysis approximation
calculus-and-analysis approximation
edited 2 hours ago
Kolya Terziev
asked 3 hours ago
Kolya TerzievKolya Terziev
778
778
$begingroup$
Please, always remember to give copyable code.
$endgroup$
– Henrik Schumacher
2 hours ago
1
$begingroup$
@HenrikSchumacher did that. Thanks for reminding!
$endgroup$
– Kolya Terziev
2 hours ago
add a comment |
$begingroup$
Please, always remember to give copyable code.
$endgroup$
– Henrik Schumacher
2 hours ago
1
$begingroup$
@HenrikSchumacher did that. Thanks for reminding!
$endgroup$
– Kolya Terziev
2 hours ago
$begingroup$
Please, always remember to give copyable code.
$endgroup$
– Henrik Schumacher
2 hours ago
$begingroup$
Please, always remember to give copyable code.
$endgroup$
– Henrik Schumacher
2 hours ago
1
1
$begingroup$
@HenrikSchumacher did that. Thanks for reminding!
$endgroup$
– Kolya Terziev
2 hours ago
$begingroup$
@HenrikSchumacher did that. Thanks for reminding!
$endgroup$
– Kolya Terziev
2 hours ago
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
You could use AsymptoticIntegrate, although I change the $mu x$ term to just $mu$, as the latter version is easier for AsymptoticIntegrate to handle:
AsymptoticIntegrate[(x(2-x)(1-x))/((1-x)^2+μ), x,0,1, μ,0,2]
-1/2 + μ^2/4 + μ (1/2 - Log[μ]/2) - Log[μ]/2
$endgroup$
$begingroup$
Sorry, but this is a surrogate, not the true answer.
$endgroup$
– user64494
2 hours ago
add a comment |
$begingroup$
The true answer in version 12 is as follows.
Integrate[(x*(2 -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]) [Mu]]] +
11 [Mu] Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] -
7 [Mu]^2 Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] + [Mu]^3 Log[(-2 I + I [Mu] +
Sqrt[-(-4 + [Mu]) [Mu]])/Sqrt[-(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] > 0 && [Mu] < 1]
$$ frac12 (-log (mu )-1)+fracpi sqrtmu 4+frac14 mu (-2 log (mu )-5)+frac2532 pi mu ^3/2+frac124 mu ^2 (12 log (mu )-19)+Oleft(mu ^5/2right)$$
Addition. In order to complete the answer, let us consider the asymptotics for negative values of $mu$:
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 + [Mu]*x), x, 0, 1,
PrincipalValue -> True, Assumptions -> [Mu] < 0 && [Mu] > -1]
1/2 (-1 - 2 [Mu] + (-1 - [Mu] + [Mu]^2) Log[-[Mu]] +
Sqrt[[Mu]/(-4 + [Mu])] (-1 - 3 [Mu] + [Mu]^2) Log[
1 + Sqrt[[Mu]/(-4 + [Mu])]] +
Sqrt[[Mu]/(-4 + [Mu])] Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] -
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] -
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] + [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] < 0 && [Mu] > -1]
$$frac12 (-log (-mu )-1)+frac14 mu (-2 log (-mu )-5)+frac124 mu ^2 (12 log (-mu )-19)+Oleft(mu ^5/2right) $$
$endgroup$
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/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
);
);
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%2f196985%2fapproximating-integral-with-small-parameter%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$
You could use AsymptoticIntegrate, although I change the $mu x$ term to just $mu$, as the latter version is easier for AsymptoticIntegrate to handle:
AsymptoticIntegrate[(x(2-x)(1-x))/((1-x)^2+μ), x,0,1, μ,0,2]
-1/2 + μ^2/4 + μ (1/2 - Log[μ]/2) - Log[μ]/2
$endgroup$
$begingroup$
Sorry, but this is a surrogate, not the true answer.
$endgroup$
– user64494
2 hours ago
add a comment |
$begingroup$
You could use AsymptoticIntegrate, although I change the $mu x$ term to just $mu$, as the latter version is easier for AsymptoticIntegrate to handle:
AsymptoticIntegrate[(x(2-x)(1-x))/((1-x)^2+μ), x,0,1, μ,0,2]
-1/2 + μ^2/4 + μ (1/2 - Log[μ]/2) - Log[μ]/2
$endgroup$
$begingroup$
Sorry, but this is a surrogate, not the true answer.
$endgroup$
– user64494
2 hours ago
add a comment |
$begingroup$
You could use AsymptoticIntegrate, although I change the $mu x$ term to just $mu$, as the latter version is easier for AsymptoticIntegrate to handle:
AsymptoticIntegrate[(x(2-x)(1-x))/((1-x)^2+μ), x,0,1, μ,0,2]
-1/2 + μ^2/4 + μ (1/2 - Log[μ]/2) - Log[μ]/2
$endgroup$
You could use AsymptoticIntegrate, although I change the $mu x$ term to just $mu$, as the latter version is easier for AsymptoticIntegrate to handle:
AsymptoticIntegrate[(x(2-x)(1-x))/((1-x)^2+μ), x,0,1, μ,0,2]
-1/2 + μ^2/4 + μ (1/2 - Log[μ]/2) - Log[μ]/2
answered 3 hours ago
Carl WollCarl Woll
75.7k3100197
75.7k3100197
$begingroup$
Sorry, but this is a surrogate, not the true answer.
$endgroup$
– user64494
2 hours ago
add a comment |
$begingroup$
Sorry, but this is a surrogate, not the true answer.
$endgroup$
– user64494
2 hours ago
$begingroup$
Sorry, but this is a surrogate, not the true answer.
$endgroup$
– user64494
2 hours ago
$begingroup$
Sorry, but this is a surrogate, not the true answer.
$endgroup$
– user64494
2 hours ago
add a comment |
$begingroup$
The true answer in version 12 is as follows.
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 +[Mu]*x),x, 0, 1,Assumptions-> [Mu] > 0 && [Mu] < 1]
(1/(2 (-4 + [Mu])^(
3/2)))Sqrt[[Mu]] (4 I Sqrt[-1 + 4/[Mu]] +
7 I Sqrt[(4 - [Mu]) [Mu]] - 2 I Sqrt[(4 - [Mu]) [Mu]^3] +
I (4 Sqrt[-1 + 4/[Mu]] + 3 Sqrt[(4 - [Mu]) [Mu]] -
5 Sqrt[(4 - [Mu]) [Mu]^3] +
Sqrt[-(-4 + [Mu]) [Mu]^5]) Log[[Mu]] + [Mu] (12 -
7 [Mu] + [Mu]^2) Log[1 - I Sqrt[-([Mu]/(-4 + [Mu]))]] -
12 [Mu] Log[1 + I Sqrt[-([Mu]/(-4 + [Mu]))]] +
7 [Mu]^2 Log[1 + I Sqrt[-([Mu]/(-4 + [Mu]))]] - [Mu]^3 Log[
1 + I Sqrt[-([Mu]/(-4 + [Mu]))]] +
4 Log[1 - (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] - [Mu] Log[
1 - (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] -
4 Log[1 + (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] + [Mu] Log[
1 + (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] -
4 Log[(2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] -
11 [Mu] Log[(2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] +
7 [Mu]^2 Log[(2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] - [Mu]^3 Log[(
2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] +
4 Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] +
11 [Mu] Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] -
7 [Mu]^2 Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] + [Mu]^3 Log[(-2 I + I [Mu] +
Sqrt[-(-4 + [Mu]) [Mu]])/Sqrt[-(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] > 0 && [Mu] < 1]
$$ frac12 (-log (mu )-1)+fracpi sqrtmu 4+frac14 mu (-2 log (mu )-5)+frac2532 pi mu ^3/2+frac124 mu ^2 (12 log (mu )-19)+Oleft(mu ^5/2right)$$
Addition. In order to complete the answer, let us consider the asymptotics for negative values of $mu$:
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 + [Mu]*x), x, 0, 1,
PrincipalValue -> True, Assumptions -> [Mu] < 0 && [Mu] > -1]
1/2 (-1 - 2 [Mu] + (-1 - [Mu] + [Mu]^2) Log[-[Mu]] +
Sqrt[[Mu]/(-4 + [Mu])] (-1 - 3 [Mu] + [Mu]^2) Log[
1 + Sqrt[[Mu]/(-4 + [Mu])]] +
Sqrt[[Mu]/(-4 + [Mu])] Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] -
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] -
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] + [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] < 0 && [Mu] > -1]
$$frac12 (-log (-mu )-1)+frac14 mu (-2 log (-mu )-5)+frac124 mu ^2 (12 log (-mu )-19)+Oleft(mu ^5/2right) $$
$endgroup$
add a comment |
$begingroup$
The true answer in version 12 is as follows.
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 +[Mu]*x),x, 0, 1,Assumptions-> [Mu] > 0 && [Mu] < 1]
(1/(2 (-4 + [Mu])^(
3/2)))Sqrt[[Mu]] (4 I Sqrt[-1 + 4/[Mu]] +
7 I Sqrt[(4 - [Mu]) [Mu]] - 2 I Sqrt[(4 - [Mu]) [Mu]^3] +
I (4 Sqrt[-1 + 4/[Mu]] + 3 Sqrt[(4 - [Mu]) [Mu]] -
5 Sqr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]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] > 0 && [Mu] < 1]
$$ frac12 (-log (mu )-1)+fracpi sqrtmu 4+frac14 mu (-2 log (mu )-5)+frac2532 pi mu ^3/2+frac124 mu ^2 (12 log (mu )-19)+Oleft(mu ^5/2right)$$
Addition. In order to complete the answer, let us consider the asymptotics for negative values of $mu$:
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 + [Mu]*x), x, 0, 1,
PrincipalValue -> True, Assumptions -> [Mu] < 0 && [Mu] > -1]
1/2 (-1 - 2 [Mu] + (-1 - [Mu] + [Mu]^2) Log[-[Mu]] +
Sqrt[[Mu]/(-4 + [Mu])] (-1 - 3 [Mu] + [Mu]^2) Log[
1 + Sqrt[[Mu]/(-4 + [Mu])]] +
Sqrt[[Mu]/(-4 + [Mu])] Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] -
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] -
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] + [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] < 0 && [Mu] > -1]
$$frac12 (-log (-mu )-1)+frac14 mu (-2 log (-mu )-5)+frac124 mu ^2 (12 log (-mu )-19)+Oleft(mu ^5/2right) $$
$endgroup$
add a comment |
$begingroup$
The true answer in version 12 is as follows.
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 +[Mu]*x),x, 0, 1,Assumptions-> [Mu] > 0 && [Mu] < 1]
(1/(2 (-4 + [Mu])^(
3/2)))Sqrt[[Mu]] (4 I Sqrt[-1 + 4/[Mu]] +
7 I Sqrt[(4 - [Mu]) [Mu]] - 2 I Sqrt[(4 - [Mu]) [Mu]^3] +
I (4 Sqrt[-1 + 4/[Mu]] + 3 Sqrt[(4 - [Mu]) [Mu]] -
5 Sqrt[(4 - [Mu]) [Mu]^3] +
Sqrt[-(-4 + [Mu]) [Mu]^5]) Log[[Mu]] + [Mu] (12 -
7 [Mu] + [Mu]^2) Log[1 - I Sqrt[-([Mu]/(-4 + [Mu]))]] -
12 [Mu] Log[1 + I Sqrt[-([Mu]/(-4 + [Mu]))]] +
7 [Mu]^2 Log[1 + I Sqrt[-([Mu]/(-4 + [Mu]))]] - [Mu]^3 Log[
1 + I Sqrt[-([Mu]/(-4 + [Mu]))]] +
4 Log[1 - (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] - [Mu] Log[
1 - (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] -
4 Log[1 + (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] + [Mu] Log[
1 + (I [Mu])/Sqrt[-(-4 + [Mu]) [Mu]]] -
4 Log[(2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] -
11 [Mu] Log[(2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] +
7 [Mu]^2 Log[(2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] - [Mu]^3 Log[(
2 I - I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] +
4 Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] +
11 [Mu] Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] -
7 [Mu]^2 Log[(-2 I + I [Mu] + Sqrt[-(-4 + [Mu]) [Mu]])/
Sqrt[-(-4 + [Mu]) [Mu]]] + [Mu]^3 Log[(-2 I + I [Mu] +
Sqrt[-(-4 + [Mu]) [Mu]])/Sqrt[-(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] > 0 && [Mu] < 1]
$$ frac12 (-log (mu )-1)+fracpi sqrtmu 4+frac14 mu (-2 log (mu )-5)+frac2532 pi mu ^3/2+frac124 mu ^2 (12 log (mu )-19)+Oleft(mu ^5/2right)$$
Addition. In order to complete the answer, let us consider the asymptotics for negative values of $mu$:
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 + [Mu]*x), x, 0, 1,
PrincipalValue -> True, Assumptions -> [Mu] < 0 && [Mu] > -1]
1/2 (-1 - 2 [Mu] + (-1 - [Mu] + [Mu]^2) Log[-[Mu]] +
Sqrt[[Mu]/(-4 + [Mu])] (-1 - 3 [Mu] + [Mu]^2) Log[
1 + Sqrt[[Mu]/(-4 + [Mu])]] +
Sqrt[[Mu]/(-4 + [Mu])] Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] -
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] -
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] + [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] < 0 && [Mu] > -1]
$$frac12 (-log (-mu )-1)+frac14 mu (-2 log (-mu )-5)+frac124 mu ^2 (12 log (-mu )-19)+Oleft(mu ^5/2right) $$
$endgroup$
The true answer in version 12 is as follows.
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 +[Mu]*x),x, 0, 1,Assumptions-> [Mu] > 0 && [Mu] < 1]
(1/(2 (-4 + [Mu])^(
3/2)))Sqrt[[Mu]] (4 I Sqrt[-1 + 4/[Mu]] +
7 I Sqrt[(4 - [Mu]) [Mu]] - 2 I Sqrt[(4 - [Mu]) [Mu]^3] +
I (4 Sqrt[-1 + 4/[Mu]] +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mu]) [Mu]])/Sqrt[-(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] > 0 && [Mu] < 1]
$$ frac12 (-log (mu )-1)+fracpi sqrtmu 4+frac14 mu (-2 log (mu )-5)+frac2532 pi mu ^3/2+frac124 mu ^2 (12 log (mu )-19)+Oleft(mu ^5/2right)$$
Addition. In order to complete the answer, let us consider the asymptotics for negative values of $mu$:
Integrate[(x*(2 - x)*(1 - x))/((1 - x)^2 + [Mu]*x), x, 0, 1,
PrincipalValue -> True, Assumptions -> [Mu] < 0 && [Mu] > -1]
1/2 (-1 - 2 [Mu] + (-1 - [Mu] + [Mu]^2) Log[-[Mu]] +
Sqrt[[Mu]/(-4 + [Mu])] (-1 - 3 [Mu] + [Mu]^2) Log[
1 + Sqrt[[Mu]/(-4 + [Mu])]] +
Sqrt[[Mu]/(-4 + [Mu])] Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[1 + [Mu]/Sqrt[(-4 + [Mu]) [Mu]]] -
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] -
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] + [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] - Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] +
3 [Mu] Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]] - [Mu]^2 Sqrt[[Mu]/(-4 + [Mu])]
Log[(2 - [Mu] + Sqrt[(-4 + [Mu]) [Mu]])/
Sqrt[(-4 + [Mu]) [Mu]]])
Series[%, [Mu], 0, 2, Assumptions -> [Mu] < 0 && [Mu] > -1]
$$frac12 (-log (-mu )-1)+frac14 mu (-2 log (-mu )-5)+frac124 mu ^2 (12 log (-mu )-19)+Oleft(mu ^5/2right) $$
edited 1 hour ago
answered 2 hours ago
user64494user64494
3,65311122
3,65311122
add a comment |
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%2f196985%2fapproximating-integral-with-small-parameter%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
$begingroup$
Please, always remember to give copyable code.
$endgroup$
– Henrik Schumacher
2 hours ago
1
$begingroup$
@HenrikSchumacher did that. Thanks for reminding!
$endgroup$
– Kolya Terziev
2 hours ago