How to use these solu­tions

These are step-by-step worked solu­tions to the Mixed prac­tice ques­tions of the les­son Def­i­nite Inte­grals and Mixed Prac­tice. Attempt each inte­gral your­self first, then com­pare your work­ing line by line. Two habits make def­i­nite inte­grals safe: when you sub­sti­tute, change the lim­its as well; and before grind­ing through a hard inte­gral, check whether one of the prop­er­ties (even/odd, or replac­ing xx by a+b−xa + b - x) does the work for you.

Ques­tion 1: Three direct def­i­nite inte­grals

The prob­lem

Eval­u­ate: (a) ∫02(x3+2x) dx\displaystyle \int_0^2(x^3 + 2x)\,dx (b) ∫1edxx\displaystyle \int_1^e\frac{dx}{x} (c) ∫0π/3cos⁡x dx\displaystyle \int_0^{\pi/3}\cos x\,dx

Under­stand­ing the prob­lem

Each inte­gral has a stan­dard anti­deriv­a­tive. You must find it and then use the lim­its to get a num­ber.

The idea

Use the fun­da­men­tal the­o­rem: if F′=fF' = f, then ∫abf(x) dx=F(b)−F(a)\displaystyle \int_a^b f(x)\,dx = F(b) - F(a).

Step-by-step solu­tion

Part (a)

Step 1. Anti­deriv­a­tive: ∫x3 dx=x44\displaystyle \int x^3\,dx = \frac{x^4}{4} and ∫2x dx=x2\displaystyle \int 2x\,dx = x^2.

∫02(x3+2x) dx=[x44+x2]02\displaystyle \int_0^2(x^3 + 2x)\,dx = \left[\frac{x^4}{4} + x^2\right]_0^2

Step 2. Sub­sti­tute the lim­its.

=(164+4)−(0+0)=4+4=8\displaystyle = \left(\frac{16}{4} + 4\right) - (0 + 0) = 4 + 4 = 8

Part (b)

Step 1. Anti­deriv­a­tive of 1x\displaystyle \frac{1}{x} is log⁡∣x∣\log\lvert x\rvert; on [1,e][1, e], x>0x > 0.

∫1edxx=[log⁡x]1e=log⁡e−log⁡1=1−0=1\displaystyle \int_1^e\frac{dx}{x} = \big[\log x\big]_1^e = \log e - \log 1 = 1 - 0 = 1

Part (c)

Step 1. Anti­deriv­a­tive of cos⁡x\cos x is sin⁡x\sin x.

∫0π/3cos⁡x dx=[sin⁡x]0π/3=sin⁡π3−sin⁡0=32\displaystyle \int_0^{\pi/3}\cos x\,dx = \big[\sin x\big]_0^{\pi/3} = \sin\frac{\pi}{3} - \sin 0 = \frac{\sqrt{3}}{2}

Check­ing the answer

In (a), the inte­grand lies between 00 and 1212 on an inter­val of length 22, so the answer must be between 00 and 2424; 88 is sen­si­ble. In (c), cos⁡x\cos x is between 12\displaystyle \tfrac{1}{2} and 11 on an inter­val of length about 1.051.05, and 32≈0.87\displaystyle \tfrac{\sqrt{3}}{2} \approx 0.87 fits.

Answer

(a) 88; (b) 11; (c) 32\displaystyle \frac{\sqrt{3}}{2}.

Ques­tion 2: Def­i­nite inte­grals by sub­sti­tu­tion

The prob­lem

Eval­u­ate: (a) ∫01xx2+1 dx\displaystyle \int_0^1\frac{x}{x^2 + 1}\,dx (b) ∫12dxx(1+log⁡x)2\displaystyle \int_1^2\frac{dx}{x(1 + \log x)^2}

Under­stand­ing the prob­lem

In each inte­gral, one part is (a mul­ti­ple of) the deriv­a­tive of another part: xx is half the deriv­a­tive of x2+1x^2 + 1, and 1x\displaystyle \frac{1}{x} is the deriv­a­tive of 1+log⁡x1 + \log x. That sig­nals a sub­sti­tu­tion.

The idea

Sub­sti­tute tt for the inner expres­sion, rewrite dxdx in terms of dtdt, and change the lim­its to tt-val­ues, as in Exam­ple 3. Then you never need to go back to xx.

