How To Graph Trigonometric Functions | Plot Them Right

Graph trigonometric functions by marking the midline, period, and five anchor points, then sketching one smooth repeating cycle.

Trigonometric graphs stop feeling messy once you stop treating them like random waves. They follow a pattern. If you can spot the center line, the width of one cycle, and the high and low points, you can draw sine, cosine, and tangent with far less guesswork.

This method works whether you’re graphing a plain parent function or a shifted one like y = -2sin(3x – π) + 1. The trick is to build the graph in layers. Start with structure. Then place points. Then connect them with the right shape.

How To Graph Trigonometric Functions Step By Step

Use the same order every time. It keeps errors from piling up.

  1. Identify the function type: sine, cosine, tangent, secant, cosecant, or cotangent.
  2. Rewrite the equation in a readable form, such as y = A sin(B(x – C)) + D.
  3. Find the midline. That is y = D.
  4. Find the amplitude if the function has one. For sine and cosine, amplitude is |A|.
  5. Find the period. For sine and cosine, it is 2π/|B|. For tangent and cotangent, it is π/|B|.
  6. Find any horizontal shift. In the form above, the graph shifts by C.
  7. Split one period into four equal parts so you get five plotting points.
  8. Mark the points, sketch one cycle, then repeat the pattern left and right.

That’s the whole system. Most students lose points because they skip one of those pieces, not because trig graphs are hard by nature.

Start With The Parent Graphs

Before shifts and stretches, know the basic shapes cold. Sine starts at the midline and rises. Cosine starts at a peak. Tangent crosses the origin and breaks at vertical asymptotes. Those shapes do not change, even when the equation gets dressed up with constants.

If you want a clean refresher on graph features such as period, amplitude, and phase shift, OpenStax’s section on sine and cosine graphs lays out the standard forms in a neat, textbook-style format.

Sine And Cosine

These are the easiest to sketch by hand because they use five anchor points over one cycle. On the parent graphs:

  • y = sin x starts at 0, rises to 1, drops back to 0, falls to -1, and returns to 0.
  • y = cos x starts at 1, drops to 0, falls to -1, rises to 0, and returns to 1.

Tangent

Tangent is different. It has no amplitude because its values do not stay inside a top and bottom bound. Instead, you look for vertical asymptotes and the center crossing. The parent graph of y = tan x crosses at (0, 0) and has asymptotes at x = π/2 + kπ.

Build The Graph From Its Features

Say you need to graph y = 2sin(x) – 1. Don’t sketch first. Read the parts first.

  • Amplitude: 2
  • Midline: y = -1
  • Period:
  • Phase shift: none

Now place one cycle. Since the period is , divide it into four equal pieces: 0, π/2, π, 3π/2, 2π. Start on the midline at (0, -1), rise to (π/2, 1), return to (π, -1), dip to (3π/2, -3), and come back to (2π, -1).

That’s much cleaner than trying to “see” the graph in your head. If you want a digital check while practicing, Desmos graph examples for sine, cosine, and tangent let you compare your hand sketch with a live graph.

Function Type What To Find First What The Graph Does
Sine Amplitude, midline, period, shift Starts on the midline and rises or falls based on the sign of A
Cosine Amplitude, midline, period, shift Starts at a peak or trough relative to the midline
Tangent Period, shift, asymptotes Crosses the center and climbs through each interval
Cotangent Period, shift, asymptotes Crosses the center and falls through each interval
Secant Graph cosine first Forms branches outside y = 1 and y = -1 where cosine is defined
Cosecant Graph sine first Forms branches outside y = 1 and y = -1 where sine is defined
Negative Coefficient Check the sign of A Reflects the graph across the midline or x-axis
Large B Value Compute the period early Squeezes the graph horizontally

Use Five Anchor Points For Sine And Cosine

This is the fastest hand-graphing move in trig. One full sine or cosine cycle can be built from five evenly spaced x-values. Those points mark the start, top or bottom, center, opposite top or bottom, and return point.

For a sine graph in the form y = A sin(B(x – C)) + D:

  • Start at the midline: (C, D)
  • Move one quarter of the period to the first peak or trough
  • Move another quarter to the midline
  • Move another quarter to the opposite peak or trough
  • Move another quarter back to the midline

Cosine uses the same spacing, but the first point is a peak if A > 0 and a trough if A < 0.

A Worked Sine Sketch

Graph y = -3sin(2x) + 4.

  • Amplitude = 3
  • Midline = y = 4
  • Period = 2π / 2 = π
  • No horizontal shift

Split the period π into four equal parts: 0, π/4, π/2, 3π/4, π. Since the coefficient is negative, the graph starts at the midline and drops first. So your five points are:

  • (0, 4)
  • (π/4, 1)
  • (π/2, 4)
  • (3π/4, 7)
  • (π, 4)

Once those are on the page, the curve almost draws itself.

Graphing Tangent Without Getting Lost

Tangent trips people up because it is not a wave. It is a repeating set of rising branches separated by vertical asymptotes. The period is shorter than sine and cosine, and the graph is undefined where cosine is zero.

A simple way to graph tangent is this:

  1. Find the period: π/|B|.
  2. Find the center line crossing from the phase shift.
  3. Place asymptotes one half-period to the left and right of that center.
  4. Plot a few points between the asymptotes.
  5. Sketch an increasing branch if the leading coefficient is positive, or a decreasing branch if it is negative.

Khan Academy’s trig graph lessons are handy when you want extra practice on amplitude, midline, and period without bouncing between topics, so a quick pass through their trigonometric function graph unit can help cement the patterns.

Feature Sine Or Cosine Tangent
Period 2π/|B| π/|B|
Amplitude |A| None
Midline y = D Shifted center line
Asymptotes None Yes
Best Plotting Method Five anchor points Center point plus asymptotes

Common Mistakes That Wreck A Trig Graph

A wrong trig graph often comes from one small miss. Watch these trouble spots:

  • Using 2π/B for tangent. Tangent uses π/B.
  • Forgetting the midline shift D.
  • Treating phase shift as just C when the equation is not factored.
  • Plotting too few points and forcing the curve between them.
  • Drawing sine like cosine, or cosine like sine.
  • Forgetting asymptotes on tangent, secant, cosecant, or cotangent.

Another common slip is mixing radians and degrees on the x-axis. Stay consistent. Most classroom trig graphs use radians unless the problem says otherwise.

How To Check Your Work Fast

When your graph is done, run this short check before you move on:

  • Does the graph sit on the correct midline?
  • Is one cycle the correct width?
  • Are the peaks and troughs the right distance from the midline?
  • Does the graph start in the right place for sine or cosine?
  • If it is tangent, are the asymptotes placed correctly?

If you can answer yes to those five checks, your graph is usually in good shape. Trig graphing gets easier once you stop chasing the curve and start reading the structure.

Practice One Clean Cycle, Then Repeat

If you only take one thing from this page, take this: graph one full cycle with care. That one cycle gives you the pattern for the rest of the graph. Mark the spacing, place the anchors, and let repetition do the rest.

That habit saves time on homework, quizzes, and exams. It also makes harder graphs feel far less intimidating because the method stays the same even when the equation changes.

References & Sources