Open In App

Trigonometric Graph

Last Updated : 27 Mar, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Trigonometric functions study the relationship between the lengths, heights, and angles of right triangles. They are also known as circular functions or angle functions and are widely used in various fields like programming, computing, navigation, solid mechanics, medical imaging, geodesy, measuring the heights of buildings and mountains, etc. As the name implies, trigonometry is referred to as the study of triangles. There are six trigonometric ratios or functions, which are one of the simplest periodic functions. Sine, cosine, and tangent functions are the most widely used trigonometric functions, whereas their reciprocal functions, cosecant, secant, and cotangent functions, are used less. In this article, we will go through the graphs of the six trigonometric functions in detail.

Right Angled Triangle

 

Let us consider a right-angled triangle ABC, with a right angle at the vertex B, i.e., ∠B = 90°. Let “θ” be the angle at vertex C. Now, the adjacent side/base is the side adjacent to the angle “θ” and the side opposite to the angle “θ” is called the opposite side/perpendicular. The longest side of a right angle, or the side opposite to the right angle, is called a hypotenuse.

  • sin θ = Opposite side/Hypotenuse
  • cos θ = Adjacent side/Hypotenuse
  • tan θ = Opposite side/Adjacent side
  • cosec θ = 1/sin θ = Hypotenuse/Opposite side
  • sec θ = 1/cos θ = Hypotenuse/Adjacent side
  • cot θ = 1/tan θ = Adjacent side/Opposite side

Sine Function

A sine function is denoted as “sin” and is defined as the ratio of the length of the opposite side/perpendicular to the length of the hypotenuse to the given angle.

sin θ = Opposite side/Hypotenuse

Now, let’s plot the sine function’s graph using the standard trigonometric values. 

θ

-360°

-270°

-180°

-90°

 0° 

 30° 

  45° 

60°

 90°

180°

 270° 

 360° 

y = sin θ

0

1

0

−1

0

1/2=0.5 

 1/√2=0.707 

 √3/2=0.8660

1

0

−1

0

In the graph of the sine function, the values of angles (degrees) are taken on the X-axis while the values of y = sin θ at each given angle are taken on the Y-axis. A sine function is defined for every real number, which means the domain of the sine function is (-∞, +∞).

Graph of Sine Function

 

From the graph, we can observe that the maximum value of the sine function is 1, while its minimum value is -1. So, the amplitude of the sine function is half of the distance between the maximum value and the minimum value. As a result, the amplitude is one [(1 – (-1))/2 = 1]. From the graph, we can also observe that the pattern is repeating over and over after a period of 2Ï€. We can notice that the graph is passing through the X-axis where the value of θ is multiples of Ï€, so the roots or zeros of the sine function are the multiples of Ï€. At each point, the height of the curve is equal to the sine of the line value.

Domain

 (-∞, + ∞) 

Range

[-1, +1]

Minimum value

 −1 

Maximum value

1

Amplitude

1

 Period

2Ï€

X−intercept

 x=nπ, ∀n 

Y−intercept

y = 0

 Line of symmetry 

Origin

Type of function

Odd function

Cosine Function

A cosine function is denoted as “cos” and is defined as the ratio of the length of the adjacent side/base to the length of the hypotenuse to the given angle.

cos θ = Adjacent side/Hypotenuse

Now, let’s plot the graph of the cosine function using the standard values of trigonometric functions. 

θ

-360°

-270°

-180°

-90°

 0°

30°

45°

60°

90°

180°

270°

 360°

y = cos θ

1

0

1

0

1

√3/2=0.8660

1/√2=0.707

1/2=0.5

0

−1

0

1

In the graph of the cosine function, the values of angles (degrees) are taken on the X-axis while the values of y = cos θ at each given angle are taken on the Y-axis. A cosine function is defined for every real number, which means the domain of the cosine function is (-∞, +∞).

Graph of Cosine Function

 

