When facing an integral, I do not necessarily start by asking which technique to apply. I can ask: which integral do I already know, and how can I make it appear here? The method becomes the consequence of recognition, not a label to guess.
In the quotient with denominator x³ + 6x² + 5, for example, degree three does not force me to factor the polynomial: the numerator resembles its derivative. The first examples develop this idea; we then extend it to sums, quotients, trigonometric identities and products.
Use this collection alongside the chapter on antiderivatives to practise choosing a route before calculating. Worked explanations are visible; the final exercise solutions open only when you choose.
Recognize first, choose second
To integrate, I look for differentiation in reverse. A different expression for the same function may reveal an antiderivative I could not see before. Throughout, C denotes an arbitrary constant.
- Do I see an inner function and its derivative alongside it? Try the chain rule in reverse, allowing for a constant factor.
- Can a quotient or sum be rewritten? Simplify, divide or decompose first, then use linearity.
- Does a trigonometric identity turn a product or square into familiar terms? Use it without necessarily introducing a new variable.
- Does differentiating one factor simplify it while the other has an easy antiderivative? The product rule in reverse suggests integration by parts.
\[\int f(g(x))g'(x)\,dx=F(g(x))+C\quad(F'=f)\]
The derivative of an inner function: substitution and direct recognition
If I know an antiderivative F of f, the derivative of F(g(x)) is f(g(x))g′(x). This explains substitution. Calling part of a formula u is not enough: I must also transform the factor accompanying dx, without leaving an unresolved x in the integral in u.
A cubic denominator concealing a logarithm
\[\int\frac{x^2+4x}{x^3+6x^2+5}\,dx\]
I know. The integral of a reciprocal gives the logarithm of its absolute value.
\[\int\frac{du}{u}=\ln|u|+C\]
So. Call the denominator u and differentiate it: both numerator terms reappear multiplied by 3. Take out the factor 1/3, applying it to the whole numerator.
\[\begin{gathered}u=x^3+6x^2+5\\[0.45em]du=(3x^2+12x)\,dx=3(x^2+4x)\,dx\\[0.45em](x^2+4x)\,dx=\frac13\,du\\[0.45em]\int\frac{x^2+4x}{x^3+6x^2+5}\,dx=\frac13\int\frac{du}{u}\end{gathered}\]
\[\boxed{\frac13\ln|x^3+6x^2+5|+C}\]
Factoring the polynomial or finding its roots is unnecessary for integration. The formula holds on each interval avoiding its zeros.
Check by differentiating the antiderivative.
\[\frac13\frac{3x^2+12x}{x^3+6x^2+5}=\frac{x^2+4x}{x^3+6x^2+5}\]
Intervals of validity: \(x^3+6x^2+5\ne0\).
The same clue, but the denominator is squared
\[\int\frac{2x}{(x^2+5)^2}\,dx\]
I know. The integral of u to the power −2 is −1/u, not a logarithm.
\[\int u^{-2}\,du=-\frac1u+C\]
So. Choose the expression inside the square as u. The numerator together with dx is exactly du; the denominator keeps its power 2.
\[\begin{gathered}u=x^2+5,\qquad du=2x\,dx\\[0.45em]\int\frac{2x}{(x^2+5)^2}\,dx=\int\frac{du}{u^2}\end{gathered}\]
\[\boxed{-\frac1{x^2+5}+C}\]
Recognizing the inner derivative is not enough to select the answer: observe the outer function too.
Check by differentiating the antiderivative.
\[\frac{d}{dx}\left[-(x^2+5)^{-1}\right]=2x(x^2+5)^{-2}\]
Intervals of validity: \(x\in\mathbb R\).
The inner function is under a square root
\[\int x\sqrt{1+3x^2}\,dx\]
I know. A square root is a power with exponent 1/2, so I can use the power rule.
\[\int u^{1/2}\,du=\frac23u^{3/2}+C\]
So. Differentiate the expression under the root. The factor x together with dx is one sixth of du; multiplying two fractions gives the final coefficient.
\[\begin{gathered}u=1+3x^2,\qquad du=6x\,dx\\[0.45em]x\,dx=\frac16\,du\\[0.45em]\int x\sqrt{1+3x^2}\,dx=\frac16\int u^{1/2}\,du\\[0.45em]\frac16\cdot\frac23=\frac19\end{gathered}\]
\[\boxed{\frac19(1+3x^2)^{3/2}+C}\]
The root is defined for every real x because its argument is always positive.
Check by differentiating the antiderivative.
\[\frac19\cdot\frac32(1+3x^2)^{1/2}\cdot6x=x\sqrt{1+3x^2}\]
Intervals of validity: \(x\in\mathbb R\).
An arctangent behind a sixth power
\[\int\frac{3x^2}{1+x^6}\,dx\]
I know. The form 1/(1 + u²) has arctangent as an antiderivative.
\[\int\frac{du}{1+u^2}=\arctan u+C\]
So. Read x⁶ as the square of x³. The derivative of x³ is exactly the numerator: the high exponent becomes a clue, not an obstacle.
\[\begin{gathered}u=x^3,\qquad du=3x^2\,dx\\[0.45em]1+x^6=1+(x^3)^2=1+u^2\\[0.45em]\int\frac{3x^2}{1+x^6}\,dx=\int\frac{du}{1+u^2}\end{gathered}\]
\[\boxed{\arctan(x^3)+C}\]
The denominator is always positive; the domain need not be split.
Check by differentiating the antiderivative.
\[\frac{d}{dx}\arctan(x^3)=\frac{3x^2}{1+(x^3)^2}\]
Intervals of validity: \(x\in\mathbb R\).
An exponential with a coefficient to compensate
\[\int e^{3x-2}\,dx\]
I know. The exponential is its own antiderivative with respect to its argument.
\[\int e^u\,du=e^u+C\]
So. The argument has derivative 3: compensate by multiplying the antiderivative by 1/3. View this as substitution or directly as a chain-rule check.
\[\begin{gathered}u=3x-2,\qquad du=3\,dx\\[0.45em]dx=\frac13\,du\\[0.45em]\int e^{3x-2}\,dx=\frac13\int e^u\,du\end{gathered}\]
\[\boxed{\frac13e^{3x-2}+C}\]
Omitting 1/3 would give a derivative three times the integrand.
Check by differentiating the antiderivative.
\[\frac{d}{dx}\left(\frac13e^{3x-2}\right)=\frac13\cdot3e^{3x-2}\]
Intervals of validity: \(x\in\mathbb R\).
A square root suggesting arcsine
\[\int\frac{dx}{\sqrt{9-4x^2}}\]
I know. A denominator involving the square root of 1 − u² leads to arcsine.
\[\int\frac{du}{\sqrt{1-u^2}}=\arcsin u+C\]
So. Normalize both the root and dx using u = 2x/3. The 3 taken out of the root and the 3/2 from dx leave a factor of 1/2.
\[\begin{gathered}u=\frac{2x}{3},\qquad dx=\frac32\,du\\[0.45em]\sqrt{9-4x^2}=3\sqrt{1-u^2}\\[0.45em]\int\frac{dx}{\sqrt{9-4x^2}}=\frac12\int\frac{du}{\sqrt{1-u^2}}\end{gathered}\]
\[\boxed{\frac12\arcsin\left(\frac{2x}{3}\right)+C}\]
The domain matters: the root is in the denominator, so the endpoints ±3/2 are excluded.
Check by differentiating the antiderivative.
\[\frac12\frac{2/3}{\sqrt{1-4x^2/9}}=\frac1{\sqrt{9-4x^2}}\]
Intervals of validity: \(-\frac32<x<\frac32\).
Algebra first: separating and transforming
Integrating a sum means integrating its terms separately; a constant factor can be taken outside the integral. But there is no corresponding rule allowing us to integrate numerator and denominator, or the factors of a product, separately.
\[\int(af(x)+bg(x))\,dx=aF(x)+bG(x)+C\]
Split a quotient into two familiar integrals
\[\int\frac{x^2+1}{x}\,dx\]
I know. I can integrate both x and 1/x.
\[\int x\,dx=\frac{x^2}{2}+C,\qquad\int\frac{dx}{x}=\ln|x|+C\]
So. Divide each numerator term by x. Linearity lets me add the two antiderivatives; I am not dividing two integrals.
\[\begin{gathered}\frac{x^2+1}{x}=x+\frac1x\\[0.45em]\int\frac{x^2+1}{x}\,dx=\int x\,dx+\int\frac{dx}{x}\end{gathered}\]
\[\boxed{\frac{x^2}{2}+\ln|x|+C}\]
The point x = 0 remains excluded, and the constants on the two intervals may differ.
Check by differentiating the antiderivative.
\[\frac{d}{dx}\left(\frac{x^2}{2}+\ln|x|\right)=x+\frac1x\]
Intervals of validity: \(x\ne0\).
Simplify without erasing the domain
\[\int\frac{x^2-1}{x-1}\,dx\]
I know. I can integrate a polynomial of degree one.
\[\int(x+1)\,dx=\frac{x^2}{2}+x+C\]
So. Factor the difference of squares and cancel the common factor only where it is nonzero.
\[\begin{gathered}x^2-1=(x-1)(x+1)\\[0.45em]\frac{x^2-1}{x-1}=x+1\quad(x\ne1)\end{gathered}\]
\[\boxed{\frac{x^2}{2}+x+C}\]
The resulting antiderivative is a polynomial, but the original integrand is undefined at x = 1. Simplification does not fill that hole.
Check by differentiating the antiderivative.
\[\frac{d}{dx}\left(\frac{x^2}{2}+x\right)=x+1=\frac{x^2-1}{x-1}\quad(x\ne1)\]
Intervals of validity: \(x\ne1\).
Divide before looking for a substitution
\[\int\frac{x^3}{x^2+1}\,dx\]
I know. I can integrate a linear term and recognize a derivative divided by its function.
\[\int x\,dx=\frac{x^2}{2}+C,\qquad\int\frac{du}{u}=\ln|u|+C\]
So. The numerator degree exceeds the denominator degree: write the division remainder. A polynomial and a simpler quotient remain.
\[\begin{gathered}x^3=x(x^2+1)-x\\[0.45em]\frac{x^3}{x^2+1}=x-\frac{x}{x^2+1}\\[0.45em]\int\frac{x}{x^2+1}\,dx=\frac12\ln(x^2+1)+C\end{gathered}\]
\[\boxed{\frac{x^2}{2}-\frac12\ln(x^2+1)+C}\]
The logarithm needs no absolute value because x² + 1 is always positive.
Check by differentiating the antiderivative.
\[x-\frac{x}{x^2+1}=\frac{x(x^2+1)-x}{x^2+1}=\frac{x^3}{x^2+1}\]
Intervals of validity: \(x\in\mathbb R\).
Not all the numerator is a derivative: split it
\[\int\frac{2x+3}{x^2+1}\,dx\]
I know. I recognize two different forms: a logarithm and an arctangent.
\[\int\frac{g'(x)}{g(x)}\,dx=\ln|g(x)|+C,\qquad\int\frac{dx}{1+x^2}=\arctan x+C\]
So. The term 2x is the denominator’s derivative, but 3 is not. Separating them is valid; pretending that the whole numerator is proportional to that derivative is not.
\[\begin{gathered}\frac{2x+3}{x^2+1}=\frac{2x}{x^2+1}+\frac3{x^2+1}\\[0.45em]\int\frac{2x+3}{x^2+1}\,dx=\int\frac{2x}{x^2+1}\,dx+3\int\frac{dx}{x^2+1}\end{gathered}\]
\[\boxed{\ln(x^2+1)+3\arctan x+C}\]
A single integral may require recognizing more than one familiar antiderivative.
Check by differentiating the antiderivative.
\[\frac{2x}{x^2+1}+\frac3{1+x^2}=\frac{2x+3}{x^2+1}\]
Intervals of validity: \(x\in\mathbb R\).
Complete the square to recover an arctangent
\[\int\frac{dx}{x^2+4x+13}\]
I know. I can integrate 1/(1 + u²).
\[\int\frac{du}{1+u^2}=\arctan u+C\]
So. Rewrite the quadratic as a square plus 9. A shift and a rescaling recover the familiar form, together with its coefficient.
\[\begin{gathered}x^2+4x+13=(x+2)^2+9\\[0.45em]u=\frac{x+2}{3},\qquad dx=3\,du\\[0.45em](x+2)^2+9=9(1+u^2)\\[0.45em]\int\frac{dx}{x^2+4x+13}=\frac13\int\frac{du}{1+u^2}\end{gathered}\]
\[\boxed{\frac13\arctan\left(\frac{x+2}{3}\right)+C}\]
The denominator is at least 9, so the antiderivative is valid on the whole real line.
Check by differentiating the antiderivative.
\[\frac{1/9}{1+(x+2)^2/9}=\frac1{(x+2)^2+9}\]
Intervals of validity: \(x\in\mathbb R\).
Two simple fractions instead of a complicated one
\[\int\frac{dx}{x^2-1}\]
I know. I can integrate reciprocals of linear expressions.
\[\int\frac{du}{u}=\ln|u|+C\]
So. Factor the denominator and find coefficients A and B. Multiplying by the common denominator gives a polynomial identity: evaluate it at ±1 to find the coefficients.
\[\begin{gathered}\frac1{x^2-1}=\frac{A}{x-1}+\frac{B}{x+1}\\[0.45em]1=A(x+1)+B(x-1)\\[0.45em]x=1:\quad1=2A\quad\Rightarrow\quad A=\frac12\\[0.45em]x=-1:\quad1=-2B\quad\Rightarrow\quad B=-\frac12\\[0.45em]\int\frac{dx}{x^2-1}=\frac12\ln|x-1|-\frac12\ln|x+1|+C\end{gathered}\]
\[\boxed{\frac12\ln\left|\frac{x-1}{x+1}\right|+C}\]
The original fraction remains undefined at ±1. Its three domain intervals allow independent constants.
Check by differentiating the antiderivative.
\[\frac1{2(x-1)}-\frac1{2(x+1)}=\frac1{x^2-1}\]
Intervals of validity: \(x\ne-1,\quad x\ne1\).
Trigonometric identities that reveal familiar forms
A trigonometric identity is not an outside trick: it is another expression for the same function. Change the form first, then integrate. All angles are in radians.
The square of sine becomes a sum
\[\int\sin^2x\,dx\]
I know. I can integrate a constant and the cosine of a linear argument.
\[\int1\,dx=x+C,\qquad\int\cos(2x)\,dx=\frac12\sin(2x)+C\]
So. Use the double-angle identity to lower the power. The factor 1/2 in front of cosine combines with the factor needed to integrate cos(2x).
\[\begin{gathered}\sin^2x=\frac{1-\cos(2x)}2\\[0.45em]\int\sin^2x\,dx=\frac12\int1\,dx-\frac12\int\cos(2x)\,dx\end{gathered}\]
\[\boxed{\frac{x}{2}-\frac{\sin(2x)}4+C}\]
Integrating sin²x does not mean squaring an antiderivative of sin x.
Check by differentiating the antiderivative.
\[\frac12-\frac12\cos(2x)=\sin^2x\]
Intervals of validity: \(x\in\mathbb R\).
A trigonometric product with two possible routes
\[\int\sin x\cos x\,dx\]
I know. I can integrate the sine of a linear argument.
\[\int\sin(2x)\,dx=-\frac12\cos(2x)+C\]
So. Turn the product into a double-angle sine. Substitution u = sin x would be another valid route.
\[\begin{gathered}\sin x\cos x=\frac12\sin(2x)\\[0.45em]\int\sin x\cos x\,dx=\frac12\int\sin(2x)\,dx\\[0.45em]\frac12\sin^2x=-\frac14\cos(2x)+\frac14\end{gathered}\]
\[\boxed{-\frac14\cos(2x)+C}\]
The substitution answer differs from this one only by 1/4, absorbed into the arbitrary constant C.
Check by differentiating the antiderivative.
\[\frac{d}{dx}\left[-\frac14\cos(2x)\right]=\frac12\sin(2x)=\sin x\cos x\]
Intervals of validity: \(x\in\mathbb R\).
Tangent is a quotient containing a derivative
\[\int\tan x\,dx\]
I know. The quotient g′/g suggests a logarithm.
\[\int\frac{g'(x)}{g(x)}\,dx=\ln|g(x)|+C\]
So. Write tangent as sine divided by cosine. The numerator is the negative of the denominator’s derivative: that minus determines the antiderivative’s sign.
\[\begin{gathered}\tan x=\frac{\sin x}{\cos x}\\[0.45em]\sin x=-(\cos x)'\\[0.45em]\int\tan x\,dx=-\int\frac{(\cos x)'}{\cos x}\,dx\end{gathered}\]
\[\boxed{-\ln|\cos x|+C}\]
Work on an interval where cosine is nonzero; absolute value does not remove excluded points.
Check by differentiating the antiderivative.
\[-\frac{-\sin x}{\cos x}=\tan x\]
Intervals of validity: \(\cos x\ne0\).
The product rule in reverse: integration by parts
Integration by parts comes from differentiating a product: isolate one of the two terms and integrate. The choice is useful when the new integral is easier, or when the original integral returns and we can solve an equation.
\[\begin{gathered}(uv)'=u'v+uv'\\[0.45em]uv'=(uv)'-u'v\\[0.45em]\int u\,dv=uv-\int v\,du\end{gathered}\]
A product: build an antiderivative and remove the extra term
\[\int xe^x\,dx\]
I know. Differentiating x times the exponential gives the desired product plus one extra exponential.
\[(xe^x)'=e^x+xe^x\]
So. Isolate the desired product and integrate the leftover term. This is exactly integration by parts, read from a derivative rather than recalled as a recipe.
\[\begin{gathered}xe^x=(xe^x)'-e^x\\[0.45em]\int xe^x\,dx=xe^x-\int e^x\,dx\\[0.45em]u=x,\quad dv=e^x\,dx,\quad du=dx,\quad v=e^x\end{gathered}\]
\[\boxed{(x-1)e^x+C}\]
Do not multiply the two factors’ antiderivatives: the product-rule check explains why that fails.
Check by differentiating the antiderivative.
\[\bigl[(x-1)e^x\bigr]'=e^x+(x-1)e^x=xe^x\]
Intervals of validity: \(x\in\mathbb R\).
Integrate a logarithm by thinking of a product
\[\int\ln x\,dx\]
I know. The derivative of x ln x contains ln x plus 1.
\[(x\ln x)'=\ln x+1\]
So. Subtract the term 1 and integrate. In integration-by-parts notation I would choose u = ln x and dv = dx.
\[\begin{gathered}\ln x=(x\ln x)'-1\\[0.45em]\int\ln x\,dx=x\ln x-\int1\,dx\\[0.45em]u=\ln x,\quad dv=dx,\quad du=\frac{dx}{x},\quad v=x\end{gathered}\]
\[\boxed{x\ln x-x+C}\]
Here we write ln x, not ln|x|: the domain under consideration is x > 0.
Check by differentiating the antiderivative.
\[(x\ln x-x)'=\ln x+1-1=\ln x\]
Intervals of validity: \(x>0\).
A product involving cosine: watch the signs
\[\int x\cos x\,dx\]
I know. The derivative of x sin x contains the product I want.
\[(x\sin x)'=\sin x+x\cos x\]
So. Subtract the integral of sine. Since an antiderivative of sine is −cos x, that subtraction gives a plus in the answer.
\[\begin{gathered}x\cos x=(x\sin x)'-\sin x\\[0.45em]\int x\cos x\,dx=x\sin x-\int\sin x\,dx\\[0.45em]\int\sin x\,dx=-\cos x+C\end{gathered}\]
\[\boxed{x\sin x+\cos x+C}\]
The final derivative check avoids relying on memory for the sign.
Check by differentiating the antiderivative.
\[(x\sin x+\cos x)'=\sin x+x\cos x-\sin x=x\cos x\]
Intervals of validity: \(x\in\mathbb R\).
Repeat integration by parts without starting over
\[\int x^2e^x\,dx\]
I know. I have already integrated x eˣ.
\[\int xe^x\,dx=(x-1)e^x+C\]
So. Differentiate x² in the first integration by parts. The new integral is exactly the one already known: reuse it and factor out the exponential.
\[\begin{gathered}u=x^2,\quad dv=e^x\,dx,\quad du=2x\,dx,\quad v=e^x\\[0.45em]\int x^2e^x\,dx=x^2e^x-2\int xe^x\,dx\\[0.45em]x^2e^x-2(x-1)e^x=e^x(x^2-2x+2)\end{gathered}\]
\[\boxed{e^x(x^2-2x+2)+C}\]
The polynomial degree drops at each step, which makes the choice useful.
Check by differentiating the antiderivative.
\[\bigl[e^x(x^2-2x+2)\bigr]'=e^x[(x^2-2x+2)+(2x-2)]=x^2e^x\]
Intervals of validity: \(x\in\mathbb R\).
When integration by parts returns to the start
\[I=\int e^x\cos x\,dx\]
I know. I know integration by parts and the derivatives of sine, cosine and the exponential.
\[\int u\,dv=uv-\int v\,du\]
So. Call the desired integral I and the one appearing after the first step J. The second step brings back I: this is an equation to solve, not a failure. To find an antiderivative, leave a single arbitrary constant until the end.
\[\begin{gathered}I=e^x\cos x+J,\qquad J=\int e^x\sin x\,dx\\[0.45em]J=e^x\sin x-I\\[0.45em]I=e^x\cos x+e^x\sin x-I\\[0.45em]2I=e^x(\cos x+\sin x)\end{gathered}\]
\[\boxed{\frac{e^x}{2}(\cos x+\sin x)+C}\]
This final example is optional on a first reading: progress does not always mean immediately obtaining a shorter integral.
Check by differentiating the antiderivative.
\[\frac{e^x}{2}[(\cos x+\sin x)+(-\sin x+\cos x)]=e^x\cos x\]
Intervals of validity: \(x\in\mathbb R\).
Now choose the form to recognize
Before opening a solution, complete the phrase ‘I know… so…’. Suggest a rewrite or substitution, carry out the steps and differentiate your result to check it. The first three exercises practise substitution; the others mix strategies.
Exercise A
\[\int\frac{x}{3-x^2}\,dx\]
Show the explained solution
The minus sign comes from differentiating 3 − x²: compensate for it rather than ignoring it.
\[\begin{gathered}u=3-x^2,\quad du=-2x\,dx\\[0.45em]\int\frac{x}{3-x^2}\,dx=-\frac12\int\frac{du}{u}\end{gathered}\]
\[\boxed{-\frac12\ln|3-x^2|+C}\]
Intervals of validity: \(x\ne\pm\sqrt3\).
Exercise B
\[\int\frac{x^2}{\sqrt{1+x^3}}\,dx\]
Show the explained solution
The derivative of the root’s argument is three times the numerator. The point −1 is excluded because the root is in the denominator.
\[\begin{gathered}u=1+x^3,\quad du=3x^2\,dx\\[0.45em]\int\frac{x^2}{\sqrt{1+x^3}}\,dx=\frac13\int u^{-1/2}\,du\end{gathered}\]
\[\boxed{\frac23\sqrt{1+x^3}+C}\]
Intervals of validity: \(x>-1\).
Exercise C
\[\int\frac{\cos x}{1+\sin^2x}\,dx\]
Show the explained solution
Cosine together with dx becomes du, while the denominator becomes 1 + u².
\[\begin{gathered}u=\sin x,\quad du=\cos x\,dx\\[0.45em]\int\frac{\cos x}{1+\sin^2x}\,dx=\int\frac{du}{1+u^2}\end{gathered}\]
\[\boxed{\arctan(\sin x)+C}\]
Intervals of validity: \(x\in\mathbb R\).
Exercise D
\[\int\frac{x^2}{x^2+4}\,dx\]
Show the explained solution
First rewrite the numerator as the denominator minus 4, then use linearity and arctangent.
\[\begin{gathered}\frac{x^2}{x^2+4}=1-\frac4{x^2+4}\\[0.45em]\int\frac{dx}{x^2+4}=\frac12\arctan\left(\frac{x}{2}\right)+C\end{gathered}\]
\[\boxed{x-2\arctan\left(\frac{x}{2}\right)+C}\]
Intervals of validity: \(x\in\mathbb R\).
Exercise E
\[\int\cos^2x\,dx\]
Show the explained solution
Use the cosine-square identity: its sign differs from the sine-square identity.
\[\begin{gathered}\cos^2x=\frac{1+\cos(2x)}2\end{gathered}\]
\[\boxed{\frac{x}{2}+\frac{\sin(2x)}4+C}\]
Intervals of validity: \(x\in\mathbb R\).
Exercise F
\[\int xe^{2x}\,dx\]
Show the explained solution
In integration by parts, an antiderivative of e^(2x) is e^(2x)/2: the second integral must retain this factor too.
\[\begin{gathered}u=x,\quad dv=e^{2x}\,dx,\quad du=dx,\quad v=\frac12e^{2x}\\[0.45em]\int xe^{2x}\,dx=\frac{x}{2}e^{2x}-\frac12\int e^{2x}\,dx\end{gathered}\]
\[\boxed{e^{2x}\left(\frac{x}{2}-\frac14\right)+C}\]
Intervals of validity: \(x\in\mathbb R\).
Exercise G
\[\int\frac{\ln x}{x}\,dx\]
Show the explained solution
The factor 1/x is the logarithm’s derivative: substitution, not integration by parts, is useful here.
\[\begin{gathered}u=\ln x,\quad du=\frac{dx}{x}\\[0.45em]\int\frac{\ln x}{x}\,dx=\int u\,du\end{gathered}\]
\[\boxed{\frac12(\ln x)^2+C}\]
Intervals of validity: \(x>0\).
Exercise H
\[\int\frac{x}{x^2-4x+8}\,dx\]
Show the explained solution
Complete the square and split x into (x − 2) + 2. One part gives a logarithm, the other an arctangent.
\[\begin{gathered}x^2-4x+8=(x-2)^2+4,\qquad x=(x-2)+2\\[0.45em]\int\frac{x-2}{(x-2)^2+4}\,dx=\frac12\ln\bigl((x-2)^2+4\bigr)+C\\[0.45em]\int\frac2{(x-2)^2+4}\,dx=\arctan\left(\frac{x-2}{2}\right)+C\end{gathered}\]
\[\boxed{\frac12\ln\bigl((x-2)^2+4\bigr)+\arctan\left(\frac{x-2}{2}\right)+C}\]
Intervals of validity: \(x\in\mathbb R\).
A guide to choosing, not a universal formula
Recognition guides an attempt, but does not guarantee that every integral reduces to an elementary table. Even a function that is easy to write may have no antiderivative expressible using finitely many elementary functions.
Remember the domain: each antiderivative is understood on an open interval where the integrand is defined and the transformations are valid. Separate intervals may have different constants. Simplifying an expression does not erase an excluded point.
The decisive check is differentiation. If it does not recover the entire integrand, a familiar-looking answer is not enough. The opening question remains useful at the end: I know this derivative… so I know whether the answer works.
Continue along the calculus learning path
- The complete chapter on antiderivatives and integration methods
- Indefinite-integral laboratory: compare the function with a candidate’s derivative
- Calculus learning-path index