Around usage results Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm...

Around usage results

If my PI received research grants from a company to be able to pay my postdoc salary, did I have a potential conflict interest too?

Is it cost-effective to upgrade an old-ish Giant Escape R3 commuter bike with entry-level branded parts (wheels, drivetrain)?

Why didn't Eitri join the fight?

Is the Standard Deduction better than Itemized when both are the same amount?

Should I use a zero-interest credit card for a large one-time purchase?

An adverb for when you're not exaggerating

Is it a good idea to use CNN to classify 1D signal?

Why aren't air breathing engines used as small first stages

Extracting terms with certain heads in a function

What would be the ideal power source for a cybernetic eye?

Circuit to "zoom in" on mV fluctuations of a DC signal?

What does "lightly crushed" mean for cardamon pods?

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

What is this building called? (It was built in 2002)

Is "Reachable Object" really an NP-complete problem?

また usage in a dictionary

Why wasn't DOSKEY integrated with COMMAND.COM?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

How to compare two different files line by line in unix?

Dating a Former Employee

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

How to tell that you are a giant?

Why are both D and D# fitting into my E minor key?



Around usage results



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?SlotSequence (##) form analogous to #[[ ;; n]]How can I avoid getting the error message Goto::nolabel in my code?Association of pure functionsDictionaryLoopkup - pattern specificationWhat is the relationship between Thread and MapThreadWhat are the requirements for a well behaved indexed variable? Subscript, ToExpression, Downvalue?Understanding Part and Span operating on expressions with heads that are not ListWhy does using replacement rules give a different result than setting the variable?Problem storing $x_j$ terms in variable xUnexpected behavior from Apply












9












$begingroup$


Why is



Around[10, 1]^2



  1. +- 20


and



Around[10, 1] Around[10, 1]


giving 100 +- 14 ?



Just curious I would suspect them to be the same but I'm not an expert on this for sure.










share|improve this question









$endgroup$












  • $begingroup$
    If the intent for Around in Mathematica is for propagating errors, then this is almost certainly a bug. Interestingly enough, I think the second one is correct, whereas the first is not.
    $endgroup$
    – march
    8 hours ago


















9












$begingroup$


Why is



Around[10, 1]^2



  1. +- 20


and



Around[10, 1] Around[10, 1]


giving 100 +- 14 ?



Just curious I would suspect them to be the same but I'm not an expert on this for sure.










share|improve this question









$endgroup$












  • $begingroup$
    If the intent for Around in Mathematica is for propagating errors, then this is almost certainly a bug. Interestingly enough, I think the second one is correct, whereas the first is not.
    $endgroup$
    – march
    8 hours ago
















9












9








9


1



$begingroup$


Why is



Around[10, 1]^2



  1. +- 20


and



Around[10, 1] Around[10, 1]


giving 100 +- 14 ?



Just curious I would suspect them to be the same but I'm not an expert on this for sure.










share|improve this question









$endgroup$




Why is



Around[10, 1]^2



  1. +- 20


and



Around[10, 1] Around[10, 1]


giving 100 +- 14 ?



Just curious I would suspect them to be the same but I'm not an expert on this for sure.







core-language






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 8 hours ago









LouLou

1,6581323




1,6581323












  • $begingroup$
    If the intent for Around in Mathematica is for propagating errors, then this is almost certainly a bug. Interestingly enough, I think the second one is correct, whereas the first is not.
    $endgroup$
    – march
    8 hours ago




















  • $begingroup$
    If the intent for Around in Mathematica is for propagating errors, then this is almost certainly a bug. Interestingly enough, I think the second one is correct, whereas the first is not.
    $endgroup$
    – march
    8 hours ago


















$begingroup$
If the intent for Around in Mathematica is for propagating errors, then this is almost certainly a bug. Interestingly enough, I think the second one is correct, whereas the first is not.
$endgroup$
– march
8 hours ago






$begingroup$
If the intent for Around in Mathematica is for propagating errors, then this is almost certainly a bug. Interestingly enough, I think the second one is correct, whereas the first is not.
$endgroup$
– march
8 hours ago












1 Answer
1






active

oldest

votes


















10












$begingroup$

There's a subtlety here.



When operating together multiple Arounds, the two uncertainties will be considered separate and independent (in the statistical sense). Thus the result will be different from squaring a single one.



Consider



N@StandardDeviation@
TransformedDistribution[
x y,
{x [Distributed] NormalDistribution[10, 1],
y [Distributed] NormalDistribution[10, 1]}]

(* 14.1774 *)


versus



N@StandardDeviation@TransformedDistribution[x^2, {x [Distributed] NormalDistribution[10, 1]}]

(* 20.0499 *)


The same can also be observed with addition:



Around[10, 1] + Around[10, 1]
(* Around[20., 1.4142135623730951`] *)

2 Around[10, 1]
(* Around[20., 2.] *)




To specify that all occurrences of an Around expression are the same, use AroundReplace.



For example, compare



x^2 + x /. x -> Around[1, .1]
(* Around[2., 0.223606797749979] *)


with



AroundReplace[x^2 + x, x -> Around[1, .1]]
(* Around[2., 0.30000000000000004`] *)





share|improve this answer











$endgroup$













  • $begingroup$
    Also, AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 1.}]}] vs AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 0.}]}].
    $endgroup$
    – b.gatessucks
    8 hours ago












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%2f195400%2faround-usage-results%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









10












$begingroup$

There's a subtlety here.



When operating together multiple Arounds, the two uncertainties will be considered separate and independent (in the statistical sense). Thus the result will be different from squaring a single one.



Consider



N@StandardDeviation@
TransformedDistribution[
x y,
{x [Distributed] NormalDistribution[10, 1],
y [Distributed] NormalDistribution[10, 1]}]

(* 14.1774 *)


versus



N@StandardDeviation@TransformedDistribution[x^2, {x [Distributed] NormalDistribution[10, 1]}]

(* 20.0499 *)


The same can also be observed with addition:



Around[10, 1] + Around[10, 1]
(* Around[20., 1.4142135623730951`] *)

2 Around[10, 1]
(* Around[20., 2.] *)




To specify that all occurrences of an Around expression are the same, use AroundReplace.



For example, compare



x^2 + x /. x -> Around[1, .1]
(* Around[2., 0.223606797749979] *)


with



AroundReplace[x^2 + x, x -> Around[1, .1]]
(* Around[2., 0.30000000000000004`] *)





share|improve this answer











$endgroup$













  • $begingroup$
    Also, AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 1.}]}] vs AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 0.}]}].
    $endgroup$
    – b.gatessucks
    8 hours ago
















10












$begingroup$

There's a subtlety here.



When operating together multiple Arounds, the two uncertainties will be considered separate and independent (in the statistical sense). Thus the result will be different from squaring a single one.



Consider



N@StandardDeviation@
TransformedDistribution[
x y,
{x [Distributed] NormalDistribution[10, 1],
y [Distributed] NormalDistribution[10, 1]}]

(* 14.1774 *)


versus



N@StandardDeviation@TransformedDistribution[x^2, {x [Distributed] NormalDistribution[10, 1]}]

(* 20.0499 *)


The same can also be observed with addition:



Around[10, 1] + Around[10, 1]
(* Around[20., 1.4142135623730951`] *)

2 Around[10, 1]
(* Around[20., 2.] *)




To specify that all occurrences of an Around expression are the same, use AroundReplace.



For example, compare



x^2 + x /. x -> Around[1, .1]
(* Around[2., 0.223606797749979] *)


with



AroundReplace[x^2 + x, x -> Around[1, .1]]
(* Around[2., 0.30000000000000004`] *)





share|improve this answer











$endgroup$













  • $begingroup$
    Also, AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 1.}]}] vs AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 0.}]}].
    $endgroup$
    – b.gatessucks
    8 hours ago














10












10








10





$begingroup$

There's a subtlety here.



When operating together multiple Arounds, the two uncertainties will be considered separate and independent (in the statistical sense). Thus the result will be different from squaring a single one.



Consider



N@StandardDeviation@
TransformedDistribution[
x y,
{x [Distributed] NormalDistribution[10, 1],
y [Distributed] NormalDistribution[10, 1]}]

(* 14.1774 *)


versus



N@StandardDeviation@TransformedDistribution[x^2, {x [Distributed] NormalDistribution[10, 1]}]

(* 20.0499 *)


The same can also be observed with addition:



Around[10, 1] + Around[10, 1]
(* Around[20., 1.4142135623730951`] *)

2 Around[10, 1]
(* Around[20., 2.] *)




To specify that all occurrences of an Around expression are the same, use AroundReplace.



For example, compare



x^2 + x /. x -> Around[1, .1]
(* Around[2., 0.223606797749979] *)


with



AroundReplace[x^2 + x, x -> Around[1, .1]]
(* Around[2., 0.30000000000000004`] *)





share|improve this answer











$endgroup$



There's a subtlety here.



When operating together multiple Arounds, the two uncertainties will be considered separate and independent (in the statistical sense). Thus the result will be different from squaring a single one.



Consider



N@StandardDeviation@
TransformedDistribution[
x y,
{x [Distributed] NormalDistribution[10, 1],
y [Distributed] NormalDistribution[10, 1]}]

(* 14.1774 *)


versus



N@StandardDeviation@TransformedDistribution[x^2, {x [Distributed] NormalDistribution[10, 1]}]

(* 20.0499 *)


The same can also be observed with addition:



Around[10, 1] + Around[10, 1]
(* Around[20., 1.4142135623730951`] *)

2 Around[10, 1]
(* Around[20., 2.] *)




To specify that all occurrences of an Around expression are the same, use AroundReplace.



For example, compare



x^2 + x /. x -> Around[1, .1]
(* Around[2., 0.223606797749979] *)


with



AroundReplace[x^2 + x, x -> Around[1, .1]]
(* Around[2., 0.30000000000000004`] *)






share|improve this answer














share|improve this answer



share|improve this answer








edited 7 hours ago









Carl Lange

5,36411242




5,36411242










answered 8 hours ago









SzabolcsSzabolcs

164k14449953




164k14449953












  • $begingroup$
    Also, AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 1.}]}] vs AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 0.}]}].
    $endgroup$
    – b.gatessucks
    8 hours ago


















  • $begingroup$
    Also, AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 1.}]}] vs AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 0.}]}].
    $endgroup$
    – b.gatessucks
    8 hours ago
















$begingroup$
Also, AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 1.}]}] vs AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 0.}]}].
$endgroup$
– b.gatessucks
8 hours ago




$begingroup$
Also, AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 1.}]}] vs AroundReplace[ x1 x2, {{x1, x2} -> VectorAround[{10., 10.}, {{1., 1.}, 0.}]}].
$endgroup$
– b.gatessucks
8 hours ago


















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%2f195400%2faround-usage-results%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

Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...