Lesson 1: Why sine differentiates to cosine

Differentiate f(x)=3sin⁡(x)−2cos⁡(x)+x2f(x) = 3\sin(x) - 2\cos(x) + x^2

SkillDifferentiating sine and cosine

Worked example

  • Simple familiar
  • Technology free

Let f(x)=3sin⁡(x)−2cos⁡(x)+x2f(x) = 3\sin(x) - 2\cos(x) + x^2.

(a) Find f′(x)f'(x).

(b) Find the exact gradient of the graph of y=f(x)y = f(x) at x=π2x = \frac{\pi}{2}.

1 of 3 steps
  1. Step 1: Differentiate term by term

    ddx(3sin⁡(x))=3cos⁡(x)\frac{d}{dx}\left(3\sin(x)\right) = 3\cos(x),   ddx(−2cos⁡(x))=−2(−sin⁡(x))=2sin⁡(x)\;\frac{d}{dx}\left(-2\cos(x)\right) = -2(-\sin(x)) = 2\sin(x),   ddx(x2)=2x\;\frac{d}{dx}\left(x^2\right) = 2x.

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Differentiate each term: sin⁡→cos⁡\sin \to \cos, cos⁡→−sin⁡\cos \to -\sin, keeping coefficients.

  2. Take care with the double negative from −2cos⁡(x)-2\cos(x).

  3. Substitute exact radian values into f′(x)f'(x).

Watch out for

  • ddx(−2cos⁡(x))=+2sin⁡(x)\frac{d}{dx}(-2\cos(x)) = +2\sin(x). Many students write −2sin⁡(x)-2\sin(x).

  • Substituting into f(x)f(x) instead of f′(x)f'(x) gives the height, not the gradient.

Save your progress with a free account