Math Lab

y = A cos(ωx + φ)

Trigonometry · Class XI

Cosine version , same controls as sine, but the wave starts at its peak when φ = 0.

1
type a value
05
1
type a value
0.16
0
type a value
-3.143.14
Live values
  • Period6.2832
  • y at x=01
xy
  • y = A cos(ωx + φ)

Formulas in this lab

  • Period
    T=2πωT = \dfrac{2\pi}{\omega}
  • y at x=0
    y(0)=Acos(φ)y(0) = A \cos(\varphi)
Tip: cos(x) = sin(x + π/2) , set φ = π/2 on the sine lab to verify.

Frequently asked questions

How is the cosine wave $y = A\cos(\omega x + \phi)$ different from sine?

Cosine starts at its peak: $\cos(0) = 1$, while sine starts at zero. Algebraically, $\cos\theta = \sin(\theta + \pi/2)$, so cosine is just sine shifted left by a quarter-period. Amplitude, period and phase work exactly the same way as in the sine lab.

How do I use the cosine wave lab?

Slide amplitude $A$, angular frequency $\omega$ and phase $\phi$. Set $\phi = -\pi/2$ and you reproduce a sine wave; set $\omega = 2$ and the period halves to $\pi$. The lab shows the peak value $A$ and the period $T = 2\pi/\omega$ for quick reference.

Where do I see cosine in real applications?

Alternating-current voltage in your home socket follows $V(t) = V_0\cos(\omega t)$ with $\omega = 100\pi$ rad/s (50 Hz). Tides, swinging pendulums and even the orbit of Mangalyaan in time-shifted form follow cosine curves. The lab gives a visual home for those formulas.

Even function trap: why is $\cos(-x) = \cos x$?

Cosine is symmetric about the y-axis, so $\cos(-x) = \cos x$ (even), while $\sin(-x) = -\sin x$ (odd). Board examiners love testing this with definite integrals like $\int_{-a}^{a}\cos x\,dx = 2\int_0^a\cos x\,dx$. Toggle the phase slider to feel the even symmetry.