Increasing and Decreasing Functions, Min and Max, Concavity

44
Increasing and Decreasing Functions, Min and Max, Concavity studying properties of the function using derivatives

Transcript of Increasing and Decreasing Functions, Min and Max, Concavity

Page 1: Increasing and Decreasing Functions, Min and Max, Concavity

Increasing and Decreasing

Functions, Min and Max,

Concavity

studying properties of the function

using derivatives

– Typeset by FoilTEX – 1

Page 2: Increasing and Decreasing Functions, Min and Max, Concavity

Increasing and Decreasing

Functions

characterizing function’s

behaviour

– Typeset by FoilTEX – 2

Page 3: Increasing and Decreasing Functions, Min and Max, Concavity

Definition: (I = [, ], (, ), [, ), (, ])f(x) is increasing on I if for eachpair x1, x2 ∈ I

x2 > x1 ⇒ f(x2) > f(x1)

f(x )

f(x )

x

f(x ) > f(x )

1

2 21 1

1

x2

2

if x > x

I

Page 4: Increasing and Decreasing Functions, Min and Max, Concavity

Definition: (I = [, ], (, ), [, ), (, ])f(x) is increasing on I if for eachpair x1, x2 ∈ I

x2 > x1 ⇒ f(x2) > f(x1)

f(x )

f(x )

x

f(x ) > f(x )

1

2 21 1

1

x2

2

if x > x

I

Definition:f(x) is decreasing on I if foreach pair x1, x2 ∈ I

x2 > x1 ⇒ f(x2) < f(x1)

f(x )

f(x )

x

f(x ) < f(x )

1

2 21 1

2

x2

1

if x > x

I

Increasing/decreasing = strict monotonicity

– Typeset by FoilTEX – 3

Page 5: Increasing and Decreasing Functions, Min and Max, Concavity

Definition: (I = [, ], (, ), [, ), (, ])f(x) is non-decreasing on I if foreach pair x1, x2 ∈ I

x2 > x1 ⇒ f(x2) ≥ f(x1)

f(x )

f(x )

x

f(x ) $ f(x )

1

2 21 1

1

x2

2

if x > x

I

Definition:f(x) is non-increasing on I if foreach pair x1, x2 ∈ I

x2 > x1 ⇒ f(x2) ≤ f(x1)

f(x )

f(x )

x

f(x ) # f(x )

1

2 21 1

2

x2

1

if x > x

I

Non-decreasing/increasing = non-strict monotonicity

– Typeset by FoilTEX – 4

Page 6: Increasing and Decreasing Functions, Min and Max, Concavity

Example 1. Function sin(x)is strictly monotonic on eachinterval

y=sin(x)

π_ π_ 3π__2 2 2-

[−π/2 + kπ, π/2 + kπ], k = 0,±1,±2,±3, . . .

Page 7: Increasing and Decreasing Functions, Min and Max, Concavity

Example 1. Function sin(x)is strictly monotonic on eachinterval

y=sin(x)

π_ π_ 3π__2 2 2-

[−π/2 + kπ, π/2 + kπ], k = 0,±1,±2,±3, . . .

It is increasing on

[−π/2 + kπ, π/2 + kπ], k = 0,±2,±4,±6, . . .

Page 8: Increasing and Decreasing Functions, Min and Max, Concavity

Example 1. Function sin(x)is strictly monotonic on eachinterval

y=sin(x)

π_ π_ 3π__2 2 2-

[−π/2 + kπ, π/2 + kπ], k = 0,±1,±2,±3, . . .

It is increasing on

[−π/2 + kπ, π/2 + kπ], k = 0,±2,±4,±6, . . .

It is decreasing on

[−π/2 + kπ, π/2 + kπ], k = ±1,±3,±5, . . .

– Typeset by FoilTEX – 5

Page 9: Increasing and Decreasing Functions, Min and Max, Concavity

Example 2. Function tan(x) isincreasing on each interval

π_ π_ 3π3π ____2 2 22

--

y=tan(x)

[−π/2 + kπ, π/2 + kπ], k = 0,±1,±2,±3, . . .

Page 10: Increasing and Decreasing Functions, Min and Max, Concavity

Example 2. Function tan(x) isincreasing on each interval

π_ π_ 3π3π ____2 2 22

--

y=tan(x)

[−π/2 + kπ, π/2 + kπ], k = 0,±1,±2,±3, . . .

Note, that you still can’t say tan(x) increaseseverywhere!

Page 11: Increasing and Decreasing Functions, Min and Max, Concavity

Example 2. Function tan(x) isincreasing on each interval

