Introduction

Visualizing trigonometric functions through their graphs is essential for understanding their properties like domain, range, periodicity, and for solving equations. The graph of a function is a visual representation of all the pairs (x, f(x)).

Graph of Sine Function (y=sinxy = \sin x)

The graph of the sine function is a continuous, periodic wave that oscillates between -1 and 1.

  • Domain: All real numbers (R\mathbb{R}).
  • Range: [1,1][-1, 1]
  • Period: 2π2\pi. The graph repeats its pattern every 2π2\pi radians.
  • Symmetry: It is an odd function since sin(x)=sinx\sin(-x) = -\sin x, meaning it is symmetric about the origin.

Graph of Sine Function

Graph of Cosine Function (y=cosxy = \cos x)

The graph of the cosine function is also a continuous wave, identical to the sine graph but shifted horizontally by π/2\pi/2.

  • Domain: All real numbers (R\mathbb{R})

  • Range: [1,1][-1, 1]

  • Period: 2π2\pi

  • Symmetry: It is an even function since cos(x)=cosx\cos(-x) = \cos x, meaning it is symmetric about the y-axis.

    Graph of Cosine Function

Graph of Tangent Function (y=tanxy = \tan x)

The graph of the tangent function is discontinuous and consists of repeating branches separated by vertical asymptotes.

  • Domain: All real numbers except odd multiples of π/2\pi/2. (R{(2n+1)π2,nZ}\mathbb{R} - \{(2n+1)\frac{\pi}{2}, n \in \mathbb{Z}\})

  • Range: All real numbers (R\mathbb{R})

  • Period: π\pi

  • Asymptotes: Vertical lines at x=(2n+1)π2x = (2n+1)\frac{\pi}{2}, where the cosine (denominator) is zero.

    Graph of Tangent Function

Transformations of Graphs

For a general sinusoidal function like y=Asin(Bx+C)+Dy = A\sin(Bx+C)+D:

  • Amplitude (|A|): The maximum displacement from the central axis. It controls the vertical stretch of the graph.
  • Period (2πB\frac{2\pi}{|B|}): The length of one complete cycle. The value of B controls the horizontal stretch or compression.
  • Phase Shift (C/B-C/B): The horizontal shift of the graph. A positive value indicates a shift to the left, and a negative value indicates a shift to the right.
  • Vertical Shift (D): The vertical shift of the graph's central axis.

Sinusoidal Graph

Example 1: Change in Amplitude

Question: Sketch the graph of y=2sinxy = 2\sin x.

Solution: This is a sine graph where the amplitude, A, is 2. The period and phase shift are unchanged. The range becomes [A,A][-A, A], which is [2,2][-2, 2]. The graph is vertically stretched by a factor of 2 compared to the standard y=sinxy=\sin x graph. Its peaks are at y=2 and its troughs are at y=-2.

 y = Sin2X Graph


Example 2: Change in Period

Question: Find the period and sketch the graph of y=cos(3x)y = \cos(3x).

Solution: The period of this function is given by the formula 2πB=2π3\frac{2\pi}{|B|} = \frac{2\pi}{3}. This means the cosine graph is horizontally compressed and completes one full cycle in the interval [0,2π/3][0, 2\pi/3] instead of [0,2π][0, 2\pi]. The range remains [1,1][-1, 1].


Example 3: Phase Shift

Question: Sketch the graph of y=sin(xπ/4)y = \sin(x - \pi/4).

Solution: This is a standard sine graph with a phase shift. The shift is C/B=(π/4)/1=+π/4-C/B = -(-\pi/4)/1 = +\pi/4. This represents a horizontal shift to the right by π/4\pi/4 units. A standard sine wave starts its cycle at x=0x=0, but this one will start its cycle at x=π/4x=\pi/4.


Example 4: Vertical Shift

Question: Sketch the graph of y=tan(x)+1y = \tan(x) + 1.

Solution: This is the standard tangent graph shifted vertically upwards by 1 unit. The domain, period (π\pi), and asymptotes remain the same. The point that was at the origin (0,0) is now at (0,1).

 y = tanx + 1 Graph


Example 5: Combined Transformation

Question: Find the domain, range, and period of the function f(x)=3cos(2xπ/2)+1f(x) = 3\cos(2x - \pi/2) + 1.

Solution:

  • Domain: The cosine function is defined for all real numbers, so the domain is R\mathbb{R}.
  • Range: The range of the base function cos(2xπ/2)\cos(2x-\pi/2) is [1,1][-1,1]. The amplitude is 3, so the range of 3cos(2xπ/2)3\cos(2x-\pi/2) is [3,3][-3,3]. The vertical shift is +1, which shifts the range upwards by 1. The final range is [3+1,3+1]=[2,4][-3+1, 3+1] = \mathbf{[-2, 4]}.
  • Period: The period is 2πB=2π2=π\frac{2\pi}{|B|} = \frac{2\pi}{2} = \mathbf{\pi}.

Example 6: Solving an Equation Graphically

Question: Find the number of solutions to the equation sinx=x/10\sin x = x/10.

Solution: We sketch the graphs of y=sinxy=\sin x and y=x/10y=x/10 on the same axes. y=sinxy=\sin x is a wave oscillating between -1 and 1. y=x/10y=x/10 is a straight line passing through the origin with a slope of 0.1. The line will have values between -1 and 1 for the x-interval [10,10][-10, 10]. Since π3.14\pi \approx 3.14, this interval contains slightly more than three full cycles of the sine wave. By sketching the graph, we can see the line intersects the sine curve once at the origin, three times for x>0x>0 (in the intervals (0,π)(0, \pi), (2π,3π)(2\pi, 3\pi), and one more before x=10x=10), and three times for x<0x<0. The total number of solutions is 3+3+1=73+3+1 = \mathbf{7}.


Example 7: Graph of Modulus Function

Question: Sketch the graph of y=cosxy = |\cos x| and find its period.

Solution: To graph y=cosxy=|\cos x|, we first draw the standard graph of y=cosxy=\cos x. Then, we reflect any part of the graph that is below the x-axis to be above the x-axis. The resulting graph consists of a series of positive 'humps'. The standard period of cosx\cos x is 2π2\pi. After taking the modulus, the negative half of the wave (from π/2\pi/2 to 3π/23\pi/2) is reflected upwards, and the pattern now repeats every π\pi radians. The period of cosx|\cos x| is π\pi.

 y = |cosx| Graph