Integration by parts, order reversal and symmetry
Introduced| English | Meaning |
|---|---|
| integration by parts/ˌɪntɪˈɡreɪʃn baɪ pɑːts/ | An integration method derived from the product rule, transferring differentiation from one factor to another. |
| symmetry/ˈsɪmətri/ | A relation preserved by a transformation, such as reflection. |
| boundary term/ˈbaʊndəri tɜːm/ | The evaluated endpoint contribution in an integration-by-parts identity. |
The same total can become easier to compute
- A total over paired measurements may use a triangular region, rather than a rectangle. For $0\le x\le y\le1$, integrating $e^{y^2}$ in $y$ first gives no elementary antiderivative; integrating in $x$ first gives a simple strip length.
- Three tools help: integration by parts 分部积分, order reversal and symmetry 对称性. Each needs valid bounds and hypotheses; boundary terms 边界项 can change the answer.
Parts comes from the product rule
- For $u,v\in C^1([a,b])$, integrate $(uv)'=u'v+uv'$ and rearrange. The definite formula is $\int_a^b uv'\,dx=[uv]_a^b-\int_a^b u'v\,dx$.
- Choose $u$ so differentiation simplifies it, and $dv=v'\,dx$ so its antiderivative $v$ is known. For a definite integral, $[uv]_a^b=u(b)v(b)-u(a)v(a)$ includes both endpoints.
Work the original finite integral
- For $\int_0^1 xe^x\,dx$, choose $u=x$ and $dv=e^x\,dx$. Then $du=dx$ and $v=e^x$, so the result is $[xe^x]_0^1-\int_0^1e^x\,dx$.
- The boundary contribution is $e-0$; the remaining integral is $e-1$. Hence the answer is $1$. Equivalently, $[e^x(x-1)]_0^1=0-(-1)=1$. The lower endpoint is essential.
Evaluate $\int_0^1 x e^x\,dx$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Parts gives $[xe^x]_0^1-\int_0^1e^x\,dx=e-(e-1)=1$. Equivalently $[e^x(x-1)]_0^1=0-(-1)=1$.
Evaluate $\int_0^1 x^2e^x\,dx$ by parts. Show both endpoint evaluations and check an antiderivative by differentiation.
Compare your endpoint calculations, region or sign test with the model and checklist.
A logarithm reduction needs its base case
- For an integer $n\ge1$ and $x>0$, define $I_n(x)=\int_1^x(\ln t)^n\,dt$. Parts with $u=(\ln t)^n$, $dv=dt$ gives $I_n(x)=x(\ln x)^n-nI_{n-1}(x)$, since $(\ln1)^n=0$.
- Start with $I_0(x)=x-1$; do not insert $n=0$ into that reduction. It gives $I_1=x\ln x-x+1$ and $I_2=x[(\ln x)^2-2\ln x+2]-2$. All three are zero at $x=1$, including the lower-end constants.
For $I_n(x)=\int_1^x(\ln t)^n\,dt$, give $I_0(3)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The base case is $I_0(x)=x-1$, so $I_0(3)=2$. The reduction for $n\ge1$ must not be used with $n=0$.
Take improper limits after the finite identity
- On $[a,R]$, apply parts first. If $uv(R)$ has a finite limit and $\int_a^\infty u'v$ converges, take limits in the finite formula. These are sufficient conditions; never subtract two divergent quantities as if both were numbers.
- Boundary values need not be zero. Keep every finite endpoint contribution. For two infinite ends or an interior singularity, split the ordinary improper integral and require each piece to converge separately; a symmetric cutoff alone is insufficient.
A nonzero boundary contribution is valid
- Evaluate $J=\int_1^\infty(1+\ln x)/x^2\,dx$. Set $u=1+\ln x$, $dv=x^{-2}\,dx$, so $v=-1/x$. On $[1,R]$, the boundary difference is $B_R=1-(1+\ln R)/R$.
- The remaining integral is $Q_R=1-1/R$, so parts gives $J_R=B_R+Q_R$. Since $(1+\ln R)/R\to0$, both contributions tend to $1$, giving $J=2$. The lower product is $-1$; its nonzero contribution must be retained.
Evaluate $\int_1^\infty(1+\ln x)/x^2\,dx$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
On $[1,R]$, parts gives boundary difference $1-(1+\ln R)/R$ and remaining integral $1-1/R$. Their sum tends to $2$.
Evaluate $\int_e^\infty(\ln x)/x^2\,dx$ by first using finite upper bound R. State what happens to the endpoint product.
Compare your endpoint calculations, region or sign test with the model and checklist.
Derive the Gaussian second moment on a half-line
- Use the known full Gaussian integral $\sqrt\pi$ and put $G_R=\int_0^R e^{-x^2}\,dx$. On $[0,R]$, take $u=x$ and $dv=xe^{-x^2}\,dx$, so $v=-e^{-x^2}/2$.
- Write $M_R=\int_0^R x^2e^{-x^2}\,dx$. Parts gives $M_R=-Re^{-R^2}/2+G_R/2$. The boundary term tends to zero and $G_R\to\sqrt\pi/2$, so $M_R\to\sqrt\pi/4$. This proves half-line convergence; evenness gives full-line value $\sqrt\pi/2$.
In $\int_{-\infty}^{\infty} x^2 e^{-x^2}dx$ by parts, the boundary term $-\tfrac12 x e^{-x^2}$ vanishes at both infinities.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
True. On each finite interval the boundary product is $-xe^{-x^2}/2$. Its limit is zero at both infinities. First establish the two half-line integrals; evenness then gives the full-line value $\sqrt\pi/2$.
Given $\int_{-\infty}^{\infty}e^{-x^2}\,dx=\sqrt\pi$, find c such that $\int_0^\infty x^2e^{-x^2}\,dx=c\sqrt\pi$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Finite-bound parts gives $-Re^{-R^2}/2+\tfrac12\int_0^R e^{-x^2}\,dx$. Its limit is $\sqrt\pi/4$, so $c=1/4$.
Cancellation is not a convergence test
- The symmetric integral of $x$ on $[-R,R]$ is zero for every $R>0$. Yet $\int_0^\infty x\,dx$ diverges to $+\infty$ and the negative half diverges to $-\infty$. The ordinary integral over the whole line therefore does not exist.
- Its symmetric principal value is zero, which is a different limit. Oddness does not turn this into a convergent improper integral. Establish convergence before cancelling opposite contributions across a singularity or two infinite ends.
Check when the order may change
- A continuous integrand on a compact region with a piecewise smooth boundary, such as the triangles here, is integrable and permits either order. More generally, absolute integrability $\iint_D|f|\,dA<\infty$ permits order reversal by Fubini's theorem.
- For a nonnegative measurable integrand, Tonelli's theorem permits either order even when the answer is $+\infty$. This does not prove a finite total. Two finite iterated integrals alone do not guarantee equality for a sign-changing integrand with a singularity.
Describe the original triangle in both directions
- The bounds $0\le x\le1$, $x\le y\le1$ describe $D=\{0\le x\le y\le1\}$. At a fixed $y$, the horizontal strip starts at $x=0$ and ends at $x=y$; the outer range is $0\le y\le1$.
- Thus integrate $\int_0^1\int_0^y f(x,y)\,dx\,dy$ after reversal. For $f(x,y)=h(y)$ with continuous $h$, the inner integral is $yh(y)$: strip length times the constant value along that strip. The original figure also shows a separate reflection example.
Use the strip length before substitution
- For the opening integrand, reversal gives $\int_0^1 ye^{y^2}\,dy=(e-1)/2$ by $s=y^2$. No elementary antiderivative in the original inner variable does not make the double integral impossible to evaluate.
- For the original sine practice, put $K=\int_0^1 y\sin(y^2)\,dy$. With $s=y^2$, obtain $K=(1-\cos1)/2$. Its value is about $0.229849$, so three decimal places gives $0.230$. Omitting the strip length changes the integral.
Evaluate $\int_0^1\int_x^1 \sin(y^2)\,dy\,dx$ to three decimal places.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The continuous integrand is on $0\le x\le y\le1$. Reverse to $\int_0^1\int_0^y\sin(y^2)\,dx\,dy=\int_0^1y\sin(y^2)\,dy=(1-\cos1)/2\approx0.229849$, hence $0.230$.
Reverse the second original triangle
- The bounds $0\le x\le2$, $0\le y\le x/2$ give a triangle with vertices $(0,0)$, $(2,0)$ and $(2,1)$. At fixed $y$, solve $y\le x/2$ to get $2y\le x\le2$, with $0\le y\le1$.
- For continuous $f$ on this triangle, the reversed form is $\int_0^1\int_{2y}^2f(x,y)\,dx\,dy$. With $f=1$, either order gives area $1$: $\int_0^1(2-2y)\,dy=1$. This checks both the range and strip width.
For continuous $f(x,y)$ on $0\le x\le2$, $0\le y\le x/2$, which expression reverses $\int_0^2\int_0^{x/2}f(x,y)\,dy\,dx$?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The outer y range is $0\le y\le1$. At fixed y, solve $y\le x/2$ to obtain $2y\le x\le2$.
Curved boundaries need new inequalities
- Consider $0\le x\le1$, $x^2\le y\le x$. A fixed $y$ satisfies $x\ge y$ and $x\le\sqrt y$, so $0\le y\le1$ and $y\le x\le\sqrt y$. Keep the positive square-root branch because $x\ge0$.
- The reversed integral is $\int_0^1\int_y^{\sqrt y}f(x,y)\,dx\,dy$ for continuous $f$. The strip width is $\sqrt y-y$, not $y$. Integrating that width gives area $2/3-1/2=1/6$, matching $\int_0^1(x-x^2)\,dx$.
For continuous f on $0\le x\le1$, $x^2\le y\le x$, what is the reversed integral?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
From $y\le x$ obtain $x\ge y$; from $x^2\le y$ and $x\ge0$ obtain $x\le\sqrt y$. The outer range is $0\le y\le1$.
On $D=\{0\le x\le1,\ x^2\le y\le x\}$, evaluate $\iint_D x\,dA$ in both orders and explain why the answers agree.
Compare your endpoint calculations, region or sign test with the model and checklist.
Two finite orders can disagree without the hypotheses
- On $0<x,y\le1$, let $f=(x^2-y^2)/(x^2+y^2)^2$. For fixed $x>0$, its $y$-antiderivative is $y/(x^2+y^2)$; integrating $y$ from $0$ to $1$ gives $1/(1+x^2)$. The outer improper integral is $\pi/4$.
- For fixed $y>0$, its $x$-antiderivative is $-x/(x^2+y^2)$, giving the opposite order $-\pi/4$. Absolute integrability fails near the origin: in polar coordinates $|f|\,dA=|\cos2\theta|\,dr\,d\theta/r$, whose radial integral diverges on an angular sector. Fubini does not apply.
If two iterated improper integrals of a sign-changing function are both finite, they must be equal.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
False. On the positive unit square the lesson's function $(x^2-y^2)/(x^2+y^2)^2$ gives $\pi/4$ and $-\pi/4$. Absolute integrability fails near the origin.
Reflection pairs opposite values
- On a finite interval, assume $f$ is integrable and $f(a+b-x)=-f(x)$. Substitution $t=a+b-x$ shows the integral equals its negative, so it is zero. This is oddness about the midpoint $(a+b)/2$.
- Reflection invariance $f(a+b-x)=f(x)$ instead pairs equal values; it does not force zero. On a symmetric interval, an integrable even function has twice the integral over the positive half, while an integrable odd function has zero integral.
If f is integrable on $[a,b]$ and $f(a+b-x)=-f(x)$ throughout the interval, then $\int_a^b f(x)\,dx=0$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
True. Reflection maps the interval onto itself and makes the integral equal its negative. Integrability is part of the hypothesis.
State the integer condition in the sine quotient
- For a positive integer $m$, take $f_m(x)=\sin(2mx)/\sin x$ on $0<x<\pi$. The endpoint limits are $2m$ at $0$ and $-2m$ at $\pi$. Defining those endpoint values makes the function continuous and hence integrable.
- Reflection leaves $\sin x$ unchanged and sends the numerator to $\sin(2m\pi-2mx)=-\sin(2mx)$. Thus the integral is zero. The original exercise has $2m=6$, so $m=3$ and the endpoint limits are $6,-6$.
Evaluate the ordinary improper integral $\int_0^\pi\sin(6x)/\sin x\,dx$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The endpoint limits are $6$ and $-6$, so the singularities are removable. Reflection $x\mapsto\pi-x$ changes the sign and preserves the interval; the integral is zero.
A similar-looking quotient can have a different answer
- Taking $m=1/2$ changes the numerator to $\sin x$. The quotient is $1$ in the open interval and its integral is $\pi$, not zero. The positive-integer hypothesis in the preceding reflection argument matters.
- Before choosing a technique, check its inputs: endpoint limits for parts, the region and integrability for reversal, and the actual reflected sign for cancellation. Test a result against a simple area or sign check when available.
Which first move simplifies the listed form?
Choose the direct simplifying first move; the finite examples are integrable and improper examples use endpoint limits.
Which conclusion is justified?
Separate finite order interchange, infinite nonnegative interchange, valid cancellation and unsupported cancellation/interchange.
In $\int_0^\pi\sin(2mx)/\sin x\,dx$, set $m=1/2$. Give the value to three decimal places.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The quotient is 1 on the open interval, with removable endpoints. The integral is $\pi\approx3.142$; the positive-integer cancellation rule does not apply.
Evaluate $\int_0^\pi\sin(5x)/\sin x\,dx$. Check both endpoint limits and determine whether reflection changes the sign.
Compare your endpoint calculations, region or sign test with the model and checklist.
Recap
- Use parts on finite bounds, retain both endpoint contributions and justify any improper limit. A finite nonzero boundary term is valid; symmetric cancellation alone does not prove convergence.
- Rebuild the region when reversing order and state why interchange is allowed. Reflection gives zero when paired values have opposite signs and the required integral exists.
- integration by parts: Rewriting an integral of a product using the product rule and an endpoint term.
- boundary term: The evaluated endpoint contribution in an integration-by-parts identity.
- symmetry: A relation preserved by a transformation, such as reflection; cancellation additionally requires a sign change and integrability.