From the graph, we can observe that the maximum value of the cosine function is 1, while its minimum value is -1. The amplitude of the cosine function is one and the period is 2π. We can notice that the graph is passing through the X-axis where the value of θ is an odd multiple of π/2, so the roots or zeros of the cosine function are the odd multiples of π/2. By comparing the graphs of the sine and cosine functions, we can observe that the graph of the cosine function is obtained after shifting the graph of y = sin θ to π/2 units to the left.

Domain

(-∞, + ∞)

Range

[-1, +1]

 Minimum value 

−1

Maximum value

1

Amplitude

1

Period

2Ï€

X−intercept

x = (2n + 1)π/2, ∀n

Y−intercept

y = 1

Line of symmetry

Y-axis

Type of function

Even function

Tangent Function

A tangent function is denoted as “tan” and is defined as the ratio of the length of the opposite side/perpendicular to the length of the adjacent side/base to the given angle.

tan θ = Opposite side/Adjacent side = sin θ/cos θ

Now, let’s plot the graph of the tangent function using the standard values of trigonometric functions. 

θ

-360°

-270°

-180°

-90°

0°

30°

45°

60°

90°

180°

270°

360°

 y = tan θ 

0

undefined

0

undefined

0

1/√3

1

√3

undefined

0

undefined

0

In the graph of the tangent function, the values of angles (degrees) are taken on the X-axis while the values of y = tan θ at each given angle are taken on the Y-axis. A tangent function is defined for every real number, except at the values where the cosine function is zero. We know that a cosine function is zero at the odd multiples of Ï€/2, so the domain of the tangent function is R – (2n + 1)Ï€/2.

Graph of Tangent Function

 

The amplitude of the graph of a tangent function is undefined as the curve does not have a maximum or a minimum value and tends to infinity. As the curve repeats after an interval of π, the period of the tangent function is π. 

 Domain 

 R – (2n + 1)Ï€/2 

Range

(-∞, +∞)

Period

Ï€

 X−intercept 

 x=nπ, ∀n

 Y−intercept 

y=0

 Line of symmetry 

Origin

 Vertical asymptotes 

x = (2n + 1)Ï€/2

Type of function

Odd function

Cotangent Function

A cotangent function is denoted as “cot” and is defined as the ratio of the length of the adjacent side/base to the length of the opposite side/perpendicular to the given angle.

cot θ = Adjacent side/Opposite side = cos θ/sin θ

Now, let’s plot the graph of the cotangent function using the standard values of trigonometric functions. 

θ

-360°

-270°

-180°

-90°

0°

30°

45°

60°

90°

180°

270°

360°

 y = cot θ 

undefined

0

undefined

0

undefined

1/√3

1

√3

0

undefined

0

undefined

In the graph of the cotangent function, the values of angles (degrees) are taken on the X-axis while the values of y = cot θ at each given angle are taken on the Y-axis. A cotangent function is defined for every real number, except at the values where the sine function is zero. We know that a sine function is zero at the multiples of Ï€, so the domain of the cotangent function is R – nÏ€.

Graph of Cotangent Function

 

The amplitude of the graph of a cotangent function is undefined as the curve does not have a maximum or a minimum value and tends to infinity. As the curve repeats after an interval of π, the period of the cotangent function is π. 

Domain

R – nÏ€

Range

(-∞, +∞)

Period

Ï€

 X−intercept

 x = (2n + 1)π/2, ∀n 

Y−intercept

 not applicable 

 Line of symmetry 

Origin

 Vertical asymptotes 

x = nπ

Type of function

Odd function

Cosecant Function

A cosecant function is denoted as “csc or cosec” and is defined as the ratio of the length of the hypotenuse to the length of the opposite side/perpendicular to the given angle.

cosec θ = Hypotenuse/Opposite side = 1/sin θ

Now, let’s plot the graph of the cosecant function using the standard values of trigonometric functions.

θ

-360°

-270°

-180°

-90°

0°

30°

45°

60°

90°

180°

270°

360°

y = csc θ

undefined

1

undefined

−1

undefined

2

√2

2/√3

1

undefined

−1

undefined

In the graph of the cosecant function, the values of angles (degrees) are taken on the X-axis while the values of y = csc θ at each given angle are taken on the Y-axis. A cosecant function is defined for every real number, except at the values where the sine function is zero. We know that a sine function is zero at the multiples of Ï€, so the domain of the cosecant function is R – nÏ€.

Graph of Cosec Function

 

The amplitude of the graph of a cosecant function is undefined as the curve does not have a maximum or a minimum value and tends to infinity. As the curve repeats after an interval of 2π, the period of the cosecant function is 2π. 

Domain

R – nÏ€

Range

 (-∞, -1] U [+1, +∞) 

Period

2Ï€

 X−intercept

 not applicable

Y−intercept

not applicable

 Line of symmetry 

Origin

 Vertical asymptotes

x = nπ

Type of function

 Odd function 

Secant Function

A secant function is denoted as “sec” and is defined as the ratio of the length of the hypotenuse to the length of the adjacent side/base to the given angle.

sec θ = Hypotenuse/Adjacent side = 1/cos θ

Now, let’s plot the graph of the secant function using the standard values of trigonometric functions.

θ

-360°

-270°

-180°

-90°

0°

30°

45°

60°

90°

180°

270°

360°

y = sec θ

1

undefined

−1

undefined

1

2/√3

√2

2

undefined

−1

undefined

1

In the graph of the secant function, the values of angles (degrees) are taken on the X-axis while the values of y = sec θ at each given angle are taken on the Y-axis. A secant function is defined for every real number, except at the values where the cosine function is zero. We know that a cosine function is zero at the odd multiples of Ï€/2, so the domain of the secant function is R – (2n + 1)Ï€/2.

Secant Graph

 

The amplitude of the graph of a secant function is undefined as the curve does not have a maximum or a minimum value and tends to infinity. As the curve repeats after an interval of 2π, the period of the secant function is 2π. 

 Domain 

R – (2n + 1)Ï€/2

Range

(-∞, -1] U [+1, +∞)

Period

2Ï€

X−intercept

not applicable

Y−intercept

y = 1

 Line of symmetry 

Y-axis

 Vertical asymptotes 

x = (2n + 1)Ï€/2

Type of function

Even function 

Important Features of Graphs of Trigonometric Functions

For every trigonometric graph, there are important features: amplitude, vertical shift, period, phase, and phase shift.

  • Amplitude: Amplitude is half of the distance between the maximum value and the minimum value, or the height of the curve from the center line.
  • Vertical Shift: The displacement of the graph perpendicular to the x-axis is known as vertical shift. 
  • Period: The period is the distance between the repetitions of any function.
  • Phase: The position of the waveform at a fraction of a period is referred to as its phase, and it is expressed in angles or radians.
  • Phase Shift: The displacement of the graph perpendicular to the y-axis is known as phase shift.

Have a look at the features mentioned above on the graph, as shown below.

Features of Graphs of Trigonometric Functions

 

Graph of the General Form of Trigonometric Functions

The general form of a sine function is given as follows:

 y = a sin (bx + c) + d

Here,
|a| = Amplitude        (the value of “a” alters, the graph will stretch or compress accordingly)
2Ï€/|b| = Period
c/b = Phase shift
d = Vertical shift

How to Graph a Trigonometric Function?

To graph a trigonometric function, follow the steps mentioned below:

Step 1: To draw the graph of a trigonometric function, convert it into its general form, y = a sin (bx + c) + d.

Step 2: Now, identify the different parameters such as amplitude, phase shift, vertical shift, and period.

Step 3: The value of the period is 2π/|b| for sine and cosine functions, whereas for tangent and cotangent functions it is π/|b|. Phase shift = -c/b.

Step 4: Finally, plot the graph using the parameters calculated above.

Solved Examples on Trigonometry Graphs

Example 1: Draw the graph of y = 3 cos 4x + 5.

Solution:

