Angles, oscillations, and rotations all involve the same pair of functions — sine and cosine. At the basis level these are most cleanly defined as specific power series, in direct parallel to how exp was defined in Exponential Functions. This approach avoids any appeal to geometry and gives you precise formulas for derivatives, identities, and even the definition of π — all from first principles.
Power series definitions
Recall from Exponential Functions that exp(x)=∑k=0∞xk/k! converges absolutely for every x∈R. Define two new functions by splitting this series into its even-indexed and odd-indexed terms, each with alternating signs:
Both series converge absolutely for all x∈R: the ratio test gives a ratio ∣x∣2/((2k+1)(2k+2))→0 as k→∞, so convergence is absolute and uniform on every bounded interval. Uniform convergence justifies differentiating the series term-by-term.
At x=0: the constant term of the cosine series is 1 and all other terms vanish, giving cos(0)=1. The sine series starts with x, so sin(0)=0.
Motivation: Euler’s formula
Why these particular series? Substitute ix (where i2=−1) formally into the exponential series:
exp(ix)=k=0∑∞k!(ix)k.
Separating even and odd powers, and using i2m=(−1)m and i2m+1=i(−1)m, the real part is exactly the cosine series (1) and the imaginary part is i times the sine series (2). This yields Euler’s formula:
exp(ix)=cosx+isinx.(3)
At the basis level, treat (3) as a motivating insight rather than a fully rigorous statement (a complete treatment requires extending exp to the complex numbers). The formula makes the connection between exponentials and trigonometry vivid and will let you derive the addition formulas below in a single line.
The special case x=π gives Euler’s identityexp(iπ)+1=0, once π is defined — which you will do shortly.
Derivatives
Differentiate the series (1) and (2) term-by-term:
Applying (4) twice: (cosx)′′=−cosx and (sinx)′′=−sinx. Both functions therefore satisfy the simple harmonic oscillator equationy′′+y=0.
The Pythagorean identity
Theorem. For all x∈R:
cos2x+sin2x=1.(5)
Proof. Let f(x):=cos2x+sin2x. Differentiate using (4):
f′(x)=2cosx⋅(−sinx)+2sinx⋅cosx=0.
So f is constant on R. Evaluating at x=0:
f(0)=cos2(0)+sin2(0)=12+02=1.
Therefore f(x)=1 for all x. □
The Pythagorean identity(5) is the source of almost every trigonometric manipulation you will encounter. One immediate consequence: ∣cosx∣≤1 and ∣sinx∣≤1 for all x.
The left side equals cos(x+y)+isin(x+y) by (3). Equating real and imaginary parts gives (6) and (7). □
Setting y=x in (6) gives the double-angle formulacos(2x)=cos2x−sin2x. Combined with the Pythagorean identity (5), this also gives cos(2x)=2cos2x−1=1−2sin2x.
Defining π
The cosine series (1) gives cos(0)=1>0. You can show that cos(2)<0 by examining the alternating partial sums: grouping consecutive pairs shows every partial sum from the second term onward is negative when x=2, and a careful estimate gives cos(2)<−31.
Since cos is continuous (its series converges uniformly), the Intermediate Value Theorem guarantees at least one zero of cos in the interval (0,2).
Definition.π is defined as twice the smallest positive zero of cos:
π:=2⋅min{x>0∣cosx=0}.(8)
From this definition, cos(π/2)=0. Applying the Pythagorean identity (5) at x=π/2 forces sin2(π/2)=1. Because sin is positive on (0,π/2) — its derivative there equals cos>0, and sin(0)=0 — you get sin(π/2)=1.
Using the addition formulas (6) and (7) with y=π/2:
cos(x+2π)=−sinx,sin(x+2π)=cosx.
Applying this shift twice gives cos(x+π)=−cosx and sin(x+π)=−sinx, and one more application gives periodicity.
Periodicity
Theorem. For all x∈R:
cos(x+2π)=cosx,sin(x+2π)=sinx.(9)
Proof. Apply cos(x+π)=−cosx twice:
cos(x+2π)=cos((x+π)+π)=−cos(x+π)=−(−cosx)=cosx,
and similarly for sin. □
In fact 2π is the minimal period of both functions, though proving this requires confirming that cos has no positive zeros smaller than π/2.
Values at special angles
The definitions and identities you have developed so far pin down the values at the standard angles:
x
cosx
sinx
0
1
0
π/6
3/2
1/2
π/4
1/2
1/2
π/3
1/2
3/2
π/2
0
1
π
−1
0
For π/4: the addition formula with x=y=π/4 and cos(π/2)=0 gives cos2(π/4)=sin2(π/4); combined with (5), both equal 1/2.
For π/3: the double-angle formula gives cos(2π/3)=2cos2(π/3)−1. Because cos(2π/3)=cos(π−π/3)=−cos(π/3) (a consequence of cos(x+π)=−cosx), solving −cos(π/3)=2cos2(π/3)−1 yields cos(π/3)=1/2 and then sin(π/3)=3/2 from (5).
Other trigonometric functions
Four more functions are defined as ratios and reciprocals of sine and cosine.
Tangent:
tanx:=cosxsinx,cosx=0.
The domain of tan is R∖{π/2+kπ∣k∈Z} and its minimal period is π.
Cotangent:
cotx:=sinxcosx,sinx=0.
Secant and cosecant are the reciprocals:
secx:=cosx1,cscx:=sinx1.
Derivatives of tan and cot
Apply the quotient rule, then use the Pythagorean identity (5):
Cosine and sine are defined by the absolutely convergent power series (1) and (2); at x=0, cos(0)=1 and sin(0)=0.
Euler’s formulaexp(ix)=cosx+isinx arises by separating real and imaginary parts of the exponential series after substituting ix.
Derivatives:(cosx)′=−sinx and (sinx)′=cosx; both functions satisfy y′′+y=0.
Pythagorean identity:cos2x+sin2x=1, proved by showing the derivative of the left side is 0 and evaluating at x=0.
Addition formulas(6) and (7) are derived by expanding exp(ix)exp(iy)=exp(i(x+y)).
π is defined as twice the smallest positive zero of cos; its existence follows from the Intermediate Value Theorem applied to the continuous function cos.