ViewWiki

Lesson 2 of 4

The derivative.

About 25 minutes · 4 practice questions

The tangent at a point and its slope, the derivative. Why the derivative of x² is 2x, the rule for any quadratic function, and why the slope is zero at the vertex.

Step 1 of 4 · The tangent

Step 1 of 4

The tangent

In the last Lesson you brought the secant’s two points together, and its slope settled on one number. The line the secant becomes as the points merge is the tangent: it touches the curve at one point and tilts exactly as the curve does there. Its slope is the derivative of the function at that point, written f′(x)f'(x)⁠.

The board shows y=x2y = x^2⁠, with the point at x=3x = 3⁠. The tangent is still hidden.

To the question

Step 2 of 4

The derivative as a function

At every point the tangent has a different slope, so the derivative is itself a function: for each xx⁠ it gives the slope there. Move Point x and note the tangent’s slope at x=1x = 1⁠, 22⁠ and 33⁠.

Why? The secant from xx⁠ to x+hx + h⁠ on y=x2y = x^2⁠ rises (x+h)2−x2=2xh+h2(x + h)^2 - x^2 = 2xh + h^2⁠, so its slope is 2xh+h2h=2x+h\dfrac{2xh + h^2}{h} = 2x + h⁠. As hh⁠ shrinks to zero, 2x2x⁠ is left.

To the question

Step 3 of 4

Where is the tangent level?

The board shows y=x2−4x+3y = x^2 - 4x + 3⁠. At a parabola’s vertex the curve stops going down and starts going up, and there the tangent lies level: the slope is 00⁠. That is how the derivative finds minimum and maximum points.

To the question

Step 4 of 4

The rule

The same working goes through for any quadratic function, and gives one rule:

f(x)=ax2+bx+c⇒f′(x)=2ax+bf(x) = ax^2 + bx + c \quad \Rightarrow \quad f'(x) = 2ax + b⁠

Each term is differentiated on its own: ax2ax^2⁠ gives 2ax2ax⁠, bxbx⁠ gives bb⁠ (a line, whose slope is bb⁠), and the number cc⁠ gives 00⁠, because it only lifts the curve and does not change how steep it is. The board shows y=3x2−2x+5y = 3x^2 - 2x + 5⁠.

To the question

Interactive scene

Loading the interactive version…

Each step sets up the Scene for you, and a control marked “fixed” stays put for that step.

To the experiment

Practice · Calculate

What is the slope of the tangent to y=x2y = x^2⁠ at x=3x = 3⁠?

To the experiment

Practice · Choose

The slopes of the tangents to y=x2y = x^2⁠ at x=1x = 1⁠, 22⁠ and 33⁠ are 22⁠, 44⁠ and 66⁠. What is the derivative of x2x^2⁠?

To the experiment

Practice · Reach the target

The board shows y=x2−4x+3y = x^2 - 4x + 3⁠. Move Point x to where the tangent lies level, then press Check.

To the experiment

Practice · Calculate

What is the slope of y=3x2−2x+5y = 3x^2 - 2x + 5⁠ at x=1x = 1⁠?