Trigonometric substitution for a circle inside a square root
Unit 2, chapter 8
Trigonometric substitution for a circle inside a square root
How trigonometric substitution with a sine turns the square root of 4 minus x squared into a cosine, using a circle parameterization, angle bounds, the nonnegative square root and the inverse sine.
Chapter 8
Trigonometric substitution, partial fractions and completing the square
The integral of 1/4−x2 from 0 to 1 has a square root in the denominator and no matching inner derivative in the numerator. The expression under the root is 22−x2, a squared radius minus x2, and its square root is the height of a circle of radius 2 above the point x. Putting x=2sinθ makes the root equal to 2cosθ and the differential equal to 2cosθdθ, so the integrand reduces to 1 in the angle variable. This page explains that trigonometric substitution, how to choose angle bounds on which the square root keeps its sign, and how the inverse sine confirms the value π/6.
Key terms
Trigonometric substitution
Definition Trigonometric substitution is the substitution rule with x written as a trigonometric function of a new variable θ. The rule says that if g has a continuous derivative on [α,β] and f is continuous on an interval containing every value g(θ) with θ in [α,β], then
∫g(α)g(β)f(x)dx=∫αβf(g(θ))g′(θ)dθ.
For a constant a>0, three standard choices clear a square root with a Pythagorean identity, each on an angle range where the root has a known sign. For a2−x2 with −a≤x≤a, take x=asinθ with −π/2≤θ≤π/2, where cosθ≥0 and the root equals acosθ. For a2+x2, take x=atanθ with −π/2<θ<π/2, where secθ>0 and the root equals asecθ. For x2−a2 with x≥a, take x=asecθ with 0≤θ<π/2, where tanθ≥0 and the root equals atanθ. When x≤−a, the range π/2<θ≤π is used instead, and there the root equals −atanθ. On each of these ranges the substitution is one-to-one, so θ can be recovered from x when an antiderivative has to be written back in x.
In plain words A constant square plus or minus x2 under a root has the shape of a Pythagorean identity. Choose x as a sine, tangent or secant so that the expression under the root becomes a single square, keep the angle in a range where the root of that square has a known sign, and change dx and the bounds along with the integrand.
Example For the integral of this page, the integrand is continuous on [0,1], since 4−x2≥3 there. Take x=2sinθ. As θ runs from 0 to π/6, the value of x runs from 0 to 1, the differential is dx=2cosθdθ, and cosθ≥3/2>0, so 4−4sin2θ=2cosθ. Hence
∫014−x2dx=∫0π/62cosθ2cosθdθ=∫0π/61dθ=6π,
which is about 0.5236. The factor 2cosθ is never 0 on [0,π/6], so the cancellation is valid. The circle identity simplified the denominator, and the derivative of 2sinθ supplied the same factor in the numerator.
Sine substitution
Definition Let a>0. The sine substitution is x=asinθ with −π/2≤θ≤π/2. On this interval the sine increases from −1 to 1, so each x in [−a,a] comes from exactly one angle, θ=arcsin(x/a). Since 1−sin2θ=cos2θ and cosθ≥0 on [−π/2,π/2], the substitution gives
a2−x2=a2cos2θ,a2−x2=acosθ,dx=acosθdθ.
In plain words The root and the differential produce the same factor acosθ. That is why dx/a2−x2 reduces to dθ, while a2−x2dx becomes a2cos2θdθ, which the half-angle identity integrates.
Example The integrand 9−x2 is continuous on [0,3]. With x=3sinθ, the bounds 0 and 3 become 0 and π/2, the root becomes 3cosθ, and the identity cos2θ=21(1+cos2θ) gives
The graph of 9−x2 is the upper half of the circle of radius 3, and 9π/4 is the area of a quarter of that disk, as it should be. At θ=π/2 the root is 0, which is still nonnegative, so the endpoint causes no trouble.
Circle parameterization
Definition Let a>0. On the circle x2+y2=a2, measure the angle θ from the positive y-axis, turning toward the positive x-axis. The point at angle θ is
(x,y)=(asinθ,acosθ).
As θ runs over [−π/2,π/2], the point runs once along the upper half of the circle, from (−a,0) through (0,a) to (a,0), and its height is y=acosθ=a2−x2. The more familiar parameterization (acost,asint) measures t from the positive x-axis. It gives the same points with t=π/2−θ, and it swaps the roles of sine and cosine.
In plain words The substitution x=asinθ says that x is the horizontal coordinate of a point on a circle of radius a. The root a2−x2 is then the height of that point, and the identity a2−a2sin2θ=a2cos2θ is the Pythagorean theorem in the right triangle with hypotenuse a. The circle helps choose the variable. It need not be the graph whose area is computed.
Example For a=2, the point with x=1 has sinθ=1/2, so θ=π/6, and its height is 2cos(π/6)=3. In the integral of this page the integrand 1/4−x2 equals 1/y, the reciprocal of the height of the circle, so the region being measured is not the region under the semicircle. The value π/6 equals the angle swept from θ=0 to θ=π/6, in radians. It is not the area of the circular sector with that angle, which is 21⋅22⋅6π=3π.
Angle bounds
Definition When a definite integral in x is rewritten with x=g(θ), the new bounds are angles α and β such that g(α) is the old lower bound and g(β) is the old upper bound, chosen inside the range on which the substitution is one-to-one and the root has a known sign. For the sine substitution x=asinθ and old bounds p≤q in [−a,a], they are
α=arcsinap,β=arcsinaq,
both in [−π/2,π/2], and as θ increases from α to β, the value of x increases from p to q. The angles are measured in radians.
In plain words Change the bounds together with the variable, and there is no need to substitute back at the end. Finding each new bound with the inverse sine puts it in the allowed range automatically. Another angle with the same sine gives the same endpoint, but the path between the bounds would then leave the range where the root equals acosθ.
Example For the integral of 1/4−x2 from −1 to 1, the new bounds are arcsin(−1/2)=−π/6 and arcsin(1/2)=π/6. A negative angle is allowed, and cosθ>0 on [−π/6,π/6], so
∫−114−x2dx=∫−π/6π/61dθ=3π.
The bounds must be radians. The angle π/6 is 30 degrees, and bounds of −30 and 30 in the θ integral would give a value about 57 times too large.
Nonnegative square root
Definition For a number s≥0, the symbol s denotes the nonnegative number whose square is s. Consequently t2=∣t∣ for every real t, and for a>0
a2cos2θ=a∣cosθ∣,
which equals acosθ exactly when cosθ≥0, in particular for every θ in [−π/2,π/2].
In plain words Replacing a2cos2θ by acosθ is a claim about the sign of the cosine. It is true on the angle range you chose and false wherever the cosine is negative, so check the range before removing the absolute value.
Example On [0,π/6] the cosine lies between 3/2 and 1, so 4cos2θ=2cosθ there. At θ=2π/3 the cosine is −1/2, and 4cos2θ=1 while 2cosθ=−1. A substitution that let θ go past π/2 would need the root written as −2cosθ wherever the cosine is negative.
Inverse sine
Definition For −1≤y≤1, the inverse sine arcsiny, also written sin−1y, is the unique angle θ in [−π/2,π/2] with sinθ=y. It is the inverse function of the sine restricted to [−π/2,π/2], not the reciprocal 1/siny. For −1<y<1 it is differentiable, with
dydarcsiny=1−y21,
because differentiating sinθ=y gives cosθ⋅dθ/dy=1, and cosθ=1−y2 since cosθ>0 for −π/2<θ<π/2. Hence for a>0, on the interval −a<x<a,
∫a2−x2dx=arcsinax+C.
In plain words The inverse sine reads the angle off from its sine. In a sine substitution, arcsin(x/a) is exactly the angle θ, so the antiderivative θ+C of the reduced integrand becomes arcsin(x/a)+C when it is written back in x.
Example Let F(x)=arcsin(x/2) for −2<x<2. The chain rule and the nonnegative root 1−x2/4=214−x2 give
F′(x)=1−x2/41/2=4−x21.
The integrand is continuous on [0,1], so the fundamental theorem gives F(1)−F(0)=π/6−0=π/6, the value found above. A rough bound agrees. On [0,1] the integrand increases from 1/2 to 1/3≈0.5774, so over this interval of length 1 the integral lies between 0.5 and 0.5774, and π/6≈0.5236 does.
Check yourself
Evaluate the integral below with a sine substitution, and check the result with the inverse sine.
∫024−x2dxShow the answer
The integrand is continuous on [0,2], since 4−x2≥2 there. Put x=2sinθ. The bound x=0 gives θ=0, and x=2 gives sinθ=2/2, so θ=π/4. On [0,π/4] the cosine is at least 2/2>0, so the root is 2cosθ, and with dx=2cosθdθ
∫024−x2dx=∫0π/41dθ=4π.
The inverse sine gives the same value, arcsin(2/2)−arcsin0=π/4≈0.7854. As a rough check, the integrand rises from 1/2 to 1/2 over an interval of length 2, so the integral lies between 2/2≈0.7071 and 1.
Evaluate the integral below, and explain the answer with the geometry of the circle.
∫014−x2dxShow the answer
With x=2sinθ and θ from 0 to π/6, the root is 2cosθ and dx=2cosθdθ, so the new integrand is 4cos2θ=2+2cos2θ. Then
This time the graph is the upper half of the circle of radius 2, so the answer is an area in the circle picture. The radius to the point (1,3) splits the region into a sector with angle π/6 and area π/3, and a right triangle with legs 1 and 3 and area 3/2. The integrand decreases from 2 to 3≈1.732, and the value lies between those two numbers, as it must over an interval of length 1.
In the integral of this page, someone takes the upper bound θ=5π/6, since sin(5π/6)=1/2 as well, replaces the root by 2cosθ, and gets 5π/6≈2.618. What went wrong?
Show the answer
The angle 5π/6 lies outside [−π/2,π/2], the range on which the sine substitution is one-to-one and the cosine is nonnegative, and two things fail. For π/2<θ≤5π/6 the cosine is negative, so there 4cos2θ=−2cosθ, not 2cosθ. Also, as θ runs from 0 to 5π/6, the point x=2sinθ climbs from 0 to 2 and comes back to 1, so it passes through x=2, where the integrand is undefined, and the substitution rule does not apply as stated. The inverse sine gives the correct bound arcsin(1/2)=π/6 and the value π/6. The rough bound catches the error as well, since the integral lies between 0.5 and 0.5774.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details