Tutorials › Calculus II › Deriving the Sine Substitution for a²−x²

Trigonometric Substitution · Tutorial 152 of 998

Deriving the Sine Substitution for a²−x²

Use a right triangle and a carefully chosen angle range to derive the substitution, its square-root identity, and the corresponding differential.

Intermediate 9 min read

What You'll Learn

  • Explain why the radicand a²−x² suggests a sine substitution
  • Derive the square-root identity from a right triangle and the Pythagorean identity
  • Choose an angle range that makes the cosine nonnegative
  • Differentiate x=a sin θ and transform dx correctly
  • Convert integrands and definite-integral bounds into the angle variable
  • Recognize errors caused by an unsuitable angle range or a missing chain-rule factor

Why a Sine Substitution Fits This Radicand

A square root such as \(\sqrt{a^2-x^2}\) contains a difference of squares. The Pythagorean identity \(\sin^2\theta+\cos^2\theta=1\) has the same structure: rearranging it gives \(1-\sin^2\theta=\cos^2\theta\). This suggests expressing \(x\) as \(a\sin\theta\), so the radicand becomes a multiple of \(\cos^2\theta\).

The algebra alone is not enough. A square root is nonnegative, while \(\cos\theta\) can be negative for some angles. We therefore need an angle range on which the cosine is nonnegative, and we must differentiate the substitution to transform \(dx\) correctly.

Assumption: Throughout, \(a\) is a positive constant. For the real radical \(\sqrt{a^2-x^2}\), the variable must satisfy \(-a\le x\le a\). The substitution will use the angle range \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\).

Deriving the Substitution from a Right Triangle

First consider \(0

Let \(\theta\) be the acute angle opposite the side of length \(x\). The definition of sine gives \(\sin\theta=x/a\), so \(x=a\sin\theta\). The definition of cosine gives \(\cos\theta=\sqrt{a^2-x^2}/a\), so the radical equals \(a\cos\theta\).

$$ \sin\theta=\frac{x}{a} \quad\Longrightarrow\quad x=a\sin\theta, \qquad \cos\theta=\frac{\sqrt{a^2-x^2}}{a} \quad\Longrightarrow\quad \sqrt{a^2-x^2}=a\cos\theta. $$

The triangle directly represents values \(0

The identity for the radical also holds on this full interval. Substituting \(x=a\sin\theta\) gives \(a^2-x^2=a^2(1-\sin^2\theta)=a^2\cos^2\theta\). Taking the nonnegative square root gives \(a|\cos\theta|\). Because \(\cos\theta\ge 0\) throughout the selected interval and \(a>0\), this is \(a\cos\theta\).

Key identity: If \(a>0\), \(x=a\sin\theta\), and \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\), then \(\sqrt{a^2-x^2}=a\cos\theta\). The angle restriction is part of the identity’s conditions.

The Differential and the Integral Transformation

Differentiate \(x=a\sin\theta\) with respect to \(\theta\). Since \(a\) is constant, the chain rule gives \(dx/d\theta=a\cos\theta\), or \(dx=a\cos\theta\,d\theta\). With the radical identity, this means that \(dx\) and \(\sqrt{a^2-x^2}\) have the same factor \(a\cos\theta\) in this angle range.

$$ x=a\sin\theta \quad\Longrightarrow\quad \frac{dx}{d\theta}=a\cos\theta \quad\Longrightarrow\quad dx=a\cos\theta\,d\theta. $$

Consequently, an integral in \(x\) can be rewritten by replacing each occurrence of \(x\) with \(a\sin\theta\), each occurrence of \(\sqrt{a^2-x^2}\) with \(a\cos\theta\), and \(dx\) with \(a\cos\theta\,d\theta\). These replacements come from one substitution and must be made consistently.

For a definite integral, the limits must also be expressed in the new variable. If an endpoint is \(x=c\), its corresponding angle is \(\theta=\arcsin(c/a)\), where \(\arcsin\) denotes the inverse sine taking values in \([-\frac{\pi}{2},\frac{\pi}{2}]\). The original and transformed endpoints represent the same values of the variable, expressed in different coordinates.

Why the Angle Range Makes the Method Work

The chosen interval does more than ensure a convenient sign. It makes \(\theta\mapsto a\sin\theta\) one-to-one, so the substitution has a unique inverse angle for every \(x\in[-a,a]\). In the interior of the interval, \(\cos\theta>0\), and therefore \(dx/d\theta=a\cos\theta>0\). The variable \(x\) increases with \(\theta\), and the substitution can be reversed without ambiguity.

At \(\theta=\pm\frac{\pi}{2}\), the derivative is zero, and those angles correspond to the endpoints \(x=\pm a\), where the radical is zero. The algebraic identities remain valid at the endpoints. When applying a change of variable to an integral that includes an endpoint, the endpoint behavior must be treated in the usual way; the zero derivative there does not justify dividing by \(\cos\theta\) at that endpoint.

1
Identify the real domain.
Require \(a^2-x^2\ge 0\), so \(-a\le x\le a\) when \(a>0\).
2
Choose the angle.
Set \(x=a\sin\theta\) with \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\).
3
Transform the radical and differential.
Use \(\sqrt{a^2-x^2}=a\cos\theta\) and \(dx=a\cos\theta\,d\theta\).
4
Transform the bounds when needed.
For each endpoint \(x=c\), use \(\theta=\arcsin(c/a)\) in the selected range.

Worked Substitutions

Worked Example: Transforming a Radical and Its Differential

Rewrite \(\sqrt{25-x^2}\,dx\) in terms of \(\theta\), using the sine substitution.

Here \(a=5\), so set \(x=5\sin\theta\) and choose \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\). Then

$$ \sqrt{25-x^2} =\sqrt{25-25\sin^2\theta} =\sqrt{25\cos^2\theta} =5\cos\theta. $$

The last equality uses \(\cos\theta\ge0\) on the chosen interval. Differentiating \(x=5\sin\theta\) gives \(dx=5\cos\theta\,d\theta\). Therefore, the full product transforms as

$$ \sqrt{25-x^2}\,dx =(5\cos\theta)(5\cos\theta\,d\theta) =25\cos^2\theta\,d\theta. $$

Check at \(x=3\): \(\sin\theta=3/5\), so on the chosen interval \(\cos\theta=4/5\). The original radical is \(\sqrt{25-9}=4\), and the differential factor is \(dx=5(4/5)d\theta=4d\theta\). Their product is \(16d\theta\). The transformed factor is \(25(4/5)^2d\theta=16d\theta\), as required.

Worked Example: Transforming a Reciprocal Radical

Rewrite \(dx/\sqrt{9-x^2}\) in terms of \(\theta\). Set \(x=3\sin\theta\), with \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\). The radical and differential are

$$ \sqrt{9-x^2} =\sqrt{9-9\sin^2\theta} =3\cos\theta, \qquad dx=3\cos\theta\,d\theta. $$

Substitute both expressions and cancel the common factor, for interior angles where \(\cos\theta>0\):

$$ \frac{dx}{\sqrt{9-x^2}} = \frac{3\cos\theta\,d\theta}{3\cos\theta} =d\theta. $$

Check, for example, at \(x=3/2\). Then \(\sin\theta=1/2\), and the selected angle has \(\cos\theta=\sqrt{3}/2\). The original radical is \(\sqrt{9-9/4}=3\sqrt{3}/2\); the differential factor is \(dx=(3\sqrt{3}/2)d\theta\). Their ratio is \(d\theta\), matching the transformed expression. The cancellation is stated for interior angles; the endpoint case is not obtained by dividing by zero.

Worked Example: Converting Definite-Integral Bounds

Transform the bounds and integrand of \(\int_{-2}^{1}\frac{x^2}{\sqrt{4-x^2}}\,dx\), without evaluating the resulting integral. Here \(a=2\), so use \(x=2\sin\theta\) with \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\). The endpoints correspond to

$$ x=-2 \Longrightarrow \sin\theta=-1 \Longrightarrow \theta=-\frac{\pi}{2}, \qquad x=1 \Longrightarrow \sin\theta=\frac12 \Longrightarrow \theta=\frac{\pi}{6}. $$

Also, \(x^2=4\sin^2\theta\), \(\sqrt{4-x^2}=2\cos\theta\), and \(dx=2\cos\theta\,d\theta\). Thus the transformed integrand is

$$ \frac{x^2}{\sqrt{4-x^2}}\,dx = \frac{4\sin^2\theta}{2\cos\theta}(2\cos\theta\,d\theta) =4\sin^2\theta\,d\theta. $$

The transformed integral, with the corresponding bounds, is therefore \(\int_{-\pi/2}^{\pi/6}4\sin^2\theta\,d\theta\). As a check at the interior point \(x=1\), where \(\theta=\pi/6\), the original integrand is \(1/\sqrt{3}\). The transformed integrand is \(4\sin^2(\pi/6)=1\), and \(dx/d\theta=2\cos(\pi/6)=\sqrt{3}\). Multiplying the original integrand by \(dx/d\theta\) gives \((1/\sqrt{3})\sqrt{3}=1\), matching the transformed integrand.

A Common Sign Error

A tempting but incomplete calculation is to write \(\sqrt{a^2\cos^2\theta}=a\cos\theta\) for every angle. In general, the square root of a square is an absolute value, not necessarily the original quantity:

$$ \sqrt{a^2\cos^2\theta}=a|\cos\theta|, \qquad a>0. $$

For example, at \(\theta=2\pi/3\), \(\cos\theta=-1/2\). The square root is \(a/2\), whereas \(a\cos\theta=-a/2\), which is negative and cannot equal a nonnegative square root. The correction is to restrict \(\theta\) to \([-\frac{\pi}{2},\frac{\pi}{2}]\), where \(\cos\theta\ge0\), and then write \(\sqrt{a^2\cos^2\theta}=a\cos\theta\).

A separate bookkeeping error is to replace the radical but leave \(dx\) unchanged. For instance, under \(x=5\sin\theta\), \(dx\) is \(5\cos\theta\,d\theta\), not \(d\theta\). Omitting that factor changes the integral. Differentiate the substitution explicitly whenever the differential is transformed.

Summary

The sine substitution follows from the right-triangle ratios and the Pythagorean identity. For \(a>0\), the conditions \(x=a\sin\theta\) and \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\) give the exact replacements \(\sqrt{a^2-x^2}=a\cos\theta\) and \(dx=a\cos\theta\,d\theta\). The angle range ensures both that cosine is nonnegative and that each \(x\in[-a,a]\) has a unique corresponding angle. In definite integrals, the bounds must be converted to those corresponding angles as well.

Check Your Understanding

Use the stated angle range when answering each question.

  1. For \(a>0\) and \(x=a\sin\theta\), derive the expression for \(\sqrt{a^2-x^2}\) when \(-\frac{\pi}{2}\le\theta\le\frac{\pi}{2}\).
  2. Differentiate \(x=7\sin\theta\) to find \(dx\) in terms of \(\theta\).
  3. Under \(x=4\sin\theta\), what angle corresponds to \(x=-2\) in the selected range?
  4. Why is \(\sqrt{a^2\cos^2\theta}=a\cos\theta\) not valid for every real \(\theta\)?
  5. Under \(x=3\sin\theta\), rewrite \(x^2\,dx\) in terms of \(\theta\).

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon