In short

When you treat \theta as an input and \sin\theta as an output, sine becomes a function you can graph — a smooth, endlessly repeating wave. Its graph has a fixed height (amplitude), a fixed repeat length (period), and can be shifted or stretched by changing the parameters in y = A\sin(B\theta + C) + D. The same framework applies to cosine, tangent, and the other three trigonometric functions.

A swinging pendulum in a temple clock moves back and forth, back and forth, repeating the same path forever. The voltage in your wall socket oscillates sixty times per second. A vibrating sitar string moves up and down in a pattern that repeats hundreds of times per second. All three are doing the same mathematical thing — and the curve that describes them all is built from sine and cosine.

Imagine a point moving counterclockwise around the unit circle at a constant speed. At each moment, the point has a height — its y-coordinate — which is \sin\theta for whatever angle \theta the point has swept out so far. When \theta = 0, the height is 0. As \theta increases toward 90°, the height climbs to 1. Then it comes back down through 0 at 180°, drops to -1 at 270°, and returns to 0 at 360°. And then the whole cycle repeats.

Now do something crucial: instead of watching the point go around the circle, plot the height on one axis and the angle on the other — like unrolling the circular motion onto a flat strip. The result is one of the most important curves in mathematics: the sine wave.

The graph of $y = \sin\theta$ over two full cycles. The wave oscillates between $-1$ and $1$, crossing zero at every multiple of $180°$ and repeating every $360°$.

That is the sine function, seen not as a ratio inside a triangle but as a function — an input-output machine that takes any angle and returns a number between -1 and 1. It repeats every 360° (or 2\pi radians), forever, in both directions. A function that repeats like this is called periodic, and 360° is its period — the smallest interval after which the pattern recurs.

Look at the graph carefully. Notice that it crosses zero at , 180°, 360°, 540°, 720° — every multiple of 180°. Notice that the peaks (value 1) occur at 90°, 450° — and the troughs (value -1) at 270°, 630°. The wave is perfectly symmetric: every peak looks the same as every other peak, every trough is identical.

Domain and range

Since the unit circle gives a well-defined point for every angle, and every point has coordinates:

Tangent is different. \tan\theta = \sin\theta / \cos\theta, so it is undefined wherever \cos\theta = 0 — that is, at \theta = 90°, 270°, 450°, \ldots, or in general \theta = (2n+1) \cdot 90° for any integer n. At those points, you are dividing by zero, and no output exists.

The reciprocal functions (\csc\theta, \sec\theta, \cot\theta) have their own domain restrictions: each is undefined wherever its corresponding primary function is zero.

Function Domain Range Period
\sin\theta all \theta [-1, 1] 360° (2\pi)
\cos\theta all \theta [-1, 1] 360° (2\pi)
\tan\theta \theta \neq (2n+1) \cdot 90° (-\infty, \infty) 180° (\pi)
\csc\theta \theta \neq n \cdot 180° (-\infty, -1] \cup [1, \infty) 360° (2\pi)
\sec\theta \theta \neq (2n+1) \cdot 90° (-\infty, -1] \cup [1, \infty) 360° (2\pi)
\cot\theta \theta \neq n \cdot 180° (-\infty, \infty) 180° (\pi)

Graphs of the six functions

The sine curve

You have already seen the sine wave above. Here is a summary of its key features, all visible in the graph:

The cosine curve

Cosine is the x-coordinate of the point on the unit circle. Its graph looks exactly like the sine curve, but shifted 90° to the left.

The graph of $y = \cos\theta$. It starts at its maximum ($1$ at $\theta = 0$), drops to $0$ at $90°$, reaches $-1$ at $180°$, and repeats every $360°$. It is the sine curve shifted left by $90°$.

The tangent curve

Tangent has a fundamentally different shape. It is not bounded — it blows up at every odd multiple of 90° — and it repeats every 180°, not 360°.

The graph of $y = \tan\theta$. Each branch rises from $-\infty$ to $+\infty$ within a $180°$ interval. The vertical dotted lines at $\pm 90°$ and $\pm 270°$ are asymptotes — the function is undefined there.

The reciprocal functions

\csc\theta = 1/\sin\theta, \sec\theta = 1/\cos\theta, and \cot\theta = 1/\tan\theta. Their graphs are derived from the primary three:

Understanding the reciprocal graphs is mainly about understanding their parent functions. Wherever \sin\theta is large (near \pm 1), \csc\theta is near \pm 1 too. Wherever \sin\theta is small (near 0), \csc\theta is enormous. The reciprocal magnifies small values into large ones and vice versa — that is why the U-shaped branches balloon out near the asymptotes.

Amplitude, period, and phase shift

The basic sine wave y = \sin\theta has amplitude 1 (it swings between -1 and 1) and period 360° (it repeats every 360°). You can change both of these, and also shift the wave left, right, up, or down.

The general form is:

General sinusoidal function

y = A\sin(B\theta + C) + D

where:

  • |A| is the amplitude — the distance from the centre line to a peak or trough. The wave oscillates between D - |A| and D + |A|.
  • \dfrac{360°}{|B|} (or \dfrac{2\pi}{|B|} in radians) is the period — the length of one full cycle.
  • -\dfrac{C}{B} is the phase shift — how far the wave is shifted horizontally. Positive means left, negative means right.
  • D is the vertical shift — the centre line of the wave moves up or down from y = 0.

Each parameter does exactly one thing to the graph:

Amplitude A. Multiplying sine by A stretches the wave vertically by a factor of |A|. Take y = 3\sin\theta: instead of oscillating between -1 and 1, it oscillates between -3 and 3. If A is negative, the wave also flips upside down — y = -\sin\theta is the sine curve reflected across the \theta-axis.

Period via B. Multiplying \theta by B compresses or stretches the wave horizontally. The wave y = \sin(2\theta) completes a full cycle in 180° instead of 360° — it is twice as fast. The wave y = \sin(\theta/2) takes 720° for one cycle — twice as slow.

Phase shift via C. Adding C inside the sine function shifts the wave horizontally. y = \sin(\theta - 90°) shifts the sine wave 90° to the right — which turns out to produce exactly the graph of -\cos\theta. The formula for the phase shift is -C/B (not just -C), because you must factor out B first.

Vertical shift D. Adding D outside the sine function shifts the entire wave up or down. y = \sin\theta + 2 oscillates between 1 and 3 instead of -1 and 1. The centre line of the wave moves from y = 0 to y = D.

Here is a concrete demonstration. Compare y = \sin\theta with y = 2\sin(2\theta) — the second curve has amplitude 2 (twice as tall) and period 180° (twice as fast):

The dashed curve is $y = \sin\theta$ (amplitude $1$, period $360°$). The solid curve is $y = 2\sin(2\theta)$ (amplitude $2$, period $180°$). Doubling $B$ halves the period; doubling $A$ doubles the amplitude.

Transformations: a systematic approach

Graph transformations follow the same rules as for any function. For y = A\sin(B\theta + C) + D, read the transformations from the inside out:

  1. Horizontal shift by -C/B: this is the phase shift.
  2. Horizontal scale by 1/|B|: this changes the period.
  3. Vertical scale by |A|: this changes the amplitude.
  4. Vertical shift by D: this moves the centre line.

If A < 0, add a reflection across the \theta-axis. If B < 0, add a reflection across the y-axis — but since \sin(-x) = -\sin(x), a negative B is equivalent to flipping the sign of A.

The same rules apply to cosine, tangent, and the other three — the shape of the base graph changes, but the transformation machinery is identical.

Tangent transformations. The general tangent function is y = A\tan(B\theta + C) + D. The period of \tan\theta is 180° (not 360°), so the transformed period is 180°/|B|. There is no amplitude for tangent (it is unbounded), but A still controls the vertical stretching and D still shifts the centre. The asymptotes shift by the same phase shift -C/B.

