Precalculus Intermediate

Trig Function Grapher

Graph y = A·f(Bx + C) + D for all six trig functions with live parameter controls. See amplitude, period, phase shift, midline, max/min points, and asymptotes update in real time.

Live canvas graph sin · cos · tan · csc · sec · cot Radian axis labels Step-by-step analysis

Parameters

Current equation
y = sin(x)
A — Amplitude vertical stretch / reflect
−505
B — Frequency controls period
¼24
C — Inside Shift phase shift = −C/B
−2π0
D — Vertical Shift midline y = D
−505
Quick Examples

Key Features

Amplitude
1
|A|
Period
2π / |B|
Phase Shift
0
−C/B (right if +)
Vertical Shift
0
D
Midline
y = 0
horizontal line at y = D
Max & Min
Max: 2  |  Min: 0
Asymptotes

Graph

y = A·f(Bx + C) + D
Midline (y = D)
Max point
Min point
Asymptote

Step-by-Step Analysis

General Form: y = A·f(Bx + C) + D
y = A · f(Bx + C) + D

A controls the amplitude (vertical stretch). |A| is the distance from midline to max/min. If A < 0, the graph reflects over the midline.

B controls the frequency. A larger |B| compresses the graph horizontally, making the period shorter.

C shifts the argument inside, producing a phase shift of −C/B. Positive result → shift right; negative → shift left.

D shifts every output value up or down, setting the vertical shift and the midline y = D.

Key Formulas at a Glance
Period = 2π / |B| (π / |B| for tan, cot) Phase shift = −C / B Midline: y = D

Amplitude = |A| (undefined for tan, cot, csc, sec — they have no bounded range).

Asymptotes appear for tan, cot, csc, and sec wherever the base function is undefined. Their positions shift with the phase shift.

Move the sliders above and watch every formula update live on the graph.

Need help with trig graphs?

Our Naruhodo tutors can walk you through amplitude, period, and phase shift with personalized examples — from graphing to verifying identities.

Book a Free Session