Step-by-step solu­tion

Part (a)

Step 1. Let t=x2+1t = x^2 + 1. Then dt=2x dxdt = 2x\,dx, so x dx=dt2\displaystyle x\,dx = \frac{dt}{2}.

Step 2. Change the lim­its: x=0⇒t=1x = 0 \Rightarrow t = 1; x=1⇒t=2x = 1 \Rightarrow t = 2.

Step 3. Rewrite and inte­grate.

∫01xx2+1 dx=12∫12dtt=12[log⁡t]12=12(log⁡2−0)=12log⁡2\displaystyle \int_0^1\frac{x}{x^2 + 1}\,dx = \frac{1}{2}\int_1^2\frac{dt}{t} = \frac{1}{2}\big[\log t\big]_1^2 = \frac{1}{2}(\log 2 - 0) = \frac{1}{2}\log 2

Part (b)

Step 1. Let t=1+log⁡xt = 1 + \log x. Then dt=1x dx\displaystyle dt = \frac{1}{x}\,dx.

Step 2. Change the lim­its: x=1⇒t=1+0=1x = 1 \Rightarrow t = 1 + 0 = 1; x=2⇒t=1+log⁡2x = 2 \Rightarrow t = 1 + \log 2.

Step 3. Rewrite: dxx(1+log⁡x)2=dtt2\displaystyle \frac{dx}{x(1 + \log x)^2} = \frac{dt}{t^2}.

∫11+log⁡2t−2 dt=[−1t]11+log⁡2\displaystyle \int_1^{1 + \log 2}t^{-2}\,dt = \left[-\frac{1}{t}\right]_1^{1 + \log 2}

Step 4. Sub­sti­tute the lim­its.

=−11+log⁡2−(−11)=1−11+log⁡2\displaystyle = -\frac{1}{1 + \log 2} - \left(-\frac{1}{1}\right) = 1 - \frac{1}{1 + \log 2}

Step 5. This can also be writ­ten as a sin­gle frac­tion.

1−11+log⁡2=log⁡21+log⁡2\displaystyle 1 - \frac{1}{1 + \log 2} = \frac{\log 2}{1 + \log 2}

Check­ing the answer

(a) 12log⁡2≈0.347\displaystyle \tfrac{1}{2}\log 2 \approx 0.347; the inte­grand rises from 00 to 0.50.5 over [0,1][0, 1], so an area of about 0.350.35 is rea­son­able. (b) 0.6931.693≈0.409\displaystyle \frac{0.693}{1.693} \approx 0.409; the inte­grand falls from 11 to about 0.170.17 on [1,2][1, 2], so an area of about 0.40.4 fits.

Answer

(a) 12log⁡2\displaystyle \frac{1}{2}\log 2; (b) 1−11+log⁡2=log⁡21+log⁡2\displaystyle 1 - \frac{1}{1 + \log 2} = \frac{\log 2}{1 + \log 2}.

Com­mon mis­take to avoid

Sub­sti­tut­ing and then using the old xx-lim­its with the new tt-inte­gral. Change the lim­its when­ever you change the vari­able.

Ques­tion 3: A trigono­met­ric iden­tity and inte­gra­tion by parts

The prob­lem

Eval­u­ate: (a) ∫0π/2cos⁡2x dx\displaystyle \int_0^{\pi/2}\cos^2 x\,dx (b) ∫01xex dx\displaystyle \int_0^{1}xe^x\,dx

Under­stand­ing the prob­lem

(a) cos⁡2x\cos^2 x has no direct anti­deriv­a­tive in the table, so you first rewrite it. (b) is a prod­uct of xx and exe^x, which calls for inte­gra­tion by parts.

The idea

(a) Use cos⁡2x=1+cos⁡2x2\displaystyle \cos^2 x = \frac{1 + \cos 2x}{2}. (b) Use ∫u dv=uv−∫v du\displaystyle \int u\,dv = uv - \int v\,du with u=xu = x (it becomes sim­pler when dif­fer­en­ti­ated) and dv=ex dxdv = e^x\,dx.

Step-by-step solu­tion

Part (a)

