Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Miscellaneous · Q16: ∫e3log⁡x(x4+1)−1 dx\int e^{3\log x}(x^4+1)^{-1}\,dx

Miscellaneous ExerciseSimplify e^(3 log x) = x³, then substitute t = x⁴ + 1 · Miscellaneous Exercise
The question

Integrate the function:

e3log⁡x(x4+1)−1e^{3\log x}\left(x^4+1\right)^{-1}
Exam answer

Let I=∫e3log⁡x(x4+1)−1 dxI = \displaystyle\int e^{3\log x}(x^4 + 1)^{-1}\,dx⁠.

Since x>0x > 0⁠, e3log⁡x=elog⁡x3=x3e^{3\log x} = e^{\log x^3} = x^3⁠. So

I=∫x3 dxx4+1I = \int\frac{x^3\,dx}{x^4 + 1}

Put x4+1=tx^4 + 1 = t⁠. Then 4x3 dx=dt4x^3\,dx = dt⁠.

I=14∫dtt=14log⁡∣t∣+CI = \frac14\int\frac{dt}{t} = \frac14\log|t| + C

∴ I=14log⁡(x4+1)+C\therefore\ I = \dfrac14\log(x^4 + 1) + C⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

First simplify: 3log⁡x=log⁡x33\log x = \log x^3⁠, and elog⁡x3=x3e^{\log x^3} = x^3⁠. The integrand becomes x3x4+1\frac{x^3}{x^4+1}⁠, and the numerator x3x^3 is a quarter of the derivative 4x34x^3 of the denominator. A fraction of the form g′(x)g(x)\frac{g'(x)}{g(x)} integrates to log⁡∣g(x)∣\log|g(x)|⁠.

Given, to find, and the plan
Given
f(x)=e3log⁡x(x4+1)−1f(x) = e^{3\log x}(x^4+1)^{-1}⁠. Because of log⁡x\log x⁠, it is defined only for x>0x > 0⁠.
To find
∫e3log⁡x(x4+1)−1 dx\displaystyle\int e^{3\log x}(x^4+1)^{-1}\,dx⁠.
Plan
(1) Simplify e3log⁡xe^{3\log x}⁠. (2) Choose the substitution t=x4+1t = x^4+1⁠. (3) Integrate 1t\frac1t⁠. (4) Return to xx⁠. (5) Differentiate back and compare with the key.

Basics you need

1Laws of logarithms

klog⁡x=log⁡xkk\log x = \log x^k for x>0x > 0⁠, and elog⁡u=ue^{\log u} = u for u>0u > 0⁠. Basics: logarithms and 1/x

2Substitution (Section 7.3.1)

t=g(x)t = g(x)⁠, dt=g′(x) dxdt = g'(x)\,dx⁠. In particular ∫g′(x)g(x) dx=log⁡∣g(x)∣+C\int\frac{g'(x)}{g(x)}\,dx = \log|g(x)| + C⁠. Basics: substitution

3The logarithm integral

∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + C (standard formula (xii), Section 7.2).

