Sine function

From Calculus

This article is about a particular function from a subset of the real numbers to the real numbers. Information about the function, including its domain, range, and key data relating to graphing, differentiation, and integration, is presented in the article.
View a complete list of particular functions on this wiki

For functions involving angles (trigonometric functions, inverse trigonometric functions, etc.) we follow the convention that all angles are measured in radians. Thus, for instance, the angle of

90

is measured as

π/2

.

Definition

Unit circle definition

The sine function, denoted sin, is defined as follows.

Consider the unit circle centered at the origin, described as the following subset of the coordinate:

{(x,y)x2+y2=1}

For a real number t, we define sint as follows:

  • Start at the point (1,0), which lies on the unit circle centered at the origin.
  • Move a distance of t along the unit circle in the counter-clockwise direction (i.e., the motion begins in the first quadrant, with both coordinates positive).
  • At the end, the y-coordinate of the point thus obtained is defined as sint.

Triangle ratio definition (works for acute angles)

For an acute angle t, i.e., for t in the open interval (0,π/2), sint can be defined as follows:

  • Construct any right triangle with one of the acute angles equal to t.
  • sint is the ratio of the leg opposite to the angle t to the hypotenuse.

Key data

Item Value
default domain all real numbers, i.e., all of R
range the closed interval [1,1]
period 2π, i.e., 360.
mean value over a period 0
local maximum values and points of attainment local maximum value attained at all points of the form 2nπ+π/2,nZ, with value 1 at each point.
local minimum values and points of attainment local minimum value attained at all points of the form 2nππ/2,nZ, with value -1 at each point.
points of inflection (both coordinates) all points of the form (nπ,0) with nZ.
important symmetries odd function. More generally, half turn symmetry about all points of the form (nπ,0) where nZ.
Also, mirror symmetry about all lines of the form x=nπ+π/2.
first derivative cos, i.e., the cosine function
second derivative sin, i.e., the negative of the sine function.
sequence of derivatives starting from first: cos,sin,cos,sin,cos,sin,cos,sin,. The sequence of higher derivatives is periodic with a period of 4.
first antiderivative cos, i.e., the negative of the cosine function.

Identities

Type of identity Identity in algebraic form
complementary angle sin(π/2x)=cosx, equivalently, cos(π/2x)=sinx
square relationship with cosine sin2x+cos2x=1.
angle sum sine formula sin(x+y)=sinxcosy+cosxsiny
angle difference sine formula sin(xy)=sinxcosycosxsiny
product to sum conversion sinxsiny=12(cos(xy)cos(x+y))
sum to product conversion sinx+siny=2sin(x+y2)cos(xy2)
double angle sine formula sin(2x)=2sinxcosx
double angle cosine formula cos(2x)=12sin2x, so sin2x=(1cos(2x))/2.
other symmetries periodicity: sin(2π+x)=sinx
anti-periodicity: sin(π+x)=sinx
odd: sin(x)=sinx
mirror symmetry about π/2: sin(πx)=sinx

Related functions

Composition with other functions

Below are some composite functions of the form fsin for suitable function f:

Function f fsin, i.e., the function xf(sinx) sinf i.e. the function xsin(f(x))
reciprocal function cosecant function csc -- the domain of this excludes all multiples of π sine of reciprocal function xsin(1/x)
square function sine-squared function sin2 sine of square function xsin(x2)
cube function sine-cubed function sin3 sine of cube function xsin(x3)
positive power function xxn for fixed n positive power of sine function sine of positive power function
absolute value function absolute value of sine function |sin| uninteresting
positive part function positive part of sine function sin+ uninteresting
square root function square root of sine function -- note that this makes sense only on a restricted domain sine of square root function
natural logarithm of absolute value natural logarithm of absolute value of sine function xln|sinx| sine of natural logarithm of absolute value xsin(ln|x|)

Product with other functions

Function f pointwise product of functions xf(x)(sinx)
reciprocal function sinc function x(sinx)/x (separately defined as 1 at 0)
identity function product of identity function and sine function xxsinx
exponential function product of exponential function and sine function xexsinx
cosine function xsinxcosx is same as x(1/2)sin(2x)

Differentiation

First derivative

We deduce the formula sin=cos from the limit:

limh0sinhh=1

Here's the full proof:

sin(x0)=limxx0sinxsin(x0)xx0=h:=xx0limh0sin(x0+h)sinx0h=limh0sin(x0)cosh+cos(x0)sinhsin(x0)h

By the fact that limit is linear, the above limit can be rewritten as:

sin(x0)(limh0cosh1h)+cos(x0)(limh0sinhh)

We now need to compute the two limits individually. Note first that both limits are independent of x0.

The first limit is:

limh0cosh1h=limh02sin2(h/2)h=limh0sin(h/2)limh0sin(h/2)(h/2)

We've thus expressed the limit as a product of limits where one of the factors goes to zero and the other goes to one, so the limit is zero.

The second limit is 1, as can be seen directly.

We thus get that the answer is:

sin(x0)(0)+cos(x0)(1)

This simplifies to

cos(x0)

Second derivative

The derivative of cos is sin, so we obtain:

sin=sin

Higher derivatives

The sequence of derivatives is periodic with period 4:

k 0 1 2 3 4 5 6 7
sin(k) sin cos sin cos sin cos sin cos

In particular, we obtain that for any nonnegative integer k:

  • sin(4k)=sin
  • sin(4k+1)=cos
  • sin(4k+2)=sin
  • sin(4k+3)=cos

Equivalently, we also have:

sin(k)(x)=sin(x+kπ/2)

In other words, differentiating the function k times is equivalent to shifting the graph kπ/2 to the left.

Integration

First antiderivative

We have:

sinxdx=cosx+C

Definite integrals

The mean value of sin over a period is 0. Thus:

aa+2πsinxdx=0

Since sin is odd, the mean value over any interval symmetric about the origin is zero:

aasinxdx=0

Also, the integral of sin on [0,π/2] and on [π/2,π] is 1 each, giving a mean value of 2/π on these intervals:

0π/2sinxdx=π/2πsinxdx=1

Integration of transformed versions of function

We have, for m0, the following, using integration of linear transform of function:

sin(mx+φ)dx=1mcos(mx+φ)+C

Further, the mean value of sin(mx+φ) over a period is 0.

Higher antiderivatives

The general expression for the second antiderivative is:

sinxdxdx=sinx+C1x+C0

In general, the kth antiderivative is ±cos or ±sin, depending on the value of k mod 4. The general expression is the particular antiderivative plus an arbitrary polynomial of degree at most k1.

Power series and Taylor series

Computation of Taylor series

As noted above, we have that:

sin(k)x=sin(x+kπ/2)

In particular, this means that:

sin(k)0=sin(kπ/2)

Thus, the sequence of derivatives at zero (starting from k=0) is 0,1,0,1,0,1,0,1,.

The Taylor series is thus:

xx33!+x55!x77!+=k=0(1)kx2k+1(2k+1)!

Taylor series equals power series

There are a number of ways of showing that the Taylor series for the sine function does in fact converge to the function everywhere. One of these follows from the max-estimate on the remainder term from the Taylor polyonmials. Since the sine function is a bounded function, this max-estimate approaches zero as n.

Thus we have that:

sinx=xx33!+x55!x77!+=k=0(1)kx2k+1(2k+1)!