Given: y = 3 cos 4x + 5

Now, compare the given equation with the general form y = a cos (bx + c) + d,

  • a = 3, which means the amplitude is 3. (So, the distance between the maximum and minimum value is 6)
  • b = 4. Period = 2Ï€/|b| = 2Ï€/|4| = Ï€/2
  • c = 0, so there is no phase shift.
  • d = 5, which means the graph moved upwards by 5 units.

The graph of y = 3 cos 4x + 5 is given below:

Example 1

 

Example 2: Draw the graph of y = cosec x + 3.

Solution:

Given: y = cosec x + 3

  • We know that the amplitude of the graph of a cosecant function is undefined as the curve tends to infinity.
  • Period = 2Ï€/|b| = 2Ï€/|1| = 2Ï€
  • Here, there is no phase shift.
  • The graph moved upwards by 3 units.

The graph of y = cosec x + 3 is given below:

Example 2

 

Example 3: Draw the graph of y = sin (2x −π) + 2.

Solution:

Given: y = sin (2x − π) + 2

Now, compare the given equation with the general form y = a sin (bx + c) + d,

  • a = 1, which means the amplitude is 1. (So, the distance between the maximum and minimum value is 2)
  • b = 2. Period = 2Ï€/|2| = 2Ï€/|2| = Ï€
  • c = −π. Phase shift = −c/b = − (−π)/2 = Ï€/2
  • d = 2, which means the graph moved upwards by 2 units.

The graph of y = sin (2x −π) + 2 is given below:

Example 3

 

Example 4: Draw the graph of y = tan x + 1.

Solution:

Given: y = tan x + 1

  • We know that the amplitude of the graph of a tangent function is undefined as the curve does not have a maximum or a minimum value and tends to infinity.
  • Period = Ï€/|1| = Ï€/|1| = Ï€
  • Here, there is no phase shift.
  • The graph moved upwards by 1 unit.

The graph of y = tan x + 1 is given below:

Example 4

 

Example 5: Draw the graph of y = 2 sin x + 3.

Solution:

Given: y = 2 sin x + 3

Now, compare the given equation with the general form y = a sin (bx + c) + d,

a = 2, which means the amplitude is 2. (So, the distance between the maximum and minimum value is 2)
b = 1. Period = 2Ï€/|1| = 2Ï€/|1| = 2Ï€
c = 0, so there is no phase shift.
d = 3, which means the graph moved upwards by 3 units.

The graph of y = 2 sin x + 3 is given below:

Example 5

 

FAQs on Trigonometry Graph

Question 1: What is trigonometry?

Answer:

In mathematics, the trigonometric functions study the relationship between the lengths, heights, and angles of right triangles. As the name implies, trigonometry is referred to as the study of triangles.

Question 2: Mention some applications of trigonometric functions.

Answer:

Trigonometric functions are also known as circular functions or angle functions and are widely used in various fields like programming, computing, navigation, solid mechanics, medical imaging, geodesy, measuring the heights of buildings and mountains, etc.

Question 3: What are the six trigonometric functions? Mention their formulas.

Answer:

There are six trigonometric ratios or functions, which are one of the simplest periodic functions. Sine, cosine, and tangent functions are the most widely used trigonometric functions, whereas their reciprocal functions, cosecant, secant, and cotangent functions, are used less.

  1. sin θ = Opposite side/Hypotenuse
  2. cos θ = Adjacent side/Hypotenuse
  3. tan θ = Opposite side/Adjacent side
  4. cosec θ = 1/sin θ = Hypotenuse/Opposite side
  5. sec θ = 1/cos θ = Hypotenuse/Adjacent side
  6. cot θ = 1/tan θ = Adjacent side/Opposite side

Question 4: What is the domain of a tangent function?

Answer:

A tangent function is defined for every real number, except at the values where the cosine function is zero. We know that a cosine function is zero at the odd multiples of Ï€/2, so the domain of the tangent function is R – (2n + 1)Ï€/2.

Related Resource



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads