Cosine-cubed 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

This function, denoted cos3, is defined as the composite of the cube function and the cosine function. Explicitly, it is the function:

x↦(cosx)3.

Key data

Item Value
default domain all real numbers, i.e., all of R.
range the closed interval [−1,1], i.e., {y∣−1≤y≤1}.
period 2π, i.e., 360∘
local maximum values and points of attainment All local maximum values are equal to 1, and they are attained at all points of the form 2nπ where n varies over integers.
local minimum values and points of attainment All local minimum values are equal to -1, and they are attained at all points of the form (2n+1)π where n varies over integers.
points of inflection (both coordinates) All points of the form (nπ+π/2,0) and Fill this in later
derivative x↦−3cos2xsinx
second derivative x↦6cosxsin2x−3cos3x=6cosx−9cos3x
antiderivative sinx−sin3x3+C

Graph

Below is a basic picture of the graph, with the domain restricted to the interval [−2π,2π]:

A more close-up view, restricted to the interval [−π,π], is below:

The thick red dots represent points of inflection and the thick black dots represent local extreme values.

Integration

First antiderivative: standard method

We rewrite cos3x=cos2xcosx=(1−sin2x)cosx and then use integration by u-substitution, setting u=sinx. Explicitly:

∫cos3xdx=∫cos2xcosxdx=∫(1−sin2x)cosxdx

Setting u=sinx, we get:

∫(1−u2)du

This gives us:

u−u33+C

Plugging back u=sinx, we get:

sinx−sin3x3+C

First antiderivative: using triple angle formula

An alternative method of integration is to use the identity:

cos3x=3cosx+cos(3x)4

We thus get:

∫cos3xdx=∫3cosx+cos(3x)4dx=34sinx+112sin(3x)+C

Although this answer appears different from the other one, the two antiderivatives are in fact equal, as we can see by plugging in sin(3x)=3sinx−4sin3x into the above antiderivative expression.

Repeated antidifferentiation

The antiderivative of cos3 involves sin^3 and sin, which can both be antidifferentiated, with the new antiderivative involving cos3 and cos. The procedure can thus be repeated ad infinitum.

Power series and Taylor series

Computation of power series

We can use the identity:

cos3x=3cosx+cos(3x)4

We have the power series:

cosx=1−x22!+x44!−…=∑k=0∞(−1)kx2k(2k)!

Thus, we get:

cos(3x)=1−(3x)22!+(3x)44!−…=∑k=0∞(−1)k32kx2k(2k)!

Combining, we get:

cos3x=∑k=0∞(−1)k(3+32k)x2k4⋅(2k)!

The first few terms are:

cos3x=1−3x22+7x48−…