Derivative of $\ln\left(\cos\left(x^{2}\right)\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 = \cos\left(x^{2}\right)$
Why: The outer derivative of the natural logarithm is the reciprocal of its argument. The chain rule adds the derivative of the argument in the numerator.
🧮 Current expression
✨ After: Chain rule for the natural logarithm
- $u = x^{2}$
Why: Differentiate the outer function while keeping its inner argument u. Multiply by u' and evaluate that inner derivative in its own step.
🧮 Current expression
✨ After: Derivative of Cosine (Chain Rule)
- $u = x$
- $c = 2$
Why: Bring the current exponent down as a multiplier and subtract one from the exponent. Evaluate that small calculation in a separate step.
🧮 Current expression
✨ After: Power Rule (special case)
Why: Evaluate only the highlighted numeric expression, preserving exact fractions and decimals.
🧮 Current expression
✨ After: Evaluate numbers
Why: An expression to the first power is the expression itself.
🧮 Current expression
✨ After: Power with exponent one
Why: The order of factors may be changed (commutative law). Usual order: number, constants, powers of the variable, other factors.
🧮 Current expression
✨ After: Order the factors
Why: A minus sign in the numerator or denominator can be written in front of the whole fraction. Two minus signs cancel.
🧮 Current expression
✨ After: Move the sign in front of the fraction
- $\cos\left(x^{2}\right)>0$ – The logarithm argument must be positive.
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 ✓