Steply

If f(x) = 2sin x - 4cos x, what is f′(x)?

Step by step, with the reason for every step · AP Calculus AB Practice Exam 1 · AP Calculus AB

Step by step

The question

Question: find the derivative of f(x) = 2 sin x − 4 cos x.

f(x) = 2 sin x − 4 cos x

There are four choices.

First we solve it, the normal way.

Then we pick.

1 The rules

The derivative of sin x is cos x.

sin x → cos x

The derivative of cos x is −sin x.

Mind the minus!

cos x → −sin x

2 Each term

Use the rule on each term.

A number in front stays, and multiplies.

f′(x) = 2 × cos x − 4 × (−sin x)

Careful!

The derivative of cos x is minus sin x.

Do not lose the minus.

Careful: not cos x → sin x ✗

Minus times minus is plus.

− × − = +

3 Tidy up

So f′(x) = 2 cos x + 4 sin x.

= 2 cos x + 4 sin x

4 Check

Let's check: the derivative is the slope.

At x = 1, the rule gives 4.4465, with a calculator in radians.

f′(1) = 2 cos 1 + 4 sin 1 ≈ 4.4465

Now the slope between two very close points: x = 1 and x = 1.001.

A calculator gives about 4.45.

Very close to 4.4465.

Right!

f(1.001) − f(1)0.001 ≈ 4.45

5 Pick the choice

Our answer is f′(x) = 2 cos x + 4 sin x.

That is choice A.

A) 2cos x + 4sin x

6 Why not the others

B is 2cos x − 4sin x.

Wrong: the derivative of cos x is −sin x, so −4cos x gives +4sin x.

B) 2cos x − 4sin x ✗ the derivative of cos x is −sin x, so −4cos x gives +4sin x

C is −2cos x + 4sin x.

Wrong: the derivative of sin x is cos x, not −cos x.

C) −2cos x + 4sin x ✗ the derivative of sin x is cos x, not −cos x

D is −2cos x − 4sin x.

Wrong: both signs turned.

D) −2cos x − 4sin x ✗ both signs turned

Let's look back.

First: the rules.

Then: each term.

Then: tidy up.

Then: check.

Then: pick the choice.

Last: why not the others.

Answer
= 2 cos x + 4 sin x

More from AP Calculus AB Practice Exam 1

The whole lesson: AP Calculus AB Practice Exam 1 →