|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/14.01.16.0002.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UnitStep[Product[x - Subscript[a, k], {k, 1, n}]] ==
Sum[(-1)^(n - k) UnitStep[x - Subscript[a, k]], {k, 1, n}] -
2 Floor[(n - 1)/2] + n - 1 /; x != Subscript[a, k] &&
Subscript[a, k] < Subscript[a, k + 1] && Element[Subscript[a, k], Reals] &&
1 <= k <= n
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["UnitStep", "[", RowBox[List[UnderoverscriptBox["\[Product]", RowBox[List["k", "=", "1"]], "n"], RowBox[List["(", RowBox[List["x", "-", SubscriptBox["a", "k"]]], ")"]]]], "]"]], "\[Equal]", RowBox[List[RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "n"], RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["n", "-", "k"]]], " ", RowBox[List["UnitStep", "[", RowBox[List["x", "-", SubscriptBox["a", "k"]]], "]"]]]]]], "-", RowBox[List["2", " ", RowBox[List["Floor", "[", FractionBox[RowBox[List["n", "-", "1"]], "2"], "]"]]]], "+", "n", "-", "1"]]]], "/;", RowBox[List[RowBox[List["x", "\[NotEqual]", SubscriptBox["a", "k"]]], "\[And]", RowBox[List[SubscriptBox["a", "k"], "<", SubscriptBox["a", RowBox[List["k", "+", "1"]]]]], "\[And]", RowBox[List[SubscriptBox["a", "k"], "\[Element]", "Reals"]], "\[And]", RowBox[List["1", "\[LessEqual]", "k", "\[LessEqual]", "n"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <semantics> <mi> θ </mi> <annotation-xml encoding='MathML-Content'> <ci> UnitStep </ci> </annotation-xml> </semantics> <mo> ( </mo> <mrow> <munderover> <mo> ∏ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mi> n </mi> </munderover> <mrow> <mo> ( </mo> <mrow> <mi> x </mi> <mo> - </mo> <msub> <mi> a </mi> <mi> k </mi> </msub> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mi> n </mi> </munderover> <mrow> <msup> <mrow> <mo> ( </mo> <mrow> <mo> - </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mrow> <mi> n </mi> <mo> - </mo> <mi> k </mi> </mrow> </msup> <mo> ⁢ </mo> <mrow> <semantics> <mi> θ </mi> <annotation-xml encoding='MathML-Content'> <ci> UnitStep </ci> </annotation-xml> </semantics> <mo> ( </mo> <mrow> <mi> x </mi> <mo> - </mo> <msub> <mi> a </mi> <mi> k </mi> </msub> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> <mo> + </mo> <mi> n </mi> <mo> - </mo> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mrow> <mo> ⌊ </mo> <mfrac> <mrow> <mi> n </mi> <mo> - </mo> <mn> 1 </mn> </mrow> <mn> 2 </mn> </mfrac> <mo> ⌋ </mo> </mrow> </mrow> <mo> - </mo> <mn> 1 </mn> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> x </mi> <mo> ≠ </mo> <msub> <mi> a </mi> <mi> k </mi> </msub> </mrow> <mo> ∧ </mo> <mrow> <msub> <mi> a </mi> <mi> k </mi> </msub> <mo> < </mo> <msub> <mi> a </mi> <mrow> <mi> k </mi> <mo> + </mo> <mn> 1 </mn> </mrow> </msub> </mrow> <mo> ∧ </mo> <mrow> <msub> <mi> a </mi> <mi> k </mi> </msub> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mn> 1 </mn> <mo> ≤ </mo> <mi> k </mi> <mo> ≤ </mo> <mi> n </mi> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> UnitStep </ci> <apply> <product /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <ci> n </ci> </uplimit> <apply> <plus /> <ci> x </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <ci> Subscript </ci> <ci> a </ci> <ci> k </ci> </apply> </apply> </apply> </apply> </apply> <apply> <plus /> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <ci> n </ci> </uplimit> <apply> <times /> <apply> <power /> <cn type='integer'> -1 </cn> <apply> <plus /> <ci> n </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> k </ci> </apply> </apply> </apply> <apply> <ci> UnitStep </ci> <apply> <plus /> <ci> x </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <ci> Subscript </ci> <ci> a </ci> <ci> k </ci> </apply> </apply> </apply> </apply> </apply> </apply> <ci> n </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <cn type='integer'> 2 </cn> <apply> <floor /> <apply> <times /> <apply> <plus /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> <apply> <power /> <cn type='integer'> 2 </cn> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <and /> <apply> <neq /> <ci> x </ci> <apply> <ci> Subscript </ci> <ci> a </ci> <ci> k </ci> </apply> </apply> <apply> <lt /> <apply> <ci> Subscript </ci> <ci> a </ci> <ci> k </ci> </apply> <apply> <ci> Subscript </ci> <ci> a </ci> <apply> <plus /> <ci> k </ci> <cn type='integer'> 1 </cn> </apply> </apply> </apply> <apply> <in /> <apply> <ci> Subscript </ci> <ci> a </ci> <ci> k </ci> </apply> <reals /> </apply> <apply> <leq /> <cn type='integer'> 1 </cn> <ci> k </ci> <ci> n </ci> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["UnitStep", "[", RowBox[List[UnderoverscriptBox["\[Product]", RowBox[List["k", "=", "1"]], "n_"], RowBox[List["(", RowBox[List["x_", "-", SubscriptBox["a_", "k"]]], ")"]]]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "n"], RowBox[List[SuperscriptBox[RowBox[List["(", RowBox[List["-", "1"]], ")"]], RowBox[List["n", "-", "k"]]], " ", RowBox[List["UnitStep", "[", RowBox[List["x", "-", SubscriptBox["a", "k"]]], "]"]]]]]], "-", RowBox[List["2", " ", RowBox[List["Floor", "[", FractionBox[RowBox[List["n", "-", "1"]], "2"], "]"]]]], "+", "n", "-", "1"]], "/;", RowBox[List[RowBox[List["x", "\[NotEqual]", SubscriptBox["a", "k"]]], "&&", RowBox[List[SubscriptBox["a", "k"], "<", SubscriptBox["a", RowBox[List["k", "+", "1"]]]]], "&&", RowBox[List[SubscriptBox["a", "k"], "\[Element]", "Reals"]], "&&", RowBox[List["1", "\[LessEqual]", "k", "\[LessEqual]", "n"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|