Chapter 6: Techniques of Integration
Section 6.6: Rationalizing Substitutions
Example 6.6.5
Obtain a continuous antiderivative for 1/7+2 sinx+3 cosx.
Solution
Mathematical Solution
The following implementation of the rationalizing substitution z=tanx/2 results in a discontinuous antiderivative.
∫dx7+2 sinx+3 cosx
= ∫2 dz1+z27+22 z1+z2+31−z21+z2
= ∫dz2 z2+2 z+5
= ∫dz2z+1/22+9/4
= ∫dz2⋅9449z+122+1
=29∫dz23z+122+1
=29⋅32∫duu2+1
=13arctanu
=13arctan23z+1/2
=13arctan2 tanx/2+1/3
Table 6.6.5(a) lists a relevant integration formula taken from a standard table of integrals.
∫dxa+b sinx+c cosx = {1uln(b−u+a−ctan(x/2b+u+a−ctanx/2)a2<b2+c22varctanb+a−ctanx/2va2>b2+c2
u=b2+c2−a2, v=a2−b2−c2
Table 6.6.5(a) Relevant integration formula from a table of integrals
With a=7,b=2,c=3, the second rule in Table 6.6.5(a) applies because a2=49>4+9=13=b2+c2. Hence, v=49−13=36=6, and
=26arctan2+7−3tanx/26
=13arctan131+2 tanx/2
Figure 6.6.5(a) shows that this antiderivative is discontinuous. In fact, jumps of π/3 occur at x=2 k+1π for any integer k. If, between the discontinuities an appropriate multiple of π/3 can be added to the integrand, the result would be the continuous antiderivative shown in Figure 6.6.5(b).
Figure 6.6.5(a) Discontinuous antiderivative
module() local p1,p2,p3,L,R; L:=(1/3)*arctan((2/3)*tan((1/2)*x)+1/3)-(1/3)*arctan(1/3)-piecewise(-(1/2)*(Pi-x)/Pi < -1, -(1/3)*ceil(-(1/2)*(Pi-x)/Pi)*Pi, 0); R:=-(1/3)*arctan(1/3)+(1/3)*arctan((2/3)*tan((1/2)*x)+1/3)+piecewise(0 < -Pi+x, (1/3*(floor(-(1/2)*(Pi-x)/Pi)+1))*Pi, 0); p1:=plot(L,x=-3*Pi..0); p2:=plot(R,x=0..3*Pi); p3:=plots:-display(p1,p2); print(p3); end module:
Figure 6.6.5(b) Continuous antiderivative
Maple Solution
Obtain the discontinuous antiderivative and determine the jump at the discontinuities.
Evaluate the integral and name the antiderivative g
∫17+2 sinx+3 cosx ⅆx = 13⁢arctan⁡13+23⁢tan⁡12⁢x→assign to a nameg
Calculate the jump at x=π
Expression palette: Limit template
Calculate the difference in the left and right limits.
limx→π−g−limx→π+g = 13⁢π
Obtain a continuous antiderivative by evaluating an appropriate definite integral.
Expression palette: Definite Integral template
Context Panel: 2-D Math≻Convert To≻Inert Form
Press the Enter key.
Q≔∫0x17+2 sint+3 cost ⅆt:
Evaluate the definite integral under the separate assumptions that x is positive and x is negative.
simplifyvalueQ assuming x>0
{−13⁢arctan⁡13+13⁢arctan⁡13+23⁢tan⁡12⁢xx≤π13⁢π⁢floor⁡−12⁢π−xπ−13⁢arctan⁡13+13⁢arctan⁡13+23⁢tan⁡12⁢x+13⁢ππ<x
simplifyvalueQ assuming x<0
{−13⁢arctan⁡13+13⁢arctan⁡13+23⁢tan⁡12⁢x+13⁢ceil⁡−12⁢π−xπ⁢πx<−π−13⁢arctan⁡13+13⁢arctan⁡13+23⁢tan⁡12⁢x−π≤x
If gx is defined as
gx=−13⁢arctan⁡13+13⁢arctan⁡13+23⁢tan⁡12⁢x
then the continuous antiderivative can be written as
{gx+13ceilx−π2 πx<−πgxx∈−π,πgx+π31+floorx−π2 πx>π
where ceil is the "greatest integer" function and floor is the "least integer" function. These two functions tack onto gx the appropriate multiple of π/3 to counterbalance the jumps in the discontinuous gx.
This example concludes with Table 6.6.5(b) in which the antiderivative 13arctan131+2 tanx/2 is obtained from first principles is obtained in Maple.
Expression palette: Indefinite Integral template
Q≔∫17+2 sinx+3 cosx ⅆx:
Apply the rationalizing substitution z=tanx/2 via the Change command
q1≔IntegrationTools:-ChangeQ,z=tanx/2,z
∫27+2⁢sin⁡2⁢arctan⁡z+3⁢cos⁡2⁢arctan⁡z⁢z2+1ⅆz
Convert the integrand to a rational function.
q2≔simplifyexpandq1
∫12⁢z2+2⁢z+5ⅆz
Complete the square in the denominator. (Maple can find an antiderivative without this step, but completion of the square is an essential step in working from first principles.)
q3≔Student:-Precalculus:-CompleteSquareq2
∫12⁢z+122+92ⅆz
Evaluate the integral.
q4≔valueq3
13⁢arctan⁡23⁢z+13
Revert the rationalizing substation.
evalq4,z=tanx/2
13⁢arctan⁡13+23⁢tan⁡12⁢x
Table 6.6.5(b) Maple calculation of antiderivative from first principles
<< Previous Example Section 6.6 Next Section >>
© 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