# Sine Function sin(x): Graph, Derivative, Integral and Properties

> The sine function sin(x): its graph, domain, range, period, key values, derivative cos(x), integral and the mistakes students make with it.

Source: https://practicecalculus.com/functions/sine-function
Updated: 2026-11-03

$$ f(x) = \sin x $$

## At a glance

- **Domain:** $(-\infty, \infty)$
- **Range:** $[-1, 1]$
- **Derivative:** $\cos x$
- **Integral:** $-\cos x + C$
- **Period:** $2\pi$
- **Symmetry:** Odd: $\sin(-x) = -\sin x$

## Key takeaways

- $\sin x$ is the $y$-coordinate of the point at angle $x$ (in radians) on the unit circle.
- It repeats every $2\pi$, stays between $-1$ and $1$, and is an odd function.
- The derivative of $\sin x$ is $\cos x$, and $\int \sin x\,dx = -\cos x + C$.
- Calculus formulas for sine only hold when $x$ is measured in radians.

The **sine function** takes an angle $x$, measured in radians, and returns the $y$-coordinate of the point at that angle on the unit circle. It produces the smooth repeating wave behind sound, light, tides and anything else that oscillates, and it is one of the two building blocks (with [cosine](/functions/cosine-function)) of every other trig function.

## Definition of sin x

Start at the point $(1, 0)$ on the unit circle and travel a distance $x$ counterclockwise (clockwise if $x$ is negative). You land at the point $(\cos x, \sin x)$. So

$$\sin x = \text{the } y\text{-coordinate of the point at angle } x.$$

In a right triangle this matches the familiar ratio $\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}$, but the unit circle version works for every real number, including negative angles and angles larger than $2\pi$.

## Graph of y = sin x

```graph
title: 'Graph of y = sin x from −2π to 2π'
caption: 'The sine wave crosses zero at every multiple of $\pi$, peaks at $1$ and bottoms out at $-1$. It repeats every $2\pi$.'
x: [-6.6, 6.6]
y: [-1.6, 1.6]
functions:
  - expr: sin(x)
    label: y = sin x
points:
  - [0, 0, '(0, 0)']
  - [1.5708, 1, '(π/2, 1)']
  - [3.1416, 0, '(π, 0)']
  - [4.7124, -1, '(3π/2, −1)']
```

The graph passes through the origin, rises to its maximum at $x = \frac{\pi}{2}$, returns to zero at $x = \pi$, reaches its minimum at $x = \frac{3\pi}{2}$, and finishes one full cycle at $x = 2\pi$.

## Key values of sine

| $x$ | $0$ | $\frac{\pi}{6}$ | $\frac{\pi}{4}$ | $\frac{\pi}{3}$ | $\frac{\pi}{2}$ | $\pi$ | $\frac{3\pi}{2}$ | $2\pi$ |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| $\sin x$ | $0$ | $\frac{1}{2}$ | $\frac{\sqrt{2}}{2}$ | $\frac{\sqrt{3}}{2}$ | $1$ | $0$ | $-1$ | $0$ |

## Properties of the sine function

- **Domain and range.** Every real number is allowed, and the output always lies in $[-1, 1]$.
- **Period.** $\sin(x + 2\pi) = \sin x$. More generally $A\sin(bx)$ has amplitude $|A|$ and period $\frac{2\pi}{|b|}$.
- **Zeros.** $\sin x = 0$ exactly when $x = k\pi$ for an integer $k$.
- **Odd symmetry.** $\sin(-x) = -\sin x$, so the graph is symmetric about the origin.
- **Pythagorean identity.** $\sin^2 x + \cos^2 x = 1$ for all $x$.
- **Shift relation.** $\sin x = \cos\left(x - \frac{\pi}{2}\right)$: the sine wave is a cosine wave shifted right by $\frac{\pi}{2}$.

## Derivative of sin x

$$\frac{d}{dx}\sin x = \cos x$$

