Trigonometric Graphing Calculator

Graph y = a·sin(bx + c) + d, cosine or tangent in radians or degrees. The calculator reports the amplitude, period, phase shift, midline and range, and marks tangent’s vertical asymptotes.

Trigonometric function

Form: a·f(bx + c) + d. Use pi in radian mode.

How the Trigonometric Graphing Calculator works

  1. Enter. y = 2 sin(2x − π/2) + 1
  2. Graph. The tool samples the function in your browser and draws it without connecting across breaks.
  3. Read the result. Amplitude 2, period π; Phase shift π/4 to the right; Midline y = 1, range [−1, 3].
Sine wave with amplitude 2, period pi and midline y = 1, with its maximum point labelled.
Example: what you enter, the graph the trigonometric graphing calculator draws, and the results it reports.

Examples to load

Reading a sinusoid

FeatureFormula (radians)For 2 sin(2x − π/2) + 1
Amplitude|a|2
Period2π ⁄ |b|π
Phase shift−c ⁄ bπ/4 to the right
Midliney = dy = 1
Range[d − |a|, d + |a|][−1, 3]

One full cycle of the example starts at x = π/4 on the midline, reaches its maximum 3 at x = π/2, returns to the midline at 3π/4, reaches the minimum −1 at π and is back on the midline at 5π/4.

Tangent graphs

y = tan x repeats every π and has vertical asymptotes where cos x = 0, at x = π/2 + kπ. Each branch rises from −∞ to +∞ between two asymptotes and crosses the midline halfway. The calculator never joins branches across an asymptote — the dashed lines show where the function is undefined.

Common mistakes

  • Reading c as the phase shift. In sin(2x − π/2) the shift is (π/2) ⁄ 2 = π/4, not π/2.
  • Wrong angle mode. A period of 2π in a degree-mode graph looks almost flat.
  • Calling a tangent stretch an amplitude.

Guides: how to graph sine and cosine, tangent graphs and radians vs degrees.

Questions

How do I find the period of a sine or cosine graph?

For y = a·sin(bx + c) + d the period is 2π ⁄ |b| in radians (360° ⁄ |b| in degrees). For tangent it is π ⁄ |b|.

What is the phase shift?

Rewrite bx + c as b(x + c⁄b). The graph shifts by −c ⁄ b: to the right if this is positive, to the left if negative.

Does tangent have an amplitude?

No. Tangent increases without bound near its vertical asymptotes, so it has no maximum or minimum. The number a only stretches it vertically.

Should I use radians or degrees?

Use whatever your course uses — but be consistent. sin(90) is 1 in degree mode and about 0.894 in radian mode. The setting is next to the function choice.

Guides that use this calculator

Related calculators

Graphing Calculator

Plot several functions, points and inequalities; find roots, intersections and turning points.