d/dx cos(x^2) = −2x sin(x^2) · the chain rule

Derivative of cos(x2)

0methods worked0practice questions0students taught0teaching online since
the answer

The derivative of cos(x^2) is −2x sin(x^2), by the chain rule.

the rule

📐 The chain rule

d/dx cos u = −sin u · du/dx.

d/dx cos(x2) = −2x sin(x2).

step by step

✍️ Differentiating cos(x2)

  1. Chain rule with u = x2: d/dx cos u = −sin u · du/dx.
  2. du/dx = 2x.
  3. So d/dx cos(x2) = −sin(x2) × 2x = −2x sin(x2).
why it is true

🔍 Where the rule comes from

Two things to carry: the minus sign from the derivative of cos, and the 2x from the inside. Compare cos2 x = (cos x)2, whose derivative is −2 sin x cos x = −sin 2x.

at a point

📍 The slope of cos(x2) at a point, and the tangent line

f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.

Pointcos(x2)−2x sin(x2)Tangent line
x = −2−0.6536−3.0272y = −3.0272x − 6.7081
x = −10.54031.6829y = 1.6829x + 2.2232
x = −0.50.96890.2474y = 0.2474x + 1.0926
x = 010y = 1
x = 0.50.9689−0.2474y = −0.2474x + 1.0926
x = 10.5403−1.6829y = −1.6829x + 2.2232
x = 2−0.65363.0272y = 3.0272x − 6.7081
x = 3−0.9111−2.4727y = −2.4727x + 6.507
the family

👪 Trigonometric functions: the derivatives side by side

The same rule, or the same trap, runs through the whole family; each row has its own worked page.

FunctionDerivative
sin xcos xthe page
cos x−sin xthe page
tan xsec2 xthe page
sec xsec x tan xthe page
csc x−csc x cot xthe page
cot x−csc2 xthe page
sin(2x)2 cos(2x)the page
cos(2x)−2 sin(2x)the page
sin(3x)3 cos(3x)the page
cos(3x)−3 sin(3x)the page
sin(x2)2x cos(x2)the page
tan(2x)2 sec2(2x)the page
mistakes

⚠️ The mistakes that lose the marks

  • Confusing cos(x2) with cos2 x.
  • Losing the minus sign or the 2x.
try another number

🧮 Calculator

The answer appears here, with the working in words.

practice

✏️ Five questions, answers hidden

1. Differentiate sin(x^2).

Answer: 2x cos(x^2)

2. Differentiate cos(2x^2).

Answer: −4x sin(2x^2)

3. Differentiate cos^2 x.

Answer: −2 sin x cos x = −sin 2x

4. What is the slope of y = cos(x^2) at x = 0?

Answer: 0

5. Differentiate cos(x^2 + 1).

Answer: −2x sin(x^2 + 1)

where this is taught

📚 The class this belongs to

Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.

If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.

Book a free demoLet's go!

The maths library, by topic
Questions

Asked about Derivative of cos(x2)

1What is the derivative of cos(x^2)?
−2x sin(x^2), by the chain rule.
2Which rule differentiates cos(x^2)?
The chain rule: d/dx cos u = −sin u · du/dx.
3How do you differentiate cos(x^2) step by step?
Chain rule with u = x^2: d/dx cos u = −sin u · du/dx. du/dx = 2x.
4What is the slope of y = cos(x^2) at x = 3?
−2.4727 (to four decimal places): the derivative evaluated at that point. The tangent line there is y = −2.4727x + 6.507.