How to identify each parameter from a graph. When you see a sinusoidal curve and need to extract the equation:

  1. Read the maximum and minimum y-values. The amplitude is half their difference; the vertical shift is their average.
  2. Measure the distance between two consecutive identical points (e.g., peak to peak) — that is the period. Then B = 360°/\text{period}.
  3. Find where the first peak (or first zero-crossing) occurs. Compare that to where it would occur for the unshifted curve. The difference is the phase shift.

Reading a graph: two worked examples

Example 1: Sketch y = 3 sin(2θ − 60°)

Step 1. Identify the parameters. Rewrite the argument as 2(\theta - 30°), so A = 3, B = 2, C = -60° (giving phase shift -C/B = 30° to the right), D = 0.

Why: factoring out B from the argument reveals the phase shift in a clean form. The phase shift is 30° to the right, not 60°.

Step 2. Compute the period. Period = 360°/|B| = 360°/2 = 180°.

Why: one full cycle of \sin(2\theta) happens in half the usual interval, because the input to sine is doubling.

Step 3. Find five key points. The standard sine curve has key points at 0, T/4, T/2, 3T/4, T where T is the period. Here T = 180°, so the key points of the unshifted version occur at 0°, 45°, 90°, 135°, 180°. Applying the phase shift of 30° to the right:

\theta y Point type
30° 0 zero-crossing (start of cycle)
75° 3 maximum
120° 0 zero-crossing
165° -3 minimum
210° 0 zero-crossing (end of cycle)

Why: each key point shifts right by the phase shift of 30°. The y-values are the standard sine values (0, 1, 0, -1, 0) multiplied by the amplitude A = 3.

Step 4. Sketch the curve through these points.

Result: The wave oscillates between y = -3 and y = 3, completes one cycle every 180°, and its first zero-crossing is at \theta = 30° (shifted 30° to the right from the origin).

The graph of $y = 3\sin(2\theta - 60°)$. Amplitude $3$, period $180°$, phase shift $30°$ to the right. The dotted lines mark the maximum and minimum values.

The five key points sit exactly on the curve, confirming the computation. One cycle spans from \theta = 30° to \theta = 210° — that is 180°, the period.

Example 2: Find the equation from a graph

A wave oscillates between y = 1 and y = 5, reaching its maximum at \theta = 45° and its next minimum at \theta = 135°.

Step 1. Find the amplitude and vertical shift. The centre line is (1 + 5)/2 = 3, so D = 3. The amplitude is (5 - 1)/2 = 2, so A = 2.

Why: the centre line sits halfway between the maximum and minimum values, and the amplitude is the distance from the centre line to either extreme.

Step 2. Find the period. The distance from a maximum to the next minimum is half the period. Here that distance is 135° - 45° = 90°, so the period is T = 180°.

Why: a complete cycle goes max \to zero \to min \to zero \to max. The max-to-min distance is half of that.

Step 3. Find B. From period = 360°/|B|, |B| = 360°/180° = 2, so B = 2.

Why: B is the reciprocal of the period (after scaling by 360°).

Step 4. Find the phase shift. The maximum of A\sin(B\theta + C) + D occurs when B\theta + C = 90°. This happens at \theta = 45°:

2(45°) + C = 90° \implies C = 0°

So there is no phase shift.

Why: \sin reaches its peak when its argument is 90°. Setting the argument equal to 90° at the known peak location pins down C.

Result: The equation is y = 2\sin(2\theta) + 3.

The graph of $y = 2\sin(2\theta) + 3$. The centre line is $y = 3$, the amplitude is $2$, and the period is $180°$. The curve oscillates between $y = 1$ and $y = 5$ — exactly as specified.

Reading equations from graphs is the reverse of sketching graphs from equations — same four parameters, same relationships, but you start from the picture and work backward.

Common confusions

Going deeper

If you came here to learn how to sketch and read sine and cosine curves with transformations, you have it — you can stop here. The rest is for readers who want the formal description and connections to more advanced ideas.

