Derivative of $\sin\left(x\right)^{2} + \cos\left(x\right)^{2}$
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 = \sin\left(x\right)^{2}$
- $v = \cos\left(x\right)^{2}$
Why: Differentiate every term separately and keep the plus and minus signs between them. Even a constant term first receives its own derivative symbol.
🧮 Current expression
✨ After: Sum/Difference Rule
- $u = \sin\left(x\right)$
- $c = 2$
Why: Differentiate the outer power: bring down the exponent and subtract one from it. The chain rule adds the derivative of the entire inner expression as another factor.
🧮 Current expression
✨ After: Power Rule
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 argument is exactly x. Apply the known elementary derivative.
🧮 Current expression
✨ After: Derivative of Sine
- $u = \cos\left(x\right)$
- $c = 2$
Why: Differentiate the outer power: bring down the exponent and subtract one from it. The chain rule adds the derivative of the entire inner expression as another factor.
🧮 Current expression
✨ After: Power Rule
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 argument is exactly x. Apply the known elementary derivative.
🧮 Current expression
✨ After: Derivative of Cosine
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: Adding a negative expression is the same as subtracting the positive expression.
🧮 Current expression
✨ After: Combine plus and minus
Why: The same term appears once with plus and once with minus. Together they give zero, so both are removed.
🧮 Current expression
✨ After: Opposite terms cancel
The derivative computed directly by the computer algebra system Maxima:
Step-by-step result ↔ Maxima: identical ✓