Derivative of $$$x \left(x - 128\right)$$$
Related calculators: Logarithmic Differentiation Calculator, Implicit Differentiation Calculator with Steps
Your Input
Find $$$\frac{d}{dx} \left(x \left(x - 128\right)\right)$$$.
Solution
Apply the product rule $$$\frac{d}{dx} \left(f{\left(x \right)} g{\left(x \right)}\right) = \frac{d}{dx} \left(f{\left(x \right)}\right) g{\left(x \right)} + f{\left(x \right)} \frac{d}{dx} \left(g{\left(x \right)}\right)$$$ with $$$f{\left(x \right)} = x$$$ and $$$g{\left(x \right)} = x - 128$$$:
$${\color{red}\left(\frac{d}{dx} \left(x \left(x - 128\right)\right)\right)} = {\color{red}\left(\frac{d}{dx} \left(x\right) \left(x - 128\right) + x \frac{d}{dx} \left(x - 128\right)\right)}$$The derivative of a sum/difference is the sum/difference of derivatives:
$$x {\color{red}\left(\frac{d}{dx} \left(x - 128\right)\right)} + \left(x - 128\right) \frac{d}{dx} \left(x\right) = x {\color{red}\left(\frac{d}{dx} \left(x\right) - \frac{d}{dx} \left(128\right)\right)} + \left(x - 128\right) \frac{d}{dx} \left(x\right)$$The derivative of a constant is $$$0$$$:
$$x \left(- {\color{red}\left(\frac{d}{dx} \left(128\right)\right)} + \frac{d}{dx} \left(x\right)\right) + \left(x - 128\right) \frac{d}{dx} \left(x\right) = x \left(- {\color{red}\left(0\right)} + \frac{d}{dx} \left(x\right)\right) + \left(x - 128\right) \frac{d}{dx} \left(x\right)$$Apply the power rule $$$\frac{d}{dx} \left(x^{n}\right) = n x^{n - 1}$$$ with $$$n = 1$$$, in other words, $$$\frac{d}{dx} \left(x\right) = 1$$$:
$$x {\color{red}\left(\frac{d}{dx} \left(x\right)\right)} + \left(x - 128\right) {\color{red}\left(\frac{d}{dx} \left(x\right)\right)} = x {\color{red}\left(1\right)} + \left(x - 128\right) {\color{red}\left(1\right)}$$Thus, $$$\frac{d}{dx} \left(x \left(x - 128\right)\right) = 2 x - 128$$$.
Answer
$$$\frac{d}{dx} \left(x \left(x - 128\right)\right) = 2 x - 128$$$A