π_ π_ 3π3π ____2 2 22

--

y=tan(x)

[−π/2 + kπ, π/2 + kπ], k = 0,±1,±2,±3, . . .

Note, that you still can’t say tan(x) increaseseverywhere!

Indeed, for x1 = π/4 and x2 = 3π/4,

x2 > x1 but tan(x2) = −1 < tan(x1) = 1

– Typeset by FoilTEX – 6

Page 12: Increasing and Decreasing Functions, Min and Max, Concavity

Derivative and monotonicity

What derivative can tell

about the function?

– Typeset by FoilTEX – 7

Page 13: Increasing and Decreasing Functions, Min and Max, Concavity

Theorem A. If f(x) is increasing on I, and f ′(x)exists, then f ′(x) ≥ 0 on I.

Page 14: Increasing and Decreasing Functions, Min and Max, Concavity

Theorem A. If f(x) is increasing on I, and f ′(x)exists, then f ′(x) ≥ 0 on I.

Proof. Since f(x) is increasing,

f(t)− f(x)t− x

> 0, ∀x, t ∈ I

Therefore,

f(x) = limt→x

f(t)− f(x)t− x

≥ 0

f(t)

f(t)

f(x)

x tt I

f(t)-f(x)>0

f(t)-f(x)<0t-x>0

t-x<0

Page 15: Increasing and Decreasing Functions, Min and Max, Concavity

Theorem A. If f(x) is increasing on I, and f ′(x)exists, then f ′(x) ≥ 0 on I.

Proof. Since f(x) is increasing,

f(t)− f(x)t− x

> 0, ∀x, t ∈ I

Therefore,

f(x) = limt→x

f(t)− f(x)t− x

≥ 0

f(t)

f(t)

f(x)

x tt I

f(t)-f(x)>0

f(t)-f(x)<0t-x>0

t-x<0

Note that “≥” can not be replaced with “>”!(f(x) = x3 is increasing everywhere but f ′(0) = 0).

– Typeset by FoilTEX – 8

Page 16: Increasing and Decreasing Functions, Min and Max, Concavity

Theorem B. If f ′(x) > 0 on I, f(x) increases.

Page 17: Increasing and Decreasing Functions, Min and Max, Concavity

Theorem B. If f ′(x) > 0 on I, f(x) increases.

Requires Lagrange’s theorem:∀x1, x2 ∈ I, there exists valuec between x1 and x2 such that

f(x2)− f(x1) = f ′(c)(x2 − x1)

f(x )

f(x )

xxI

21

1

2

c

slope=f '(c)

If f ′(c) > 0 on I, x2 > x1⇒f(x2) > f(x1)

Page 18: Increasing and Decreasing Functions, Min and Max, Concavity

Theorem B. If f ′(x) > 0 on I, f(x) increases.

Requires Lagrange’s theorem:∀x1, x2 ∈ I, there exists valuec between x1 and x2 such that

f(x2)− f(x1) = f ′(c)(x2 − x1)

f(x )

f(x )

xxI

21

1

2

c

slope=f '(c)

If f ′(c) > 0 on I, x2 > x1⇒f(x2) > f(x1)

Note: f(x) is increasing ⇒ f ′(x) ≥ 0But f ′(x) ≥ 0 6⇒ f(x) is increasing.

– Typeset by FoilTEX – 9

Page 19: Increasing and Decreasing Functions, Min and Max, Concavity

Theorem A. If f(x) is decreasing on I, and f ′(x)exists, then f ′(x) ≤ 0 on I.

Theorem B. If f ′(x) < 0 on I, f(x) decreases.

– Typeset by FoilTEX – 10

Page 20: Increasing and Decreasing Functions, Min and Max, Concavity

EXAMPLES

– Typeset by FoilTEX – 11

Page 21: Increasing and Decreasing Functions, Min and Max, Concavity

f ′(x) > 0(f ′(x) < 0) ⇒ is increasing (decreasing)

EXAMPLE 3. Find where f(x) = x2 − 5x + 1 isincreasing and where it is decreasing.

Page 22: Increasing and Decreasing Functions, Min and Max, Concavity

f ′(x) > 0(f ′(x) < 0) ⇒ is increasing (decreasing)

EXAMPLE 3. Find where f(x) = x2 − 5x + 1 isincreasing and where it is decreasing.Consider

f ′(x) = 2x− 5f ′(x) > 0 if x > 5/2, f ′(x) < 0 if x < 5/2. ByThm. B:

f(x) is increasing for x >52

f(x) is decreasing for x <52

– Typeset by FoilTEX – 12

Page 23: Increasing and Decreasing Functions, Min and Max, Concavity

f ′(x) > 0(f ′(x) < 0) ⇒ is increasing (decreasing)

EXAMPLE 4. Find where f(x) = (x2−3x)/(x+1)is increasing and where it is decreasing.

Page 24: Increasing and Decreasing Functions, Min and Max, Concavity

f ′(x) > 0(f ′(x) < 0) ⇒ is increasing (decreasing)

EXAMPLE 4. Find where f(x) = (x2−3x)/(x+1)is increasing and where it is decreasing.Consider

f ′(x) =(x + 3)(x− 1)

(x + 1)2

f ′(x) > 0 for x < −3 and x > 1 (increasing)

f ′(x) < 0 for −3 < x < −1 and −1 < x < 1(decreasing)

– Typeset by FoilTEX – 13

Page 25: Increasing and Decreasing Functions, Min and Max, Concavity

Concavity.

what the second derivative

can tell about the function?

– Typeset by FoilTEX – 14

Page 26: Increasing and Decreasing Functions, Min and Max, Concavity

Two way of increasing:

f(x )

f(x )

xxI

21

1

2 f(x )

f(x )

xxI

21

1

2

Page 27: Increasing and Decreasing Functions, Min and Max, Concavity

Two way of increasing:

f(x )

f(x )

xxI

21

1

2 f(x )

f(x )

xxI

21

1

2

How to distinguish these two cases?

– Typeset by FoilTEX – 15

Page 28: Increasing and Decreasing Functions, Min and Max, Concavity

Definition f(x) is concave up onI if f ′(x) increases on I.

f(x )

f(x )

xxI

21

1

2

Page 29: Increasing and Decreasing Functions, Min and Max, Concavity

Definition f(x) is concave up onI if f ′(x) increases on I.

f(x )

f(x )

xxI

21

1

2

Definition f(x) is concave downon I if f ′(x) decreases on I.

f(x )

f(x )

xxI

21

1

2

– Typeset by FoilTEX – 16

Page 30: Increasing and Decreasing Functions, Min and Max, Concavity

Second derivative and Concavity

f ′′(x) > 0 ⇒ f ′(x) is increasing = Concave up

f ′′(x) < 0 ⇒ f ′(x) is decreasing = Concave down

Concavity changes = Inflection point

Page 31: Increasing and Decreasing Functions, Min and Max, Concavity

Second derivative and Concavity

f ′′(x) > 0 ⇒ f ′(x) is increasing = Concave up

f ′′(x) < 0 ⇒ f ′(x) is decreasing = Concave down

Concavity changes = Inflection point

Example 5. Where the graph of f(x) = x3− 1 isconcave up, concave down?

Consider f ′′(x) = 2x. f ′′(x) < 0 for x < 0,concave down; f ′′(x) > 0 for x > 0, concave up.

– Typeset by FoilTEX – 17

Page 32: Increasing and Decreasing Functions, Min and Max, Concavity

f ′′(x) > 0(f ′′(x) < 0) ⇒ concave up(down)

EXAMPLE 6. Find where the graph of f(x) =x− sin(x) is concave up, concave down?

Page 33: Increasing and Decreasing Functions, Min and Max, Concavity

f ′′(x) > 0(f ′′(x) < 0) ⇒ concave up(down)

EXAMPLE 6. Find where the graph of f(x) =x− sin(x) is concave up, concave down?

f ′(x) = 1− cos(x), f ′′(x) = sin(x)

f ′′(x) > 0 for x ∈ [kπ, (k + 1)π], k =0,±1,±2, . . . (concave up)

f ′′(x) < 0 for x ∈ [(k − 1)π, kπ], k =0,±1,±2, . . . (concave down)

kπ, k = 0,±1,±2, . . . inflection points

– Typeset by FoilTEX – 18

Page 34: Increasing and Decreasing Functions, Min and Max, Concavity

Minima and Maxima.

critical points, first derivative test

second derivative test.

– Typeset by FoilTEX – 19

Page 35: Increasing and Decreasing Functions, Min and Max, Concavity

Definition. f(c) is a local maximum value off(x) if there exists an interval (a, b) containing c

such that ∀x ∈ (a, b), f(c) ≥ f(x).

Definition. f(c) is a local minimum value of f(x)if there exists an interval (a, b) containing c suchthat ∀x ∈ (a, b), f(c) ≤ f(x).

loc min

loc min

loc minloc min

loc min

loc maxloc maxloc max

loc max

loc maxf '(x) DNE

