|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.01.21.0010.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Integrate[(x/a - Floor[x/a] - 1/2) (x/b - Floor[x/b] - 1/2), {x, 0, a b}] ==
((a b)/12) (GCD[a, b]/LCM[a, b])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[SubsuperscriptBox["\[Integral]", "0", RowBox[List["a", " ", "b"]]], RowBox[List[RowBox[List[RowBox[List["(", RowBox[List[FractionBox["x", "a"], "-", RowBox[List["Floor", "[", FractionBox["x", "a"], "]"]], "-", FractionBox["1", "2"]]], ")"]], " ", RowBox[List["(", RowBox[List[FractionBox["x", "b"], "-", RowBox[List["Floor", "[", FractionBox["x", "b"], "]"]], "-", FractionBox["1", "2"]]], ")"]]]], RowBox[List["\[DifferentialD]", "x"]]]]]], "\[Equal]", RowBox[List[FractionBox[RowBox[List["a", " ", "b"]], "12"], FractionBox[RowBox[List["GCD", "[", RowBox[List["a", ",", "b"]], "]"]], RowBox[List["LCM", "[", RowBox[List["a", ",", "b"]], "]"]]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <msubsup> <mo> ∫ </mo> <mn> 0 </mn> <mrow> <mi> a </mi> <mo> ⁢ </mo> <mi> b </mi> </mrow> </msubsup> <mrow> <mrow> <mrow> <mo> ( </mo> <mrow> <mfrac> <mi> x </mi> <mi> a </mi> </mfrac> <mo> - </mo> <mrow> <mo> ⌊ </mo> <mfrac> <mi> x </mi> <mi> a </mi> </mfrac> <mo> ⌋ </mo> </mrow> <mo> - </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mo> ( </mo> <mrow> <mfrac> <mi> x </mi> <mi> b </mi> </mfrac> <mo> - </mo> <mrow> <mo> ⌊ </mo> <mfrac> <mi> x </mi> <mi> b </mi> </mfrac> <mo> ⌋ </mo> </mrow> <mo> - </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> ⁢ </mo> <mrow> <mo> ⅆ </mo> <mi> x </mi> </mrow> </mrow> </mrow> <mo> ⩵ </mo> <mrow> <mfrac> <mrow> <mi> a </mi> <mo> ⁢ </mo> <mi> b </mi> </mrow> <mn> 12 </mn> </mfrac> <mo> ⁢ </mo> <mfrac> <mrow> <mtext> </mtext> <mrow> <mi> gcd </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> a </mi> <mo> , </mo> <mi> b </mi> </mrow> <mo> ) </mo> </mrow> </mrow> <mrow> <mtext> </mtext> <mrow> <mi> lcm </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> a </mi> <mo> , </mo> <mi> b </mi> </mrow> <mo> ) </mo> </mrow> </mrow> </mfrac> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <eq /> <apply> <int /> <bvar> <ci> x </ci> </bvar> <lowlimit> <cn type='integer'> 0 </cn> </lowlimit> <uplimit> <apply> <times /> <ci> a </ci> <ci> b </ci> </apply> </uplimit> <apply> <times /> <apply> <plus /> <apply> <times /> <ci> x </ci> <apply> <power /> <ci> a </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <floor /> <apply> <times /> <ci> x </ci> <apply> <power /> <ci> a </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <cn type='rational'> 1 <sep /> 2 </cn> </apply> </apply> <apply> <plus /> <apply> <times /> <ci> x </ci> <apply> <power /> <ci> b </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <floor /> <apply> <times /> <ci> x </ci> <apply> <power /> <ci> b </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <cn type='rational'> 1 <sep /> 2 </cn> </apply> </apply> </apply> </apply> <apply> <times /> <apply> <times /> <ci> a </ci> <ci> b </ci> <apply> <power /> <cn type='integer'> 12 </cn> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <times /> <apply> <gcd /> <ci> a </ci> <ci> b </ci> </apply> <apply> <power /> <apply> <lcm /> <ci> a </ci> <ci> b </ci> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List[SubsuperscriptBox["\[Integral]", "0", RowBox[List["a_", " ", "b_"]]], RowBox[List[RowBox[List[RowBox[List["(", RowBox[List[FractionBox["x_", "a_"], "-", RowBox[List["Floor", "[", FractionBox["x_", "a_"], "]"]], "-", FractionBox["1", "2"]]], ")"]], " ", RowBox[List["(", RowBox[List[FractionBox["x_", "b_"], "-", RowBox[List["Floor", "[", FractionBox["x_", "b_"], "]"]], "-", FractionBox["1", "2"]]], ")"]]]], RowBox[List["\[DifferentialD]", "x_"]]]]]], "]"]], "\[RuleDelayed]", FractionBox[RowBox[List[RowBox[List["(", RowBox[List["a", " ", "b"]], ")"]], " ", RowBox[List["GCD", "[", RowBox[List["a", ",", "b"]], "]"]]]], RowBox[List["12", " ", RowBox[List["LCM", "[", RowBox[List["a", ",", "b"]], "]"]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|