Step 1. Rewrite the inte­grand.

∫0π/2cos⁡2x dx=∫0π/21+cos⁡2x2 dx\displaystyle \int_0^{\pi/2}\cos^2 x\,dx = \int_0^{\pi/2}\frac{1 + \cos 2x}{2}\,dx

Step 2. Inte­grate: ∫cos⁡2x dx=sin⁡2x2\displaystyle \int\cos 2x\,dx = \frac{\sin 2x}{2}.

=12[x+sin⁡2x2]0π/2\displaystyle = \frac{1}{2}\left[x + \frac{\sin 2x}{2}\right]_0^{\pi/2}

Step 3. Sub­sti­tute: sin⁡π=0\sin\pi = 0 and sin⁡0=0\sin 0 = 0.

=12(π2+0)−0=π4\displaystyle = \frac{1}{2}\left(\frac{\pi}{2} + 0\right) - 0 = \frac{\pi}{4}

Part (b)

Step 1. Choose u=xu = x, dv=ex dxdv = e^x\,dx; then du=dxdu = dx, v=exv = e^x.

Step 2. Apply inte­gra­tion by parts with lim­its.

∫01xex dx=[xex]01−∫01ex dx\displaystyle \int_0^1 xe^x\,dx = \big[xe^x\big]_0^1 - \int_0^1 e^x\,dx

Step 3. Eval­u­ate each piece.

[xex]01=e−0=e,∫01ex dx=e−1\displaystyle \big[xe^x\big]_0^1 = e - 0 = e, \qquad \int_0^1 e^x\,dx = e - 1

Step 4. Sub­tract.

∫01xex dx=e−(e−1)=1\displaystyle \int_0^1 xe^x\,dx = e - (e - 1) = 1

Check­ing the answer

(a) By sym­me­try, ∫0π/2cos⁡2x dx=∫0π/2sin⁡2x dx\displaystyle \int_0^{\pi/2}\cos^2 x\,dx = \int_0^{\pi/2}\sin^2 x\,dx, and their sum is ∫0π/21 dx=π2\displaystyle \int_0^{\pi/2}1\,dx = \tfrac{\pi}{2}; so each is π4\displaystyle \tfrac{\pi}{4}. (b) Dif­fer­en­ti­ate ex(x−1)e^x(x - 1): you get xexxe^x, and ex(x−1)e^x(x - 1) goes from −1-1 to 00, a change of 11.

Answer

(a) π4\displaystyle \frac{\pi}{4}; (b) 11.

Ques­tion 4: The inte­gral of an absolute value

The prob­lem

Eval­u­ate ∫−33∣x−1∣ dx\displaystyle \int_{-3}^{3}\lvert x - 1\rvert\,dx.

Under­stand­ing the prob­lem

∣x−1∣\lvert x - 1\rvert equals x−1x - 1 when x≥1x \ge 1 and 1−x1 - x when x<1x < 1. So the for­mula for the inte­grand changes at x=1x = 1, which lies inside [−3,3][-3, 3].

The idea

Split the inter­val at x=1x = 1 using prop­erty 2, ∫ab=∫ac+∫cb\displaystyle \int_a^b = \int_a^c + \int_c^b, and use the cor­rect for­mula on each piece, as in Exam­ple 5.

Step-by-step solu­tion

Step 1. Split at x=1x = 1.

∫−33∣x−1∣ dx=∫−31(1−x) dx+∫13(x−1) dx\displaystyle \int_{-3}^{3}\lvert x - 1\rvert\,dx = \int_{-3}^{1}(1 - x)\,dx + \int_{1}^{3}(x - 1)\,dx

Step 2. First piece.

∫−31(1−x) dx=[x−x22]−31=(1−12)−(−3−92)=12+152=8\displaystyle \int_{-3}^{1}(1 - x)\,dx = \left[x - \frac{x^2}{2}\right]_{-3}^{1} = \left(1 - \frac{1}{2}\right) - \left(-3 - \frac{9}{2}\right) = \frac{1}{2} + \frac{15}{2} = 8

Step 3. Sec­ond piece.

