Chapter 6: Techniques of Integration
Section 6.3: Trig Substitution
Example 6.3.7
Evaluate the indefinite integral ∫x24−9 x2 ⅆx.
Solution
Mathematical Solution
The substitution x=23sinθ means dx=23cosθ dθ, and turns fx into 2 cosθ. From Figure 6.3.1, cosθ=124−9 x2. Hence, the evaluation of the given integral proceeds as follows.
∫x24−9 x2 ⅆx
= ∫23sinθ223cosθ dθ2 cosθ
= 427∫sin2θ ⅆθ
=427∫121−cos2 θ ⅆθ
=227θ−sin2 θ2
=227θ−sinθcosθ
=227arcsin32x−32x124−9 x2
=227 arcsin32x=x184−9 x2
Maple Solution
Evaluate the given integral
Control-drag the integral.
Context Panel: Evaluate and Display Inline
∫x24−9 x2 ⅆx = −118⁢x⁢−9⁢x2+4+227⁢arcsin⁡32⁢x
A stepwise solution that uses top-level commands except for one application of the Change command from the IntegrationTools package:
Initialization
Install the IntegrationTools package.
withIntegrationTools:
Let Q be the name of the given integral.
Q≔∫x24−9 x2 ⅆx:
Change variables as per Table 6.3.1
Use the Change command to apply the change of variables x=23sinθ.
q1≔ChangeQ,x=23sinθ
∫−227⁢sin⁡θ2⁢−4⁢sin⁡θ2+4⁢cos⁡θsin⁡θ2−1ⅆθ
Simplify the radical to 2 cosθ. Note the restriction imposed on θ.
q2≔simplifyq1 assuming θ∷RealRange−π2,π2
427⁢∫sin⁡θ2ⅆθ
Apply the half-angle trig identity sin2θ=1− cos2 θ/2 via the simplify command with the identity as a side relation.
q3≔simplifyq2,sin2θ=1− cos2 θ/2
427⁢∫12−12⁢cos⁡2⁢θⅆθ
Split the integral with the expand command, while preventing Maple from applying the double-angle expansion to cos2 θ.
q4≔expandq3,2 θ
227⁢∫1ⅆθ−227⁢∫cos⁡2⁢θⅆθ
Use the value command to evaluate what are now two separate but simple integrals.
q5≔valueq4
227⁢θ−127⁢sin⁡2⁢θ
Apply the double-angle trig expansion to sin2 θ via the expand command.
q6≔expandq5
227⁢θ−227⁢sin⁡θ⁢cos⁡θ
Revert the change of variables by applying the substitution θ=arcsin3 x/2.
evalq6,θ=arcsin32x
−118⁢x⁢−9⁢x2+4+227⁢arcsin⁡32⁢x
Table 6.3.7(a) displays the annotated stepwise solution provided by the tutor when the Constant, Constant Multiple, and Sum rules are taken as Understood Rules.
∫x2−9⁢x2+4ⅆx=4⁢∫sin⁡u2ⅆu27change,x=2⁢sin⁡u3,u=2⁢u27−2⁢∫cos⁡2⁢uⅆu27rewrite,sin⁡u2=12−cos⁡2⁢u2=2⁢u27−∫cos⁡u1ⅆu127change,u1=2⁢u,u1=2⁢u27−sin⁡u127cos=2⁢u27−sin⁡2⁢u27revert=−x⁢−9⁢x2+418+2⁢arcsin⁡3⁢x227revert
Table 6.3.7(a) Annotated stepwise solution via Integration Methods tutor
The essential difference between these two approaches is that Maple's stepwise rules will not permit the integration of cos2 u without first making the change of variables u1=2 u.
Note that an annotated stepwise solution is available via the Context Panel with the "All Solution Steps" option.
The rules of integration can also be applied via the Context Panel, as per the figure to the right.
<< Previous Example Section 6.3 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