f '(x) DNE

end point

end point

f '(x)=0

f '(x)=0

f '(x)=0

f '(x)=0

f '(x)=0

– Typeset by FoilTEX – 20

Page 36: Increasing and Decreasing Functions, Min and Max, Concavity

Critical Point Theorem. If f(c) is a local min(max), then c is a critical point, that isa) an end pointb) a stationary point, that is f ′(c) = 0c) a singular point, that is f ′(c) does not exists

(a) and c) are proved by examples.)

loc min

loc min

loc minloc min

loc min

loc maxloc maxloc max

loc max

loc maxf '(x) DNE

f '(x) DNE

end point

end point

f '(x)=0

f '(x)=0

f '(x)=0

f '(x)=0

f '(x)=0

– Typeset by FoilTEX – 21

Page 37: Increasing and Decreasing Functions, Min and Max, Concavity

Proof b) If f(c) is max, then

f(t)− f(c)t− c

< 0, x > c,

f(t)− f(c)t− c

> 0, x < c,

f(c)

f(t)

c tt I

f(t)-f(c)<0f(t)-f(c)<0

t-c>0t-c<0

Or,

limt→c+

f(t)− f(c)t− c

≤ 0, limt→c−

f(t)− f(c)t− c

≥ 0,

f ′(c) = limt→c

f(t)− f(c)t− c

= 0

– Typeset by FoilTEX – 22

Page 38: Increasing and Decreasing Functions, Min and Max, Concavity

First Derivative Testf ′(x) > 0 to the left, f ′(x) < 0 to the right of c ⇒increases to the left, decreases to the right of c ⇒max at x = c.

f ′(x) < 0 to the left, f ′(x) > 0 to the right of c ⇒decreases to the left, increases to the right of c ⇒min at x = c.

f(c)

f(t)

c tt I

f(t)-f(c)<0

t-c>0t-c<0

max

f(c)

f(t)

c tt I

f(t)-f(c)>0

t-c>0t-c<0

min

– Typeset by FoilTEX – 23

Page 39: Increasing and Decreasing Functions, Min and Max, Concavity

Second Derivative Testf ′′(c) < 0 and f ′(c) = 0 ⇒f ′(x) is decreasing near c and passing 0 at c ⇒f ′(x) > 0 to the left, f ′(x) < 0 to the right of c ⇒increases to the left, decreases to the right of c ⇒max at x = c.

f ′′(c) > 0 and f ′(c) = 0 ⇒f ′(x) is increasing near c and passing 0 at c ⇒f ′(x) < 0 to the left, f ′(x) > 0 to the right of c ⇒decreases to the left, increases to the right of c ⇒min at x = c.

– Typeset by FoilTEX – 24

Page 40: Increasing and Decreasing Functions, Min and Max, Concavity

EXAMPLES

– Typeset by FoilTEX – 25

Page 41: Increasing and Decreasing Functions, Min and Max, Concavity

EXAMPLE 7. Find where the graph off(x) = x ln(x) is increasing, decreasing, concaveup, concave down, has max, min?

Page 42: Increasing and Decreasing Functions, Min and Max, Concavity

EXAMPLE 7. Find where the graph off(x) = x ln(x) is increasing, decreasing, concaveup, concave down, has max, min?

f ′(x) = ln(x) + 1, f ′′(x) =1x

f ′(x) < 0 for 1 < x < 1/e (decreasing), f ′(x) >

0 for x > 1/e (increasing)

f ′′(x) > 0 for x > 0, (concave up), no inflectionpts.

min at x = 1/e (first derivative test)

– Typeset by FoilTEX – 26

Page 43: Increasing and Decreasing Functions, Min and Max, Concavity

EXAMPLE 8. Find where the graph of f(x) =1/(x2 + 1) is increasing, decreasing, concave up,concave down, has max, min?

Page 44: Increasing and Decreasing Functions, Min and Max, Concavity

EXAMPLE 8. Find where the graph of f(x) =1/(x2 + 1) is increasing, decreasing, concave up,concave down, has max, min?

f ′(x) = − 2x

(x2 + 1)2, f ′′(x) = 23x2 − 1(x2 + 1)3

f ′(x) > 0 for x < 0 (increasing), f ′(x) < 0 forx > 0 (decreasing) max at x = 0 (first derivativetest)

f ′′(x) > 0 for x < −1/√

3 and x > 1/√

3,(concave up), f ′′(x) < 0 for −1/

√3 < x < 1/

√3,

(concave down), −1/√

3, 1/√

3 are inflection pts.

– Typeset by FoilTEX – 27