Sine-squared function: Difference between revisions

From Calculus
Line 99: Line 99:


==Power series and Taylor series==
==Power series and Taylor series==
===Computation of power series===


We can use the identity:
We can use the identity:
Line 108: Line 110:
The power series for the cosine function converges to the function everywhere, and is:
The power series for the cosine function converges to the function everywhere, and is:


<math>\! \cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \dots = \sum_{k=0}^\infty \frac{(-1)^kx^{2k}}{(2k)!}</math>
<math>\! \cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \dots = \sum_{k=0}^\infty \frac{(-1)^kx^{2k}}{(2k)!}</math>


The power series for <math>\cos(2x)</math> is:
The power series for <math>\cos(2x)</math> is:


<math>\! \cos(2x) = 1 - \frac{(2x)^2}{2!} + \frac{(2x)^4}{4!} - \dots = \sum_{k=0}^\infty \frac{(-1)^k2^{2k}x^{2k}}{(2k)!}</math>
<math>\! \cos(2x) = 1 - \frac{(2x)^2}{2!} + \frac{(2x)^4}{4!} - \frac{(2x)^6}{6!} + \dots = \sum_{k=0}^\infty \frac{(-1)^k2^{2k}x^{2k}}{(2k)!}</math>


The power series for <math>1 - \cos(2x)</math> is:
The power series for <math>1 - \cos(2x)</math> is:


<math>\! 1 - \cos(2x) = \frac{(2x)^2}{2!} - \frac{(2x)^4}{4!} + \dots = \sum_{k=1}^\infty \frac{(-1)^{k-1}2^{2k}x^{2k}}{(2k)!}</math>
<math>\! 1 - \cos(2x) = \frac{(2x)^2}{2!} - \frac{(2x)^4}{4!} + \frac{(2x)^6}{6!} - \dots = \sum_{k=1}^\infty \frac{(-1)^{k-1}2^{2k}x^{2k}}{(2k)!}</math>


Dividing by 2, we get the power series for <math>\sin^2x</math>:
Dividing by 2, we get the power series for <math>\sin^2x</math>:


<math>\! \sin^2x = \frac{2^1x^2}{2!} - \frac{2^3x^4}{4!} + \dots = \sum_{k=1}^\infty \frac{(-1)^{k-1}2^{2k-1}x^{2k}}{(2k)!}</math>
<math>\! \sin^2x = \frac{2^1x^2}{2!} - \frac{2^3x^4}{4!} + \frac{2^5x^6}{6!} - \dots = \sum_{k=1}^\infty \frac{(-1)^{k-1}2^{2k-1}x^{2k}}{(2k)!}</math>
 
Here's another formulation with the first few terms written more explicitly:
 
<math>\! sin^2 x = x^2 - \frac{x^4}{3} + \frac{2x^6}{45} - \dots</math>
 
===Some limits based on the power series===
 
We get the following limit from the power series:
 
<math>\! \lim_{x \to 0} \frac{\sin^2x}{x^2} = 1</math>
 
In particular, the zero of <math>\sin^2</math> at 0 has order 2. This makes sense in many ways:
 
* We know that the zero of <math>\sin</math> at 0 has order 1, and so the zero of <math>\sin^2</math> should have order 2.
* <math>\sin^2</math> has a local minimum at zero, so we know the zero there should have even order.
 
Further, we have, again from the power series:
 
<math>\! \lim_{x \to 0} \frac{x^2 - \sin^2x}{x^4} = \frac{1}{3}</math>

Revision as of 06:04, 27 August 2011

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

Definition

This function, denoted , is defined as the composite of the square function and the sine function. Explicitly, it is the map:

For brevity, we write as .

Key data

Item Value
Default domain all real numbers, i.e., all of
range , i.e.,
absolute maximum value: 1, absolute minimum value: 0
period , i.e.,
local maximum value and points of attainment All local maximum values are equal to 1, and are attained at odd integer multiples of .
local minimum value and points of attainment All local minimum values are equal to 0, and are attained at integer multiples of .
points of inflection (both coordinates) odd multiples of , with value 1/2 at each point.
derivative , i.e., double-angle sine function.
second derivative
derivative times an expression that is or of , depending on the remainder of mod
antiderivative
mean value over a period 1/2
expression as a sinusoidal function plus a constant function
important symmetries even function
more generally, miror symmetry about any vertical line of the form , an integer.
Also, half turn symmetry about all points of the form .
interval description based on increase/decrease and concave up/down For each integer , the interval from to is subdivided into four pieces:
: increasing and concave up
: increasing and concave down
: decreasing and concave down,
: decreasing and concave up
power series and Taylor series The power series about 0 (which is hence also the Taylor series) is

It is a globally convergent power series.

Integration

First antiderivative: using double angle formula

We use the identity:

We can now do the integration:

First antiderivative: using integration by parts

We rewrite and use integration by parts in its recursive version:

We now rewrite and obtain:

Setting to be a choice of antiderivative so that the above holds without any freely floating constants, we get:

Rearranging, we get:

This gives:

So the general antiderivative is:

Using the double angle sine formula , we can verify that this matches with the preceding answer.

Definite integrals

The part in the antiderivative signifies that the linear part of the antiderivative of has slope , and this is related to the fact that has a mean value of on any interval of length equal to the period. It is in fact clear that the function is a sinusoidal function about .

Thus, we have:

where is an integer.

Higher antiderivatives

It is possible to antidifferentiate more than once. The antiderivative is the sum of a polynomial of degree and a trigonometric function with a period of .

Power series and Taylor series

Computation of power series

We can use the identity:

along with the power series for the cosine function, to find the power series for .

The power series for the cosine function converges to the function everywhere, and is:

The power series for is:

The power series for is:

Dividing by 2, we get the power series for :

Here's another formulation with the first few terms written more explicitly:

Some limits based on the power series

We get the following limit from the power series:

In particular, the zero of at 0 has order 2. This makes sense in many ways:

  • We know that the zero of at 0 has order 1, and so the zero of should have order 2.
  • has a local minimum at zero, so we know the zero there should have even order.

Further, we have, again from the power series: