The given function is $y = x^2 - 4x$. To find the derivative, we'll use the power rule: $(x^n)' = nx^{n-1}$.
So, the derivative of $x^2$ is $2x$ and the derivative of $-4x$ is $-4$. Therefore, the derivative of the function is:
$$y' = 2x - 4$$
Show more…