You can read this off the graph: sine is steepest (slope $1$) at $x = 0$, where $\cos 0 = 1$, and flat at its peak $x = \frac{\pi}{2}$, where $\cos\frac{\pi}{2} = 0$. The proof uses the limit $\lim_{h \to 0}\frac{\sin h}{h} = 1$, which is the reason radians are required. Differentiating again gives $\frac{d^2}{dx^2}\sin x = -\sin x$, and the derivatives cycle through $\sin, \cos, -\sin, -\cos$ every four steps.

With the [chain rule](/rules/chain-rule), $\frac{d}{dx}\sin(u) = \cos(u)\cdot u'$.

## Integral of sin x

$$\int \sin x\,dx = -\cos x + C$$

Check it by differentiating: $\frac{d}{dx}(-\cos x) = -(-\sin x) = \sin x$. Over one hump the area is $\int_0^{\pi}\sin x\,dx = -\cos\pi + \cos 0 = 2$, and over a full period the signed area is $\int_0^{2\pi}\sin x\,dx = 0$.

## Worked examples

**Example 1: chain rule.** Differentiate $f(x) = \sin(x^2)$. The inside is $x^2$ with derivative $2x$, so $f'(x) = 2x\cos(x^2)$.

**Example 2: product rule.** Differentiate $g(x) = x\sin x$. By the [product rule](/rules/product-rule), $g'(x) = \sin x + x\cos x$.

**Example 3: u-substitution.** Evaluate $\int \sin(5x)\,dx$. Let $u = 5x$, so $du = 5\,dx$:

$$\int \sin(5x)\,dx = \frac{1}{5}\int \sin u\,du = -\frac{1}{5}\cos(5x) + C$$

**Example 4: a famous limit.** $\lim_{x \to 0}\frac{\sin(3x)}{x} = 3\lim_{x\to 0}\frac{\sin(3x)}{3x} = 3 \cdot 1 = 3$.

## Common mistakes

1. **Wrong sign on the integral.** $\int\sin x\,dx$ is $-\cos x + C$, not $\cos x + C$. The derivative has no minus sign; the integral does.
2. **Using degrees.** $\frac{d}{dx}\sin x = \cos x$ is false if $x$ is in degrees. Set your calculator to radians.
3. **Treating $\sin$ as multiplication.** $\sin(2x) \ne 2\sin x$ and $\sin(a + b) \ne \sin a + \sin b$.
4. **Confusing $\sin^{-1}x$ with $\frac{1}{\sin x}$.** $\sin^{-1}x$ is the inverse function [arcsine](/functions/arcsine), while $\frac{1}{\sin x}$ is the [cosecant](/functions/reciprocal-trig-functions).

## How sine connects to other topics

Sine and cosine define the rest of the family: [tangent](/functions/tangent-function) is $\frac{\sin x}{\cos x}$, and secant, cosecant and cotangent are reciprocals. Its inverse on $\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]$ is [arcsine](/functions/arcsine). In Calculus 2, sine appears in [trig substitution](/blog/trig-substitution) and has the [Taylor series](/blog/taylor-series) $\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots$. For more on differentiating every trig function, read the guide to [derivatives of trig functions](/blog/derivatives-of-trig-functions).

## Frequently asked questions

### What is the derivative of sin x?

The derivative of $\sin x$ is $\cos x$. With the chain rule, $\frac{d}{dx}\sin(u) = \cos(u)\,u'$, so for example $\frac{d}{dx}\sin(3x) = 3\cos(3x)$.

### What is the integral of sin x?

The antiderivative of $\sin x$ is $-\cos x + C$. The minus sign is there because the derivative of $\cos x$ is $-\sin x$.

### What is the period of sin x?

The period is $2\pi$, so $\sin(x + 2\pi) = \sin x$ for every $x$. The function $\sin(bx)$ has period $\frac{2\pi}{|b|}$.

### Why must x be in radians for calculus with sine?

The key limit $\lim_{x\to 0}\frac{\sin x}{x} = 1$ is only true in radians. In degrees the derivative of sine would carry an extra factor of $\frac{\pi}{180}$.

### Is sine an even or odd function?

Sine is odd: $\sin(-x) = -\sin x$. Its graph is symmetric about the origin.
