# Connexions

You are here: Home » Content » Periodic functions

### Recently Viewed

This feature requires Javascript to be enabled.

# Periodic functions

Module by: Sunil Kumar Singh. E-mail the author

In physical world around us, we encounter many phenomena which repeat after certain interval of time. In mathematics, the notion of periodicity remains same but with more general connotation. The periodicity of a function is not limited to time. We look for repetition of function values with respect to independent variable. Time could be just one such independent variable. For example, we have seen that trigonometric functions are “many one” relations. This means that we get same value of trigonometric function for different angles. This “many one” relation is the basic requirement for a function to be periodic. In addition, these same values of the function should appear at regular intervals for the values of independent variables in the domain.

We can visualize periodic nature of a function by observing its graph in which a particular smallest segment of the plot can be repeated to construct complete plot.

In the two graphs shown above, we have considered two segments corresponding to intervals of “ π π ” and “ 2 π 2 π ”. The graphs are constructed by repeating the segments one after another. It is clear from the figure that we need smallest segment of an interval “ 2 π 2 π ” to construct a sine curve (lower curve).

## Definition of periodic function

A function is said to be periodic if there exists a positive real number “T” such that

f x + T = f x for all x D f x + T = f x for all x D

where “D” is the domain of the function f(x). The least positive real number “T” (T>0) is known as the fundamental period or simply the period of the function. The “T” is not a unique positive number. All integral multiple of “T” within the domain of the function is also the period of the function. Hence,

f x + n T = f x ; n Z , for all x D f x + n T = f x ; n Z , for all x D

In the context of periodic function, an “aperiodic” function is one, which in not periodic. On the other hand, a function is said to be anti-periodic if :

f x + T = - f x for all x D f x + T = - f x for all x D

### Periodicity and period

In order to determine periodicity and period of a function, we can follow the algorithm as :

1. Put f(x+T) = f(x).
2. If there exists a positive number “T” satisfying equation in “1” and it is independent of “x”, then f(x) is periodic. Otherwise, function, “f(x)” is aperiodic.
3. The least value of “T” is the period of the periodic function.

#### Example 1

Problem : Let f(x) be a function and “k” be a positive real number such that :

f x + k + f x = 0 for all x R f x + k + f x = 0 for all x R

Prove that f(x) is periodic. Also determine its period.

Solution : The given equation can be re-written as :

f x + k = - f x for all x R f x + k = - f x for all x R

Here, our objective is to convert RHS of the equation as f(x). For this, we need to substitute "x" such that RHS function acquires RHS function form. Replacing “x” by “x+k”, we have :

f x + 2 k = - f x + k for all x R f x + 2 k = - f x + k for all x R

Combining two equations,

f x + 2 k = - 1 X - f x = f x for all x R f x + 2 k = - 1 X - f x = f x for all x R

It means that f(x) is a periodic function and its period is “2k”.

#### Example 2

Problem : Determine period of the function :

f x = a sin k x + b cos k x f x = a sin k x + b cos k x

Solution : The function is sum of two trigonometric functions. We can reduce this function is terms of a single trigonometric function to determine its periodic nature. Let

a = r cos θ ; b = r sin θ a = r cos θ ; b = r sin θ

r = a 2 + b 2 r = a 2 + b 2

Substituting in the function, we have :

f x = r cos θ sin k x + r sin θ cos k x = r sin k x + θ f x = r cos θ sin k x + r sin θ cos k x = r sin k x + θ

This is a periodic function. Also, period of “ag(x)” is same as that of “g(x)”. Therefore, period of “r sin (kx + θ)” is same as that of “sin (kx + θ)”. On the other hand, period of g(ax+b) is equal to the period of g(x), divided by “|a|”. Now, period of “sinx” is “2π”. Hence, period of the given function is :

T = 2 π | k | T = 2 π | k |

Alternatively, we can treat given function as addition of two functions. The period of each term is “2π/|k|”. Applying LCM rule (discussed later), the period of given function is equal to LCM of two periods, which is “2π/|k|”.

## Basic periodic functions

Not many of the functions that we encounter are periodic. There are few functions, which are periodic by their very definition. We are, so far, familiar with following periodic functions in this course :

• Constant function, (c)
• Trigonometric functions, (sinx, cosx, tanx etc.)
• Fraction part function, {x}

Six trigonometric functions are most commonly used periodic functions. They are used in various combination to generate other periodic functions. In general, we might not determine periodicity of each function by definition. It is more convenient to know periods of standard functions like that of six trigonometric functions, their integral exponents and certain other standard forms/ functions. Once, we know periods of standard functions, we use different rules, properties and results of periodic functions to determine periods of other functions, which are formed as composition or combination of standard periodic functions.

### Constant function

For constant function to be periodic function,

f x + T = f(x) f x + T = f(x)

By definition of constant function,

f x + T = f(x) = c f x + T = f(x) = c

Clearly, constant function meets the requirement of a periodic function, but there is no definite, fixed or least period. The relation of periodicity, here, holds for any change in x. We, therefore, conclude that constant function is a periodic function without period.

### Trigonometric functions

Graphs of trigonometric functions (as described in the module titled trigonometric function) clearly show that periods of sinx, cosx, cosecx and secx are “2π” and that of tanx and cotx are “π”. Here, we shall mathematically determine periods of few of these trigonometric functions, using definition of period.

#### Sine function

For sinx to be periodic function,

sin x + T = x sin x + T = x

x + T = n π + - 1 n x ; n Z x + T = n π + - 1 n x ; n Z

The term - 1 n - 1 n evaluates to 1 if n is an even integer. In that case,

x + T = n π + x x + T = n π + x

Clearly, T = nπ, where n is an even integer. The least positive value of “T” i.e. period of the function is :

T = 2 π T = 2 π

#### Cosine function

For cosx to be periodic function,

cos x + T = cos x cos x + T = cos x

x + T = 2 n π ± x ; n Z x + T = 2 n π ± x ; n Z

Either,

x + T = 2 n π + x x + T = 2 n π + x

T = 2 n π T = 2 n π

or,

x + T = 2 n π x x + T = 2 n π x

T = 2 n π 2 x T = 2 n π 2 x

First set of values is independent of “x”. Hence,

T = 2 n π ; n Z T = 2 n π ; n Z

The least positive value of “T” i.e. period of the function is :

T = 2 π T = 2 π

#### Tangent function

For tanx to be periodic function,

tan ( x + T ) = tan x tan ( x + T ) = tan x x + T = n π + x ; n Z x + T = n π + x ; n Z

Clearly, T = nπ; n∈Z. The least positive value of “T” i.e. period of the function is :

T = π T = π

### Fraction part function (FPF)

Fraction part function (FPF) is related to real number "x" and greatest integer function (GIF) as { x } = x [ x ] { x } = x [ x ] . We have seen that greatest integer function returns the integer which is either equal to “x” or less than “x”. For understanding the nature of function, let us compute few function values as here :

---------------------------------
x            [x]         x – [x]
---------------------------------
1            1             0
1.25         1             0.25
1.5          1             0.5
1.75         1             0.75
2            2             0
2.25         2             0.25
2.5          2             0.5
2.75         2             0.75
3            3             0
3.25         3             0.25
3.5          3             0.5
3.75         3             0.75
4            4             0
---------------------------------


From the data in table, we infer that difference as given by “x – [x]” is periodic with a period of “1”. Note that function value repeats for an increment of "1" in the value of "x". We, now, proceed to prove this analytically. Here,

f x = x [ x ] f x = x [ x ]

f x + T = x + T [ x + T ] f x + T = x + T [ x + T ]

Let us assume that the given function is indeed a periodic function. Then by definition,

f x + T = f x f x + T = f x

x + T [ x + T ] = x [ x ] x + T [ x + T ] = x [ x ]

T = [ x + T ] [ x ] T = [ x + T ] [ x ]

T Z T Z

Clearly, “T” is an integer as both greatest integer functions return integers. There exists T > 0, which satisfies the equation f(x+T) = f(x). The least positive integer is “1”. Hence, period of the function is “1”.

## Arithmetic operations and periodicity

A periodic function can be modified by arithmetic operations on independent variable of the function or function itself. The arithmetic operations involved here are addition, subtraction, multiplication, division and negation. We have studied (read module titled transformation of graphs) these operations and seen that there are different effects on the graph of core function due to these operations. Arithmetic operations on independent variable change input to the function and the graph of core function is transformed horizontally (along x-axis). On the other hand, operations on the function itself change output and the graph of core function is transformed vertically (along. y-axis). The combined input/output arithmetic operations related to function are symbolically represented as :

a f ( b x + c ) + d ; a,b,c,d Z a f ( b x + c ) + d ; a,b,c,d Z

Important thing to understand here is that periodicity is defined in terms of independent variable, x. A periodic function repeats a set of its values after regular interval of independent variable i.e. x., Clearly, periodicity of a periodic function is not affected by transformations in vertical direction. Hence, arithmetic operations with function involving constants “a” and “d” do not affect periodicity of a periodic function.

Not all arithmetic operations on independent variable will change or affect periodicity. Shifting of core graph due to addition or subtraction results in shifting of the graph as a whole either to the left or right. This operation does not change size and shape of the graph. Thus, addition and subtraction operation involving constant “c” does not affect periodicity of a function. Negation of independent variable, when “b” is negative, results in flipping of the graph without any change in size and shape of the graph. As such, negation of independent variable does not change periodicity either.

It is only the multiplication or division of independent variable x by a positive constant, “b” greater than 1, result in change in size with respect to origin in horizontal direction. The graph shrinks horizontally when independent variable is multiplied by positive constant greater than 1 by the factor which is equal to the multiplier. This means periodicity of graph decreases by the same factor i.e.|b|. The graph stretches horizontally when independent variable is divided by positive constant greater than 1 by the factor which is equal to the divisor. This means periodicity of graph increases by the same factor i.e.|b|. We combine these two observations by saying that period of graph decrease by a factor |b|. Note that magnitude of constant “b” more than 1 represents multiplication and less than represents division.

In the nutshell, if “T” is the period of f(x), then period of function of the form given below id “T/|b|” :

a f ( b x + c ) + d ; a,b,c,d Z a f ( b x + c ) + d ; a,b,c,d Z

### Example 3

Problem : What is the period of function :

f x = 3 + 2 sin { π x + 2 3 } f x = 3 + 2 sin { π x + 2 3 }

Solution : Rearranging, we have :

f x = 3 + 2 sin ( π 3 x + 2 3 ) f x = 3 + 2 sin ( π 3 x + 2 3 )

The period of sine function is “ 2 π 2 π ”. Comparing with function form " a f ( b x + c ) + d a f ( b x + c ) + d ", magnitude of b i.e. |b| is π/3. Hence, period of the given function is :

T = T | b | = 2 π π 3 = 6 T = T | b | = 2 π π 3 = 6

## Modulus of trigonometric functions and periods

The graphs of modulus of a function are helpful to determine periods of modulus of trigonometric functions like |sinx|, |cosx|, |tanx| etc. We know that modulus operation on function converts negative function values to positive function values with equal magnitude. As such, we draw graph of modulus function by taking mirror image of the corresponding core graph in x-axis. The graphs of |sinx| and |cotx| are shown here :

From the graphs, we observe that periods of |sinx| and |cotx| are π. Similarly, we find that periods of modulus of all six trigonometric functions are π.

## Integral exponentiation of trigonometric function and periods

The periods of trigonometric functions which are raised to integral powers, depend on the nature of exponents. The periods of trigonometric exponentiations are different for even and odd powers. Following results with respect these exponentiated trigonometric functions are useful :

Functions sin n x , cos n x , cosec n x and sec n x sin n x , cos n x , cosec n x and sec n x are periodic on “R” with period “ π π ” when “n” is even and “ 2 π 2 π ” when “n” is fraction or odd. On the other hand, Functions tan n x and cot n x tan n x and cot n x are periodic on “R” with period “ π π ” whether n is odd or even.

### Example 4

Problem : Find period of sin 2 x sin 2 x .

Solution : Using trigonometric identity,

sin 2 x = 1 + cos 2x 2 sin 2 x = 1 + cos 2x 2

sin 2 x = 1 2 + cos 2x 2 sin 2 x = 1 2 + cos 2x 2

Comparing with a f ( b x + c ) + d a f ( b x + c ) + d , the magnitude of “b” i.e. |b| is 2. The period of cosine is 2π. Hence, period of sin 2 x sin 2 x is :

T = 2 = π T = 2 = π

### Example 5

Problem : Find period of function :

f x = sin 3 x f x = sin 3 x

Writing identity for " sin 3 x sin 3 x ", we have :

f x = sin 3 x = 3 sin x sin 3 x 4 = 3 4 sin x 3 4 sin 3 x f x = sin 3 x = 3 sin x sin 3 x 4 = 3 4 sin x 3 4 sin 3 x