Why sinusoidal curves appear everywhere

The sine wave is not just a mathematical curiosity. It appears in sound (every musical note is a combination of sine waves), in light (electromagnetic waves), in alternating current (the voltage in your wall socket is V = V_0 \sin(\omega t)), and in the motion of a pendulum for small swings. This is not a coincidence — it is a theorem. Any quantity that oscillates under a restoring force proportional to displacement follows a sine curve. The mathematical name for this is simple harmonic motion, and it is why sine and cosine dominate physics.

Madhava of Sangamagrama, a 14th-century Indian mathematician, was the first to write down an infinite series for sine:

\sin\theta = \theta - \frac{\theta^3}{3!} + \frac{\theta^5}{5!} - \frac{\theta^7}{7!} + \cdots

(where \theta is in radians). This series converges for every real number \theta — a fact that makes the sine function computable to any desired accuracy and places it at the foundation of analysis.

The graph of cosecant and secant, traced

Since \csc\theta = 1/\sin\theta, the cosecant graph inherits structure from sine. Wherever \sin\theta = 1, \csc\theta = 1. Wherever \sin\theta = -1, \csc\theta = -1. These are the only points where the two graphs touch. Between these touch-points, cosecant curves away from the \theta-axis, forming U-shaped branches that open upward when sine is positive and downward when sine is negative. At every zero of sine, cosecant has a vertical asymptote.

Secant relates to cosine in exactly the same way: \sec\theta = 1/\cos\theta has U-shaped branches opening away from the \theta-axis, with asymptotes at the zeros of cosine.

Period of tangent and cotangent

Tangent repeats every 180° (not 360°) because \tan(\theta + 180°) = \tan\theta. The proof: the point at \theta + 180° is diametrically opposite the point at \theta on the unit circle, so both coordinates change sign. The ratio y/x = (-y)/(-x) is unchanged, giving \tan(\theta + 180°) = \tan\theta.

This means the general tangent function y = A\tan(B\theta + C) + D has period 180°/|B| (or \pi/|B| in radians), not 360°/|B|.

Phase shift as time delay

In physics, the phase shift -C/B often corresponds to a time delay. Two waves with the same frequency but different phase shifts represent the same oscillation starting at different times. The quantity C is called the phase angle, and it determines where in the cycle the wave begins at \theta = 0. When two waves are "in phase," their phase angles differ by 0 (or a multiple of 360°). When they are "out of phase" by 180°, they are mirror images — one peaks when the other troughs. This is the basis of interference in physics.

Radians and the natural period

Throughout this article, angles have been in degrees. In calculus and higher mathematics, the natural unit is the radian, where one full revolution is 2\pi radians instead of 360°. In radians, the period of \sin\theta is 2\pi (about 6.28), and the general sinusoidal is y = A\sin(B\theta + C) + D with period 2\pi/|B|.

The radian version is not just a different convention — it is the version that makes the derivative work cleanly. The derivative of \sin\theta is \cos\theta only when \theta is in radians. In degrees, you pick up an extra factor of \pi/180, which is messy. This is why every calculus textbook uses radians, and why you should get comfortable with both.

Sine and cosine as building blocks

One of the deepest results in mathematics: every periodic function — square waves, sawtooth waves, even the complex vibration patterns of a tabla — can be written as a sum of sine and cosine waves of different frequencies. This is the field now called harmonic analysis, and it is the reason that sine and cosine are not just two functions among many, but the building blocks of all periodic behaviour. When you decompose sound into frequencies, you are decomposing it into sines and cosines. When you compress a digital image, similar transforms are doing the work.

The seeds of this idea go back to Indian mathematicians of the Kerala school, including Madhava of Sangamagrama, who worked with infinite trigonometric series in the 14th century — three centuries before the same ideas appeared in Europe.

Where this leads next

With the graphs of all six functions in hand, you can move on to the algebraic relationships between them.