Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of...

34
Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith (SHSU) Elementary Functions 2013 16 / 25

Transcript of Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of...

Page 1: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Elementary FunctionsPart 1, Functions

Lecture 1.4b, Symmetries of Functions: Periodic Functions

Dr. Ken W. Smith

Sam Houston State University

2013

Smith (SHSU) Elementary Functions 2013 16 / 25

Page 2: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Periodic functions

In this lesson we discuss periodic functions and also introduce the greatest integerfunction.

Some graphs have translation symmetry, that is, we may shift the graph alongthe x-axis a certain amount and leave the graph unchanged. In this case thefunction is periodic; there is a real number c so that if we shift the graph to theleft by c units, then the graph is unchanged.

Algebraically, we write f(x+ c) = f(x).

The smallest positive real number c such that f(x+ c) = f(x) is called theperiod of the function f .

We will see this phenomenon (periodic functions and translation symmetry)throughout our study of trigonometry.

Smith (SHSU) Elementary Functions 2013 17 / 25

Page 3: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Periodic functions

In this lesson we discuss periodic functions and also introduce the greatest integerfunction.

Some graphs have translation symmetry, that is, we may shift the graph alongthe x-axis a certain amount and leave the graph unchanged. In this case thefunction is periodic; there is a real number c so that if we shift the graph to theleft by c units, then the graph is unchanged.

Algebraically, we write f(x+ c) = f(x).

The smallest positive real number c such that f(x+ c) = f(x) is called theperiod of the function f .

We will see this phenomenon (periodic functions and translation symmetry)throughout our study of trigonometry.

Smith (SHSU) Elementary Functions 2013 17 / 25

Page 4: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Periodic functions

In this lesson we discuss periodic functions and also introduce the greatest integerfunction.

Some graphs have translation symmetry, that is, we may shift the graph alongthe x-axis a certain amount and leave the graph unchanged. In this case thefunction is periodic; there is a real number c so that if we shift the graph to theleft by c units, then the graph is unchanged.

Algebraically, we write f(x+ c) = f(x).

The smallest positive real number c such that f(x+ c) = f(x) is called theperiod of the function f .

We will see this phenomenon (periodic functions and translation symmetry)throughout our study of trigonometry.

Smith (SHSU) Elementary Functions 2013 17 / 25

Page 5: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Periodic functions

In this lesson we discuss periodic functions and also introduce the greatest integerfunction.

Some graphs have translation symmetry, that is, we may shift the graph alongthe x-axis a certain amount and leave the graph unchanged. In this case thefunction is periodic; there is a real number c so that if we shift the graph to theleft by c units, then the graph is unchanged.

Algebraically, we write f(x+ c) = f(x).

The smallest positive real number c such that f(x+ c) = f(x) is called theperiod of the function f .

We will see this phenomenon (periodic functions and translation symmetry)throughout our study of trigonometry.

Smith (SHSU) Elementary Functions 2013 17 / 25

Page 6: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Periodic functions

In this lesson we discuss periodic functions and also introduce the greatest integerfunction.

Some graphs have translation symmetry, that is, we may shift the graph alongthe x-axis a certain amount and leave the graph unchanged. In this case thefunction is periodic; there is a real number c so that if we shift the graph to theleft by c units, then the graph is unchanged.

Algebraically, we write f(x+ c) = f(x).

The smallest positive real number c such that f(x+ c) = f(x) is called theperiod of the function f .

We will see this phenomenon (periodic functions and translation symmetry)throughout our study of trigonometry.

Smith (SHSU) Elementary Functions 2013 17 / 25

Page 7: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Periodic functions

In this lesson we discuss periodic functions and also introduce the greatest integerfunction.

Some graphs have translation symmetry, that is, we may shift the graph alongthe x-axis a certain amount and leave the graph unchanged. In this case thefunction is periodic; there is a real number c so that if we shift the graph to theleft by c units, then the graph is unchanged.

Algebraically, we write f(x+ c) = f(x).

The smallest positive real number c such that f(x+ c) = f(x) is called theperiod of the function f .

We will see this phenomenon (periodic functions and translation symmetry)throughout our study of trigonometry.

Smith (SHSU) Elementary Functions 2013 17 / 25

Page 8: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Periodic functions

In this lesson we discuss periodic functions and also introduce the greatest integerfunction.

Some graphs have translation symmetry, that is, we may shift the graph alongthe x-axis a certain amount and leave the graph unchanged. In this case thefunction is periodic; there is a real number c so that if we shift the graph to theleft by c units, then the graph is unchanged.

Algebraically, we write f(x+ c) = f(x).

The smallest positive real number c such that f(x+ c) = f(x) is called theperiod of the function f .

We will see this phenomenon (periodic functions and translation symmetry)throughout our study of trigonometry.

Smith (SHSU) Elementary Functions 2013 17 / 25

Page 9: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

For example, if we look at the graphs below, we see graphs that appear torepresent periodic functions.

The graph on the left has period 2π, slightly more than 6.The graph on the right has period 2.

Smith (SHSU) Elementary Functions 2013 18 / 25

Page 10: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

