Integrals of some particular functions

NCERT Class 12 Mathematics Chapter 7 Section 7.4

Quick answer

For a > 0 and on intervals where their integrands are defined, six particular integrals cover a squared variable and a squared constant, with or without a square root: for example ∫dx/(x + a) = (1/a) tan (x/a) + C and ∫dx/√(a − x) = sin (x/a) + C, while the other four give logarithms. Any quadratic ax + bx + c that is not a perfect square (a ≠ 0, b ≠ 4ac) is brought to one of these forms by taking out a and completing the square. A linear numerator px + q is split as A(2ax + b) + B, so that one part gives a logarithm and the other a quadratic denominator.

With your textbook

NCERT Mathematics Part II (Class 12), Chapter 7 “Integrals”, Section 7.4 “Integrals of Some Particular Functions”, pages 243–252.

Open the official NCERT chapter (PDF, 5.7 MB, ncert.nic.in) (opens in a new tab)

Checked against the 2026-27 reprint on .

What are the particular integrals?

Six particular integrals

In this section, we mention below some important formulae of integrals and apply them for integrating many other related standard integrals:

NCERT Mathematics Part II (Class 12), Section 7.4, page 243

  • NCERT lists six of them, for a positive constant a, on pages 243–244; they are in the box below.
  • Each comes from a substitution or from splitting a fraction, and each needs + C.

The six particular integrals (each + C)

∫dx/(x − a) = (1/(2a)) log |(x − a)/(x + a)|

∫dx/(a − x) = (1/(2a)) log |(a + x)/(a − x)|

∫dx/(x + a) = (1/a) tan (x/a)

∫dx/√(x − a) = log |x + √(x − a)|

∫dx/√(a − x) = sin (x/a)

∫dx/√(x + a) = log |x + √(x + a)|

Use the formulas on intervals within their real domains: the denominators x − a and a − x exclude ±a; the square-root denominators require |x| > a and |x| < a, respectively. The plus-sign forms are defined for every real x, with a > 0.

In plain words: these six cover a squared variable and a squared constant, added or subtracted, with or without a square root. Every quadratic that is not a perfect square (b2 ≠ 4ac) can be brought to one of these shapes by completing the square, which is why they matter far beyond the six themselves. Two of them give the inverse trigonometric functions tan and sin of Chapter 2; the others give logarithms.

Where the formulas come from

NCERT proves all six on pages 244–246. For the substitutions below choose −π/2 < θ < π/2 for tangent or sine, so cos θ > 0. The secant proof uses 0 < θ < π/2 and covers x > a. Its logarithmic answer also holds for x < −a, as direct differentiation verifies; using √(tan θ) = tan θ without choosing a branch would be invalid.

  • The first two split into simpler fractions: 1/(x2 − a2) = (1/(2a))[1/(x − a) − 1/(x + a)], and each part integrates to a logarithm. NCERT’s Note (page 245) says this technique is explained in Section 7.5, on partial fractions.
  • tan and sin: put x = a tan θ in ∫dx/(x2 + a2), so that dx = a sec2 θ dθ and the integrand becomes (1/a) dθ. In ∫dx/√(a2 − x2), put x = a sin θ; the integrand becomes dθ.
  • The two logarithms with a root: put x = a sec θ (for √(x2 − a2)) or x = a tan θ (for √(x2 + a2)). Both lead to ∫sec θ dθ = log |sec θ + tan θ|, which becomes log |x/a + √(x2/a2 ∓ 1)|. Taking out −log |a| leaves log |x + √(x2 ∓ a2)|, and the constant −log |a| joins C.

A quadratic denominator: complete the square

For ∫dx/(ax2 + bx + c) or ∫dx/√(ax2 + bx + c), assume the leading coefficient a ≠ 0 and complete the square (NCERT 7.4 (7) and (8), page 246). Write p = b/(2a) and m = c/a − p2, that is, m = c/a − b2/(4a2). Then

ax2 + bx + c = a[(x + p)2 + m].

