Differentiation and integration basics
Differentiation finds the gradient of a curve — the rate at which y changes with x. Integration is the reverse process. For powers of x the rule mirrors perfectly: to differentiate xⁿ, multiply by n and drop the power by 1; to integrate xⁿ, raise the power by 1 and divide by the new power.
Two standard results to memorise: the derivative of sin x is cos x, and the derivative of cos x is −sin x. And never forget + C when integrating — the constant that differentiation wiped out could have been anything.
The two operations are one idea in reverse
Integration undoes differentiation, which is why the + C matters: differentiating x⁴ − x² + 7 and x⁴ − x² − 3 gives the same derivative, so reversing cannot know which constant was there. Checking an integral by differentiating it is always available and catches most errors — if you do not land back on the integrand, something slipped.
Think first
Before reading the solution, try to answer these — they are the hints Arithly itself gives:
- Which rule fits this term — power rule, product rule or chain rule?
- Work on one term at a time; the derivative of a sum is the sum of the derivatives.
Worked example
Differentiate 3x² + sin x
- Differentiate term by term: 3x² + sin x.
- Use the product rule (u′v + uv′) where a term is a product, and the chain rule for sin(ax + b) / cos(ax + b).
- Power rule on 3x²: multiply the coefficient by the power (3 × 2 = 6) and reduce the power by 1 (2 − 1 = 1), giving 6x.
- dy/dx = 6x + cos x.
Answer: 6x + cos x
Worked note — integrating a two-term polynomial
Integrate 4x³ − 2x
- Integrate term by term, raising each power by 1 and dividing by the new power.
- 4x³ becomes 4x⁴ ÷ 4 = x⁴, and −2x becomes −2x² ÷ 2 = −x².
- Add the constant of integration: x⁴ − x² + C.
Answer: x⁴ - x² + C
Practice
Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:
- Integrate 3x² Try it in Arithly →
- Differentiate x³ + 5x Try it in Arithly →
- Integrate 6x² + 2x Try it in Arithly →
Related topics
Calculus hub
Differentiation, integration and limits — every calculus topic in one place.
Derivative Calculator
Products, brackets and quotients — the rule-choice page for derivatives.
Integral Calculator
Integration worked step by step, term by term.
Limits
The idea underneath both operations, made concrete.
Rates of Change, Tangents and Normals
Where derivatives get used: gradients, tangents and normals.
More topics: all maths topics · Next topic: Solving quadratics with the quadratic formula