for the following convolution integral
$$ \int_{-\infty }^{\infty}\sigma (\tau)\tau A\sigma(t-\tau)\sin(t-\tau)d\tau \text,$$ where \$\sigma(t)\$ denotes the step function
We'll only get results for \$t>0\$, since thats when \$\sigma(t)\$ will have the value 1, which means that the integral will be evaluated for \$\tau\$ from \$0\$ to \$t\$.
I get the rest of the math in the given solution (partial integration, integration by substitution etc...). What I don't get is the following:
\begin{align} \int_{-\infty }^{\infty}\sigma (\tau)\tau A\sigma(t-\tau)\sin(t-\tau)d\tau &= \int_{0 }^{t}\sigma (\tau)\tau A\sigma(t-\tau)\sin(t-\tau)d\tau\\ &= A\sigma (t)\int_{0 }^{t}\tau \sin(t-\tau)d\tau \end{align}
Why can \$\sigma(t)\$ be taken out of the integral just like that? Isn't the integral of the step function \$\sigma(t)\$ the ramp function?
I have another, somewhat related question: Why is the stability in a bode plot evaluated at the cutoff frequency? The solution to a given problem in my script says that if the gain at the cutoff is \$< 0\$, then it's stable, if it's \$> 0\$ it is not. Intuitively that makes sense, but why at the cutoff frequency?