Now t = x + p gives dx = dt, and the bracket is t2 + k2 or t2 − k2, depending on the sign of m. If m = 0, a case NCERT leaves out, it is t2 and none of the six is needed: 1/(at2) integrates by the power rule, while under a root, for a > 0, 1/√(at2) is 1/(√a |t|), whose anti derivative is log |t|/√a on t > 0 and −log |t|/√a on t < 0. For a negative leading coefficient under a root, do not take out √a: rewrite the positive quadratic as (−a)(k − t) and work where |t| < k. Completing the square is the same step as in the Class 11 quadratic formula.

NCERT Examples 8 and 9 (pages 247–249):

  • ∫dx/(x2 − 16) = (1/8) log |(x − 4)/(x + 4)| + C, with a = 4.
  • 2x − x2 = 1 − (x − 1)2, so ∫dx/√(2x − x2) = sin (x − 1) + C.
  • x2 − 6x + 13 = (x − 3)2 + 22, so ∫dx/(x2 − 6x + 13) = ½ tan ((x − 3)/2) + C.
  • 3x2 + 13x − 10 = 3[(x + 13/6)2 − (17/6)2], and the first formula gives (1/17) times log |(3x − 2)/(x + 5)|, plus C. NCERT’s last step drops the constant (1/17) log (1/3) into C.

A linear numerator

For ∫(px + q)/(ax2 + bx + c) dx, and the same with a square root below, write the top as a multiple of the derivative of the bottom plus a constant (NCERT 7.4 (9) and (10), pages 246–247):

Splitting a linear numerator

px + q = A(2ax + b) + B

Equate the coefficients of x and the constants to find A and B. The A part has the derivative of the bottom on top, so it gives a logarithm (or a square root, when the bottom has a root); the B part is a quadratic denominator of the previous section.

NCERT Example 10 (i) (pages 249–250): x + 2 = A(4x + 6) + B gives A = ¼ and B = ½, and

∫(x + 2)/(2x2 + 6x + 5) dx

= ¼ log |2x2 + 6x + 5| + ½ tan (2x + 3) + C.

NCERT Example 10 (ii) (pages 250–251): x + 3 = A(−4 − 2x) + B gives A = −½ and B = 1. With a root below, the A part is a square root, not a logarithm, and 5 − 4x − x2 = 9 − (x + 2)2:

∫(x + 3)/√(5 − 4x − x2) dx

= −√(5 − 4x − x2) + sin ((x + 2)/3) + C.

Solved examples

Example 1: A hidden x (NCERT Exercise 7.4, Q1, page 251)

Find ∫3x2/(x6 + 1) dx.

Put t = x3, so dt = 3x2 dx and x6 = t2. The integral is ∫dt/(t2 + 1) = tan t + C.

Answer: tan (x3) + C.

Example 2: Complete the square (NCERT Exercise 7.4, Q11, page 252)

Find ∫dx/(9x2 + 6x + 5).

9x2 + 6x + 5 = (3x + 1)2 + 22. Put t = 3x + 1, so dx = dt/3, and the integral is (1/3) × (1/2) tan (t/2).

Answer: (1/6) tan ((3x + 1)/2) + C.

Example 3: The top is the derivative of the root (NCERT Exercise 7.4, Q16, page 252)

Find ∫(4x + 1)/√(2x2 + x − 3) dx.

The derivative of 2x2 + x − 3 is 4x + 1, exactly the top. So A = 1, B = 0, and with t = 2x2 + x − 3 the integral is ∫t−1/2 dt = 2√t + C.

Answer: 2√(2x2 + x − 3) + C.

Example 4: A linear numerator over a quadratic (NCERT Exercise 7.4, Q18, page 252)

Find ∫(5x − 2)/(1 + 2x + 3x2) dx.

5x − 2 = A(6x + 2) + B gives 6A = 5 and 2A + B = −2, so A = 5/6 and B = −11/3. The A part is (5/6) log |3x2 + 2x + 1|. For the B part, 3x2 + 2x + 1 = 3[(x + 1/3)2 + 2/9], and ∫dx/(3x2 + 2x + 1) = (1/√2) tan ((3x + 1)/√2).

Answer: (5/6) log |3x2 + 2x + 1|, minus (11/(3√2)) tan w, plus C, where w = (3x + 1)/√2.

Example 5: Choose the correct answer (NCERT Exercise 7.4, Q25, page 252)

∫dx/√(9x − 4x2) equals, with + C in each option:

  • (A) (1/9) sin ((9x − 8)/8);
  • (B) ½ sin ((8x − 9)/9);
  • (C) (1/3) sin ((9x − 8)/8);
  • (D) ½ sin ((9x − 8)/9).

9x − 4x2 = 4[(9/8)2 − (x − 9/8)2]. Taking out √4 = 2 and using the sin formula with a = 9/8: ½ sin ((x − 9/8)/(9/8)) = ½ sin ((8x − 9)/9).

Answer: (B).

Common mistakes to avoid

Common mistake

Forgetting the leading coefficient

In ∫dx/(3x2 + 13x − 10), take the 3 out before completing the square, and keep the factor 1/3 in front. Completing the square on x2 + 13x − 10 instead gives a wrong answer.

Common mistake

Mixing up x − a and a − x

1/(x2 − a2) gives (1/(2a)) log |(x − a)/(x + a)|, while 1/(a2 − x2) gives (1/(2a)) log |(a + x)/(a − x)|. Swapping them changes the sign of the answer.

Common mistake

Taking tan when the square is subtracted

After completing the square, check the sign of the constant: (x + 13/6)2 − (17/6)2 needs the logarithm formula, not tan. Only a sum of squares gives tan.

Quick revision summary

  • ∫dx/(x + a) = (1/a) tan (x/a) + C and ∫dx/√(a − x) = sin (x/a) + C; the other four of the six give logarithms.
  • A quadratic below: take out a, complete the square, put t = x + b/(2a), and use the matching formula.
  • A linear numerator: px + q = A(2ax + b) + B; the A part gives a logarithm (or a root), the B part a quadratic denominator.

Formula sheet

  • ∫dx/(x + a) = (1/a) tan (x/a) + C
  • ∫dx/√(a − x) = sin (x/a) + C
  • ∫dx/(x − a) = (1/(2a)) log |(x − a)/(x + a)| + C
  • ∫dx/√(x ± a) = log |x + √(x ± a)| + C

Questions students ask

Why is there a 1/a in the tan formula but not in the sin formula?

∫dx/(x2 + a2) = (1/a) tan (x/a) + C has a 1/a but ∫dx/√(a2 − x2) = sin (x/a) + C has none because of how a scales out (a > 0): putting x = au makes dx = a du, while x2 + a2 = a2(u2 + 1) carries two factors of a and √(a2 − x2) = a√(1 − u2) only one. So one a stays below in the first, (1/a)∫du/(u2 + 1), and none in the second, ∫du/√(1 − u2). For a = 5, ∫dx/(x2 + 25) is (1/5) tan (x/5) + C and ∫dx/√(25 − x2) is sin (x/5) + C.

How does the discriminant decide which formula ∫dx/(ax2 + bx + c) needs?

The sign of the discriminant D = b2 − 4ac decides it, because completing the square writes ax2 + bx + c as a(X2 − D/(4a2)), with X = x + b/(2a): a positive D leaves a difference of squares and a logarithm, a negative D a sum of squares and tan. A zero D gives a perfect square, which none of the six formulas covers; the power rule does it: ∫dx/(x2 − 8x + 16) is ∫(x − 4)−2 dx, that is −1/(x − 4) + C. For x2 + 4x + 7, D = −12 and the square is (x + 2)2 + 3, so the integral is (1/√3) tan w + C, where w = (x + 2)/√3.

What is the integral of 1/√(x2 + a2), and is it the same as sinh (x/a)?

The integral of 1/√(x2 + a2) is log |x + √(x2 + a2)| plus C (NCERT page 244); beyond the NCERT text, which has no hyperbolic functions, sinh (x/a) + C, the inverse hyperbolic sine that many calculus books and computer algebra tools give, is the same answer up to a constant. Since sinh u equals log (u + √(u2 + 1)), with u = x/a and a > 0 it is log (x + √(x2 + a2)) minus log a, and the − log a joins C. In the same way cosh (x/a) matches log |x + √(x2 − a2)| for x ≥ a; NCERT writes the logarithms.

When does ∫dx/√(ax2 + bx + c) give sin and when a logarithm?

For ∫dx/√(ax2 + bx + c) the sign of a decides: completing the square with X = x + b/(2a), a > 0 gives a(X2 ± k2) and a logarithm, while a < 0 gives −a(k2 − X2) and sin. For a < 0 the discriminant b2 − 4ac must also be positive, or the quadratic is never positive, as with −x2 − 1. So ∫dx/√(10x − x2 − 21), where 10x − x2 − 21 equals 4 − (x − 5)2, is sin ((x − 5)/2) + C, while ∫dx/√(x2 − 4x + 13), where the square is (x − 2)2 + 9, is log |x − 2 + √(x2 − 4x + 13)| + C.

Practice questions

Try each question first, then open the answer to check your working.

  1. Q1. Find ∫dx/√(1 + 4x2) and ∫dx/√(9 − 25x2) (NCERT Exercise 7.4, Q2 and Q4, page 251).

    Show answerHide answer

    With t = 2x: ½∫dt/√(1 + t2) = ½ log |2x + √(1 + 4x2)| + C. With t = 5x: (1/5)∫dt/√(9 − t2) = (1/5) sin (5x/3) + C.

  2. Q2. Find ∫dx/√(x2 + 2x + 2) (NCERT Exercise 7.4, Q10, page 252).

    Show answerHide answer

    x2 + 2x + 2 = (x + 1)2 + 1, so the integral is log |x + 1 + √(x2 + 2x + 2)| + C.

  3. Q3. Find ∫dx/√(7 − 6x − x2) (NCERT Exercise 7.4, Q12, page 252).

    Show answerHide answer

    7 − 6x − x2 = 16 − (x + 3)2, so the integral is sin ((x + 3)/4) + C.

  4. Q4. ∫dx/(x2 + 2x + 2) equals (A) x tan (x + 1) + C; (B) tan (x + 1) + C; (C) (x + 1) tan x + C; (D) tan x + C (NCERT Exercise 7.4, Q24, page 252).

    Show answerHide answer

    x2 + 2x + 2 = (x + 1)2 + 1, so the integral is tan (x + 1) + C: (B).

More practice questions

Sources and review

Written by
TopicLamp Editorial Team.
Checked by
TopicLamp Review Team.
NCERT source
NCERT, Mathematics Part II (Class 12), reprint 2026-27. Chapter 7 “Integrals”, Section 7.4 “Integrals of Some Particular Functions”, pages 243–252. Checked on . Official chapter PDF on ncert.nic.in (opens in a new tab) (5.7 MB).
Dates
First published Checked and updated
Corrections
  • : OpenAI Codex review: read lesson, FAQs and practice; independently checked integrals, domains and convergence. Corrected material conditions and false divergent-integral answer; preserved sound content.

Report a mistake on this page How pages are written, reviewed and corrected

Topics in Integrals

  1. Integration as anti differentiation

    NCERT Section 7.2 13 min read

  2. Methods of integration: substitution and identities

    NCERT Section 7.3 15 min read

  3. Integrals of some particular functions

    NCERT Section 7.4 You are reading this topic

  4. Integration by partial fractions

    NCERT Section 7.5 14 min read

  5. Integration by parts

    NCERT Section 7.6 15 min read

  6. Definite integral

    NCERT Section 7.7 10 min read

  7. Fundamental theorem of calculus

    NCERT Section 7.8 13 min read

  8. Definite integrals by substitution

    NCERT Section 7.9 10 min read

  9. Properties of definite integrals

    NCERT Section 7.10 13 min read