For example, if we look at the graphs below, we see graphs that appear torepresent periodic functions.

The graph on the left has period 2π, slightly more than 6.The graph on the right has period 2.

Smith (SHSU) Elementary Functions 2013 18 / 25

Page 11: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

For example, if we look at the graphs below, we see graphs that appear torepresent periodic functions.

The graph on the left has period 2π, slightly more than 6.The graph on the right has period 2.

Smith (SHSU) Elementary Functions 2013 18 / 25

Page 12: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The graph on the left has period 2π, slightly more than 6.The graph on the right has period π, slightly more than 3.We will look more closely at periodic functions several times in this course.

Smith (SHSU) Elementary Functions 2013 19 / 25

Page 13: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The graph on the left has period 2π, slightly more than 6.The graph on the right has period π, slightly more than 3.We will look more closely at periodic functions several times in this course.

Smith (SHSU) Elementary Functions 2013 19 / 25

Page 14: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The graph on the left has period 2π, slightly more than 6.The graph on the right has period π, slightly more than 3.We will look more closely at periodic functions several times in this course.

Smith (SHSU) Elementary Functions 2013 19 / 25

Page 15: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The graph on the left has period 2π, slightly more than 6.The graph on the right has period π, slightly more than 3.We will look more closely at periodic functions several times in this course.

Smith (SHSU) Elementary Functions 2013 19 / 25

Page 16: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 17: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 18: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 19: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 20: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 21: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 22: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 23: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 24: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

We digress from our discussion of periodic functions to introduce a functioncommon in mathematics and computer science.The greatest integer function

f(x) = bxc,

takes as input a real number and rounds the number down to the greatest integerless than or equal to it.

For example, it rounds 3.1 to 3, so b3.1c = 3.

If the input is already an integer, the output is unchanged. For example, b5c = 5.

If the number x is positive, bxc is essentially the value of x with everything to theright of the decimal place stripped away.

So it is easy to compute bxc when x ≥ 0.One has to be careful if x is negative – we always round down here, sob−1.1c = −2

Smith (SHSU) Elementary Functions 2013 20 / 25

Page 25: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

Here is a graph of the greatest-integer function.

Smith (SHSU) Elementary Functions 2013 21 / 25

Page 26: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The greatest-integer function is also called the floor function since is rounds downto the integer “on the floor”, below x.

Notice a certain symmetry of this function: if we translate the graph up and tothe right (at an angle of 45◦) then we get the same graph back.

In other words, if f(x) = bxc then f(x) = f(x− 1) + 1.

Smith (SHSU) Elementary Functions 2013 22 / 25

Page 27: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The greatest-integer function is also called the floor function since is rounds downto the integer “on the floor”, below x.

Notice a certain symmetry of this function: if we translate the graph up and tothe right (at an angle of 45◦) then we get the same graph back.

In other words, if f(x) = bxc then f(x) = f(x− 1) + 1.

Smith (SHSU) Elementary Functions 2013 22 / 25

Page 28: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The greatest-integer function is also called the floor function since is rounds downto the integer “on the floor”, below x.

Notice a certain symmetry of this function: if we translate the graph up and tothe right (at an angle of 45◦) then we get the same graph back.

In other words, if f(x) = bxc then f(x) = f(x− 1) + 1.

Smith (SHSU) Elementary Functions 2013 22 / 25

Page 29: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

A function related to the greatest-integer function is the fractional-partfunction.

The floor function throws away the decimal part of a positive real number.

What if, instead, we keep only the decimal part?

The fractional-part function g(x) = x− bxc keeps just the remainder, after weremove the integer part.

Smith (SHSU) Elementary Functions 2013 23 / 25

Page 30: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

A function related to the greatest-integer function is the fractional-partfunction.

The floor function throws away the decimal part of a positive real number.

What if, instead, we keep only the decimal part?

The fractional-part function g(x) = x− bxc keeps just the remainder, after weremove the integer part.

Smith (SHSU) Elementary Functions 2013 23 / 25

Page 31: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

A function related to the greatest-integer function is the fractional-partfunction.

The floor function throws away the decimal part of a positive real number.

What if, instead, we keep only the decimal part?

The fractional-part function g(x) = x− bxc keeps just the remainder, after weremove the integer part.

Smith (SHSU) Elementary Functions 2013 23 / 25

Page 32: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

A function related to the greatest-integer function is the fractional-partfunction.

The floor function throws away the decimal part of a positive real number.

What if, instead, we keep only the decimal part?

The fractional-part function g(x) = x− bxc keeps just the remainder, after weremove the integer part.

Smith (SHSU) Elementary Functions 2013 23 / 25

Page 33: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

The fractional-part function is an example of a sawtooth function – it is periodicwith very sharp edges!

Smith (SHSU) Elementary Functions 2013 24 / 25

Page 34: Elementary Functions€¦ · Elementary Functions Part 1, Functions Lecture 1.4b, Symmetries of Functions: Periodic Functions Dr. Ken W. Smith Sam Houston State University 2013 Smith

Visualizing functions

(END)

Smith (SHSU) Elementary Functions 2013 25 / 25