BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Problem Set 7: the volume of a torus, powers of the tangent and the integral of the secant

Five problems on the techniques of integration. You find the voltage that a meter shows for house current, the volume of a ring-shaped solid by shells and a trigonometric substitution, a reduction formula for the powers of the tangent, the integral of the secant by partial fractions, and a volume that needs integration by parts.

You need this first

Full reading path (22 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Definite integrals and Riemann sums (18.01)
  15. The first fundamental theorem of calculus (18.01)
  16. The second fundamental theorem of calculus (18.01)
  17. The logarithm from an integral, and areas between curves (18.01)
  18. Volumes by disks and shells (18.01)
  19. Trigonometric integrals and substitution (18.01)
  20. Inverse substitution and completing the square (18.01)
  21. Partial fractions (18.01)
  22. Integration by parts and reduction formulas (18.01)
On this page · 7 sections
  1. How to answer
  2. Problem 1
  3. Problem 2
  4. Problem 3
  5. Problem 4
  6. Problem 5
  7. More practice: MIT's own solved exercises

This set practises four lessons on techniques of integration: trigonometric integrals, inverse substitution, partial fractions and integration by parts. Two of its problems are volumes, so it also leans on volumes by disks and shells. It follows MIT's Problem Set 7, in our own words.

MIT's set has two parts. Part II holds MIT's longer problems, for which MIT publishes no solutions. Its five problems are written out below, with hints and solutions of our own (19 points). Part I is a list of short exercises from MIT's course reader, which MIT has solved itself. Those are not rewritten here: the last section of this page lists them and links to MIT's exercises and solutions.

One item of MIT's Part II is left out: Problem 0 (3 points) asks students to name the people they worked with, which is course administration. With it, MIT's Part II is worth 22 points. Problem 1 is the problem about house current of Problem Set 6 (Problem 2 there): MIT set it again here (the sheet says "from PS6"); the lecture on trigonometric integrals, first planned before Problem Set 6 was due, was moved to after it. If you solved it there, try it again without looking.

MIT's sheet numbers the lectures as in its Fall 2006 calendar. This site follows the lecture list of OpenCourseWare, in which these lectures are one number higher: the sheet's "Lec 27" (inverse substitution) is Lecture 28 here, its "Lec 28" (partial fractions) is Lecture 29, and its "Lec 29" (integration by parts) is Lecture 30. Its "Lecture 25" (trigonometric integrals), which appears only in the table at the end, is Lecture 27 here.

How to answer#

Work each problem on paper first. Then type your result in the answer box and press Check. A formula box takes plain typing, for example C/sqrt(2) or 2*pi^2*a^2*b, and accepts every correct way of writing the answer. Type pi for π\pi, tan(x)^3 for tan⁡3x\tan^3 x, ln(...) or log(...) for the natural logarithm and 1/cos(x) for sec⁡x\sec x (the box does not know the name sec). The answer of Problems 3(b) and 4(a) is an antiderivative, which is fixed only up to a constant. So that the box can check it, give the antiderivative that is zero at x=0x = 0: that condition is ours. A number box wants a decimal number, and its question says how exact your value must be. Unless a box asks for more digits, give 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. The points per problem are MIT's, and so are the splits of Problems 3 and 4. If you are stuck, open the hints one at a time. Each problem or part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Parts that ask you to show something have no answer box: compare your work with the solution and mark it yourself. Your score is kept in this browser only.

Problem 1#

Problem

The voltage a meter shows

4 points

The voltage of the electricity supply in a house swings back and forth. MIT models it by

Voltage of house current
V(t)=C sin⁡(120πt)V(t) = C\,\sin(120\pi t)
In words

capital V (t) equals capital C sine (120 pi t)

Source: MIT 18.01 Problem Set 7, Part II, Problem 1, p. 1

Here tt is the time in seconds and CC is a constant, the amplitude: the peak voltage is ±C\pm C. A period (or cycle) is the time after which V(t)V(t) repeats itself.

Take the average value of V2V^2 over one period, and then the square root of that average. The result is called the root-mean-square voltage, RMS for short. It is the voltage that a meter on the house shows. (V2V^2 is in square volts. The square root after averaging brings the result back to volts.)

Find the RMS voltage in terms of CC.

Hint

First find the period. The sine repeats when its angle has grown by 2π2\pi: how much time does that take here?

Hint

The average of a function over an interval is its integral divided by the length of the interval. Apply that to V2V^2 over one period.

Hint

The square of a sine is an even power, so use the lesson's half-angle formula for sin⁡2θ\sin^2\theta to remove the square before you integrate.

Solution

The idea. Average V2V^2 over one period: integrate it and divide by the length of the period. The integrand is an even power of a sine, which the half-angle formula turns into a constant and a cosine.

The period

The sine repeats when its angle 120πt120\pi t grows by 2π2\pi. That takes a time 2π/(120π)=1/602\pi/(120\pi) = 1/60 second, so one period runs from t=0t = 0 to t=1/60t = 1/60.

Remove the square

The lesson's half-angle formula is

Half-angle formula for the sine
sin⁡2θ=1−cos⁡2θ2\sin^2\theta = \frac{1 - \cos 2\theta}{2}
In words

sine squared theta equals the quantity 1 minus cos 2 theta, all over 2

With θ=120πt\theta = 120\pi t the squared voltage becomes

The squared voltage without a square
V2=C2sin⁡2(120πt)=C22(1−cos⁡(240πt))V^2 = C^2\sin^2(120\pi t) = \frac{C^2}{2}\left(1 - \cos(240\pi t)\right)
In words

capital V squared equals capital C squared sine squared (120 pi t) equals capital C squared over 2, times the quantity 1 minus cos (240 pi t)

Source: MIT 18.01 Problem Set 7, Part II, Problem 1 (our own solution)

Average over one period

Dividing by the length 1/601/60 of the period is multiplying by 60:

Average of the squared voltage
average of V2=60∫01/60C22(1−cos⁡(240πt))dt=30 C2[t−sin⁡(240πt)240π]01/60=30 C2⋅160=C22\text{average of } V^2 = 60\int_0^{1/60} \frac{C^2}{2}\left(1 - \cos(240\pi t)\right)dt = 30\,C^2\left[t - \frac{\sin(240\pi t)}{240\pi}\right]_0^{1/60} = 30\,C^2 \cdot \frac{1}{60} = \frac{C^2}{2}
In words

average of capital V squared equals 60 the integral over 0 of to the power 1 over 60, end of power, capital C squared over 2, times the quantity 1 minus cos (240 pi t), d t equals 30 capital C squared the quantity t minus sine (240 pi t) over the quantity 240 pi, sub 0 to the power 1 over 60 equals 30 capital C squared times 1 over 60 equals capital C squared over 2

Source: MIT 18.01 Problem Set 7, Part II, Problem 1 (our own solution)

The sine term is zero at both ends, because 240π/60=4π240\pi/60 = 4\pi: the cosine goes through two full cycles and averages to nothing.

Take the square root

Root-mean-square voltage
Vrms=C22=C2≈0.7071 CV_{\text{rms}} = \sqrt{\frac{C^2}{2}} = \frac{C}{\sqrt2} \approx 0.7071\,C
In words

capital V r m s equals the square root of capital C squared over 2, end of root, equals capital C over the square root of 2 is approximately 0.7071 capital C

Source: MIT 18.01 Problem Set 7, Part II, Problem 1 (our own solution)

(The name VrmsV_{\text{rms}} is ours.)

Check the result

CC is in volts, and so is C/2C/\sqrt2. The result lies between 00 and the peak CC, as an average of this kind must. As an example with our own number: a peak voltage of C=170C = 170 volts gives a meter reading of 170/2=120.2170/\sqrt2 = 120.2 volts.

After: MIT 18.01 Problem Set 7, Part II, Problem 1

Problem 2#

Problem

The volume of a torus

4 points

A disk of radius aa has its centre on the xx-axis, at a distance bb from the origin:

The disk that is rotated
(x−b)2+y2≤a2(x - b)^2 + y^2 \le a^2
In words

the quantity x minus b, all squared plus y squared is less than or equal to a squared

Source: MIT 18.01 Problem Set 7, Part II, Problem 2, p. 1

Rotating this disk around the yy-axis sweeps out a solid ring, the shape of a doughnut. It is called a solid torus. Take b≥ab \ge a, so that the disk does not reach across the axis (that condition is our addition).

Find the volume VV of the torus by the method of shells, in terms of aa and bb.

MIT's hint is to substitute for x−bx - b. MIT also remarks on the result: it happens to equal the area of the disk times the distance that the centre of the disk travels in one turn. Use that only as a check afterwards. (MIT's sheet points to a page of the course textbook for this remark. That book is not used on this site.)

Hint

A shell at distance xx from the axis has circumference 2πx2\pi x and thickness dxdx. Its height is the length of the vertical line through the disk at that xx: the disk reaches below the xx-axis as far as above it.

Hint

Put u=x−bu = x - b. The limits become symmetric about zero, and the integrand splits into two terms. One of them is an odd function of uu.

Hint

What remains is the integral of a2−u2\sqrt{a^2 - u^2}. The lesson on inverse substitution removes that root with u=asin⁡θu = a\sin\theta. Or read the integral as an area.

Solution

The idea. Cut the torus into thin cylindrical shells around the yy-axis. Shifting the variable to the centre of the disk makes the integral symmetric, and what is left is the area of half a disk.

One shell

The lesson on volumes builds a shell from its height, its circumference 2πx2\pi x and its thickness dxdx:

Volume of a thin shell
dV=(height) (2πx) dxdV = (\text{height})\,(2\pi x)\,dx
In words

d capital V equals ( height ) (2 pi x) d x

The vertical line at xx cuts the disk between y=−a2−(x−b)2y = -\sqrt{a^2 - (x - b)^2} and y=+a2−(x−b)2y = +\sqrt{a^2 - (x - b)^2}, so the height is twice the root. The disk covers the values of xx from b−ab - a to b+ab + a:

The torus by shells
V=∫b−ab+a2πx⋅2a2−(x−b)2 dxV = \int_{b-a}^{b+a} 2\pi x \cdot 2\sqrt{a^2 - (x - b)^2}\,dx
In words

capital V equals the integral over b minus a of to the power b plus a, end of power, 2 pi x times 2 the square root of a squared minus the quantity x minus b, all squared, end of root, d x

Source: MIT 18.01 Problem Set 7, Part II, Problem 2 (our own solution)

Shift to the centre of the disk

Put u=x−bu = x - b, so x=u+bx = u + b and dx=dudx = du. The limits become −a-a and aa:

After the shift
V=4π∫−aa(u+b)a2−u2 du=4π∫−aaua2−u2 du+4πb∫−aaa2−u2 duV = 4\pi\int_{-a}^{a} (u + b)\sqrt{a^2 - u^2}\,du = 4\pi\int_{-a}^{a} u\sqrt{a^2 - u^2}\,du + 4\pi b\int_{-a}^{a} \sqrt{a^2 - u^2}\,du
In words

capital V equals 4 pi the integral from minus a to a of the quantity u plus b, the square root of a squared minus u squared, end of root, d u equals 4 pi the integral from minus a to a of u the square root of a squared minus u squared, end of root, d u plus 4 pi b the integral from minus a to a of the square root of a squared minus u squared, end of root, d u

Source: MIT 18.01 Problem Set 7, Part II, Problem 2 (our own solution)

The first integrand, ua2−u2u\sqrt{a^2 - u^2}, is an odd function of uu: its values at uu and −u-u are opposite. Over an interval that is symmetric about zero it integrates to zero.

The remaining integral

Use the trigonometric substitution of the lesson, u=asin⁡θu = a\sin\theta with du=acos⁡θ dθdu = a\cos\theta\,d\theta, which turns the root into acos⁡θa\cos\theta (Lecture 28 notes, p. 1). As uu runs from −a-a to aa, θ\theta runs from −π/2-\pi/2 to π/2\pi/2, where cos⁡θ≥0\cos\theta \ge 0:

The area of half a disk
∫−aaa2−u2 du=a2∫−π/2π/2cos⁡2θ dθ=a2[θ2+sin⁡2θ4]−π/2π/2=πa22\int_{-a}^{a} \sqrt{a^2 - u^2}\,du = a^2\int_{-\pi/2}^{\pi/2} \cos^2\theta\,d\theta = a^2\left[\frac{\theta}{2} + \frac{\sin 2\theta}{4}\right]_{-\pi/2}^{\pi/2} = \frac{\pi a^2}{2}
In words

the integral from minus a to a of the square root of a squared minus u squared, end of root, d u equals a squared the integral over minus pi over 2 of to the power pi over 2, end of power, cos squared theta d theta equals a squared the quantity theta over 2 plus sine 2 theta over 4, sub minus pi over 2 to the power pi over 2, end of power, equals pi a squared over 2

Source: MIT 18.01 Problem Set 7, Part II, Problem 2 (our own solution)

This is the area under the upper half of a circle of radius aa, so πa2/2\pi a^2/2 was to be expected.

The volume

Volume of the torus
V=4πb⋅πa22=2π2a2bV = 4\pi b \cdot \frac{\pi a^2}{2} = 2\pi^2 a^2 b
In words

capital V equals 4 pi b times pi a squared over 2 equals 2 pi squared a squared b

Source: MIT 18.01 Problem Set 7, Part II, Problem 2 (our own solution)

Check the result

The area of the disk is πa2\pi a^2, and in one turn its centre travels along a circle of radius bb, a distance 2πb2\pi b. Their product is (πa2)(2πb)=2π2a2b(\pi a^2)(2\pi b) = 2\pi^2a^2b, as MIT's remark says. The units fit: a2ba^2 b is a length cubed. A second route gives the same (our own check): cut the torus into flat rings at height yy, with outer radius b+a2−y2b + \sqrt{a^2 - y^2} and inner radius b−a2−y2b - \sqrt{a^2 - y^2}. The area of a ring is π\pi times the difference of the squares of the radii, 4πba2−y24\pi b\sqrt{a^2 - y^2}, and integrating that from y=−ay = -a to aa gives 4πb⋅πa2/24\pi b \cdot \pi a^2/2 again. With our own numbers a=1a = 1 and b=3b = 3 the volume is 6π2=59.226\pi^2 = 59.22.

After: MIT 18.01 Problem Set 7, Part II, Problem 2

Problem 3#

Problem

A reduction formula for powers of the tangent

4 points

A reduction formula expresses an integral that contains a power in terms of the same integral with a lower power. The lesson on integration by parts has two of them. This one needs only a trigonometric identity and a substitution.

(a)2 points

Let nn be a whole number, n≥0n \ge 0. Use the identity tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1 to show that

Reduction formula for the tangent
∫tan⁡n+2x dx=1n+1tan⁡n+1x−∫tan⁡nx dx\int \tan^{n+2}x\,dx = \frac{1}{n+1}\tan^{n+1}x - \int \tan^n x\,dx
In words

the integral of tan to the power n plus 2, end of power, x d x equals 1 over the quantity n plus 1, times tan to the power n plus 1, end of power, x minus the integral of tan to the power n x d x

Source: MIT 18.01 Problem Set 7, Part II, Problem 3(a), p. 1
Hint

Split off two of the n+2n + 2 factors: tan⁡n+2x=tan⁡nx⋅tan⁡2x\tan^{n+2}x = \tan^n x \cdot \tan^2 x. Use the identity on the tan⁡2x\tan^2 x only.

Hint

One of the two integrals you get contains sec⁡2x dx\sec^2 x\,dx. Of which function is sec⁡2x\sec^2 x the derivative?

Solution

The idea. Trade two factors of the tangent for sec⁡2x−1\sec^2 x - 1. The piece with sec⁡2x\sec^2 x can be integrated by substitution, because sec⁡2x\sec^2 x is the derivative of tan⁡x\tan x. The other piece is the integral with the lower power.

Use the identity on two factors

Splitting the power
∫tan⁡n+2x dx=∫tan⁡nx(sec⁡2x−1)dx=∫tan⁡nx sec⁡2x dx−∫tan⁡nx dx\int \tan^{n+2}x\,dx = \int \tan^n x\left(\sec^2 x - 1\right)dx = \int \tan^n x\,\sec^2 x\,dx - \int \tan^n x\,dx
In words

the integral of tan to the power n plus 2, end of power, x d x equals the integral of tan to the power n x the quantity secant squared x minus 1, d x equals the integral of tan to the power n x secant squared x d x minus the integral of tan to the power n x d x

Source: MIT 18.01 Problem Set 7, Part II, Problem 3(a) (our own solution)

The identity is the lesson's sec⁡2x=1+tan⁡2x\sec^2 x = 1 + \tan^2 x (Lecture 26 notes, p. 2), with the 11 moved to the other side.

Substitute in the first integral

Put u=tan⁡xu = \tan x, so du=sec⁡2x dxdu = \sec^2 x\,dx:

The integral with the squared secant
∫tan⁡nx sec⁡2x dx=∫un du=un+1n+1+c=tan⁡n+1xn+1+c\int \tan^n x\,\sec^2 x\,dx = \int u^n\,du = \frac{u^{n+1}}{n+1} + c = \frac{\tan^{n+1}x}{n+1} + c
In words

the integral of tan to the power n x secant squared x d x equals the integral of u to the power n d u equals u to the power n plus 1, end of power, over the quantity n plus 1, plus c equals tan to the power n plus 1, end of power, x over the quantity n plus 1, plus c

Source: MIT 18.01 Problem Set 7, Part II, Problem 3(a) (our own solution)

The power rule needs n+1≠0n + 1 \ne 0, which holds because n≥0n \ge 0. Putting this into the first step gives the formula. (The constant cc is not written in the formula: it is taken up in the integral that remains.)

Check the result

Differentiate both sides. On the left the derivative is tan⁡n+2x\tan^{n+2}x. On the right the chain rule gives tan⁡nx sec⁡2x−tan⁡nx=tan⁡nx (sec⁡2x−1)=tan⁡n+2x\tan^n x\,\sec^2 x - \tan^n x = \tan^n x\,(\sec^2 x - 1) = \tan^{n+2}x. For n=0n = 0 the formula says ∫tan⁡2x dx=tan⁡x−x+c\int \tan^2 x\,dx = \tan x - x + c, and indeed the derivative of tan⁡x−x\tan x - x is sec⁡2x−1=tan⁡2x\sec^2 x - 1 = \tan^2 x.

(b)2 points

Use the formula of part (a) to find ∫tan⁡4x dx\int \tan^4 x\,dx. In the box, give the antiderivative that is zero at x=0x = 0.

Hint

Which nn puts tan⁡4x\tan^4 x on the left of the formula? What integral is then left on the right?

Hint

Use the formula once more on the integral that is left, until the power of the tangent is zero.

Solution

The idea. Use the formula twice: with n=2n = 2 to go from the fourth power to the second, and with n=0n = 0 to go from the second power to the integral of 11.

From the fourth power to the second

With n=2n = 2:

The formula with n=2n = 2
∫tan⁡4x dx=13tan⁡3x−∫tan⁡2x dx\int \tan^4 x\,dx = \frac13\tan^3 x - \int \tan^2 x\,dx
In words

the integral of tan to the power 4 x d x equals one third tan cubed x minus the integral of tan squared x d x

Source: MIT 18.01 Problem Set 7, Part II, Problem 3(b) (our own solution)

From the second power to a constant

With n=0n = 0, where tan⁡0x=1\tan^0 x = 1:

The formula with n=0n = 0
∫tan⁡2x dx=tan⁡x−∫1 dx=tan⁡x−x+c\int \tan^2 x\,dx = \tan x - \int 1\,dx = \tan x - x + c
In words

the integral of tan squared x d x equals tan x minus the integral of 1 d x equals tan x minus x plus c

Source: MIT 18.01 Problem Set 7, Part II, Problem 3(b) (our own solution)

Put them together

Integral of the fourth power of the tangent
∫tan⁡4x dx=13tan⁡3x−tan⁡x+x+c\int \tan^4 x\,dx = \frac13\tan^3 x - \tan x + x + c
In words

the integral of tan to the power 4 x d x equals one third tan cubed x minus tan x plus x plus c

Source: MIT 18.01 Problem Set 7, Part II, Problem 3(b) (our own solution)

At x=0x = 0 the three terms are zero, so the antiderivative that the box asks for has c=0c = 0.

Check the result

Differentiate: tan⁡2x sec⁡2x−sec⁡2x+1=tan⁡2x sec⁡2x−tan⁡2x=tan⁡2x (sec⁡2x−1)=tan⁡4x\tan^2 x\,\sec^2 x - \sec^2 x + 1 = \tan^2 x\,\sec^2 x - \tan^2 x = \tan^2 x\,(\sec^2 x - 1) = \tan^4 x. A number as a second check (our own): from x=0x = 0 to π/4\pi/4, where tan⁡x\tan x rises from 00 to 11, the formula gives 13−1+π4=0.1187\tfrac13 - 1 + \tfrac{\pi}{4} = 0.1187. That is positive and well below π/4=0.785\pi/4 = 0.785, as it must be: on this interval tan⁡4x\tan^4 x lies between 00 and 11, and the interval has length π/4\pi/4.

After: MIT 18.01 Problem Set 7, Part II, Problem 3

Problem 4#

Problem

The integral of the secant by partial fractions

4 points

The lessons find ∫sec⁡x dx\int \sec x\,dx by a trick: multiply and divide by sec⁡x+tan⁡x\sec x + \tan x. Here you find it by a route that needs no trick, only a substitution and partial fractions.

(a)3 points

Check that

The secant rewritten
sec⁡x=cos⁡x1−sin⁡2x\sec x = \frac{\cos x}{1 - \sin^2 x}
In words

secant x equals cos x over the quantity 1 minus sine squared x

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(a), p. 2

Then find ∫sec⁡x dx\int \sec x\,dx by making a substitution for sin⁡x\sin x and using partial fractions. The result must be written in terms of xx.

In the box, give the antiderivative that is zero at x=0x = 0, for −π/2<x<π/2-\pi/2 < x < \pi/2. The box accepts every correct form, so it cannot see whether you used this route: mark that yourself with the solution.

Hint

For the check: what is 1−sin⁡2x1 - \sin^2 x?

Hint

Put u=sin⁡xu = \sin x. The cos⁡x\cos x on top is just what dudu needs, and what is left is a fraction in uu with no trigonometry in it.

Hint

Factor the denominator 1−u21 - u^2 and split the fraction into two, with the cover-up method. Take care with the sign when you integrate a fraction with 1−u1 - u underneath.

Solution

The idea. With u=sin⁡xu = \sin x the integral of the secant becomes the integral of 1/(1−u2)1/(1 - u^2), a rational function. Partial fractions split it into two fractions that each integrate to a logarithm.

Check the rewriting

Since 1−sin⁡2x=cos⁡2x1 - \sin^2 x = \cos^2 x,

Checking the rewritten secant
cos⁡x1−sin⁡2x=cos⁡xcos⁡2x=1cos⁡x=sec⁡x\frac{\cos x}{1 - \sin^2 x} = \frac{\cos x}{\cos^2 x} = \frac{1}{\cos x} = \sec x
In words

cos x over the quantity 1 minus sine squared x, equals cos x over the quantity cos squared x, equals 1 over the quantity cos x, equals secant x

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(a) (our own solution)

Substitute for the sine

Put u=sin⁡xu = \sin x, so du=cos⁡x dxdu = \cos x\,dx:

The secant integral as a rational integral
∫sec⁡x dx=∫cos⁡x dx1−sin⁡2x=∫du1−u2\int \sec x\,dx = \int \frac{\cos x\,dx}{1 - \sin^2 x} = \int \frac{du}{1 - u^2}
In words

the integral of secant x d x equals the integral of cos x d x over the quantity 1 minus sine squared x, equals the integral of d u over the quantity 1 minus u squared

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(a) (our own solution)

Partial fractions

The denominator factors as (1−u)(1+u)(1 - u)(1 + u), so set up

Set-up of the partial fractions
1(1−u)(1+u)=A1−u+B1+u\frac{1}{(1 - u)(1 + u)} = \frac{A}{1 - u} + \frac{B}{1 + u}
In words

1 over the quantity the quantity 1 minus u, the quantity 1 plus u, equals capital A over the quantity 1 minus u, plus capital B over the quantity 1 plus u

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(a) (our own solution)

The cover-up method of the lesson (Lecture 29 notes, pp. 1–2) gives the coefficients. For AA, cover the factor 1−u1 - u and put u=1u = 1 in what is left: A=1/(1+1)=12A = 1/(1 + 1) = \tfrac12. For BB, cover 1+u1 + u and put u=−1u = -1: B=1/(1−(−1))=12B = 1/(1 - (-1)) = \tfrac12.

Integrate

Integrating the two fractions
∫du1−u2=12∫du1−u+12∫du1+u=−12ln⁡∣1−u∣+12ln⁡∣1+u∣+c\int \frac{du}{1 - u^2} = \frac12\int \frac{du}{1 - u} + \frac12\int \frac{du}{1 + u} = -\frac12\ln|1 - u| + \frac12\ln|1 + u| + c
In words

the integral of d u over the quantity 1 minus u squared, equals one half the integral of d u over the quantity 1 minus u, plus one half the integral of d u over the quantity 1 plus u, equals minus one half log the absolute value of 1 minus u plus one half log the absolute value of 1 plus u plus c

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(a) (our own solution)

The minus sign of the first logarithm comes from the chain rule: the derivative of ln⁡∣1−u∣\ln|1 - u| is −1/(1−u)-1/(1 - u).

Back to x

Combine the logarithms and put u=sin⁡xu = \sin x:

Integral of the secant, first form
∫sec⁡x dx=12ln⁡∣1+sin⁡x1−sin⁡x∣+c\int \sec x\,dx = \frac12\ln\left|\frac{1 + \sin x}{1 - \sin x}\right| + c
In words

the integral of secant x d x equals one half log the absolute value of the quantity 1 plus sine x, all over the quantity 1 minus sine x, plus c

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(a) (our own solution)

For −π/2<x<π/2-\pi/2 < x < \pi/2 both 1+sin⁡x1 + \sin x and 1−sin⁡x1 - \sin x are positive, so the bars can be left out there. At x=0x = 0 the fraction is 11 and its logarithm is 00: the antiderivative for the box has c=0c = 0.

Check the result

Differentiate 12ln⁡(1+sin⁡x)−12ln⁡(1−sin⁡x)\tfrac12\ln(1 + \sin x) - \tfrac12\ln(1 - \sin x):

Differentiating the first form
12⋅cos⁡x1+sin⁡x+12⋅cos⁡x1−sin⁡x=cos⁡x2⋅(1−sin⁡x)+(1+sin⁡x)1−sin⁡2x=cos⁡xcos⁡2x=sec⁡x\frac12\cdot\frac{\cos x}{1 + \sin x} + \frac12\cdot\frac{\cos x}{1 - \sin x} = \frac{\cos x}{2}\cdot\frac{(1 - \sin x) + (1 + \sin x)}{1 - \sin^2 x} = \frac{\cos x}{\cos^2 x} = \sec x
In words

one half times cos x over the quantity 1 plus sine x, plus one half times cos x over the quantity 1 minus sine x, equals cos x over 2 times the quantity the quantity 1 minus sine x, all plus the quantity 1 plus sine x, all over the quantity 1 minus sine squared x, equals cos x over the quantity cos squared x, equals secant x

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(a) (our own solution)

(b)1 point

The lessons give the integral of the secant in another form:

Integral of the secant, familiar form
∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣+c\int \sec x\,dx = \ln|\sec x + \tan x| + c
In words

the integral of secant x d x equals log the absolute value of secant x plus tan x plus c

(The notes print it without the bars.) Show that your result of part (a) is the same formula. MIT's hint: multiply the fraction inside the logarithm by 1+sin⁡x1 + \sin x on top and underneath, and remember that 12ln⁡u=ln⁡u\tfrac12\ln u = \ln\sqrt{u}.

Hint

After multiplying, the bottom is (1−sin⁡x)(1+sin⁡x)(1 - \sin x)(1 + \sin x). Which square is that?

Hint

Top and bottom are now both squares. The factor 12\tfrac12 in front of the logarithm takes the square root of the fraction.

Solution

The idea. Multiplying by 1+sin⁡x1 + \sin x turns the top and the bottom into squares. The factor 12\tfrac12 then removes the squares.

Make squares

The fraction as a square
1+sin⁡x1−sin⁡x=(1+sin⁡x)2(1−sin⁡x)(1+sin⁡x)=(1+sin⁡x)21−sin⁡2x=(1+sin⁡xcos⁡x)2\frac{1 + \sin x}{1 - \sin x} = \frac{(1 + \sin x)^2}{(1 - \sin x)(1 + \sin x)} = \frac{(1 + \sin x)^2}{1 - \sin^2 x} = \left(\frac{1 + \sin x}{\cos x}\right)^2
In words

the quantity 1 plus sine x, all over the quantity 1 minus sine x, equals the quantity 1 plus sine x, all squared over the quantity the quantity 1 minus sine x, the quantity 1 plus sine x, equals the quantity 1 plus sine x, all squared over the quantity 1 minus sine squared x, equals ( the quantity 1 plus sine x, all over the quantity cos x, ) squared

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(b) (our own solution)

Take the square root

Half the logarithm of a square is the logarithm of the size of what was squared:

From the first form to the familiar form
12ln⁡(1+sin⁡xcos⁡x)2=ln⁡∣1+sin⁡xcos⁡x∣=ln⁡∣1cos⁡x+sin⁡xcos⁡x∣=ln⁡∣sec⁡x+tan⁡x∣\frac12\ln\left(\frac{1 + \sin x}{\cos x}\right)^2 = \ln\left|\frac{1 + \sin x}{\cos x}\right| = \ln\left|\frac{1}{\cos x} + \frac{\sin x}{\cos x}\right| = \ln|\sec x + \tan x|
In words

one half log ( the quantity 1 plus sine x, all over the quantity cos x, ) squared equals log the absolute value of the quantity 1 plus sine x, all over the quantity cos x, equals log the absolute value of 1 over the quantity cos x, plus sine x over the quantity cos x, equals log the absolute value of secant x plus tan x

Source: MIT 18.01 Problem Set 7, Part II, Problem 4(b) (our own solution)

Check the result

Try a number (our own): at x=π/6x = \pi/6, where sin⁡x=12\sin x = \tfrac12, the first form gives 12ln⁡(1.5/0.5)=12ln⁡3=0.5493\tfrac12\ln(1.5/0.5) = \tfrac12\ln 3 = 0.5493. There sec⁡x=2/3\sec x = 2/\sqrt3 and tan⁡x=1/3\tan x = 1/\sqrt3, so the familiar form gives ln⁡(3/3)=ln⁡3=0.5493\ln(3/\sqrt3) = \ln\sqrt3 = 0.5493 as well.

After: MIT 18.01 Problem Set 7, Part II, Problem 4

Problem 5#

Problem

The first hump of the cosine, rotated

3 points

The graph of y=cos⁡xy = \cos x starts at its top, y=1y = 1 at x=0x = 0, and comes down to the xx-axis at x=π/2x = \pi/2. Take the region under this first hump: below the graph, above the xx-axis, for 0≤x≤π/20 \le x \le \pi/2. (MIT's sheet says only "the first hump". That it means this region is our reading: rotating it around the yy-axis also sweeps out the half of the hump on the left of the axis.)

Rotate the region around the yy-axis. Find the volume VV of the solid by the method of shells. Give it as a decimal, correct to three decimal places.

Hint

A shell at distance xx from the axis has circumference 2πx2\pi x, thickness dxdx and the height of the graph at that xx.

Hint

The integrand is a product of xx and a trigonometric function. Integrate by parts, and choose for uu the factor that becomes simpler when you differentiate it.

Solution

The idea. Each shell has volume 2πxcos⁡x dx2\pi x\cos x\,dx. The product xcos⁡xx\cos x is integrated by parts, with xx as the factor that is differentiated.

Set up the shells

A shell at xx has height cos⁡x\cos x, circumference 2πx2\pi x and thickness dxdx (Lecture 22 notes, p. 3):

The hump by shells
V=∫0π/22πxcos⁡x dxV = \int_0^{\pi/2} 2\pi x\cos x\,dx
In words

capital V equals the integral over 0 of to the power pi over 2, end of power, 2 pi x cos x d x

Source: MIT 18.01 Problem Set 7, Part II, Problem 5 (our own solution)

Integrate by parts

The lesson's formula is

Integration by parts
∫u v′ dx=u v−∫u′ v dx\int u\,v'\,dx = u\,v - \int u'\,v\,dx
In words

the integral of u v prime d x equals u v minus the integral of u prime v d x

Take u=xu = x and v′=cos⁡xv' = \cos x. Then u′=1u' = 1 and v=sin⁡xv = \sin x:

The product of x and the cosine
∫xcos⁡x dx=xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+c\int x\cos x\,dx = x\sin x - \int \sin x\,dx = x\sin x + \cos x + c
In words

the integral of x cos x d x equals x sine x minus the integral of sine x d x equals x sine x plus cos x plus c

Source: MIT 18.01 Problem Set 7, Part II, Problem 5 (our own solution)

Put in the limits

Volume under the hump
V=2π[xsin⁡x+cos⁡x]0π/2=2π(π2−1)=π2−2π=3.586V = 2\pi\Big[x\sin x + \cos x\Big]_0^{\pi/2} = 2\pi\left(\frac{\pi}{2} - 1\right) = \pi^2 - 2\pi = 3.586
In words

capital V equals 2 pi the quantity x sine x plus cos x, sub 0 to the power pi over 2, end of power, equals 2 pi the quantity pi over 2 minus 1, equals pi squared minus 2 pi equals 3.586

Source: MIT 18.01 Problem Set 7, Part II, Problem 5 (our own solution)

At x=π/2x = \pi/2 the bracket is π2⋅1+0\tfrac{\pi}{2}\cdot 1 + 0, and at x=0x = 0 it is 0+10 + 1.

Check the result

The derivative of xsin⁡x+cos⁡xx\sin x + \cos x is sin⁡x+xcos⁡x−sin⁡x=xcos⁡x\sin x + x\cos x - \sin x = x\cos x, as it must be. The size is reasonable too. The solid fits inside a cylinder of radius π/2\pi/2 and height 11, with volume π(π/2)2=7.752\pi(\pi/2)^2 = 7.752. It contains the cone with the same base and height, because the graph of the cosine lies above the straight line from (0,1)(0, 1) to (π/2,0)(\pi/2, 0); the cone has a third of the volume of the cylinder, 2.5842.584. And 3.5863.586 lies between the two.

After: MIT 18.01 Problem Set 7, Part II, Problem 5

More practice: MIT's own solved exercises#

Part I of MIT's Problem Set 7 (20 points at MIT, not scored here) is a list of short exercises from Section E of the course's Supplementary Notes. David Jerison, who wrote them, also wrote out their solutions, in Section S. Both are on MIT OpenCourseWare under the same licence as the rest of the course, so they are not rewritten here: open the exercises (Section E), try them, then compare with MIT's solutions (Section S).

An exercise number such as 5D-7 means Section 5, group D, exercise 7; a letter after it is one of its parts. MIT assigned these, lecture by lecture (the lecture numbers are this site's):

ForExercises in Section E
Lecture 27: trigonometric integrals, and direct substitution5B-9, 5B-11, 5B-13, 5B-16; 5C-5, 5C-7, 5C-9, 5C-11
Lecture 28: inverse substitution and completing the square5D-1, 5D-2, 5D-7, 5D-10
Lecture 29: partial fractions5E-2, 5E-3, 5E-5, 5E-6, 5E-10h
Lecture 30: integration by parts and reduction formulas5F-1a, 5F-2d and then 5F-2b, 5F-3

The first row is the same list as the last row of Problem Set 6: MIT moved those exercises from that set to this one. MIT's note with 5E-10h is to complete the square. The sheet also names the next lecture, on parametric equations, arc length and surface area, but assigns its exercises with Problem Set 8. MIT's list has sections of the course textbook by Simmons to read as well. They are not part of this page. On MIT's sheet the four rows are headed Lecture 25, 27, 28 and 29, the numbers of the Fall 2006 calendar.

Symbols on this page

Show the 31 symbols used here
θ\theta theta.
An angle. Say it: “theta” (sounds like “thay-ta or thee-ta”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
tan⁡\tan tangent.
Tangent of an angle, sin/cos. Say it: “tan”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
aa a.
In Problem 2, the radius of the disk that is rotated. Say it: “a”.
cc c.
The constant of integration. Say it: “c”.
xx x.
The horizontal coordinate and the variable of integration. In Problems 2 and 5, also the distance of a shell from the y-axis. Say it: “x”.
yy y.
The vertical coordinate. In Problems 2 and 5 the solid is made by rotating around the y-axis. Say it: “y”.
tt t.
In Problem 1, the time. Unit: s. Say it: “t”.
dd d.
The d of an integral or a differential, as in dx, du, dθ and dV: it names the variable of integration or a small piece. Say it: “d”.
nn n.
In Problem 3, the power of the tangent in the reduction formula: a whole number, 0 or larger. Say it: “n”.
vv v.
In integration by parts (Problem 5), an antiderivative of v′. Say it: “v”.
AA A.
In Problem 4, the unknown coefficient of the partial fraction over 1 − u. Say it: “capital A”.
BB B.
In Problem 4, the unknown coefficient of the partial fraction over 1 + u. Say it: “capital B”.
CC C.
In Problem 1, the amplitude of the voltage: the peak voltage is ±C. Unit: V. Say it: “capital C”.
bb b.
In Problem 2, the distance from the y-axis to the centre of the disk that is rotated. Say it: “b”.
uu u.
A new variable in a substitution: u = x − b in Problem 2, u = tan x in Problem 3, u = sin x in Problem 4. In the formula for integration by parts (Problem 5), the factor that is differentiated. In MIT's hint to Problem 4(b), any positive number. Say it: “u”.
VV V.
In Problem 1, the voltage of the house current at time t, V(t) = C sin(120πt), in volts. In Problems 2 and 5, the volume of the solid of revolution. Say it: “capital V”.
u′u' u prime.
In integration by parts (Problem 5), the derivative of u. Say it: “u prime”.
v′v' v prime.
In integration by parts (Problem 5), the factor that is integrated. Say it: “v prime”.
sec⁡\sec secant.
The secant: sec x = 1/cos x. Say it: “secant”.
VrmsV_{\text{rms}} V r m s.
In Problem 1, the root-mean-square voltage: the square root of the average of V² over one period. The name is ours. Unit: V. Say it: “capital V r m s”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 41 words used here

Also used

integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
inverse substitution.
A change of variable that writes x in terms of a new variable, such as x = sin θ, often to remove a square root. Explained in Inverse substitution and completing the square.
partial fractions.
Splitting a fraction of polynomials into a sum of simpler fractions, each easy to integrate. Explained in Partial fractions.
integration by parts.
A rule for integrating a product of two functions, ∫ u dv = uv − ∫ v du, which comes from the product rule. Explained in Integration by parts and reduction formulas.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
natural logarithm.
The logarithm to base e, about 2.718, written ln x: the power to which e must be raised to give x. Explained in Exponentials and logarithms.
antiderivative.
A function whose derivative is the given function; any two antiderivatives differ only by a constant. Explained in Differentials and antiderivatives.
voltage.
The difference in electric potential between two points, measured in volts: the energy each coulomb of charge gains or loses between them. Explained in Electric potential and voltage.
amplitude.
The size of an oscillation or wave: the largest distance from its middle position, or the number multiplying the sine. Explained in Oscillations and simple harmonic motion.
average value.
The integral of a function over an interval divided by the interval's length: the height of a rectangle with the same area. Explained in The second fundamental theorem of calculus.
rms.
Root mean square: square the values, average them, then take the square root; for a sine wave it is the peak divided by √2. Explained in Kinetic theory: temperature is motion.
volt.
The SI unit of electric potential and voltage: one joule of energy for each coulomb of charge. Explained in Electric potential and voltage.
interval.
A stretch between two values or two moments; in maths, all the numbers between two end points. Explained in Time dilation, length contraction and the interval.
integrand.
The function being integrated: the f(x) in ∫ f(x) dx. Explained in The logarithm from an integral, and areas between curves.
torus.
The surface of a ring doughnut: a tube bent round so that its ends join. Explained in Stokes' theorem, path independence and div curl = 0.
shell method.
Finding the volume of a solid of revolution by cutting it into thin cylindrical shells around the axis and adding their volumes.
symmetric.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
odd function.
A function that changes sign when x does, f(−x) = −f(x), such as x³ or sin x. Explained in Fourier series: even and odd functions, convergence and other periods.
trigonometric substitution.
A method of solving an integral by replacing the variable with a sine, cosine or similar function so that a square root simplifies. Explained in The closed universe as a cycloid.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
reduction formula.
A formula that writes an integral containing a power n in terms of the same integral with a lower power, used repeatedly. Explained in Integration by parts and reduction formulas.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
tangent.
A straight line that touches a curve at a point and runs in the same direction as the curve there. Explained in Angles, radians and trigonometry.
power rule.
The rule that the derivative of xⁿ is n xⁿ⁻¹; read backwards, it integrates powers of x.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
chain rule.
The rule for the derivative of a function of a function: multiply the derivative of the outer one by that of the inner one. Explained in Circular motion: polar coordinates, position and velocity.
cover-up method.
A quick way to find a coefficient in partial fractions: cover one factor of the denominator and put in the x that makes it zero. Explained in Partial fractions.
secant.
A straight line through two points of a curve; its slope is the average rate of change between them. Explained in Rates of change and area under a graph.
rational function.
A fraction whose top and bottom are both polynomials, such as (x + 1)/(x² − 4). Explained in Partial fractions.
logarithm.
The power to which a fixed base must be raised to give a number: log₁₀ 1000 = 3 because 10³ = 1000. Explained in Exponentials and logarithms.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
completing the square.
Rewriting x² + bx + c as (x + b/2)² plus a number, which turns any quadratic into a shifted square. Explained in Inverse substitution and completing the square.
parametric curve.
A curve given by writing x and y (and z) as functions of a third variable, the parameter, often thought of as time. Explained in Arc length, surface area and parametric curves.
arc length.
The length of a curve measured along the curve itself, as a piece of string laid along it would show. Explained in Derivatives of sine and cosine, and the product and quotient rules.

Academic

problem set.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
on paper.
In theory or in a calculation, as opposed to in a real experiment or in reality.
up to a constant.
Apart from a constant (or a sign, factor or phase): the two agree once that one difference is allowed for.
significant.
Large enough to matter or to be noticed; in statistics, too large to put down to chance.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.
comes down to.
Is, in the end, simply a matter of.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).