Derivative of $x\,\cot\left(x\right)$
Differentiated with respect to x. Edit the function · Differentiation rules
Step-by-step solution
Input function
Start of the differentiation
Yellow: the expression being replaced. Green: its replacement.
- $u = x$
- $v = \cot\left(x\right)$
Why: First, differentiate the first factor and multiply by the unchanged second factor. Add the unchanged first factor times the derivative of the second. Do not simply multiply the two derivatives.
🧮 Current expression
✨ After: Product Rule
Why: When x increases by one, the value of this term also increases by one. Its derivative is therefore one.
🧮 Current expression
✨ After: Derivative of a Variable
Why: Multiplication or division by one leaves the value unchanged.
🧮 Current expression
✨ After: Remove a factor of one
Why: The argument is exactly x. Apply the known elementary derivative.
🧮 Current expression
✨ After: Derivative of the cotangent
Why: Move the minus signs of the factors in front of the product. An even number of minus signs gives plus, an odd number gives minus.
🧮 Current expression
✨ After: Determine the sign of the product
Why: A factor in front of a fraction multiplies its numerator, giving a single fraction.
🧮 Current expression
✨ After: Combine into one fraction
Why: Adding a negative expression is the same as subtracting the positive expression.
🧮 Current expression
✨ After: Combine plus and minus
- $\sin\left(x\right)\ne0$ – The function and its derivative are undefined at poles.
The derivative is only valid where the original function is defined.
The derivative computed directly by the computer algebra system Maxima:
Step-by-step result ↔ Maxima: identical ✓