∫13(x−1) dx=[x22−x]13=(92−3)−(12−1)=32+12=2\displaystyle \int_{1}^{3}(x - 1)\,dx = \left[\frac{x^2}{2} - x\right]_{1}^{3} = \left(\frac{9}{2} - 3\right) - \left(\frac{1}{2} - 1\right) = \frac{3}{2} + \frac{1}{2} = 2

Step 4. Add.

8+2=108 + 2 = 10

Check­ing the answer

The graph of ∣x−1∣\lvert x - 1\rvert on [−3,3][-3, 3] is two tri­an­gles with their cor­ner at x=1x = 1: the left one has base 44 and height 44 (area 88), the right one base 22 and height 22 (area 22). Total 1010.

Answer

∫−33∣x−1∣ dx=10\displaystyle \int_{-3}^{3}\lvert x - 1\rvert\,dx = 10.

Ques­tion 5: Using odd and even func­tions

The prob­lem

Eval­u­ate: (a) ∫−π/2π/2sin⁡7x dx\displaystyle \int_{-\pi/2}^{\pi/2}\sin^7 x\,dx (b) ∫−11(x2+x3) dx\displaystyle \int_{-1}^{1}(x^2 + x^3)\,dx

Under­stand­ing the prob­lem

Both inter­vals are sym­met­ric about 00, of the form [−a,a][-a, a]. That is the sig­nal to use prop­erty 5.

The idea

Prop­erty 5: over [−a,a][-a, a], an odd func­tion (f(−x)=−f(x)f(-x) = -f(x)) inte­grates to 00, and an even func­tion (f(−x)=f(x)f(-x) = f(x)) gives 2∫0af\displaystyle 2\int_0^a f.

Step-by-step solu­tion

Part (a)

Step 1. Test for odd or even: sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x, so sin⁡7(−x)=(−sin⁡x)7=−sin⁡7x\sin^7(-x) = (-\sin x)^7 = -\sin^7 x. The inte­grand is odd.

Step 2. By prop­erty 5, the inte­gral is 00.

∫−π/2π/2sin⁡7x dx=0\displaystyle \int_{-\pi/2}^{\pi/2}\sin^7 x\,dx = 0

Part (b)

Step 1. Split into two inte­grals: x2x^2 is even, x3x^3 is odd.

∫−11(x2+x3) dx=∫−11x2 dx+∫−11x3 dx\displaystyle \int_{-1}^{1}(x^2 + x^3)\,dx = \int_{-1}^{1}x^2\,dx + \int_{-1}^{1}x^3\,dx

Step 2. The odd part gives 00; the even part gives twice the inte­gral from 00 to 11.

=2∫01x2 dx+0=2[x33]01=23\displaystyle = 2\int_0^1 x^2\,dx + 0 = 2\left[\frac{x^3}{3}\right]_0^1 = \frac{2}{3}

Check­ing the answer

(b) directly: [x33+x44]−11=(13+14)−(−13+14)=23\displaystyle \left[\tfrac{x^3}{3} + \tfrac{x^4}{4}\right]_{-1}^{1} = \left(\tfrac{1}{3} + \tfrac{1}{4}\right) - \left(-\tfrac{1}{3} + \tfrac{1}{4}\right) = \tfrac{2}{3}.

Answer

(a) 00; (b) 23\displaystyle \frac{2}{3}.

Ques­tion 6: The "replace xx by π2−x\displaystyle \tfrac{\pi}{2} - x and add" method

The prob­lem

Eval­u­ate ∫0π/2sin⁡xsin⁡x+cos⁡x dx\displaystyle \int_0^{\pi/2}\frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx.

Under­stand­ing the prob­lem

There is no easy anti­deriv­a­tive. But the inte­grand has a nice sym­me­try: replac­ing xx by π2−x\displaystyle \tfrac{\pi}{2} - x swaps sin⁡x\sin x and cos⁡x\cos x.

The idea

Use prop­erty 4, ∫0af(x) dx=∫0af(a−x) dx\displaystyle \int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx, with a=π2\displaystyle a = \tfrac{\pi}{2}, exactly as in Exam­ple 7. Adding the orig­i­nal and the new form gives an inte­grand equal to 11.

Step-by-step solu­tion

Step 1. Call the inte­gral II.

I=∫0π/2sin⁡xsin⁡x+cos⁡x dx\displaystyle I = \int_0^{\pi/2}\frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx

Step 2. Replace xx by π2−x\displaystyle \tfrac{\pi}{2} - x. Since sin⁡(π2−x)=cos⁡x\displaystyle \sin\left(\tfrac{\pi}{2} - x\right) = \cos x and cos⁡(π2−x)=sin⁡x\displaystyle \cos\left(\tfrac{\pi}{2} - x\right) = \sin x:

I=∫0π/2cos⁡xcos⁡x+sin⁡x dx\displaystyle I = \int_0^{\pi/2}\frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}}\,dx

Step 3. Add the two forms of II. The denom­i­na­tors are the same, so the numer­a­tors add.

2I=∫0π/2sin⁡x+cos⁡xsin⁡x+cos⁡x dx=∫0π/21 dx=π2\displaystyle 2I = \int_0^{\pi/2}\frac{\sqrt{\sin x} + \sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx = \int_0^{\pi/2}1\,dx = \frac{\pi}{2}

Step 4. Divide by 22.

I=π4\displaystyle I = \frac{\pi}{4}

Check­ing the answer

The inte­grand rises from 00 at x=0x = 0 to 11 at x=π2\displaystyle x = \tfrac{\pi}{2}, and equals 12\displaystyle \tfrac{1}{2} at the mid­point. So the area should be about half the inter­val length, 12⋅π2=π4\displaystyle \tfrac{1}{2}\cdot\tfrac{\pi}{2} = \tfrac{\pi}{4}. It is.

Answer

I=π4\displaystyle I = \frac{\pi}{4}.

Ques­tion 7: The same method with gen­eral lim­its

The prob­lem

Eval­u­ate ∫2810−xx+10−x dx\displaystyle \int_2^8\frac{\sqrt{10 - x}}{\sqrt{x} + \sqrt{10 - x}}\,dx.

Under­stand­ing the prob­lem

The lim­its are 22 and 88, so a+b=10a + b = 10. Replac­ing xx by 10−x10 - x swaps x\sqrt{x} and 10−x\sqrt{10 - x}.

The idea

Use prop­erty 3, ∫abf(x) dx=∫abf(a+b−x) dx\displaystyle \int_a^b f(x)\,dx = \int_a^b f(a + b - x)\,dx, then add the two forms.

Step-by-step solu­tion

Step 1. Call the inte­gral II.

I=∫2810−xx+10−x dx\displaystyle I = \int_2^8\frac{\sqrt{10 - x}}{\sqrt{x} + \sqrt{10 - x}}\,dx

Step 2. Replace xx by 2+8−x=10−x2 + 8 - x = 10 - x. Then 10−x\sqrt{10 - x} becomes x\sqrt{x} and x\sqrt{x} becomes 10−x\sqrt{10 - x}.

I=∫28x10−x+x dx\displaystyle I = \int_2^8\frac{\sqrt{x}}{\sqrt{10 - x} + \sqrt{x}}\,dx

Step 3. Add the two forms.

2I=∫2810−x+xx+10−x dx=∫281 dx=8−2=6\displaystyle 2I = \int_2^8\frac{\sqrt{10 - x} + \sqrt{x}}{\sqrt{x} + \sqrt{10 - x}}\,dx = \int_2^8 1\,dx = 8 - 2 = 6

Step 4. Divide by 22.

I=3I = 3

Check­ing the answer

At the mid­point x=5x = 5 the inte­grand is 12\displaystyle \tfrac{1}{2}, and it is sym­met­ric about that value; so the answer is half the length of the inter­val: 12×6=3\displaystyle \tfrac{1}{2} \times 6 = 3.

Answer

I=3I = 3.

Ques­tion 8: The inte­gral of log⁡(sin⁡x)\log(\sin x)

The prob­lem

Eval­u­ate ∫0π/2log⁡(sin⁡x) dx\displaystyle \int_0^{\pi/2}\log(\sin x)\,dx. The answer is −π2log⁡2\displaystyle -\frac{\pi}{2}\log 2; show the key step 2I=∫0π/2log⁡sin⁡2x2 dx\displaystyle 2I = \int_0^{\pi/2}\log\frac{\sin 2x}{2}\,dx.

Under­stand­ing the prob­lem

This inte­gral has no ele­men­tary anti­deriv­a­tive, so it must be found by prop­er­ties. You must show how the key step arises and how it leads to the answer. (The inte­grand becomes very neg­a­tive near x=0x = 0, but the inte­gral still has a finite value.)

The idea

Use prop­erty 4 to get a cos⁡\cos ver­sion, add the two ver­sions and use sin⁡xcos⁡x=sin⁡2x2\displaystyle \sin x\cos x = \frac{\sin 2x}{2}. Then show that ∫0π/2log⁡(sin⁡2x) dx\displaystyle \int_0^{\pi/2}\log(\sin 2x)\,dx is again equal to II, using a sub­sti­tu­tion and prop­erty 6.

Step-by-step solu­tion

Step 1. Let I=∫0π/2log⁡(sin⁡x) dx\displaystyle I = \int_0^{\pi/2}\log(\sin x)\,dx. By prop­erty 4 (replace xx by π2−x\displaystyle \tfrac{\pi}{2} - x):

I=∫0π/2log⁡(cos⁡x) dx\displaystyle I = \int_0^{\pi/2}\log(\cos x)\,dx

Step 2. Add the two forms and use log⁡A+log⁡B=log⁡(AB)\log A + \log B = \log(AB).

2I=∫0π/2log⁡(sin⁡xcos⁡x) dx\displaystyle 2I = \int_0^{\pi/2}\log(\sin x\cos x)\,dx

Step 3. Use sin⁡xcos⁡x=sin⁡2x2\displaystyle \sin x\cos x = \frac{\sin 2x}{2}. This is the key step asked for.

2I=∫0π/2log⁡sin⁡2x2 dx\displaystyle 2I = \int_0^{\pi/2}\log\frac{\sin 2x}{2}\,dx

Step 4. Split the log­a­rithm: log⁡sin⁡2x2=log⁡(sin⁡2x)−log⁡2\displaystyle \log\frac{\sin 2x}{2} = \log(\sin 2x) - \log 2.

2I=∫0π/2log⁡(sin⁡2x) dx−π2log⁡2\displaystyle 2I = \int_0^{\pi/2}\log(\sin 2x)\,dx - \frac{\pi}{2}\log 2

Step 5. Work out J=∫0π/2log⁡(sin⁡2x) dx\displaystyle J = \int_0^{\pi/2}\log(\sin 2x)\,dx. Sub­sti­tute t=2xt = 2x, so dx=dt2\displaystyle dx = \frac{dt}{2}; the lim­its become 00 and π\pi.

J=12∫0πlog⁡(sin⁡t) dt\displaystyle J = \frac{1}{2}\int_0^{\pi}\log(\sin t)\,dt

Step 6. Since sin⁡(π−t)=sin⁡t\sin(\pi - t) = \sin t, prop­erty 6 (with 2a=π2a = \pi) gives ∫0πlog⁡(sin⁡t) dt=2∫0π/2log⁡(sin⁡t) dt=2I\displaystyle \int_0^{\pi}\log(\sin t)\,dt = 2\int_0^{\pi/2}\log(\sin t)\,dt = 2I. So

J=12⋅2I=I\displaystyle J = \frac{1}{2}\cdot 2I = I

Step 7. Put this into Step 4 and solve for II.

2I=I−π2log⁡2⟹I=−π2log⁡2\displaystyle 2I = I - \frac{\pi}{2}\log 2 \quad\Longrightarrow\quad I = -\frac{\pi}{2}\log 2

Check­ing the answer

−π2log⁡2≈−1.089\displaystyle -\tfrac{\pi}{2}\log 2 \approx -1.089. The answer must be neg­a­tive, since sin⁡x<1\sin x < 1 makes log⁡(sin⁡x)<0\log(\sin x) < 0 on (0,π2)\displaystyle \left(0, \tfrac{\pi}{2}\right). A numer­i­cal inte­gra­tion also gives about −1.089-1.089.

Answer

∫0π/2log⁡(sin⁡x) dx=−π2log⁡2\displaystyle \int_0^{\pi/2}\log(\sin x)\,dx = -\frac{\pi}{2}\log 2.

Ques­tion 9: A stan­dard form with a square root

The prob­lem

Eval­u­ate ∫04dxx2+9\displaystyle \int_0^4\frac{dx}{\sqrt{x^2 + 9}}.

Under­stand­ing the prob­lem

The inte­grand has the form 1x2+a2\displaystyle \frac{1}{\sqrt{x^2 + a^2}} with a=3a = 3. This is one of the stan­dard inte­grals from the chap­ter.

The idea

Use ∫dxx2+a2=log⁡∣x+x2+a2∣+C\displaystyle \int\frac{dx}{\sqrt{x^2 + a^2}} = \log\left\lvert x + \sqrt{x^2 + a^2}\right\rvert + C, then sub­sti­tute the lim­its.

Step-by-step solu­tion

Step 1. Write the anti­deriv­a­tive with a=3a = 3.

∫04dxx2+9=[log⁡∣x+x2+9∣]04\displaystyle \int_0^4\frac{dx}{\sqrt{x^2 + 9}} = \Big[\log\left\lvert x + \sqrt{x^2 + 9}\right\rvert\Big]_0^4

Step 2. Upper limit: 4+16+9=4+5=94 + \sqrt{16 + 9} = 4 + 5 = 9. Lower limit: 0+9=30 + \sqrt{9} = 3.

=log⁡9−log⁡3= \log 9 - \log 3

Step 3. Com­bine with log⁡A−log⁡B=log⁡AB\displaystyle \log A - \log B = \log\frac{A}{B}.

=log⁡93=log⁡3\displaystyle = \log\frac{9}{3} = \log 3

Check­ing the answer

log⁡3≈1.099\log 3 \approx 1.099. The inte­grand falls from 13\displaystyle \tfrac{1}{3} to 15\displaystyle \tfrac{1}{5} over an inter­val of length 44, so the area is between 0.80.8 and 1.331.33. It is.

Answer

log⁡3\log 3.

Ques­tion 10: Par­tial frac­tions in a def­i­nite inte­gral

The prob­lem

Eval­u­ate ∫13dxx(x+1)\displaystyle \int_1^3\frac{dx}{x(x + 1)}.

Under­stand­ing the prob­lem

The inte­grand is a ratio­nal func­tion whose denom­i­na­tor fac­torises into two lin­ear fac­tors. Split it into sim­pler frac­tions first.

The idea

Write 1x(x+1)=1x−1x+1\displaystyle \frac{1}{x(x + 1)} = \frac{1}{x} - \frac{1}{x + 1} (par­tial frac­tions), inte­grate each to a log­a­rithm, then use the lim­its.

Step-by-step solu­tion

Step 1. Par­tial frac­tions: 1x(x+1)=Ax+Bx+1\displaystyle \frac{1}{x(x + 1)} = \frac{A}{x} + \frac{B}{x + 1} gives 1=A(x+1)+Bx1 = A(x + 1) + Bx. Putting x=0x = 0: A=1A = 1. Putting x=−1x = -1: B=−1B = -1.

1x(x+1)=1x−1x+1\displaystyle \frac{1}{x(x + 1)} = \frac{1}{x} - \frac{1}{x + 1}

Step 2. Inte­grate (on [1,3][1, 3] every­thing is pos­i­tive).

∫13(1x−1x+1)dx=[log⁡x−log⁡(x+1)]13=[log⁡xx+1]13\displaystyle \int_1^3\left(\frac{1}{x} - \frac{1}{x + 1}\right)dx = \big[\log x - \log(x + 1)\big]_1^3 = \left[\log\frac{x}{x + 1}\right]_1^3

Step 3. Sub­sti­tute the lim­its.

=log⁡34−log⁡12\displaystyle = \log\frac{3}{4} - \log\frac{1}{2}

Step 4. Com­bine: 3/41/2=32\displaystyle \frac{3/4}{1/2} = \frac{3}{2}.

=log⁡32\displaystyle = \log\frac{3}{2}

Check­ing the answer

log⁡1.5≈0.405\log 1.5 \approx 0.405. The inte­grand falls from 0.50.5 at x=1x = 1 to 112≈0.083\displaystyle \tfrac{1}{12} \approx 0.083 at x=3x = 3; an area of about 0.40.4 over length 22 is rea­son­able.

Answer

log⁡32\displaystyle \log\frac{3}{2}.

Ques­tion 11: Inte­gra­tion by parts with an inverse func­tion

The prob­lem

Eval­u­ate ∫01tan⁡−1x dx\displaystyle \int_0^1\tan^{-1}x\,dx.

Under­stand­ing the prob­lem

We know how to dif­fer­en­ti­ate tan⁡−1x\tan^{-1}x but it is not in the table of inte­grals. The trick is to treat it as a prod­uct tan⁡−1x×1\tan^{-1}x \times 1.

The idea

Inte­grate by parts with u=tan⁡−1xu = \tan^{-1}x (its deriv­a­tive 11+x2\displaystyle \frac{1}{1 + x^2} is sim­pler) and dv=dxdv = dx (so v=xv = x). The remain­ing inte­gral is then a sub­sti­tu­tion of the type in Ques­tion 2(a).

Step-by-step solu­tion

Step 1. u=tan⁡−1xu = \tan^{-1}x, du=dx1+x2\displaystyle du = \frac{dx}{1 + x^2}; dv=dxdv = dx, v=xv = x.

∫01tan⁡−1x dx=[xtan⁡−1x]01−∫01x1+x2 dx\displaystyle \int_0^1\tan^{-1}x\,dx = \big[x\tan^{-1}x\big]_0^1 - \int_0^1\frac{x}{1 + x^2}\,dx

Step 2. First term: 1⋅tan⁡−11−0=π4\displaystyle 1\cdot\tan^{-1}1 - 0 = \frac{\pi}{4}.

Step 3. Sec­ond term: this is Ques­tion 2(a), equal to 12log⁡2\displaystyle \frac{1}{2}\log 2.

Step 4. Sub­tract.

∫01tan⁡−1x dx=π4−12log⁡2\displaystyle \int_0^1\tan^{-1}x\,dx = \frac{\pi}{4} - \frac{1}{2}\log 2

Check­ing the answer

π4−12log⁡2≈0.785−0.347=0.439\displaystyle \tfrac{\pi}{4} - \tfrac{1}{2}\log 2 \approx 0.785 - 0.347 = 0.439. The inte­grand rises from 00 to π4≈0.785\displaystyle \tfrac{\pi}{4} \approx 0.785 and bends down­ward, so the area should be a bit more than the tri­an­gle 12(0.785)≈0.39\displaystyle \tfrac{1}{2}(0.785) \approx 0.39. It is.

Answer

π4−12log⁡2\displaystyle \frac{\pi}{4} - \frac{1}{2}\log 2.

Ques­tion 12: The great­est inte­ger func­tion

The prob­lem

Eval­u­ate ∫02[x] dx\displaystyle \int_0^{2}[x]\,dx, where [x][x] is the great­est inte­ger less than or equal to xx.

Under­stand­ing the prob­lem

[x][x] is a step func­tion: [x]=0[x] = 0 for 0≤x<10 \le x < 1, and [x]=1[x] = 1 for 1≤x<21 \le x < 2. Its value jumps at x=1x = 1, so split there.

The idea

Use prop­erty 2 to split [0,2][0, 2] at 11, and replace [x][x] by its con­stant value on each piece. (A sin­gle point, such as x=2x = 2 where [x]=2[x] = 2, does not affect the inte­gral.)

Step-by-step solu­tion

Step 1. Split at x=1x = 1.

∫02[x] dx=∫01[x] dx+∫12[x] dx\displaystyle \int_0^2[x]\,dx = \int_0^1[x]\,dx + \int_1^2[x]\,dx

Step 2. On [0,1)[0, 1), [x]=0[x] = 0.

∫010 dx=0\displaystyle \int_0^1 0\,dx = 0

Step 3. On [1,2)[1, 2), [x]=1[x] = 1.

∫121 dx=2−1=1\displaystyle \int_1^2 1\,dx = 2 - 1 = 1

Step 4. Add.

0+1=10 + 1 = 1

Check­ing the answer

The graph of [x][x] on [0,2][0, 2] is a flat line at height 00 and then a flat line at height 11 of width 11: one unit square of area 11.

Answer

∫02[x] dx=1\displaystyle \int_0^2[x]\,dx = 1.