When a problem hands you an equation like y=2sin ⁣(xπ3)+1y = -2\sin\!\left(x - \tfrac{\pi}{3}\right) + 1 and asks for the graph, you do not plot dozens of points. You transform a parent curve. That procedure works because sinx\sin x, cosx\cos x, and tanx\tan x each have a fixed base shape, and the numbers in the equation only stretch, shift, or flip that shape.

Use this method any time you are graphing a sine, cosine, or tangent function from its equation. Start with four questions: What is the parent function? What is the period? Where is the midline? Has the graph been shifted or reflected?

Step 1: Know The Three Parent Shapes

The basic sine graph, y=sinxy=\sin x, passes through the origin and repeats every 2π2\pi when xx is measured in radians. The basic cosine graph, y=cosxy=\cos x, has the same wave shape and the same period but starts at its maximum value when x=0x=0.

The basic tangent graph, y=tanxy=\tan x, behaves differently. It repeats every π\pi, crosses the origin, and has vertical asymptotes where cosx=0\cos x = 0. Because tangent is unbounded, it does not have an amplitude.

If your class measures angles in degrees instead of radians, the base periods are 360360^\circ for sine and cosine, and 180180^\circ for tangent.

Step 2: Read Amplitude, Period, And Shifts From The Form

For sine and cosine, a common graphing form is

y=asin(b(xh))+ky = a\sin(b(x-h))+k

or

y=acos(b(xh))+ky = a\cos(b(x-h))+k

If xx is in radians, then:

  • amplitude =a= |a|
  • period =2πb= \frac{2\pi}{|b|}
  • horizontal shift =h= h
  • vertical shift =k= k
  • midline =y=k= y=k

If a<0a<0, the graph is reflected across its midline. If b<0b<0, the graph is reflected horizontally. The key division to hold onto: aa and kk control vertical behavior, while bb and hh control horizontal behavior.

For tangent, the usual form is

y=atan(b(xh))+ky = a\tan(b(x-h))+k

and, if xx is in radians,

  • period =πb= \frac{\pi}{|b|}
  • horizontal shift =h= h
  • vertical shift =k= k

There is still a vertical stretch factor from aa, but it is not called amplitude because tangent has no highest or lowest value.

Step 3: Interpret Amplitude And Period

Amplitude tells you how far a sine or cosine graph moves above and below its midline. If the amplitude is 33, the graph rises 33 units above the midline and falls 33 units below it.

Period tells you how far along the xx-axis the graph takes to complete one full repeat. A smaller period means the graph is compressed horizontally; a larger period means it is stretched out.

A Full Worked Run: Graph y=2sin(xπ3)+1y=-2\sin\left(x-\frac{\pi}{3}\right)+1

Start with the parent graph y=sinxy=\sin x, then read each transformation:

  • a=2a=-2, so the amplitude is 22 and the graph is reflected across the midline.
  • b=1b=1, so the period stays 2π2\pi.
  • h=π3h=\frac{\pi}{3}, so the graph shifts right by π3\frac{\pi}{3}.
  • k=1k=1, so the midline is y=1y=1.

So the graph oscillates around y=1y=1, reaches a maximum at y=3y=3, a minimum at y=1y=-1, and completes one cycle over a width of 2π2\pi.

For a quick sketch, transform the five standard sine inputs from one cycle. The key points become

(π3,1),(5π6,1),(4π3,1),(11π6,3),(7π3,1)\left(\frac{\pi}{3},1\right), \left(\frac{5\pi}{6},-1\right), \left(\frac{4\pi}{3},1\right), \left(\frac{11\pi}{6},3\right), \left(\frac{7\pi}{3},1\right)

Those points show the full shape: start on the midline, move down first because of the reflection, return to the midline, rise to the peak, and come back to the midline.

The Tangent Case Needs A Different Anchor

Tangent is built around asymptotes, not peaks and troughs. For the parent graph y=tanxy=\tan x, the vertical asymptotes are at

x=π2+nπx = \frac{\pi}{2} + n\pi

for integers nn, and the zeros are at

x=nπx = n\pi

For a transformed graph y=atan(b(xh))+ky=a\tan(b(x-h))+k, the asymptotes occur when

b(xh)=π2+nπb(x-h) = \frac{\pi}{2} + n\pi

so their spacing is πb\frac{\pi}{|b|} in radians. In y=tan(2x)y=\tan(2x), that spacing becomes π2\frac{\pi}{2}, so the branches repeat twice as often. Track the spacing, not an amplitude.

Where Sketches Go Wrong, And A Self-Check

If your sketch looks off, check these usual suspects:

  • Calling tangent's stretch "amplitude." Tangent does not level off, so it has no amplitude.
  • Getting the horizontal-shift sign wrong. In y=sin(x2)y=\sin(x-2), the graph shifts right by 22, not left. The sign inside the parentheses feels backward at first.
  • Mixing up the period formula. With a factor bb inside the input, divide the base period by b|b|: 2πb\frac{2\pi}{|b|} for sine and cosine, πb\frac{\pi}{|b|} for tangent.
  • Forgetting radians versus degrees. The formulas above use radians. For degrees, replace 2π2\pi with 360360^\circ and π\pi with 180180^\circ.

A good self-check: before plotting any points, describe the graph in words. Try it on y=3cos(2(x+π4))1y=3\cos\left(2\left(x+\frac{\pi}{4}\right)\right)-1 by naming the amplitude, period, shift, and midline first. If your spoken description matches the curve you draw, the transformations have clicked.

When Trigonometric Graphs Are Used

Trig graphs are used whenever a pattern repeats. In school math, they tie together transformations, periodic behavior, and the unit circle. Outside the classroom, the same shapes show up in waves, sound, seasonal cycles, rotating systems, and signal models. You do not need all that context to read a graph: identify the parent shape, locate one cycle or branch, and track the transformations carefully.

Frequently Asked Questions

What is the period of the sine, cosine, and tangent graphs?
In radians, sine and cosine repeat every 2 pi, while tangent repeats every pi. In degrees, the base periods are 360 degrees for sine and cosine and 180 degrees for tangent. Sine passes through the origin, cosine starts at its maximum when x is zero, and tangent repeats in branches with vertical asymptotes.
How do you find amplitude and period from a trig equation?
For equations in the form y equals a times sine or cosine of b times x minus h, plus k, the amplitude is the absolute value of a and the period is 2 pi divided by the absolute value of b. The horizontal shift is h, the vertical shift is k, and the midline is the line y equals k.
Why does the tangent graph have no amplitude?
Because tangent is unbounded: it has no highest or lowest value. Its graph repeats every pi and has vertical asymptotes wherever cosine of x equals zero. The coefficient a still acts as a vertical stretch factor on a tangent graph, but it is not called amplitude since there is no maximum distance from a midline.
What is the difference between the sine and cosine graphs?
They have the same wave shape and the same period. The difference is the starting point: the basic sine graph passes through the origin, while the basic cosine graph starts at its maximum value when x equals zero. In transformed equations, both follow the same amplitude, period, shift, and midline rules.
What does a negative coefficient do to a trig graph?
If the leading coefficient a is negative, the graph is reflected across its midline. If the coefficient b inside the function is negative, the graph is reflected horizontally. In most classroom sketches, the main jobs remain the same: get the period, the shifts, and the key points right before worrying about reflections.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →