# Trigonometric Graph

Last Updated : 27 Mar, 2024

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.

Â

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.Â

 Î¸ y = sin Î¸ -360Â° -270Â° -180Â° -90Â° Â 0Â°Â Â 30Â°Â Â  45Â°Â 60Â° Â 90Â° 180Â° Â 270Â°Â Â 360Â°Â 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 (-âˆž, +âˆž).

Â

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 Â (-âˆž, + âˆž)Â [-1, +1] Â âˆ’1Â 1 1 2Ï€ Â x=nÏ€, âˆ€nÂ y = 0 Origin 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.

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

 Î¸ y = cos Î¸ -360Â° -270Â° -180Â° -90Â° Â 0Â° 30Â° 45Â° 60Â° 90Â° 180Â° 270Â° Â 360Â° 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 (-âˆž, +âˆž).

Â

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 (-âˆž, + âˆž) [-1, +1] âˆ’1 1 1 2Ï€ x = (2n + 1)Ï€/2, âˆ€n y = 1 Y-axis 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.Â

 Î¸ Â y = tan Î¸Â -360Â° -270Â° -180Â° -90Â° 0Â° 30Â° 45Â° 60Â° 90Â° 180Â° 270Â° 360Â° 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.

Â

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Â (-âˆž, +âˆž) Ï€ Â x=nÏ€, âˆ€n y=0 Origin x = (2n + 1)Ï€/2 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.Â

 Î¸ Â y = cot Î¸Â -360Â° -270Â° -180Â° -90Â° 0Â° 30Â° 45Â° 60Â° 90Â° 180Â° 270Â° 360Â° 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Ï€.

Â

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Ï€ (-âˆž, +âˆž) Ï€ Â x = (2n + 1)Ï€/2, âˆ€nÂ Â not applicableÂ Origin x = nÏ€ 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.

 Î¸ y = csc Î¸ -360Â° -270Â° -180Â° -90Â° 0Â° 30Â° 45Â° 60Â° 90Â° 180Â° 270Â° 360Â° 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Ï€.

Â

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Ï€ Â (-âˆž, -1] U [+1, +âˆž)Â 2Ï€ Â not applicable not applicable Origin x = nÏ€ Â 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.

 Î¸ y = sec Î¸ -360Â° -270Â° -180Â° -90Â° 0Â° 30Â° 45Â° 60Â° 90Â° 180Â° 270Â° 360Â° 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.

Â

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 (-âˆž, -1] U [+1, +âˆž) 2Ï€ not applicable y = 1 Y-axis x = (2n + 1)Ï€/2 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.

Â

## 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 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 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 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 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:

Â

## FAQs on Trigonometry Graph

Question 1: What is trigonometry?

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.

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.

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?