Standard Integral of 1/(x² − a²)
On this page· 13 sections
Source & scope. Class 12 Mathematics, Chapter 7 Integrals, Section 7.4 Integrals of Some Particular Functions, Formula (1). First of six closely related standard forms covered in this section; the next, [Standard Integral of 1/](/study-materials/math12-ch07-standard-integral-of-1-over-a-squared-minu...
Source & scope. Class 12 Mathematics, Chapter 7 Integrals, Section 7.4 Integrals of Some Particular Functions, Formula (1). First of six closely related standard forms covered in this section; the next, [Standard Integral of 1/](/study-materials/math12-ch07-standard-integral-of-1-over-a-squared-minus-x-squared)(a² − x²), swaps the sign inside the quadratic and gives a differently-arranged log answer.
The standard integral of 1/(x² − a²) is ∫dx/(x² − a²) = (1/2a) log|(x−a)/(x+a)| + C, obtained by splitting the integrand into partial fractions. Since x² − a² factorises as (x−a)(x+a), the integrand can be written as a difference of two simple fractions, each of which integrates to a logarithm, giving the compact log-of-a-ratio form above.
At a glance
- Standard formula: .
- Derivation route: factor x² − a² = (x−a)(x+a), then split into partial fractions.
- Partial fraction identity: .
- Worked example: .
- This is the first of six standard forms (sibling forms cover a²−x², x²+a², and the three matching square-root versions).
Learning objectives
- Derive the partial-fraction decomposition of 1/(x²−a²) and verify it algebraically.
- Use the decomposition to integrate 1/(x²−a²) and arrive at the standard log formula.
- Apply the formula to a concrete case such as 1/(x²−16) by correctly identifying a.
- Verify the resulting antiderivative by differentiating it back to the original integrand.
Prerequisite knowledge
The reader should know how to factorise a difference of squares (x²−a² = (x−a)(x+a)), be comfortable with partial fraction decomposition of a rational function with distinct linear factors, and know the standard integral ∫dx/x = log|x| + C.
Core explanation
Setting up the partial fractions. The integrand 1/(x²−a²) is a rational function whose denominator factorises into two distinct linear factors: x² − a² = (x−a)(x+a). A rational function with distinct linear factors in the denominator can always be split into simpler fractions over each factor: 1/(x²−a²) = 1/[(x−a)(x+a)] = (1/2a)·[1/(x−a) − 1/(x+a)].
Verifying the decomposition. Combine the right-hand side back into a single fraction to confirm it is correct: (1/2a)[1/(x−a) − 1/(x+a)] = (1/2a)·[(x+a) − (x−a)] / [(x−a)(x+a)] = (1/2a)·(2a) / [(x−a)(x+a)] = 1/[(x−a)(x+a)]. This matches the original integrand exactly, confirming the decomposition. ✓
Integrating termwise. With the integrand split into two simple fractions, integrate each using ∫dx/x = log|x| + C (shifted by a constant inside): ∫dx/(x²−a²) = (1/2a)[∫dx/(x−a) − ∫dx/(x+a)] = (1/2a)[log|x−a| − log|x+a|] + C.
Combining the logs. Using the logarithm rule log m − log n = log(m/n): ∫dx/(x²−a²) = (1/2a) log|(x−a)/(x+a)| + C. This is Formula (1) of NCERT's list of standard integrals of particular functions. The absolute value signs matter — the formula must be valid wherever x−a and x+a are each nonzero, regardless of sign, so the ratio inside the logarithm is taken in absolute value.
Why this is the "first" of six related standard forms. The denominator x²−a² is one of three possible quadratic shapes built from x² and a² (the others being a²−x² and x²+a²), and each shape has both a "plain" version (1/quadratic, giving a log or arctan answer) and a "square-root" version (1/√quadratic, giving a log or inverse-sine/inverse-cosine answer). Together, the six standard forms 1/(x²−a²), 1/(a²−x²), 1/(x²+a²), 1/√(x²−a²), 1/√(a²−x²), and 1/√(x²+a²) let you integrate almost any expression of the shape "1 over a quadratic-ish expression," once that expression has been arranged into exactly one of these six shapes — often by first completing the square if the quadratic is not already a pure difference or sum of squares.
Key terms
- Partial fractions — rewriting a rational function as a sum of simpler fractions with linear (or irreducible quadratic) denominators.
- Difference of squares — the factorisation x² − a² = (x−a)(x+a), the starting point of this derivation.
- Standard integral of 1/(x²−a²) — ∫dx/(x²−a²) = (1/2a) log|(x−a)/(x+a)| + C.
- — the logarithm rule used to combine the two log terms into a single ratio.
Diagram / figure guidance
A three-step vertical flow diagram: Step 1 box shows "1/(x²−a²)" with an arrow labelled "factor: (x−a)(x+a)" pointing to Step 2's box "(1/2a)[1/(x−a) − 1/(x+a)]"; an arrow labelled "integrate each term" points to Step 3's box "(1/2a)[log|x−a| − log|x+a|] + C"; a final arrow labelled "combine logs" points to the boxed final formula "(1/2a) log|(x−a)/(x+a)| + C". A small side panel can list the two sibling forms (1/(a²−x²) and 1/(x²+a²)) with their final answers, to visually anchor how this is one of a family of three.
Worked example
Find ∫dx/(x² − 16), and verify the answer by differentiation. (This is NCERT Example 8(i).)
Here x²−16 = x²−4², so a² = 16 and a = 4. Applying the standard formula ∫dx/(x²−a²) = (1/2a) log|(x−a)/(x+a)| + C with a = 4: ∫dx/(x²−16) = (1/(2·4)) log|(x−4)/(x+4)| + C = (1/8) log|(x−4)/(x+4)| + C.
Verification by differentiation. Write the answer as (1/8)[log|x−4| − log|x+4|] + C and differentiate termwise: d/dx [(1/8) log|(x−4)/(x+4)|] = (1/8)[1/(x−4) − 1/(x+4)] = (1/8) · [(x+4) − (x−4)] / [(x−4)(x+4)] = (1/8) · 8/(x²−16) = .
This matches the original integrand exactly, confirming the antiderivative is correct. ✓
Common misconceptions
- "1/(x²−a²) integrates to an arctan, like 1/(x²+a²)." It does not — x²−a² factorises into real linear factors (x−a)(x+a), so partial fractions apply and the answer is a logarithm; x²+a² does not factorise over the reals, which is exactly why that case gives an arctan instead.
- "The formula is (1/2a) log|(x+a)/(x−a)|, with the terms in the other order." The order matters because log(m/n) = −log(n/m): NCERT's formula consistently has (x−a) on top and (x+a) on the bottom, derived directly from log|x−a| − log|x+a|.
- "a in the formula must be the coefficient under the x², like in x²−16, a = 16." a is defined so that a² equals the constant term; for x²−16, a² = 16 so a = 4, not 16.
- "1/(x²−a²) and 1/(a²−x²) give the same answer since one is just the negative of the other." The integrands are indeed negatives of each other, so their antiderivatives are also negatives of each other — but 1/(a²−x²) is conventionally written with its own standard form, (1/2a) log|(a+x)/(a−x)| + C, which looks superficially similar but has the terms arranged differently; conflating the two sibling formulas is a common source of sign errors.
Exam application (JEE)
JEE tests this standard form most often by presenting an integrand already in, or reducible to, the shape 1/(x²−a²) (sometimes disguised as 1/(quadratic) after factoring or completing the square), and expecting the student to identify a correctly and apply the log formula without sign errors. A very common examiner trick is to place three sibling forms — 1/(x²−a²), 1/(a²−x²), and 1/(x²+a²) — as answer options to the same-looking integral, specifically to catch students who have memorised the shape of the answer (log vs. arctan, and the order of terms in the log) without understanding which quadratic shape produces which result.
Frequently asked questions
- What is the integral of 1/(x²−a²)? ∫dx/(x²−a²) = (1/2a) log|(x−a)/(x+a)| + C, derived by splitting 1/(x²−a²) into partial fractions over the factors (x−a) and (x+a).
- How do you derive the standard integral of 1/(x²−a²)? Factor x²−a² as (x−a)(x+a), decompose into partial fractions as (1/2a)[1/(x−a) − 1/(x+a)], integrate each term to get logs, and combine the logs using log m − log n = log(m/n).
- What is ∫dx/(x²−16)? Since x²−16 = x²−4², here a = 4, so ∫dx/(x²−16) = (1/8) log|(x−4)/(x+4)| + C.
- Why does 1/(x²−a²) give a logarithm while 1/(x²+a²) gives an arctan? x²−a² factorises into real linear factors, so partial fractions apply and integration produces logs; x²+a² has no real linear factors, so a different (inverse-tangent) standard result applies instead.
- Is 1/(x²−a²) the same formula as 1/(a²−x²)? No — although the two integrands are negatives of each other, 1/(a²−x²) has its own standard form, (1/2a) log|(a+x)/(a−x)| + C, with the terms arranged differently; they should not be used interchangeably.
Practice questions (original practice questions)
- ∫dx/(x² − 9) equals:
- (a) (1/6) log|(x−3)/(x+3)| + C
- (b) (1/3) log|(x−3)/(x+3)| + C
- (c) (1/6) log|(x+3)/(x−3)| + C
- (d) (1/9) log|(x−3)/(x+3)| + C
- Answer: (a) — Here a² = 9, a = 3, so the formula gives (1/(2·3)) log|(x−3)/(x+3)| + C = (1/6) log|(x−3)/(x+3)| + C.
- The partial fraction decomposition of 1/(x²−25) is:
- (a) (1/10)[1/(x−5) + 1/(x+5)]
- (b) (1/10)[1/(x−5) − 1/(x+5)]
- (c) (1/5)[1/(x−5) − 1/(x+5)]
- (d) 1/(x−5) − 1/(x+5)
- Answer: (b) — With a = 5, 1/(x²−25) = (1/2a)[1/(x−a) − 1/(x+a)] = (1/10)[1/(x−5) − 1/(x+5)].
- ∫dx/(4x² − 1) equals (write 4x²−1 = 4(x² − 1/4), so a² = 1/4, a = 1/2, and factor out the 4):
- (a) (1/4) log|(2x−1)/(2x+1)| + C
- (b) (1/2) log|(2x−1)/(2x+1)| + C
- (c) log|(2x−1)/(2x+1)| + C
- (d) (1/8) log|(2x−1)/(2x+1)| + C
- Answer: (a) — ∫dx/(4x²−1) = (1/4)∫dx/(x²−1/4) = (1/4)·(1/(2·(1/2))) log|(x−1/2)/(x+1/2)| + C = (1/4) log|(2x−1)/(2x+1)| + C after multiplying numerator and denominator inside the log by 2.
- Differentiating (1/2a) log|(x−a)/(x+a)| + C with respect to x gives:
- (a) 1/(x²+a²)
- (b) 1/(x²−a²)
- (c) 1/(x−a) − 1/(x+a)
- (d) (1/2a)[1/(x−a) + 1/(x+a)]
- Answer: (b) — d/dx[(1/2a)log|(x−a)/(x+a)|] = (1/2a)[1/(x−a) − 1/(x+a)] = (1/2a)·(2a)/[(x−a)(x+a)] = 1/(x²−a²).
- Which of the following integrals is correctly matched to a logarithmic (not inverse-trigonometric) standard form?
- (a) ∫dx/(x²+16)
- (b) ∫dx/(x²−16)
- (c) ∫dx/√(16−x²)
- (d) ∫dx/√(x²+16)
- Answer: (b) — x²−16 factorises into real linear factors (x−4)(x+4), so partial fractions apply and the result is a logarithm; the others involve x²+a² or square roots, which give inverse-trigonometric or different log forms instead.
Quick revision
- x² − a² = (x−a)(x+a) ⟹ by partial fractions.
- Standard result: .
- Worked example: ∫dx/(x²−16) = (1/8) log|(x−4)/(x+4)| + C (here a = 4, not 16).
- This is the first of six standard forms covering 1/(quadratic) and 1/√(quadratic) in the shapes x²−a², a²−x², and x²+a².
- Don't confuse this log-type result with 1/(x²+a²), which gives an arctan, not a log.
Related articles
- Next: Standard Integral of 1/(a² − x²) — the sibling log form with the sign inside the quadratic reversed.
- See also: Standard Integral of 1/(x² + a²) — gives an inverse-tangent answer instead of a logarithm.
- See also: Standard Integral of 1/√(x² − a²), Standard Integral of 1/√(a² − x²), Standard Integral of 1/√(x² + a²) — the square-root analogues of the three quadratic shapes.
- Builds on: Partial Fractions — Rational Functions and the Decomposition Table and Integrating 1/(Quadratic) by Completing the Square.
- Related topics: Anti-Derivatives and the Indefinite Integral — Definition, Notation and Terminology, Definite Integral of an Even Function Over a Symmetric Interval, Definite Integral of an Odd Function Over a Symmetric Interval, Definite Integral — Definition and Notation, Definite Integrals of Modulus (Absolute Value) Functions, Evaluating Definite Integrals by Substitution