Lesson 1: Functions

51
Section 1.1 Functions and their Representations V63.0121.021/041, Calculus I New York University September 7, 2010 Announcements I First WebAssign-ments are due September 14 I Do the Get-to-Know-You survey for extra credit! . . . . . .

description

There are many ways we have to represent a function—by a formula, but also by data, by pictures, and by words.

Transcript of Lesson 1: Functions

Page 1: Lesson 1: Functions

Section 1.1Functions and their Representations

V63.0121.021/041, Calculus I

New York University

September 7, 2010

Announcements

I First WebAssign-ments are due September 14I Do the Get-to-Know-You survey for extra credit!

. . . . . .

Page 2: Lesson 1: Functions

. . . . . .

Announcements

I First WebAssign-ments aredue September 14

I Do the Get-to-Know-Yousurvey for extra credit!

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 2 / 33

Page 3: Lesson 1: Functions

Function

. . . . . .

Page 4: Lesson 1: Functions

. . . . . .

Objectives: Functions and their Representations

I Understand the definitionof function.

I Work with functionsrepresented in differentways

I Work with functionsdefined piecewise overseveral intervals.

I Understand and apply thedefinition of increasing anddecreasing function.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 3 / 33

Page 5: Lesson 1: Functions

. . . . . .

What is a function?

DefinitionA function f is a relation which assigns to to every element x in a set Da single element f(x) in a set E.

I The set D is called the domain of f.I The set E is called the target of f.I The set { y | y = f(x) for some x } is called the range of f.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 4 / 33

Page 6: Lesson 1: Functions

. . . . . .

Outline

Modeling

Examples of functionsFunctions expressed by formulasFunctions described numericallyFunctions described graphicallyFunctions described verbally

Properties of functionsMonotonicitySymmetry

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 5 / 33

Page 7: Lesson 1: Functions

. . . . . .

The Modeling Process

...Real-worldProblems

..Mathematical

Model

..MathematicalConclusions

..Real-worldPredictions

.model.solve

.interpret

.test

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 6 / 33

Page 8: Lesson 1: Functions

. . . . . .

Plato's Cave

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 7 / 33

Page 9: Lesson 1: Functions

. . . . . .

The Modeling Process

...Real-worldProblems

..Mathematical

Model

..MathematicalConclusions

..Real-worldPredictions

.model.solve

.interpret

.test

.Shadows .Forms

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 8 / 33

Page 10: Lesson 1: Functions

. . . . . .

Outline

Modeling

Examples of functionsFunctions expressed by formulasFunctions described numericallyFunctions described graphicallyFunctions described verbally

Properties of functionsMonotonicitySymmetry

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 9 / 33

Page 11: Lesson 1: Functions

. . . . . .

Functions expressed by formulas

Any expression in a single variable x defines a function. In this case,the domain is understood to be the largest set of x which aftersubstitution, give a real number.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 10 / 33

Page 12: Lesson 1: Functions

. . . . . .

Formula function example

Example

Let f(x) =x+ 1x− 2

. Find the domain and range of f.

SolutionThe denominator is zero when x = 2, so the domain is all real numbersexcept 2. As for the range, we can solve

y =x+ 1x− 2

=⇒ x =2y+ 1y− 1

So as long as y ̸= 1, there is an x associated to y. Therefore

domain(f) = { x | x ̸= 2 }range(f) = { y | y ̸= 1 }

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 11 / 33

Page 13: Lesson 1: Functions

. . . . . .

Formula function example

Example

Let f(x) =x+ 1x− 2

. Find the domain and range of f.

SolutionThe denominator is zero when x = 2, so the domain is all real numbersexcept 2.

As for the range, we can solve

y =x+ 1x− 2

=⇒ x =2y+ 1y− 1

So as long as y ̸= 1, there is an x associated to y. Therefore

domain(f) = { x | x ̸= 2 }range(f) = { y | y ̸= 1 }

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 11 / 33

Page 14: Lesson 1: Functions

. . . . . .

Formula function example

Example

Let f(x) =x+ 1x− 2

. Find the domain and range of f.

SolutionThe denominator is zero when x = 2, so the domain is all real numbersexcept 2. As for the range, we can solve

y =x+ 1x− 2

=⇒ x =2y+ 1y− 1

So as long as y ̸= 1, there is an x associated to y.

Therefore

domain(f) = { x | x ̸= 2 }range(f) = { y | y ̸= 1 }

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 11 / 33

Page 15: Lesson 1: Functions

. . . . . .

Formula function example

Example

Let f(x) =x+ 1x− 2

. Find the domain and range of f.

SolutionThe denominator is zero when x = 2, so the domain is all real numbersexcept 2. As for the range, we can solve