Solution

  1. Simplify e3log⁡xe^{3\log x}

    For x>0x > 0⁠:

    e3log⁡x=elog⁡x3=x3,f(x)=x3x4+1.e^{3\log x} = e^{\log x^3} = x^3 ,\qquad f(x) = \frac{x^3}{x^4+1} .
    The power law of logarithms moves the 3 inside as an exponent, and then the exponential undoes the logarithm. Both laws need x>0x > 0⁠, which is exactly where the given function is defined. The negative power (x4+1)−1(x^4+1)^{-1} just means 1x4+1\frac{1}{x^4+1}⁠.
  2. Choose the method: substitute t=x4+1t = x^4 + 1

    t=x4+1,dt=4x3 dx,x3 dx=dt4.t = x^4 + 1 ,\qquad dt = 4x^3\,dx ,\qquad x^3\,dx = \frac{dt}{4} .
    The derivative of the denominator, 4x34x^3⁠, is a constant multiple of the numerator. So the whole numerator together with dxdx becomes dt4\frac{dt}{4}⁠, and only 1t\frac1t is left to integrate. Partial fractions would be far longer here.
  3. Integrate in tt

    ∫x3 dxx4+1=14∫dtt=14log⁡∣t∣+C.\int\frac{x^3\,dx}{x^4+1} = \frac14\int\frac{dt}{t} = \frac14\log|t| + C .
    Standard formula (xii) with the constant 14\frac14 taken outside (Property (IV), Section 7.2.1).
    Standard formula (xii), Section 7.2. Basics: logarithms and 1/x
  4. Return to xx

    ∫e3log⁡x(x4+1)−1 dx=14log⁡(x4+1)+C.\int e^{3\log x}(x^4+1)^{-1}\,dx = \frac14\log\left(x^4+1\right) + C .
    t=x4+1≥1>0t = x^4 + 1 \ge 1 > 0⁠, so ∣t∣=t|t| = t and the modulus can be dropped.
  5. Check: differentiate the answer

    ddx(14log⁡(x4+1))=14⋅4x3x4+1=x3x4+1=e3log⁡x(x4+1)−1 ✓\begin{aligned}\frac{d}{dx}\left(\frac14\log(x^4+1)\right) &= \frac14\cdot\frac{4x^3}{x^4+1}\\ &= \frac{x^3}{x^4+1}\\ &= e^{3\log x}(x^4+1)^{-1}\ \checkmark\end{aligned}
    Chain rule: outer function log⁡u\log u⁠, inner u=x4+1u = x^4+1⁠. The last equality is Step 1, which holds for x>0x > 0⁠. The answer is therefore valid on (0,∞)(0, \infty)⁠, the whole domain of the given function.
  6. Compare with the textbook's answer

    The key gives 14log⁡(x4+1)+C\frac14\log(x^4+1) + C⁠, exactly our answer.

    The formula 14log⁡(x4+1)\frac14\log(x^4+1) would also be an antiderivative of x3x4+1\frac{x^3}{x^4+1} for x≤0x \le 0⁠, but the function in the question, with its log⁡x\log x⁠, does not exist there; so the answer is stated for x>0x > 0⁠.
Result

For x>0x > 0⁠:

∫e3log⁡x(x4+1)−1 dx=14log⁡(x4+1)+C\int e^{3\log x}(x^4+1)^{-1}\,dx = \frac14\log(x^4+1) + C

(Textbook answer: 14log⁡(x4+1)+C\frac14\log(x^4+1) + C⁠.)

Check it with numbers

At x=2x = 2⁠: e3log⁡2=elog⁡8=8e^{3\log 2} = e^{\log 8} = 8⁠, so the integrand is 817\frac{8}{17}⁠, the same as 2324+1\frac{2^3}{2^4+1}⁠.

Area from 1 to 2: F(2)−F(1)=14(log⁡17−log⁡2)F(2) - F(1) = \frac14(\log 17 - \log 2)⁠, that is 14log⁡172≈0.5350165409\frac14\log\frac{17}{2} \approx 0.5350165409⁠. Numerical integration of e3log⁡x(x4+1)−1e^{3\log x}(x^4+1)^{-1} from 1 to 2 also gives 0.53501654090.5350165409⁠.

Common mistakes
  1. Reading e3log⁡xe^{3\log x} as 3x3x⁠. The 3 is a power: e3log⁡x=x3e^{3\log x} = x^3⁠.
  2. Forgetting the 14\frac14⁠. dt=4x3 dxdt = 4x^3\,dx⁠, so x3 dx=dt4x^3\,dx = \frac{dt}{4}⁠.
  3. Answering tan⁡−1(x2)\tan^{-1}(x^2)⁠. That integrates 2xx4+1\frac{2x}{x^4+1}⁠, a different function.
What to take away
  1. eklog⁡x=xke^{k\log x} = x^k for x>0x > 0⁠: simplify such factors before integrating.
  2. If the numerator is a constant multiple of the derivative of the denominator, the integral is that constant times log⁡∣denominator∣\log|\text{denominator}|⁠.

Every fact used, and where it comes from

FactUsed inSource
klog⁡x=log⁡xkk\log x = \log x^k⁠; elog⁡u=ue^{\log u} = uStep 1Chapter 5, logarithmic functions (Basics)
Integration by substitutionSteps 2, 3Section 7.3.1 (Lesson: substitution)
∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + C⁠; constants outsideStep 3Standard formula (xii), Section 7.2; Property (IV), Section 7.2.1
Chain rule; ddxlog⁡u=1u\frac{d}{dx}\log u = \frac{1}{u}Step 5Chapter 5
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →