Differential Matching (u-substitution)

Match the derivative to form f(g(x))g′(x)f(g(x))g'(x) and substitute.

When to Use It

Basic Steps

  1. Spot the composite g(x)g(x).
  2. Let u=g(x)u = g(x), du=g′(x)dxdu = g'(x)dx.
  3. Convert to ∫f(u) du\int f(u)\,du.
  4. Integrate and back-substitute.

Example

Example ∫xex2dx\int x e^{x^2} dx: let u=x2u=x^2, du=2xdxdu=2x dx → 12ex2+C\tfrac12 e^{x^2}+C.

Common patterns (choose uu):

  1. u=ax+bu=ax+b
  2. u=x2u=x^2 when xf(x2)x f(x^2)
  3. u=axu=ax for eaxe^{ax}
  4. u=f(x)u=f(x) for f′(x)f(x)\dfrac{f'(x)}{f(x)}

Common Patterns

Practice Problems

Exercise 1

Use differential matching to compute ∫xex2dx\int x e^{x^2} dx.

differential matchingsubstitution

Approach: The integrand has the composite form f(g(x))g′(x)f(g(x))g'(x): here g(x)=x2g(x)=x^2 and g′(x)=2xg'(x)=2x, so the factor x dxx\,dx supplies exactly half of the missing differential. Set u=x2u=x^2 and integrate.

Steps:

  1. Substitute u=x2u=x^2, so du=2x dxdu=2x\,dx and x dx=12dux\,dx=\tfrac12 du.
  2. Rewrite the integral: ∫xex2 dx=12∫eu du=12eu+C\int x e^{x^2} \, dx = \tfrac12 \int e^u \, du = \tfrac12 e^u + C.
  3. Back-substitute: 12eu+C=12ex2+C\tfrac12 e^u + C = \tfrac12 e^{x^2} + C.

Answer: 12ex2+C\tfrac12 e^{x^2} + C.

Exercise 2

Compute ∫1x2+1dx\int \dfrac{1}{x^2 + 1} dx.

differential matchinginverse trigonometric integral

Approach: The denominator x2+1x^2+1 is the derivative of arctan⁡x\arctan x, so the integrand is already the derivative of a known function and no substitution is required.

Steps:

  1. Recall the derivative: ddxarctan⁡x=11+x2\dfrac{d}{dx}\arctan x = \dfrac{1}{1+x^2}.
  2. Integrate term by term: ∫1x2+1 dx=arctan⁡x+C\int \dfrac{1}{x^2+1} \, dx = \arctan x + C.
  3. Check by differentiating: ddx(arctan⁡x)=11+x2\dfrac{d}{dx}\bigl(\arctan x\bigr) = \dfrac{1}{1+x^2}.

Answer: arctan⁡x+C\arctan x + C.


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
uuvariableyooThe substitution variable
∫\intmathematical symbolintegralIndefinite/definite integral sign
g(x)g(x)function symbolg of xThe composite inner function spotted in the integrand
f(g(x))f(g(x))function symbolf of g of xThe outer function of the composite, the part not containing the derivative
g′(x)g'(x)mathematical symbolg prime of xThe derivative of the inner function, which must be matched by the remaining factor
dudumathematical symboldifferential of uThe differential produced by the substitution u=g(x)u = g(x)
dxdxmathematical symboldifferential of xThe differential element of the integration variable xx
CCmathematical symbolconstant of integrationThe arbitrary constant restored in every antiderivative
x2x^2mathematical symbolx squaredThe inner function chosen in the worked example
arctan⁡x\arctan xmathematical symbolarc tangent of xThe function recognised as the derivative of 1/(x2+1)1/(x^2+1) in Exercise 2

Found an issue with this content?

Tell us what could be improved.