Asked by Sean

I want to get the first four terms of the expansion of this expression
(x - x^3/3! + x^5/5! - x^7/7!)^2

I already got the answer:
x^2 - x^4/3 + 2x^6/45 - x^8/315

However, I believe I went the long manual route. What's the shortcut to this kind of expansion?

The book gives
x^2 - 2^3/4! x^4 + 2^5/6! x^6 - 2^7/8! x^8

That works out to the same answer, but it looks like they used a shortcut to get that more easily.

Answers

Answered by MathMate
Expand the polynomial as follows, but retain the lowest order terms by collecting the coefficients of products that produce x<sup>2</sup>,x<sup>4</sup>, x<sup>6</sup> and x<sup>8</sup>, since they have to be all even powers.

The first four terms are:
a<sup>2</sup>x<sup>2</sup> +
(2ab)x<sup>4</sup> +
(b<sup>2</sup>+2ac)x<sup>6</sup> +
(2ad+2bd)x<sup>8</sup>

By substituting
a=+1
b=-(1/3!)
c=+(1/5!)
d=-(1/7!)

you should get the book results quickly.
Answered by MathMate
Note: The expression had been abbreviated as:

(ax+bx<sup>3</sup>+c<sup>5</sup>+d<sup>7</sup>)<sup>2</sup>
where
a=+1
b=-(1/3!)
c=+(1/5!)
d=-(1/7!)
Answered by MathMate
I looked at it again, it looks like that the book result uses a specific property of the series, namely
sin(x)=(x - x^3/3! + x^5/5! - x^7/7!)
so, instead of expanding algebraically, we can proceed to use the trigonometric identity of sin<sup>2</sup>(x), where
sin<sup>2</sup>(x)
= (1/2)(cos(x-x)-cos(x+x))
= (1/2)(1-cos(2x))
= (1/2)(1 - (1-(2x)<sup>2</sup>/2! + (2x)<sup>4</sup>/4! - (2x)<sup>6</sup>/6! + (2x)<sup>8</sup>/8! -...)
= what your book shows.
Answered by Reiny
impressive!
Answered by MathMate
Thanks, it was just a fluke!
Answered by Sean
Thanks! You guys are awesome. I would tip for this service if I could.

The book's question was to get the first four terms of sin^2(x). Makes perfect sense.
Answered by MathMate
Tips are welcome, to your favourite charity!
There are no AI answers yet. The ability to request AI answers is coming soon!