BRAGA

02 Writing02-02 Notes02-02-296

Inverse Sine Output

Published 16 Apr 20263 min read
Contents
  1. 01Deep Breakdown
  2. 02Flowchart
  3. 03Real-world use
  4. 04The formula, piece by piece
  5. 05The formula in words
  6. 06Critical Concepts
  7. 07Step-by-step calculation (tiny example)
  8. 08Code examples
∫1a2−x2 dx=arcsin⁡ ⁣(xa)+C\int \frac{1}{\sqrt{a^2 - x^2}}\,dx = \arcsin\!\left(\frac{x}{a}\right) + C
(1)

Deep Breakdown

What it tells me (Situation Awareness): This is the standard antiderivative behind inverse sine. It appears whenever an integrand has the form 1/positive quadratic1/\sqrt{\text{positive quadratic}} with a minus sign under the square root, so that a trigonometric substitution x=asin⁡θx = a\sin\theta (or recognition of the derivative of arcsin⁡(x/a)\arcsin(x/a)) collapses the integral. In probability and statistics it shows up in arcsine laws, certain change-of-variable steps, and anywhere circular geometry is encoded in algebra.

Flowchart

See integrand1/sqrt(a^2 - x^2)Check domain:|x| < |a| for realarcsinRecognize d/dxarcsin(x/a) =1/sqrt(a^2-x^2)/|a| scalingWriteantiderivativearcsin(x/a) + C(a 0 usual)If a<0, tracksigns via |a|Differentiateresult toself-check

Real-world use

Where it is used

Integrals in physics (harmonic motion, angular measures), derivations in statistics where Jacobian factors produce square-root denominators, and symbolic pipelines in scientific Python/R.

Problem it solves

You need a closed-form antiderivative instead of numeric quadrature when the model is built from algebraic pieces.

How it solves the problem

It matches the integrand to the derivative of arcsin⁡(x/a)\arcsin(x/a) up to the constant factor 1/a1/a absorbed in the standard table entry (conventions fix the scaling).

Example in a business

A demand model uses a nonlinear elasticity term that, after substitution, yields ∫11−u2 du\int \frac{1}{\sqrt{1-u^2}}\,du. Recognizing the arcsin form avoids brittle numerical integration in a dashboard sensitivity layer.

The formula, piece by piece

Symbol Meaning
aa Nonzero constant; often a>0a>0
xx Integration variable, $

x|<|a|intherealarcsinbranch∣∣in the real arcsin branch | |\arcsin(x/a)∣Inversesine,radians∣∣| Inverse sine, radians | |C$ | Constant of integration |

∫1a2−x2 dx=arcsin⁡ ⁣(xa)+C(a>0, ∣x∣<a)\int \frac{1}{\sqrt{a^2 - x^2}}\,dx = \arcsin\!\left(\frac{x}{a}\right) + C \quad (a>0,\ |x|<a)
(2)

The formula in words

The area rate encoded by 1/a2−x21/\sqrt{a^2-x^2} is exactly the rate at which arcsin⁡(x/a)\arcsin(x/a) changes, so integrating “undoes” that derivative.

Critical Concepts

  • Domain: real a2−x2\sqrt{a^2-x^2} needs ∣x∣≤∣a∣|x|\le |a|; endpoints need limit interpretation.
  • Sign of aa: tables assume a>0a>0; flip or use ∣a∣|a| if not.
  • Not the same as ∫1/x2−a2 dx\int 1/\sqrt{x^2-a^2}\,dx (hyperbolic / log forms).

Step-by-step calculation (tiny example)

Step 1: Identify aa ∫19−x2 dx\displaystyle \int \frac{1}{\sqrt{9-x^2}}\,dx: here a2=9a^2=9, take a=3a=3.

Step 2: Apply the rule

∫19−x2 dx=arcsin⁡ ⁣(x3)+C\int \frac{1}{\sqrt{9-x^2}}\,dx = \arcsin\!\left(\frac{x}{3}\right) + C
(3)

Step 3: Self-check by derivative ddxarcsin⁡(x/3)=11−(x/3)2⋅13=19−x2\dfrac{d}{dx}\arcsin(x/3)=\dfrac{1}{\sqrt{1-(x/3)^2}}\cdot \dfrac{1}{3} =\dfrac{1}{\sqrt{9-x^2}}.

Code examples

Beginner example (Python)

python
import numpy as np
a = 3.0
xs = np.linspace(-2.9, 2.9, num=7)
# Antiderivative F(x) = arcsin(x/a); derivative check on interior
F = np.arcsin(xs / a)
dF_num = np.gradient(F, xs)
integrand = 1.0 / np.sqrt(a**2 - xs**2)
print(np.allclose(dF_num, integrand, rtol=0.02))   # coarse finite-diff check

Beginner example (R)

r
a <- 3
xs <- seq(-2.9, 2.9, length.out = 7)
F <- asin(xs / a)
dF_num <- diff(F) / diff(xs)
xmid <- xs[-1] - diff(xs) / 2
integrand <- 1 / sqrt(a^2 - xmid^2)
print(mean(abs(dF_num - integrand)) < 0.05)

Professional example (Python)

python
import numpy as np

RANDOM_SEED = 42


def arcsin_antiderivative(x: np.ndarray, a: float) -> np.ndarray:
    if a == 0:
        raise ValueError("a must be nonzero")
    if np.any(np.abs(x) >= np.abs(a)):
        raise ValueError("need |x| < |a| for real arcsin branch")
    return np.arcsin(x / a)

if __name__ == "__main__":
    rng = np.random.default_rng(RANDOM_SEED)
    a = 2.5
    x = rng.uniform(-a + 0.01, a - 0.01, size=5)
    print(np.round(arcsin_antiderivative(x, a), 4))

Professional example (R)

r
# R equivalent of the Final Professional [Python] example above (same scenario and logic)
set.seed(42)
a <- 2.5
x <- runif(5, min = -a + 0.01, max = a - 0.01)
print(round(asin(x / a), 4))

Source: domain knowledge

#calculus#integral-calculus#standard-integrals

Keyboard shortcuts

Single keys, ignored while typing in a field or with Cmd, Ctrl or Alt held.

0
Home
1 2 3 4
Work, Writing, Tools, About
j / k
Next / previous section on this page
n / p
Next / previous project or essay
u
Up one level
l
Deutsch
t
Light or dark theme
?
This list
Esc
Close