Let \(\displaystyle f(x)=0\) on \(\displaystyle D=(-1,0)\cup(0,1)\). Is \(\displaystyle F(x)=0\) for \(\displaystyle x<0\) and \(\displaystyle F(x)=1\) for \(\displaystyle x>0\) an antiderivative of \(\displaystyle f\) on \(\displaystyle D\)? Justify.
Step by step with comments, a check and common mistakes.
Step-by-step solution
On each piece of \(\displaystyle D\), the derivative of any locally constant function is 0, the same as \(\displaystyle f\).
\[\displaystyle F'(x)=0\]
The rule that an antiderivative is constant requires an interval, and \(\displaystyle D\) consists of two separate pieces.
Comment: So an antiderivative can take different values on each piece.
Thus, \(\displaystyle F\) can be 0 on \(\displaystyle (-1,0)\) and 1 on \(\displaystyle (0,1)\) without violating \(\displaystyle F'=f\).
The other candidates fail because \(\displaystyle x\) has derivative 1 and \(\displaystyle x^{2}\) has derivative \(\displaystyle 2x\), neither equal to 0. Therefore, \(\displaystyle F(x)=0\) if \(\displaystyle x<0\) and \(\displaystyle F(x)=1\) if \(\displaystyle x>0\) is an antiderivative of \(\displaystyle f\) on \(\displaystyle D\).
\[\displaystyle F'(x)=f(x)=0 \text{ en } D\]
Answer
\(\displaystyle F(x)=0\) if \(\displaystyle x<0\) and \(\displaystyle F(x)=1\) if \(\displaystyle x>0\) is an antiderivative of \(\displaystyle f\) on \(\displaystyle D\)