Read the original diagram as a clockwise arc carrying electric current from its upper endpoint to its lower endpoint, with tangent semi-infinite leads extending to the right. Their crossing is insulated, so there is no extra junction. Choose out of the page. At the centre the arc produces a negative axial magnetic field, and each straight lead a positive one, by the right-hand rule.
For the arc, every element is at distance , with perpendicular to its displacement to the centre. The Biot-Savart law therefore givesFor each straight lead, write for distance along the tangent measured from its endpoint. Its perpendicular distance from the centre is , soThe integral equals because an antiderivative is . Adding both leads and the arc,Using the full infinite-wire magnetic field for either lead would incorrectly double its contribution.
For a partial fraction decomposition, writeMultiplying by gives . Setting gives , and comparing the coefficient of gives . ThusIntegrating each term gives the antiderivativeThe constant of integration can be chosen independently on each interval separated by and .
Use the substitution , so . The antiderivative isDifferentiation by the chain rule gives , verifying the result.
After division by , the equation is linear with coefficient on . Its integrating factor is , and the product rule givesUsing the antiderivative from the preceding part,The arbitrary constant multiplies the homogeneous solution .
Write the sum in the question as the right Riemann sumRelative to the composite trapezoidal rule, the only change is in the two endpoint weights:The integrand is continuous on , so . Since an antiderivative is ,Thus
Use partial fraction decomposition:Integrating each term gives the antiderivativeThis holds on any interval avoiding ; the constant may differ between these intervals. Differentiation of the logarithm recovers , providing a direct check.
Use partial fraction decomposition:Integrating givesThis real antiderivative is valid on each interval avoiding , with its own integration constant. In particular, .
Power rule for integration 2026-10-31
On , the power rule for derivatives and the fundamental theorem of calculus give the displayed antiderivative. In particular for , understood as an improper integral when needed. At , the antiderivative on is the natural logarithm .
Primitive of a holomorphic function on a simply connected domain Created 2026-09-24 Updated 2026-10-05
Every holomorphic function on a simply connected domain has a single-valued antiderivative. Fixing and settinggives a path-independent function with , because the Cauchy integral theorem makes the integral around every closed path zero.
For and , the displayed real antiderivative equals on the right component and on the left, up to constants. Differentiating the absolute logarithm gives on both components. The constants are independent because the domain is disconnected. The integrals from either finite singular boundary are improper integrals that converge, since their integrands diverge only like the inverse square root of distance to that boundary.
Residue theorem Created 2026-09-24 Updated 2026-10-13
Let be a piecewise smooth contour forming a simple closed curve, positively oriented: travel counterclockwise, with the interior on the left. Suppose is holomorphic on an open set containing and its interior, except at finitely many isolated singularities strictly inside. ThenNo isolated singularity may lie on : the ordinary contour integral must be defined there. Reversing the direction of the contour reverses the sign of the answer. The theorem applies to essential singularities as well as poles. [ref]
Return to . A counterclockwise circle encloses both simple poles, soYet is nonzero everywhere it is defined. A zero contour integral does not imply a zero function, or even absence of poles: the enclosed residues can cancel. By contrast, the counterclockwise circle encloses only , givingThe picture compares these two selections. Changing the shape of a contour while keeping the same enclosed poles leaves the contour integral unchanged, provided the contour deformation stays where is holomorphic.
This is the practical appeal of the residue theorem: local Laurent coefficients determine a global contour integral. For a rational function, a few simple pole computations can replace a long parametrized calculation. It also makes real improper integrals accessible by treating the real line as part of a closed contour in the complex plane.
To compute , take and travel along the real line from to , then return along the upper semicircle , parametrized by for . This contour is positively oriented and encloses the simple pole only; is outside. HenceThe added arc must be controlled before taking a limit. On , the reverse triangle inequality gives , and the arc length is . The estimation lemma therefore yieldsThe denominator grows quadratically while the arc length grows only linearly. This quantitative comparison, rather than a sketch alone, explains why closing the contour does not alter the limiting real improper integral. It even supplies an error bound: the difference between and the finite real integral is at most .
For a numerical check, gives the finite real integral , leaving about to reach . The arc bound is , comfortably larger than that error. The graph shows both quantities approaching zero. The exact tail here can be checked with the antiderivative ; the residue theorem method remains useful for improper integrals where a convenient real antiderivative is unavailable.
Finally, both one-sided improper integrals converge absolutely: for , , whose tails are integrable. Thus the symmetric limit computes the ordinary improper integral, not merely a Cauchy principal value, andClosing below instead would enclose the simple pole . With the same left-to-right traversal of the real line, that contour is clockwise, so its contour integral is again. This provides a useful sign check: the opposite residue is accompanied by the opposite direction around the enclosed region.
The same strategy extends to many other rational functions: choose a contour, identify its enclosed isolated singularities, compute their residues, and bound the added pieces. The choice of contour and the bound are as much part of the calculation as the residues. [ref]
Separable differential equation Created 2026-09-28 Updated 2026-10-14
A first-order ordinary differential equation is separable if its explicit form factors as . On an interval where , write and take antiderivatives to obtain an implicit solution:An initial condition determines and selects a branch and domain. The useful simplification is that the two integrals each involve only one variable, even when the original equation is nonlinear.
For Newton's law of cooling, division by gives . To keep the logarithm dimensionless, integrate relative to the initial excess temperature:When , continuity preserves the sign of the excess temperature until any potential zero, giving . This formula never reaches zero at finite time. Taking its derivative verifies the ordinary differential equation, and substitution at verifies the initial condition.
Always check what division removed. Each zero gives a constant solution of a differential equation . Cooling therefore also has the equilibrium point , omitted by division but included in the final explicit formula. For the nonunique initial value problem , division by only describes the moving pieces: a valid solution may remain zero for an arbitrary time before joining one. Separation is a method for finding solutions, not a uniqueness theorem.
Signed area under a graph 2026-10-14
For and a real-valued function with a finite Riemann integral or Lebesgue integral on , the signed area under a graph is its definite integral: geometric area above the horizontal axis contributes positively, and geometric area below it contributes negatively. If these two nonnegative areas are and , thenThe second expression is the total geometric area under a graph. Taking the absolute value of the first expression does not usually give the second: cancellation has already removed information about how much area lies on each side.[ref]
For an exact example, take the polynomial function on . Its polynomial roots are and : it is negative between them and positive on the two outer intervals. An antiderivative is , so the fundamental theorem of calculus givesThus and . The signed area under a graph is , whereas the total geometric area under a graph is . To compute the latter with antiderivatives, split at each sign-changing polynomial root and reverse the sign of the negative contribution.
The polynomial x squared minus one has signed integral 4/3 and total geometric area 4 on the interval from minus two to two
. Details. Cancellation is useful information when the integrand represents a signed contribution. For the polynomial function on , the two triangular areas give , although . Zero net signed area therefore means balanced positive and negative contributions, rather than an empty region.
The short algebraic justification uses the positive part and negative part : and . Their integrals give and , and linearity of integration gives the difference and sum formulas. For Lebesgue integration, require both contributions to be finite to avoid the undefined subtraction .[ref]
Simpson's rule Created 2026-10-14 Updated 2026-10-18
Simpson's rule approximates a definite integral by integrating the quadratic polynomial obtained by polynomial interpolation at two endpoints and their midpoint. For an interval with , write and . The three quadrature nodes are , and the quadrature rule isThus its quadrature weights are . Their sum is , as required for exactness on constant functions. This is the three-node Newton-Cotes closed quadrature; its degree of precision of a quadrature rule is three, even though the interpolating polynomial has polynomial degree at most two.[ref]
3.5 Quadrature, subsection (ii) Simpson’s Rule. NIST Digital Library of Mathematical Functions; §3.5(ii), equation 3.5.6: elementary Simpson rule and its fourth-derivative remainder
For an original worked example, take the cubic polynomial on the interval . Here and , so the function evaluations giveSimpson's rule givesAn antiderivative supplies an independent exact definite integral:The quadratic polynomial through the same quadrature nodes is . It differs from between the quadrature nodes, but its definite integral agrees exactly. The picture shows why: the signed polynomial interpolation error has two lobes with opposite integrals.
An original cubic and its quadratic interpolant have the same integral because the two interpolation-error lobes have signed integrals plus and minus 81 over 64
. Details. Three function evaluations therefore capture more information about an integral than about the whole function. When an antiderivative is unavailable, composite Simpson's rule repeats this inexpensive local construction over a partition of an interval. For a sufficiently smooth function, halving the node spacing reduces its truncation error by approximately a factor of sixteen.
A continuous function on an open interval with positive symmetric derivative everywhere is strictly increasing. One proof takes an antiderivative using the fundamental theorem of calculus. For small positive , the identityfollows from . If exceeded a chord, its difference from the chord would attain a positive interior maximum, contradicting this symmetric difference inequality. Thus is a convex function, and its derivative is nondecreasing. Equality at two different points would make constant between them and force an interior symmetric derivative to vanish, proving strict monotonicity.
If Riemann integrable functions converge by uniform convergence to , then is Riemann integrable andThis concerns one fixed compact interval, with finite length.[ref]
Here is a proof outline that also establishes Riemann integrability of the uniform limit. Assume , and put and . One bounded and finite show that is a bounded function. For any partition of an interval , its upper Darboux sum and lower Darboux sum satisfyGiven , choose with , then a partition of an interval with . The displayed gap is below , proving Riemann integrability. Finally, and monotonicity of the Riemann integral give the stated error estimate. When , every integral is zero.
For the polynomial functions on , direct integration and the uniform bound giveAt , the exact integral is approximately , while the general error bound is approximately . The bound certifies the result without an exact antiderivative. On , these same integrals still tend to zero, although there is no uniform convergence: sufficient conditions need not be necessary. On an unbounded interval, even uniform convergence can fail to control total area, as uniformly vanishing functions can retain a nonzero integral shows.
Uniform convergence alone also fails to preserve derivatives: converges uniformly to zero on , while . The small amplitude does not control the slopes of the sine oscillations.



