Appendix
A-7: Trigonometry
Example A-7.6
Express cos4x+4cos2x+3 in terms of cosx.
Solution
Mathematical Solution
There are three forms for the double-angle formula for the cosine function:
cos2 x
= cos2x−sin2x
= 2 cos2x−1
= 1−2 sin2x
Apply the second form of the expansion formula to cos2⋅2 x to obtain
cos2⋅2 x
= 2 cos22 x−1
= 22 cos2x−12−1
= 24 cos4x−4 cos2x+1−1
= 8 cos4x−8 cos2x+1
Combine both results to obtain
cos4x+4cos2x+3
=8 cos4x−8 cos2x+1+42 cos2x−1+3
=8 cos4x−8 cos2x+8 cos2x+1−4+3
=8 cos4x
Interactive Solution
Control-drag the given expression.
Context Panel: Expand≻Expand
cos4x+4cos2x+3= expand 8cosx4
Stepwise expansions
Control-drag the first term.
cos4 x= expand 8cosx4−8cosx2+1
Control-drag the second term.
4cos2x= expand 8cosx2−4
Add the two expanded expressions and add 3. The sum is 8 cos4x.
Coded Solution
Assign the name q__1 to the given expression.
q__1≔cos4x+4cos2x+3:
Apply the expand command to the whole expression.
expandq__1
8cosx4
Apply the expand command to the first term.
q__2≔expandop1,q__1
8cosx4−8cosx2+1
Apply the expand command to the second term.
q__3≔ expandop2,q__1
8cosx2−4
Sum the sub-expressions
Add the sub-expressions.
q__2+q__3+3
<< Previous Example Section A-7 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document