Math Lab

y = A tan(ωx + φ)

Trigonometry · Class XI

Vertical asymptotes appear wherever the argument equals π/2 + nπ , try shifting φ.

1
type a value
03
1
type a value
0.14
0
type a value
-3.143.14
Live values
  • Period of tan3.1416
  • First asymptote x1.5708
xy
  • y = A tan(ωx + φ)

Formulas in this lab

  • Period of tan
    T=πωT = \dfrac{\pi}{\omega}
  • First asymptote x
    x=(π/2φ)/ωx = (\pi/2 - \varphi)/\omega
Tip: tan has period π (not 2π) , check the spacing between asymptotes.

Frequently asked questions

Why does $y = \tan x$ have vertical asymptotes?

Because $\tan x = \sin x/\cos x$ and $\cos x = 0$ at $x = \pi/2, 3\pi/2, \ldots$. At those points the denominator vanishes, so $\tan x$ shoots to $\pm\infty$. Between asymptotes the curve rises monotonically from $-\infty$ to $+\infty$ over a period of $\pi$.

How do I use the tangent wave lab?

Slide the scaling factor and watch the asymptotes stay locked at odd multiples of $\pi/2$. The lab also reports $\tan(\pi/4) = 1$ and $\tan(\pi/3) = \sqrt{3}$ as sanity checks. Notice how zooming near an asymptote shows the slope blowing up.

Why is the period of $\tan x$ only $\pi$, not $2\pi$?

Because $\sin(x+\pi) = -\sin x$ and $\cos(x+\pi) = -\cos x$, the two negatives cancel in the ratio: $\tan(x+\pi) = \tan x$. Students writing $2\pi$ on board exams lose marks. The lab compresses two cycles in $0$ to $2\pi$ so this is visually obvious.

Where does tangent appear in real life?

Tangent measures slope or steepness. If a slope rises by $h$ over a horizontal distance $d$, the angle of elevation is $\theta = \arctan(h/d)$. Surveyors at construction sites, GPS-based gradient calculators and projectile range formulas all rest on $\tan\theta$.