Unit #3 : Di erentiability, Computing Derivatives, Trig ...math121/Notes/notes03.pdf · Unit #3 :...

51
Unit #3 : Differentiability, Computing Derivatives, Trig Review Goals: Determine when a function is differentiable at a point Relate the derivative graph to the the graph of an original function Compute derivative functions of powers, exponentials, logarithms, and trig func- tions. Compute derivatives using the product rule, quotient rule, and chain rule for derivatives. Review trigonometric functions and their derivatives.

Transcript of Unit #3 : Di erentiability, Computing Derivatives, Trig ...math121/Notes/notes03.pdf · Unit #3 :...

Unit #3 : Differentiability, Computing Derivatives, Trig Review

Goals:

• Determine when a function is differentiable at a point

• Relate the derivative graph to the the graph of an original function

• Compute derivative functions of powers, exponentials, logarithms, and trig func-tions.

• Compute derivatives using the product rule, quotient rule, and chain rule forderivatives.

• Review trigonometric functions and their derivatives.

Secants vs. Derivatives - 1

In the previous unit we introduced the definition of the derivative. In thisunit we will use and compute the derivative more efficiently. As a lead in, though,let us review how we arrived at the derivative concept.

Secants vs. Derivatives - 2

Interpretations of Secants vs Derivatives

From Section 2.4The slope of a secant line gives

• the average rate of change of f (x) over some interval ∆x.

• the average velocity over an interval, if f (t) represents position.

• the average acceleration over an interval, if f (t) represents velocity.

Give the units of the slope of a secant line on the following graphs.

t (s)

v(t) (m/s)

travel (km)

height (m)

Price ($)

Sales (K units)

Secants vs. Derivatives - 3

The derivative gives

• the limit of the average slope as the interval ∆x approaches zero.

• a formula for slopes for the tangent lines to f (x).

• the instantaneous rate of change of f (x).

• the velocity, if f (t) represents position.

• the acceleration, if f (t) represents velocity.

Give the units of the slope of the derivative on the following graphs.

t (s)

v(t) (m/s)

travel (km)

height (m)

Price ($)

Sales (K units)

Differentiability - 1

Differentiability

Recall the definition of the derivative.

f ′(x) =d

dxf =

df

dx= lim

∆x→0

∆f

∆x= lim

h→0

f (x + h)− f (x)

h

A function f is differentiable at a given point a if it has a derivative at a, orthe limit above exists. There is also a graphical interpretation differentiability: ifthe graph has a unique and finite slope at a point. Since the slope inquestion is automatically the slope of the tangent line, we could also say that

f is differentiable at a if its graph has a (non-vertical)tangent at (a, f (a)).

For functions of the form y = f (x), we do not consider points with vertical tangentlines to have a real-valued derivative, because a vertical line does not have a finiteslope.

Differentiability - 2

Here are the ways in which a function can fail to be differentiable at a point a:

1. The function is not continuous at a.

2. The function has a corner (or a cusp) at a.

3. The function has a vertical tangent at (a, f (a)).

Sketch an example graph of each possible case.

Differentiability Example - 1

Example: Investigate the limits, continuity and differentiability of f (x) =|x| at x = 0 graphically.

Differentiability Example - 2

Use the definition of the derivative to confirm your graphical analysis.

Differentiability Example - 3

We have seen at a point that a function can have, or fail to have, the followingdescriptors:

• continuous;

• limit exists;

• is differentiable.

Put these properties in decreasing order of stringency, and sketch relevantillustrations.

Differentiability Example - 4

Reminder: Differentiability is CommonYou will notice that, despite our concern about some functions not being differen-tiable, most of our standard functions (polynomials, rationals, exponentials, loga-rithms, roots) are differentiable at most points. Therefore we should investigatewhat all these possible derivative/slope values could tell us.

Interpreting the Derivative - 1

Interpreting the Derivative

•Where f ′(x) > 0, or the derivative is positive, f (x) is increasing.

•Where f ′(x) < 0, or the derivative is negative, f (x) is decreasing.

•Where f ′(x) = 0, or the tangent line to the graph is horizontal, f (x)has a critical point.

Interpreting the Derivative - 2

Example: Consider the graph of f (x) shown below.

A

B

C

D E

FG

On what intervals is f ′(x) > 0?

Interpreting the Derivative - 3

A

B

C

D E

FG

Where does f ′(x) takes on its largestnegative value?

Graphs of the Derivative - 1

Graphs, and Graphs of their Derivatives

Example: Consider the same graph again, and the graph of its derivative.Identify important features that associate the two.

A

B

C

D E

FG

A B C D E F G

Graphs of the Derivative - 2

Question: Consider the graph of f (x) shown:

−1 0 1 2

−1

1

2

Which of the following graphs is the graph of the derivative of f (x)?

Graphs of the Derivative - 3

−1 0 1 2

−1

1

2

−1 0 1 2

−1

1

2

−1 0 1 2

−1

1

2

A B

−1 0 1 2

−1

1

2

−1 0 1 2

−1

1

2

C D

Computing Derivatives - Basic Formulas - 1

Computing Derivatives

Note: The standard formulas for derivatives are covered in the Grade 12 Ontariocurriculum. While they will be reviewed here, students who are not familiarwith them should begin both textbook reading and the assignmentproblems for this unit as soon as possible.Beyond the graphical interpretation of derivatives, there are all the algebraic rules.All of these rules are based on the definition of the derivative,

f ′(x) =d

dxf =

df

dx= lim

∆x→0

∆f

∆x= lim

h→0

f (x + h)− f (x)

h

However, by finding common patterns in the derivatives of certain families of func-tions, we can compute derivatives much more quickly than by using the definition.

Computing Derivatives - Basic Formulas - 2

Sums, Powers, and Differences

Constant Functions:d

dxk = 0

Power rule:d

dxxp = pxp−1

Sums :d

dxf (x) + g(x) =

(d

dxf (x)

)+

(d

dxg(x)

)

Differences:d

dxf (x)− g(x) =

(d

dxf (x)

)−(d

dxg(x)

)

Constant Multiplier:d

dx[kf (x)] = k

(d

dxf (x)

), so long as k is a constant

Computing Derivatives - Basic Formulas - 3

Example: Evaluate the following derivatives:d

dx

(x4 + 3x2

)

d

dx

(2.6√x− πx3 + 4

)

Computing Derivatives - Basic Formulas - 4

Question: The derivative of −3x2 − 1

x2is

A. −6x3 + 21

x3

B. −6x + 21

x3

C. −6x− 21

x3

D. −x3 + 21

x

Computing Derivatives - Basic Formulas - 5

Exponentials and Logs

e as a base:d

dxex = ex

Other bases:d

dxax = ax(ln(a))

Natural Log:d

dxln(x) =

1

x

Other Logs:d

dxloga(x) =

1

x

1

ln(a)

Computing Derivatives - Basic Formulas - 6

Example: Evaluate the following derivatives:d

dx

(4 · 10x + 10 · x4

)

d

dx(ex + log10(x))

(Exponential and log derivatives are relatively straightforward, until we mix in theproduct, quotient, and chain rules.)

Computing Derivatives - Product and Quotient Rules - 1

Product and Quotient Rules

Products:d

dxf (x) · g(x) = f ′(x)g(x) + f (x)g′(x)

Quotients:d

dx

f (x)

g(x)=f ′(x)g(x)− f (x)g′(x)

(g(x))2

Example: Evaluate the following derivatives:d

dx

(4x2ex

)

Computing Derivatives - Product and Quotient Rules - 2

d

dx(x ln(x))

d

dx

(5x2

ln(x)

)

Computing Derivatives - Product and Quotient Rules - 3

Question: The derivative of10x

x3is:

A.10x

ln(10)x−3 + 10x(−3x−4)

B.10x ln(10)x3 − 10x(3x2)

x6

C.10x 1

ln(10)x3 − 10x(3x2)

x6

D. ln(10)10xx−3 + 10x(−3x−4)

Computing Derivatives - Chain Rule - 1

Chain Rule

Nested Functions:d

dx[f (g(x))] = f ′(g(x)) · g′(x)

Liebnitz formd

dxf (g(x)) =

df

dg

dg

dx

Computing Derivatives - Chain Rule - 2

Example: Evaluate the following derivatives:d

dxex

2

Computing Derivatives - Chain Rule - 3

d

dxln(x4)

Computing Derivatives - Chain Rule - 4

d

dx

(1

1 + x3

)

Computing Derivatives - Chain Rule - 5

d

dx

(x4 + 103x

)

Computing Derivatives - Chain Rule - 6

Question: The derivative of e√x is

A.1

2e

1√x

B. e√x(√

x)

C.1

2e√x

(1√x

)

D.1

2e√x(√

x)

Trigonometry Review - 1

Trigonometry Review

In our earlier discussion of functions, we skipped over the trigonometric functions.We return to them now to discuss both their properties and their derivative rules.

The trigonometric functions are usually defined for students first using triangles(recall the mnemonic device, “SOHCAHTOA”).