We know that period of “ag(x)” is same as that of “g(x)”. The period of first term of “f(x)”, therefore, is equal to the period of “sinx”. Now, period of “sinx” is “2π”. Hence,

T 1 = 2 π T 1 = 2 π

We also know that period of g(ax+b) is equal to the period of g(x), divided by “|a|”. The period of second term of “f(x)”, therefore, is equal to the period of “sinx”, divided by “3”. Now, period of “sinx” is “2π”. Hence,

T 2 = 2 π 3 T 2 = 2 π 3

Applying LCM rule,

T = LCM of 2 π and 2 π HCF of 1 and 3 = 1 = π T = LCM of 2 π and 2 π HCF of 1 and 3 = 1 = π

## LCM Rule for periodicity

When two periodic functions are added or subtracted, the resulting function is also a periodic function. The resulting function is periodic when two individual periodic functions being added or subtracted repeat simultaneously. Consider a function,

f(x) = sinx + sin x 2 f(x) = sinx + sin x 2

The period of sinx is 2π, whereas period of sinx/2 is 4π. The function f(x), therefore, repeats after 4π, which is equal to LCM of (least common multiplier) of the two periods. It is evident from the graph also.

If “a” and “b” are non-zero real number and functions g(x) and h(x) are periodic functions having periods, “ T 1 T 1 ” and “ T 2 T 2 ”, then function f x = a g x ± b h x f x = a g x ± b h x is also a periodic function. The period of f(x) is LCM of " T 1 T 1 " and " T 2 T 2 ".

### Finding LCM

LCM of integral numbers is obtained easily. There is, however, difficulty in finding LCM when numbers are fractions (like 3/4, 1/3 etc.) or irrational numbers (like π, 2√2 etc.).

For rational fraction, we can find LCM using following formula :

LCM = LCM of numerators HCF of denominators LCM = LCM of numerators HCF of denominators

Consider fractions 3/5 and 2/3. The LCM of numerators 3 and 2 is 6. The HCF of denominators is 1. Hence, LCM of two fractions is 6/1 i.e. 6.

This rule also works for irrational numbers of similar type like 2√2/3 , 3√2/5 etc or π/2, 3π/2 etc. However, we can not find LCM of irrational numbers of different kind like 2√2 and π. Similarly, there is no LCM for combination of rational and irrational numbers.

For example, LCM of π/3 and 3π/2 is :

LCM = LCM of numerators HCF of denominators = LCM of (π,3π) HCF of (2,3) = 1 = LCM = LCM of numerators HCF of denominators = LCM of (π,3π) HCF of (2,3) = 1 =

#### Example 6

Problem : Find period of

f x = sin 2 π x + π 8 + 2 sin 3 π x + π 3 f x = sin 2 π x + π 8 + 2 sin 3 π x + π 3

Solution : Period of sin 2 π x + π / 8 sin 2 π x + π / 8 is :

T 1 = 2 π 2 π = 1 T 1 = 2 π 2 π = 1

Period of 2 sin 3 π x + π / 3 2 sin 3 π x + π / 3 is :

T 2 = 2 π 3 π = 2 3 T 2 = 2 π 3 π = 2 3

LCM of numbers involving fraction is equal to the ratio of LCM of numerators and HCF of denominators. Hence,

LCM = LCM of numerators HCF of denominators = LCM of (1,2) HCF of (1,3) = 2 1 = 2 LCM = LCM of numerators HCF of denominators = LCM of (1,2) HCF of (1,3) = 2 1 = 2

### Exception to LCM rule

LCM rule is not always true. There are exceptions to this rule. We do not apply this rule, when functions are co-functions of each other or when functions are even functions. Further, if individual periods are rational and irrational numbers respectively, then LCM is not defined. As such, this rule can not be applied in such situation as well.

Two functions f(x) and g(y) are cofunctions if x and y are complimentary angles. The functions sinx and consx are cofunctions as :

sin x = cos ( π 2 - x ) sin x = cos ( π 2 - x )

Similarly, |cosx| and |sinx| are cofunctions as :

| cos x | = | sin ( π 2 - x ) | | cos x | = | sin ( π 2 - x ) |

In such cases where LCM rule is not applicable, we proceed to apply definition of periodic function to determine period.

#### Example 7

Problem : Find period of

f x = | cos x | + | sin x | f x = | cos x | + | sin x |

Solution : We know that |cosx| and |sinx| are co-functions. Recall that a function “f” is co-function of a function “g” if f(x) = g(y) where x and y are complementary angles. Hence, we can not apply LCM rule. But, we know that sin(x + π/2) = cosx. This suggests that the function may have the period "π/2". We check this as :

f x + π 2 = | cos x + π 2 | + | sin x + π 2 | f x + π 2 = | cos x + π 2 | + | sin x + π 2 |

f x + π 2 = | - cos x | + | sin x | = | cos x | + | sin x | = f x f x + π 2 = | - cos x | + | sin x | = | cos x | + | sin x | = f x

Hence, period is “ π / 2 π / 2 ”.

It is intuitive here to work with this problem using LCM rule and compare the result. The period of modulus of all six trigonometric functions is π. The periods of |cosx| and |sinx| are π. Now, applying LCM rule, the period of given function is LCM of π and π, which is π.

#### Example 8

Problem : Find period of

f x = sin 2 x + cos 4 x f x = sin 2 x + cos 4 x

Solution : Here, we see that f(-x) = - f(x).

f -x = sin 2 -x + cos 4 -x = sin 2 x + cos 4 x = f x f -x = sin 2 -x + cos 4 -x = sin 2 x + cos 4 x = f x

This means that given function is even function. As such, we can apply LCM rule. We, therefore, proceed to reduce the given function in terms of one trigonometric function type.

f x = sin 2 x + cos 2 x 1 sin 2 x = sin 2 x + cos 2 x sin 2 X cos 2 x f x = sin 2 x + cos 2 x 1 sin 2 x = sin 2 x + cos 2 x sin 2 X cos 2 x

f x = 1 1 4 sin 2 2 x = 1 1 4 X 1 cos 4 x 2 f x = 1 1 4 sin 2 2 x = 1 1 4 X 1 cos 4 x 2

f x = 1 1 8 + cos 4 x 8 f x = 1 1 8 + cos 4 x 8

T = 2 π 4 = π / 2 T = 2 π 4 = π / 2

Note that if we apply LCM rule, then period evaluates to " π π ".

## Important results

The results obtained in earlier sections are summarized here for ready reference.

1: All trigonometric functions are periodic on “R”. The functions sin x , cos x , sec x and cosec x sin x , cos x , sec x and cosec x have periodicity of " 2 π 2 π ". On the other hand, periodicity of tan x and cot x tan x and cot x is π π .

2: Functions sin n x , cos n x , cosec n x and sec n x sin n x , cos n x , cosec n x and sec n x are periodic on “R” with period “ π π ” when “n” is even and “ 2 π 2 π ” when “n” is fraction or odd. On the other hand, Functions tan n x and cot n x tan n x and cot n x are periodic on “R” with period “ π π ” whether n is odd or even.

3: Functions | sin x | , | cos x | , | tan x | , | cosec x | , | sec x | and | cot x | | sin x | , | cos x | , | tan x | , | cosec x | , | sec x | and | cot x | are periodic on “R” with period “ π π ”.

4: A constant function is a periodic function without any fundamental period. For example,

f x = c f x = c

f x = sin 2 x + cos 2 x f x = sin 2 x + cos 2 x

5: If “T” is the period of f(x), then period of function of the form given below is “T/|b|” :

a f ( b x + c ) + d ; a,b,c,d Z a f ( b x + c ) + d ; a,b,c,d Z

6: If f(x) is a periodic function with period “T” and g(x) is one one function (bijection), then "gof" is also periodic with period “T”.

7: If f(x) is a periodic function with a period T and its domain is a proper subset of domain of g(x), then gof(x) is a periodic function with a period T.

### Example 9

Problem : Find period of function :

f ( x ) = sin ( x ) f ( x ) = sin ( x )

where {} denotes fraction part function.

Solution : The fraction part function {x} is a periodic function with a period “1”. Its domain is R. On the other hand, sinx is a function having domain R. Therefore, domain of {x} is a proper subset of the domain of sinx. Hence, period of sin{x} is 1.

### Example 10

Problem : Find period of function tan⁻¹tanx

Solution : Inverse trigonometric function tan⁻¹x is one one function in [1,1] and tanx is a periodic function with period π in R. Hence, function tan⁻¹tanx function is a periodic function with period π.

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks