Calculus for the Life Sciences I

97
Limits Continuity Derivative Calculus for the Life Sciences I Lecture Notes – Limits, Continuity, and the Derivative Joseph M. Mahaffy, [email protected]Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center San Diego State University San Diego, CA 92182-7720 http://www-rohan.sdsu.edu/jmahaffy Spring 2013 Joseph M. Mahaffy, [email protected]Lecture Notes – Limits, Continuity, and the Der — (1/24)

Transcript of Calculus for the Life Sciences I

Page 1: Calculus for the Life Sciences I

LimitsContinuityDerivative

Calculus for the Life Sciences ILecture Notes – Limits, Continuity, and the Derivative

Joseph M. Mahaffy,〈[email protected]

Department of Mathematics and StatisticsDynamical Systems Group

Computational Sciences Research Center

San Diego State University

San Diego, CA 92182-7720

http://www-rohan.sdsu.edu/∼jmahaffy

Spring 2013

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (1/24)

Page 2: Calculus for the Life Sciences I

LimitsContinuityDerivative

Outline

1 Limits

Definition

Examples of Limit

2 Continuity

Examples of Continuity

3 Derivative

Examples of a derivative

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (2/24)

Page 3: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Introduction

Limits are central to Calculus

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (3/24)

Page 4: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Introduction

Limits are central to Calculus

Present definitions of limits, continuity, and derivative

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (3/24)

Page 5: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Introduction

Limits are central to Calculus

Present definitions of limits, continuity, and derivative

Sketch the formal mathematics for these definitions

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (3/24)

Page 6: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Introduction

Limits are central to Calculus

Present definitions of limits, continuity, and derivative

Sketch the formal mathematics for these definitions

Graphically show these ideas

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (3/24)

Page 7: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Introduction

Limits are central to Calculus

Present definitions of limits, continuity, and derivative

Sketch the formal mathematics for these definitions

Graphically show these ideas

Recall derivative is related to the slope of the tangent line

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (3/24)

Page 8: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Introduction

Limits are central to Calculus

Present definitions of limits, continuity, and derivative

Sketch the formal mathematics for these definitions

Graphically show these ideas

Recall derivative is related to the slope of the tangent line

Complete understanding of the definitions is beyond thescope of this course

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (3/24)

Page 9: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Definition of Limit

Limits – Conceptually, the limit of a function f(x) at somepoint x0 simply means that if your value of x is very close tothe value x0, then the function f(x) stays very close to someparticular value

Definition: The limit of a function f(x) at some point x0

exists and is equal to L if and only if every “small” intervalabout the limit L, say the interval (L− ǫ, L + ǫ), means you canfind a “small” interval about x0, say the interval (x0 − δ, x0 + δ),which has all values of f(x) existing in the former “small”interval about the limit L, except possibly at x0 itself

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (4/24)

Page 10: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Definition of Limit

Diagram for Definition of Limit

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (5/24)

Page 11: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 1

Example of Limits: Consider f(x) = x2 − x − 6

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (6/24)

Page 12: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 1

Example of Limits: Consider f(x) = x2 − x − 6

Find the limit as x approaches 1

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (6/24)

Page 13: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 1

Example of Limits: Consider f(x) = x2 − x − 6

Find the limit as x approaches 1

From either the graph or from the way you have alwaysevaluated this quadratic function that as x approaches 1, f(x)approaches −6, since f(1) = −6

−3 −2 −1 0 1 2 3 4

−6

−4

−2

0

2

4

6

x

y

y = x2 − x − 6

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (6/24)

Page 14: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 1

Example of Limits: Consider f(x) = x2 − x − 6

Find the limit as x approaches 1

From either the graph or from the way you have alwaysevaluated this quadratic function that as x approaches 1, f(x)approaches −6, since f(1) = −6

−3 −2 −1 0 1 2 3 4

−6

−4

−2

0

2

4

6

x

y

y = x2 − x − 6

Fact: Any polynomial, p(x), has as its limit at some x0, the value of

p(x0)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (6/24)

Page 15: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 2

Example of Limits: Consider r(x) = x2−x−6x−3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (7/24)

Page 16: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 2

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 1

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (7/24)

Page 17: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 2

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 1

If x is not 3, then this rational function reduces to r(x) = x + 2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (7/24)

Page 18: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 2

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 1

If x is not 3, then this rational function reduces to r(x) = x + 2

So as x approaches 1, this function simply goes to 3

−1 0 1 2 3 40

1

2

3

4

5

6

x

y

y = (x2 − x − 6)/(x − 3)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (7/24)

Page 19: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 2

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 1

If x is not 3, then this rational function reduces to r(x) = x + 2

So as x approaches 1, this function simply goes to 3

−1 0 1 2 3 40

1

2

3

4

5

6

x

y

y = (x2 − x − 6)/(x − 3)

Fact: Any rational function, r(x) = p(x)q(x) , where p(x) and q(x) are

polynomials with q(x0) not zero, then the limit exists with the limit

being r(x0)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (7/24)

Page 20: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 3

Example of Limits: Consider r(x) = x2−x−6x−3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (8/24)

Page 21: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 3

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (8/24)

Page 22: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 3

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 3

Though r(x) is not defined at x0 = 3, arbitrarily “close” to 3,r(x) = x + 2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (8/24)

Page 23: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 3

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 3

Though r(x) is not defined at x0 = 3, arbitrarily “close” to 3,r(x) = x + 2

So as x approaches 3, this function goes to 5

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (8/24)

Page 24: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 3

Example of Limits: Consider r(x) = x2−x−6x−3

Find the limit as x approaches 3

Though r(x) is not defined at x0 = 3, arbitrarily “close” to 3,r(x) = x + 2

So as x approaches 3, this function goes to 5

Its limit exists though the function is not defined at x0 = 3

−1 0 1 2 3 40

1

2

3

4

5

6

x

y

y = (x2 − x − 6)/(x − 3)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (8/24)

Page 25: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 4

Example of Limits: Consider f(x) = 1x2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (9/24)

Page 26: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 4

Example of Limits: Consider f(x) = 1x2

Find the limit as x approaches 0, if it exists

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (9/24)

Page 27: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 4

Example of Limits: Consider f(x) = 1x2

Find the limit as x approaches 0, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (9/24)

Page 28: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 4

Example of Limits: Consider f(x) = 1x2

Find the limit as x approaches 0, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

However, at x0 = 0, this function is undefined

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (9/24)

Page 29: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 4

Example of Limits: Consider f(x) = 1x2

Find the limit as x approaches 0, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

However, at x0 = 0, this function is undefined

Thus, the graph has a vertical asymptote at x0 = 0

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (9/24)

Page 30: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 4

Example of Limits: Consider f(x) = 1x2

Find the limit as x approaches 0, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

However, at x0 = 0, this function is undefined

Thus, the graph has a vertical asymptote at x0 = 0

This means that no limit exists for f(x) at x0 = 0

−1 −0.5 0 0.5 10

20

40

60

80

100

x

y

y = 1/x2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (9/24)

Page 31: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 5

Example of Limits: Consider r(x) = x2−x−2x−3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (10/24)

Page 32: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 5

Example of Limits: Consider r(x) = x2−x−2x−3

Find the limit as x approaches 3, if it exists

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (10/24)

Page 33: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 5

Example of Limits: Consider r(x) = x2−x−2x−3

Find the limit as x approaches 3, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (10/24)

Page 34: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 5

Example of Limits: Consider r(x) = x2−x−2x−3

Find the limit as x approaches 3, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

Since the numerator is not zero, while the denominator iszero at x0 = 3, this function is undefined at x0 = 3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (10/24)

Page 35: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 5

Example of Limits: Consider r(x) = x2−x−2x−3

Find the limit as x approaches 3, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

Since the numerator is not zero, while the denominator iszero at x0 = 3, this function is undefined at x0 = 3

The graph has a vertical asymptote at x0 = 3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (10/24)

Page 36: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 5

Example of Limits: Consider r(x) = x2−x−2x−3

Find the limit as x approaches 3, if it exists

This function has a limit for any value of x0 where thedenominator is not zero

Since the numerator is not zero, while the denominator iszero at x0 = 3, this function is undefined at x0 = 3

The graph has a vertical asymptote at x0 = 3

This means that no limit exists for r(x) at x0 = 3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (10/24)

Page 37: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 6

For r(x) = x2−x−2x−3

0 1 2 3 4 5 6−10

−5

0

5

10

15

20

x

yy = (x2 − x − 2)/(x − 3)

Fact: Whenever you have a vertical asymptote at some x0,then the limit fails to exist at that point

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (11/24)

Page 38: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 7

Example of Limits: The Heaviside function is often used to specifywhen something is “on” or “off”

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (12/24)

Page 39: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 7

Example of Limits: The Heaviside function is often used to specifywhen something is “on” or “off”

The Heaviside function is defined as

H(x) =

[

0, x < 01, x ≥ 0

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (12/24)

Page 40: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 7

Example of Limits: The Heaviside function is often used to specifywhen something is “on” or “off”

The Heaviside function is defined as

H(x) =

[

0, x < 01, x ≥ 0

This function clearly has the limit of 0 for any x < 0, and it hasthe limit of 1 for any x > 0

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (12/24)

Page 41: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 7

Example of Limits: The Heaviside function is often used to specifywhen something is “on” or “off”

The Heaviside function is defined as

H(x) =

[

0, x < 01, x ≥ 0

This function clearly has the limit of 0 for any x < 0, and it hasthe limit of 1 for any x > 0

Even though this function is defined to be 1 at x = 0, it does nothave a limit at x0 = 0

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (12/24)

Page 42: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 7

Example of Limits: The Heaviside function is often used to specifywhen something is “on” or “off”

The Heaviside function is defined as

H(x) =

[

0, x < 01, x ≥ 0

This function clearly has the limit of 0 for any x < 0, and it hasthe limit of 1 for any x > 0

Even though this function is defined to be 1 at x = 0, it does nothave a limit at x0 = 0

If you take some “small” interval about the proposed limitof 1, say ǫ = 0.1, then all values of x near 0 must have H(x)between 0.9 and 1.1

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (12/24)

Page 43: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 7

Example of Limits: The Heaviside function is often used to specifywhen something is “on” or “off”

The Heaviside function is defined as

H(x) =

[

0, x < 01, x ≥ 0

This function clearly has the limit of 0 for any x < 0, and it hasthe limit of 1 for any x > 0

Even though this function is defined to be 1 at x = 0, it does nothave a limit at x0 = 0

If you take some “small” interval about the proposed limitof 1, say ǫ = 0.1, then all values of x near 0 must have H(x)between 0.9 and 1.1But take any “small” negative x and H(x) = 0, which is notin the desired given interval

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (12/24)

Page 44: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 7

Example of Limits: The Heaviside function is often used to specifywhen something is “on” or “off”

The Heaviside function is defined as

H(x) =

[

0, x < 01, x ≥ 0

This function clearly has the limit of 0 for any x < 0, and it hasthe limit of 1 for any x > 0

Even though this function is defined to be 1 at x = 0, it does nothave a limit at x0 = 0

If you take some “small” interval about the proposed limitof 1, say ǫ = 0.1, then all values of x near 0 must have H(x)between 0.9 and 1.1But take any “small” negative x and H(x) = 0, which is notin the desired given interval

Thus, no limit exists for H(x)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (12/24)

Page 45: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 8

For

H(x) =

[

0, x < 01, x ≥ 0

−2 −1.5 −1 −0.5 0 0.5 1 1.5 2−0.2

0

0.2

0.4

0.6

0.8

1

x

y

Heaviside Function

Perspective: Whenever a function is defined differently on

different intervals (like the Heaviside function), check the x-values

where the function changes in definition to see if the function has a

limit at these x-values

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (13/24)

Page 46: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 9

Example of Limits: Consider f(x) =√

x

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (14/24)

Page 47: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 9

Example of Limits: Consider f(x) =√

x

Find the limit as x approaches 0, if it exists

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (14/24)

Page 48: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Examples of Limits 9

Example of Limits: Consider f(x) =√

x

Find the limit as x approaches 0, if it exists

This function is not defined for x < 0, so it cannot have alimit at x = 0, though it is said to have a right-handed limit

0 0.5 1 1.5 2 2.5 3 3.5 40

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

x

y

y = x1/2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (14/24)

Page 49: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Summary of Limits

Summary of Limits:

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (15/24)

Page 50: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Summary of Limits

Summary of Limits:

Most of the functions in this course examine have limits

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (15/24)

Page 51: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Summary of Limits

Summary of Limits:

Most of the functions in this course examine have limits

Continuous portions of a function have limits

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (15/24)

Page 52: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Summary of Limits

Summary of Limits:

Most of the functions in this course examine have limits

Continuous portions of a function have limits

Limits fail to exist at points x0

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (15/24)

Page 53: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Summary of Limits

Summary of Limits:

Most of the functions in this course examine have limits

Continuous portions of a function have limits

Limits fail to exist at points x0

At a vertical asymptote

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (15/24)

Page 54: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Summary of Limits

Summary of Limits:

Most of the functions in this course examine have limits

Continuous portions of a function have limits

Limits fail to exist at points x0

At a vertical asymptoteWhen the function is defined differently on differentintervals

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (15/24)

Page 55: Calculus for the Life Sciences I

LimitsContinuityDerivative

DefinitionExamples of Limit

Summary of Limits

Summary of Limits:

Most of the functions in this course examine have limits

Continuous portions of a function have limits

Limits fail to exist at points x0

At a vertical asymptoteWhen the function is defined differently on differentintervalsSpecial cases like the square root function

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (15/24)

Page 56: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity

Continuity

Closely connected to the concept of a limit is that ofcontinuity

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (16/24)

Page 57: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity

Continuity

Closely connected to the concept of a limit is that ofcontinuity

Intuititvely, the idea of a continuous function is what youwould expect

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (16/24)

Page 58: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity

Continuity

Closely connected to the concept of a limit is that ofcontinuity

Intuititvely, the idea of a continuous function is what youwould expect

If you can draw the function without lifting your pencil,then the function is continuous

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (16/24)

Page 59: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity

Continuity

Closely connected to the concept of a limit is that ofcontinuity

Intuititvely, the idea of a continuous function is what youwould expect

If you can draw the function without lifting your pencil,then the function is continuous

Most practical examples use functions that are continuousor at most have a few points of discontinuity

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (16/24)

Page 60: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity

Continuity

Closely connected to the concept of a limit is that ofcontinuity

Intuititvely, the idea of a continuous function is what youwould expect

If you can draw the function without lifting your pencil,then the function is continuous

Most practical examples use functions that are continuousor at most have a few points of discontinuity

Definition: A function f(x) is continuous at a point x0 if thelimit exists at x0 and is equal to f(x0)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (16/24)

Page 61: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity in Examples

Example 3: For

r(x) =x2 − x − 6

x − 3

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (17/24)

Page 62: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity in Examples

Example 3: For

r(x) =x2 − x − 6

x − 3

Though the limit exists at x0 = 3, the function is not continuousthere (function not defined at x = 3)

−1 0 1 2 3 40

1

2

3

4

5

6

x

y

y = (x2 − x − 6)/(x − 3)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (17/24)

Page 63: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity in Examples

Example 3: For

r(x) =x2 − x − 6

x − 3

Though the limit exists at x0 = 3, the function is not continuousthere (function not defined at x = 3)

This function is continuous at all other points, x 6= 3

−1 0 1 2 3 40

1

2

3

4

5

6

x

y

y = (x2 − x − 6)/(x − 3)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (17/24)

Page 64: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity in Examples

Examples 4 and 6: For

f(x) =1

x2and H(x) =

[

0, x < 01, x ≥ 0

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (18/24)

Page 65: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity in Examples

Examples 4 and 6: For

f(x) =1

x2and H(x) =

[

0, x < 01, x ≥ 0

These functions are not continuous at x0 = 0

−1 −0.5 0 0.5 10

20

40

60

80

100

x

y

y = 1/x2

−2 −1.5 −1 −0.5 0 0.5 1 1.5 2−0.2

0

0.2

0.4

0.6

0.8

1

x

yHeaviside Function

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (18/24)

Page 66: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Continuity in Examples

Examples 4 and 6: For

f(x) =1

x2and H(x) =

[

0, x < 01, x ≥ 0

These functions are not continuous at x0 = 0

These functions are continuous at all other points, x 6= 0

−1 −0.5 0 0.5 10

20

40

60

80

100

x

y

y = 1/x2

−2 −1.5 −1 −0.5 0 0.5 1 1.5 2−0.2

0

0.2

0.4

0.6

0.8

1

x

yHeaviside Function

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (18/24)

Page 67: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

Example:

Below is a graph of a function, f(x), that is defined x ∈ [−2, 2],

except at x = 0

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (19/24)

Page 68: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

Example:

Below is a graph of a function, f(x), that is defined x ∈ [−2, 2],

except at x = 0

−2 −1 0 1 2 30

1

2

3

4

5

6

x

yLimits and Continuity

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (19/24)

Page 69: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

Example:

Below is a graph of a function, f(x), that is defined x ∈ [−2, 2],

except at x = 0

−2 −1 0 1 2 30

1

2

3

4

5

6

x

yLimits and Continuity

Difficulties with this function occur at integer values

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (19/24)

Page 70: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At x = −1, the function has the value f(−1) = 1

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 71: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At x = −1, the function has the value f(−1) = 1

The function is not continuous nor does a limit exist at this point

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 72: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At x = 0, the function is not defined

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 73: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At x = 0, the function is not defined

There is a vertical asymptote

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 74: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At x = 1, the function has the value f(1) = 4

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 75: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At x = 1, the function has the value f(1) = 4

The function is not continuous, but the limit exists with

limx→1

f(x) = 1

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 76: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At x = 2, the function is continuous with f(2) = 3, which also meansthat the limit exists

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 77: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At all non-integer values of x the function is continuous (hence itslimit exists)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 78: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of Continuity

Comparing Limits and Continuity

−2 −1 0 1 2 30

1

2

3

4

5

6

x

y

Limits and Continuity

At all non-integer values of x the function is continuous (hence itslimit exists)

We will see that the derivative only exists at these non-integer values

of x

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (20/24)

Page 79: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative

Derivative

The primary reason for the discussion above is for theproper definition of the derivative

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (21/24)

Page 80: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative

Derivative

The primary reason for the discussion above is for theproper definition of the derivative

The derivative at a point on a curve is the slope of thetangent line at that point

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (21/24)

Page 81: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative

Derivative

The primary reason for the discussion above is for theproper definition of the derivative

The derivative at a point on a curve is the slope of thetangent line at that point

This motivation is what underlies the definition given below

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (21/24)

Page 82: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative

Derivative

The primary reason for the discussion above is for theproper definition of the derivative

The derivative at a point on a curve is the slope of thetangent line at that point

This motivation is what underlies the definition given below

Definition: The derivative of a function f(x) at a point x0

is denoted f ′(x0) and satisfies

f ′(x0) = limh→0

f(x0 + h) − f(x0)

h

provided this limit exists

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (21/24)

Page 83: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of x2

Example: Use the definition to find the derivative of

f(x) = x2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (22/24)

Page 84: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of x2

Example: Use the definition to find the derivative of

f(x) = x2

f ′(x) = limh→0

f(x + h) − f(x)

h

= limh→0

(x + h)2 − x2

h

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (22/24)

Page 85: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of x2

Example: Use the definition to find the derivative of

f(x) = x2

f ′(x) = limh→0

f(x + h) − f(x)

h

= limh→0

(x + h)2 − x2

h

= limh→0

x2 + 2xh + h2 − x2

h

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (22/24)

Page 86: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of x2

Example: Use the definition to find the derivative of

f(x) = x2

f ′(x) = limh→0

f(x + h) − f(x)

h

= limh→0

(x + h)2 − x2

h

= limh→0

x2 + 2xh + h2 − x2

h

= limh→0

2xh + h2

h

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (22/24)

Page 87: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of x2

Example: Use the definition to find the derivative of

f(x) = x2

f ′(x) = limh→0

f(x + h) − f(x)

h

= limh→0

(x + h)2 − x2

h

= limh→0

x2 + 2xh + h2 − x2

h

= limh→0

2xh + h2

h

= limh→0

(2x + h)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (22/24)

Page 88: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of x2

Example: Use the definition to find the derivative of

f(x) = x2

f ′(x) = limh→0

f(x + h) − f(x)

h

= limh→0

(x + h)2 − x2

h

= limh→0

x2 + 2xh + h2 − x2

h

= limh→0

2xh + h2

h

= limh→0

(2x + h)

= 2x

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (22/24)

Page 89: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of f(x) = 1/(x + 2)

Example: Use the definition to find the derivative of

f(x) =1

x + 2, x 6= −2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (23/24)

Page 90: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of f(x) = 1/(x + 2)

Example: Use the definition to find the derivative of

f(x) =1

x + 2, x 6= −2

f ′(x) = limh→0

1x+h+2

− 1x+2

h

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (23/24)

Page 91: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of f(x) = 1/(x + 2)

Example: Use the definition to find the derivative of

f(x) =1

x + 2, x 6= −2

f ′(x) = limh→0

1x+h+2

− 1x+2

h

= limh→0

(x + 2) − (x + h + 2)

h(x + 2 + h)(x + 2)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (23/24)

Page 92: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of f(x) = 1/(x + 2)

Example: Use the definition to find the derivative of

f(x) =1

x + 2, x 6= −2

f ′(x) = limh→0

1x+h+2

− 1x+2

h

= limh→0

(x + 2) − (x + h + 2)

h(x + 2 + h)(x + 2)

= limh→0

−h

h(x + 2 + h)(x + 2)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (23/24)

Page 93: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of f(x) = 1/(x + 2)

Example: Use the definition to find the derivative of

f(x) =1

x + 2, x 6= −2

f ′(x) = limh→0

1x+h+2

− 1x+2

h

= limh→0

(x + 2) − (x + h + 2)

h(x + 2 + h)(x + 2)

= limh→0

−h

h(x + 2 + h)(x + 2)

= limh→0

−1

(x + 2 + h)(x + 2)

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (23/24)

Page 94: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivative of f(x) = 1/(x + 2)

Example: Use the definition to find the derivative of

f(x) =1

x + 2, x 6= −2

f ′(x) = limh→0

1x+h+2

− 1x+2

h

= limh→0

(x + 2) − (x + h + 2)

h(x + 2 + h)(x + 2)

= limh→0

−h

h(x + 2 + h)(x + 2)

= limh→0

−1

(x + 2 + h)(x + 2)

=−1

(x + 2)2

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (23/24)

Page 95: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivatives

Clearly, we do not want to use this formula every time weneed to compute a derivative

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (24/24)

Page 96: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivatives

Clearly, we do not want to use this formula every time weneed to compute a derivative

Much of the remainder of this course will be learning easierways to take the derivative

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (24/24)

Page 97: Calculus for the Life Sciences I

LimitsContinuityDerivative

Examples of a derivative

Derivatives

Clearly, we do not want to use this formula every time weneed to compute a derivative

Much of the remainder of this course will be learning easierways to take the derivative

In Lab, a very easy way to find derivatives is using theMaple diff command

Joseph M. Mahaffy, 〈[email protected]〉Lecture Notes – Limits, Continuity, and the Deriv— (24/24)