Trigonometry Review - 2

Use the 45/45 and 60/30 triangles to compute the sine and cosine of thesecommon angles.

Trigonometry Review - 3

Extending Trigonometric DomainsOne difficulty with limiting ourselves to the triangle ratio definition of the trigfunctions is that the possible angles are limited to the range θ ∈ [0, π2 ] radians orθ ∈ [0, 90] degrees.To remove this limitation, mathematicians extended the definition of the trigono-metric functions to a wider domain via the unit circle.

θ

Trigonometry Review - 4

How does the circle definition lead to the trigonometric identity sin2(θ) +cos2(θ) = 1?

Trigonometry Review - 5

Show how the circle and triangle definitions define the same values in the firstquadrant of the unit circle.

It is useful to understand both definitions of trig functions (circle and triangle) assometimes one is more helpful than the other for a particular task.

Sine and Cosine as Functions - 1

Sine and Cosine as Oscillating Functions

Despite the geometric source of the trigonometric functions, they are used morecommonly in biology and many other sciences as because their periodicity andoscillatory shapes. For many cyclic behaviours in nature, trigonometric func-tions are a natural first choice for modeling.

Sine and Cosine as Functions - 2

Question The graph of y = 10 + 4 cos(x) is shown in which of the followingdiagrams?

−6

−4

−2

2

4

6

8

10

12

14

2

4

6

8

10

12

14

A B

2

4

6

8

10

12

2

4

6

8

10

12

C D

Show the amplitude and the average on the correct graph.

Sine and Cosine as Functions - 3

Period and Phase

How can you find the period of the function cos(Ax)?

Sine and Cosine as Functions - 4

How can you reliably determine where the function cos(Ax + B) ‘starts’ onthe graph? (For a cosine graph, where the ‘start’ represents a maximum, thestarting time or x value is sometimes called the “phase” of the function.)

Sine and Cosine as Functions - 5

Consider the graph of the function y = 5 + 8 cos(π(x − 1)). What are thefollowing properties of the function:

• amplitude

• period

• average

• phase

Sine and Cosine as Functions - 6

Sketch the graph on the axes below. Include at least one full period of thefunction.

Non-Constant Amplitudes - 1

More complicated amplitudes

In the form y = A + B cos(Cx + D), the B factor sets the amplitude. In manyinteresting cases, however, that amplitude need not be constant.Sketch the graph of |y| = 5, and the graph of y = 5 cos(x) on the axes below.

Non-Constant Amplitudes - 2

Sketch the graph of |y| = x, and the graph of y = x cos(πx) on the axes below.Use only x ≥ 0

Non-Constant Amplitudes - 3

Use your intuition to sketch the graph of y = ex cos(πx) on the axes below.

Derivatives of Trigonometric Functions - 1

Derivatives of Trigonometric Functions

Having covered the graphs and properties of trigonometric functions, we can nowreview the derivative formulae for those same functions.The derivation of the formulas for the derivatives of sin and cos are an interestingstudy in both limits and trigonometric identities. For those who are interested,many such derivations can be found on the web1. However, it is in some ways moreuseful to derive the formula in a graphical manner.

1For example, http://www.math.com/tables/derivatives/more/trig.htm#sin

Derivatives of Trigonometric Functions - 2

Below is a graph of sin(x). Use the graph to sketch the graph of its derivative.

−3 π /2 −π −π/2 0 π/2 π 3 π/2

−1

1

−3 π /2 −π −π/2 0 π/2 π 3 π/2

−1

1

Derivatives of Trigonometric Functions - 3

From this sketch, we have evidence (though not a proof) that

Theoremd

dxsinx =

Derivatives of Trigonometric Functions - 4

Most students will also be familiar with the other derivative rules for trig functions:

d

dxcos(x) = − sin(x)

d

dxtan(x) = sec2(x)

d

dxsec(x) = sec(x) tan(x)

d

dxcsc(x) = − csc(x) cot(x)

d

dxcot(x) = − csc2(x)

Derivatives of Trigonometric Functions - 5

Prove the secant derivative rule,d

dxsec(x) = sec(x) tan(x), using the definition

sec(x) =1

cos(x)and the other derivative rules.

Derivatives of Trigonometric Functions - 6

Question: Find the derivative of 4 + 6 cos(πx2 + 1)

A. 4− 6 sin(πx2 + 1) · (2πx)

B. −6 cos(πx2 + 1) · (2πx)

C. −6 sin(πx2 + 1) · (2πx)

D. −6 sin(πx2 + 1) · (πx2 + 1)

E. 6 sin(2πx)