y =x+ 1x− 2

=⇒ x =2y+ 1y− 1

So as long as y ̸= 1, there is an x associated to y. Therefore

domain(f) = { x | x ̸= 2 }range(f) = { y | y ̸= 1 }

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 11 / 33

Page 16: Lesson 1: Functions

. . . . . .

How did you get that?

start y =x+ 1x− 2

cross-multiply y(x− 2) = x+ 1distribute xy− 2y = x+ 1

collect x terms xy− x = 2y+ 1factor x(y− 1) = 2y+ 1

divide x =2y+ 1y− 1

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 12 / 33

Page 17: Lesson 1: Functions

. . . . . .

No-no's for expressions

I Cannot have zero in thedenominator of anexpression

I Cannot have a negativenumber under an even root(e.g., square root)

I Cannot have the logarithmof a negative number

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 13 / 33

Page 18: Lesson 1: Functions

. . . . . .

Piecewise-defined functions

Example

Let

f(x) =

{x2 0 ≤ x ≤ 1;3− x 1 < x ≤ 2.

Find the domain and range of f and graph the function.

SolutionThe domain is [0,2]. The range is [0,2). The graph is piecewise.

...0

..1

..2

..1

..2

.

.

.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 14 / 33

Page 19: Lesson 1: Functions

. . . . . .

Piecewise-defined functions

Example

Let

f(x) =

{x2 0 ≤ x ≤ 1;3− x 1 < x ≤ 2.

Find the domain and range of f and graph the function.

SolutionThe domain is [0,2]. The range is [0,2). The graph is piecewise.

...0

..1

..2

..1

..2

.

.

.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 14 / 33

Page 20: Lesson 1: Functions

. . . . . .

Functions described numerically

We can just describe a function by a table of values, or a diagram.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 15 / 33

Page 21: Lesson 1: Functions

. . . . . .

Example

Is this a function? If so, what is the range?

x f(x)1 42 53 6

.

. .

..1

..2

..3

. .4

. .5

. .6

Yes, the range is {4,5,6}.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 16 / 33

Page 22: Lesson 1: Functions

. . . . . .

Example

Is this a function? If so, what is the range?

x f(x)1 42 53 6

.

. .

..1

..2

..3

. .4

. .5

. .6

Yes, the range is {4,5,6}.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 16 / 33

Page 23: Lesson 1: Functions

. . . . . .

Example

Is this a function? If so, what is the range?

x f(x)1 42 53 6

.

. .

..1

..2

..3

. .4

. .5

. .6

Yes, the range is {4,5,6}.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 16 / 33

Page 24: Lesson 1: Functions

. . . . . .

Example

Is this a function? If so, what is the range?

x f(x)1 42 43 6

.

. .

..1

..2

..3

. .4

. .5

. .6

Yes, the range is {4,6}.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 17 / 33

Page 25: Lesson 1: Functions

. . . . . .

Example

Is this a function? If so, what is the range?

x f(x)1 42 43 6

.

. .

..1

..2

..3

. .4

. .5

. .6

Yes, the range is {4,6}.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 17 / 33

Page 26: Lesson 1: Functions

. . . . . .

Example

Is this a function? If so, what is the range?

x f(x)1 42 43 6

.

. .

..1

..2

..3

. .4

. .5

. .6

Yes, the range is {4,6}.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 17 / 33

Page 27: Lesson 1: Functions

. . . . . .

Example

How about this one?

x f(x)1 41 53 6

.

. .

..1

..2

..3

. .4

. .5

. .6

No, that one’s not “deterministic.”

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 18 / 33

Page 28: Lesson 1: Functions

. . . . . .

Example

How about this one?

x f(x)1 41 53 6

.

. .

..1

..2

..3

. .4

. .5

. .6

No, that one’s not “deterministic.”

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 18 / 33

Page 29: Lesson 1: Functions

. . . . . .

Example

How about this one?

x f(x)1 41 53 6

.

. .

..1

..2

..3

. .4

. .5

. .6

No, that one’s not “deterministic.”

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 18 / 33

Page 30: Lesson 1: Functions

. . . . . .

An ideal function

I Domain is the buttonsI Range is the kinds of soda

that come outI You can press more than

one button to get somebrands

I But each button will onlygive one brand

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 19 / 33

Page 31: Lesson 1: Functions

. . . . . .

An ideal function

I Domain is the buttons

I Range is the kinds of sodathat come out

I You can press more thanone button to get somebrands

I But each button will onlygive one brand

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 19 / 33

Page 32: Lesson 1: Functions

. . . . . .

An ideal function

I Domain is the buttonsI Range is the kinds of soda

that come out

I You can press more thanone button to get somebrands

I But each button will onlygive one brand

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 19 / 33

Page 33: Lesson 1: Functions

. . . . . .

An ideal function

I Domain is the buttonsI Range is the kinds of soda

that come outI You can press more than

one button to get somebrands

I But each button will onlygive one brand

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 19 / 33

Page 34: Lesson 1: Functions

. . . . . .

An ideal function

I Domain is the buttonsI Range is the kinds of soda

that come outI You can press more than

one button to get somebrands

I But each button will onlygive one brand

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 19 / 33

Page 35: Lesson 1: Functions

. . . . . .

Why numerical functions matter

In science, functions are often defined by data. Or, we observe dataand assume that it’s close to some nice continuous function.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 20 / 33

Page 36: Lesson 1: Functions

. . . . . .

Numerical Function Example

Here is the temperature in Boise, Idaho measured in 15-minuteintervals over the period August 22–29, 2008.

...8/22

..8/23

..8/24

..8/25

..8/26

..8/27

..8/28

..8/29

..10

..20

..30

..40

..50

..60

..70

..80

..90

..100

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 21 / 33

Page 37: Lesson 1: Functions

. . . . . .

Functions described graphically

Sometimes all we have is the “picture” of a function, by which wemean, its graph.

.

.

The one on the right is a relation but not a function.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 22 / 33

Page 38: Lesson 1: Functions

. . . . . .

Functions described graphically

Sometimes all we have is the “picture” of a function, by which wemean, its graph.

.

.

The one on the right is a relation but not a function.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 22 / 33

Page 39: Lesson 1: Functions

. . . . . .

Functions described verbally

Oftentimes our functions come out of nature and have verbaldescriptions:

I The temperature T(t) in this room at time t.I The elevation h(θ) of the point on the equator at longitude θ.I The utility u(x) I derive by consuming x burritos.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 23 / 33

Page 40: Lesson 1: Functions

. . . . . .

Outline

Modeling

Examples of functionsFunctions expressed by formulasFunctions described numericallyFunctions described graphicallyFunctions described verbally

Properties of functionsMonotonicitySymmetry

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 24 / 33

Page 41: Lesson 1: Functions

. . . . . .

Monotonicity

Example

Let P(x) be the probability that my income was at least $x last year.What might a graph of P(x) look like?

.

..1

..0.5

..$0

..$52,115

..$100K

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 25 / 33

Page 42: Lesson 1: Functions

. . . . . .

Monotonicity

Example

Let P(x) be the probability that my income was at least $x last year.What might a graph of P(x) look like?

.

..1

..0.5

..$0

..$52,115

..$100K

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 25 / 33

Page 43: Lesson 1: Functions

. . . . . .

Monotonicity

Definition

I A function f is decreasing if f(x1) > f(x2) whenever x1 < x2 forany two points x1 and x2 in the domain of f.

I A function f is increasing if f(x1) < f(x2) whenever x1 < x2 for anytwo points x1 and x2 in the domain of f.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 26 / 33

Page 44: Lesson 1: Functions

. . . . . .

Examples

Example

Going back to the burrito function, would you call it increasing?

Example

Obviously, the temperature in Boise is neither increasing nordecreasing.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 27 / 33

Page 45: Lesson 1: Functions

. . . . . .

Examples

Example

Going back to the burrito function, would you call it increasing?

Example

Obviously, the temperature in Boise is neither increasing nordecreasing.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 27 / 33

Page 46: Lesson 1: Functions

. . . . . .

Symmetry

Example

Let I(x) be the intensity of light x distance from a point.

Example

Let F(x) be the gravitational force at a point x distance from a blackhole.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 28 / 33

Page 47: Lesson 1: Functions

. . . . . .

Possible Intensity Graph

..x

.y = I(x)

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 29 / 33

Page 48: Lesson 1: Functions

. . . . . .

Possible Gravity Graph

..x

.y = F(x)

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 30 / 33

Page 49: Lesson 1: Functions

. . . . . .

Definitions

Definition

I A function f is called even if f(−x) = f(x) for all x in the domain of f.I A function f is called odd if f(−x) = −f(x) for all x in the domain of

f.

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 31 / 33

Page 50: Lesson 1: Functions

. . . . . .

Examples

I Even: constants, even powers, cosineI Odd: odd powers, sine, tangentI Neither: exp, log

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 32 / 33

Page 51: Lesson 1: Functions

. . . . . .

Summary

I The fundamental unit of investigation in calculus is the function.I Functions can have many representations

V63.0121.021/041, Calculus I (NYU) Section 1.1 Functions September 7, 2010 33 / 33