Fact-checked by Grok 2 weeks ago

Exact differential equation

An exact differential equation is a first-order of the form M(x,y) \, dx + N(x,y) \, dy = 0, where M and N are continuous such that there exists a \psi(x,y) satisfying \frac{\partial \psi}{\partial x} = M and \frac{\partial \psi}{\partial y} = N, making the left-hand side the total differential d\psi = 0. This property ensures that the equation is path-independent in , allowing solutions to be obtained directly through algebraic without additional techniques like integrating factors. The key test for exactness is the equality of mixed partial derivatives: \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}, which follows from the continuity of the second partial derivatives of \psi by Clairaut's theorem. If this condition holds, the solution is given implicitly by \psi(x,y) = C, where C is a constant, found by integrating M with respect to x (treating y as constant) and adding a function of y determined by the N term. Exact equations arise naturally in contexts where the differential represents a conservative field or an exact change in a , such as in for properties like or . Exact equations form a distinct class of first-order differential equations that overlaps with separable and linear ones; their significance lies in their direct solvability and broader implications in and physics, where non-exact forms may require adjustments to achieve exactness. Higher-order exact equations can be reduced to first-order by , but the core concept remains tied to the existence of a .

Fundamentals

Definition

In multivariable calculus, the total differential of a function F(x, y) represents the infinitesimal change in F and is expressed as dF = \frac{\partial F}{\partial x}\, dx + \frac{\partial F}{\partial y}\, dy. This form arises from the chain rule applied to the function's partial derivatives, capturing how small changes in the independent variables x and y affect F. An ordinary differential equation (ODE) of the first order is termed exact if it can be expressed in the form dF(x, y) = 0 for some function F(x, y), where the level curves F(x, y) = c (with c constant) provide the general solution to the equation. The standard general form of such is P(x, y)\, dx + Q(x, y)\, dy = 0, which is if there exists a F(x, y) such that P = \frac{\partial F}{\partial x} and Q = \frac{\partial F}{\partial y}. This notion of exactness draws motivation from , where exact differentials correspond to changes in state functions (such as , whose value depends only on the system's state), in contrast to inexact differentials associated with path-dependent quantities (such as or work, which vary with the process taken).

Historical Context

The concept of exact differential equations originated in the with Leonhard Euler's foundational work on ordinary differential s. In his 1763 paper De integratione aequationum differentialium, Euler introduced the idea of integrating factors to render non-exact equations integrable, presenting a that any equation of the form M \, dx + N \, dy = 0 becomes exact upon multiplication by a suitable factor L(x, y). He expanded this framework in Institutionum Calculi Integralis (1768–1770), where he systematically treated equations as total differentials and provided methods for their integration, emphasizing generality in solving P \, dx + Q \, dy = 0 when \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}. Joseph-Louis Lagrange built upon Euler's contributions in the late 18th and early 19th centuries, developing the and applying it to in works such as Mécanique Analytique (1788). These efforts involved principles of path independence in optimization, related to concepts underlying differentials. The 19th century saw significant generalizations through differentials and higher-order extensions. Johann Friedrich Pfaff advanced the theory around 1814–1815 by studying systems of partial differential equations of the , introducing forms to characterize integrability conditions for differentials in multiple variables. Carl Gustav Jacob Jacobi further developed these ideas in the 1830s–1840s, generalizing to higher dimensions and applying them to elliptic integrals and determinants, which facilitated solutions for multivariable systems. Applications in physics emerged prominently in the 1800s, particularly in the context of conservative fields, where exact differentials ensured path-independent work in .

First-Order Exact Equations

Identification Condition

A of the form M(x, y) \, dx + N(x, y) \, dy = 0 is exact if and only if \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} throughout the domain where M and N are continuously differentiable. This condition serves as the necessary and sufficient test for exactness, linking the differential form directly to the existence of a . To prove the necessity of this condition, assume there exists a F(x, y) such that \frac{\partial F}{\partial x} = [M](/page/M) and \frac{\partial F}{\partial y} = [N](/page/N+), with F twice continuously differentiable. Differentiating the first equation with to y yields \frac{\partial^2 F}{\partial y \partial x} = \frac{\partial [M](/page/M)}{\partial y}, while differentiating the second with to x gives \frac{\partial^2 F}{\partial x \partial y} = \frac{\partial [N](/page/N+)}{\partial x}. By Clairaut's theorem on the equality of mixed partial derivatives, \frac{\partial [M](/page/M)}{\partial y} = \frac{\partial [N](/page/N+)}{\partial x}. For sufficiency, suppose \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} holds in a simply connected R \subseteq \mathbb{R}^2. Integrate M with respect to x, treating y as : F(x, y) = \int M(x, y) \, dx + \phi(y), where \phi(y) is an arbitrary function of y. Differentiating this with respect to y produces \frac{\partial F}{\partial y} = \frac{\partial}{\partial y} \left( \int M(x, y) \, dx \right) + \phi'(y). Setting this equal to N gives \phi'(y) = N(x, y) - \frac{\partial}{\partial y} \left( \int M(x, y) \, dx \right). The right-hand side is independent of x due to the exactness condition, allowing integration with respect to y to yield \phi(y). Thus, F(x, y) satisfies both requirements, confirming exactness. This construction relies on the , which guarantees the existence of such a potential in simply connected domains under the given assumptions. The domain must be open and simply connected (i.e., path-connected without holes) for the sufficiency to hold globally; in multiply connected regions, a closed form may not be exact even if the local condition is satisfied. If \frac{\partial M}{\partial y} \neq \frac{\partial N}{\partial x} at any point in the domain, no such F exists, rendering the equation inexact.

Solution Procedure

To solve a exact differential equation of the form M(x, y) \, dx + N(x, y) \, dy = 0, where the exactness condition \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} holds, the goal is to find a F(x, y) such that dF = M \, dx + N \, dy, leading to the implicit F(x, y) = C, with C a constant. The standard procedure begins by integrating M with respect to x, treating y as constant, to obtain F(x, y) = \int M(x, y) \, dx + g(y), where g(y) is an arbitrary function of y to be determined. Differentiate this expression partially with respect to y: \frac{\partial F}{\partial y} = \frac{\partial}{\partial y} \left( \int M(x, y) \, dx \right) + g'(y). Set this equal to N(x, y) and solve the resulting equation for g'(y), which typically yields g'(y) as a function of y alone due to exactness. Integrate g'(y) with respect to y to find g(y), adding any constant of integration (which can be absorbed into C). To verify the solution, compute \frac{\partial F}{\partial x} and confirm it equals M(x, y); the exactness condition ensures consistency with \frac{\partial F}{\partial y} = N(x, y). If the integral of M with respect to x is complex, integrate N with respect to y first instead: F(x, y) = \int N(x, y) \, dy + h(x), then differentiate with respect to x, set equal to M, and solve for h(x) by integration. This approach is chosen when one variable yields simpler antiderivatives. The resulting F(x, y) = C provides the general implicit solution; if solvable for y explicitly, an explicit form y = f(x, C) may be obtained, though implicit forms are often sufficient and preferred for their direct derivation from the total differential.

Higher-Order Exact Equations

Second-Order Case

A second-order ordinary differential equation (ODE) of the form a_2(x, y, y') y'' + a_1(x, y, y') y' + a_0(x, y, y') = 0 is exact if it can be written as the total derivative with respect to x of some function \Psi(x, y, y'), i.e., \frac{d\Psi}{dx} = 0. This means there exists \Psi such that \frac{\partial \Psi}{\partial x} = a_0, \frac{\partial \Psi}{\partial y} = a_1, and \frac{\partial \Psi}{\partial y'} = a_2. The exactness conditions are the compatibility requirements for such a \Psi to exist: \frac{\partial a_0}{\partial y} = \frac{\partial a_1}{\partial x}, \quad \frac{\partial a_0}{\partial y'} = \frac{\partial a_2}{\partial x}, \quad \frac{\partial a_1}{\partial y'} = \frac{\partial a_2}{\partial y}. These ensure the mixed partial derivatives of \Psi are equal. To reduce the equation, introduce the substitution v = y', so y'' = \frac{dv}{dx}. The ODE becomes a_2(x, y, v) \frac{dv}{dx} + a_1(x, y, v) v + a_0(x, y, v) = 0, or in differential form, [a_0(x, y, v) + a_1(x, y, v) v] \, dx + a_2(x, y, v) \, dv = 0. Denote M(x, y, v) = a_0(x, y, v) + a_1(x, y, v) v and N(x, y, v) = a_2(x, y, v). Treating y as fixed (a parameter), this is a first-order ODE in x and v. It is exact if \frac{\partial M}{\partial v} = \frac{\partial N}{\partial x}, which is one of the overall exactness conditions. If all three conditions hold, the full set ensures consistency upon substituting back dy = v \, dx. The function \Psi is found by successive integration: \Psi(x, y, v) = \int a_0(\xi, y, v) \, d\xi + \int \left[ a_1(x, \eta, v) - \frac{\partial}{\partial \eta} \int a_0(\xi, \eta, v) \, d\xi \right] d\eta + g(v), where g(v) is chosen to satisfy \frac{\partial \Psi}{\partial v} = a_2, and similar adjustments for the other integrals if needed. The first integral is then \Psi(x, y, v) = c_1. Substituting v = y' yields the reduced first-order ODE \Psi(x, y, y') = c_1, which is solved using standard first-order techniques; if this equation can be expressed in exact form (e.g., as P(x, y) \, dx + Q(x, y) \, dy = 0 after solving for y'), the exact solution procedure applies directly. For the specific case y'' = f(x, y, y'), rewrite as $1 \cdot y'' + 0 \cdot y' - f(x, y, y') = 0, so a_2 = 1, a_1 = 0, a_0 = -f. The exactness conditions simplify to \frac{\partial (-f)}{\partial y} = \frac{\partial 0}{\partial x} (i.e., \frac{\partial f}{\partial y} = 0) and \frac{\partial (-f)}{\partial y'} = \frac{\partial 1}{\partial x} (i.e., \frac{\partial f}{\partial y'} = 0), with the third trivially satisfied. Thus, the equation is exact if f = f(x). In this case, M = -f(x), N = 1, and the form is -f(x) \, dx + dv = 0, with exactness \frac{\partial (-f)}{\partial v} = 0 = \frac{\partial 1}{\partial x}. Integrating gives \Psi(x, y, v) = v - \int f(x) \, dx = c_1, so y' = \int f(x) \, dx + c_1, a separable (hence ) equation whose solution is y = \iint f(x) \, dx \, dx + c_1 x + c_2.

General nth-Order Case

In the general case, an nth-order (ODE) involving the dependent y and its derivatives up to order n is defined to be exact if it can be written in the form dF(x, y, y', \dots, y^{(n-1)}) = 0, where F is a sufficiently depending on the independent x and the first n-1 derivatives of y. This formulation implies that the ODE represents the total differential of an (n-1)-fold , enabling successive integrations to yield the general directly without additional techniques. The originates from early treatments of integrability in differential equations, where exactness ensures the equation is the of a in the space of variables (x, y, y', \dots, y^{(n-1)}). The condition for exactness generalizes Clairaut's theorem on the equality of mixed partial derivatives to multiple variables. For the differential form associated with the ODE to be exact, the second partial derivatives of F must commute, i.e., \frac{\partial^2 F}{\partial u \partial v} = \frac{\partial^2 F}{\partial v \partial u} for all pairs of variables u, v among \{[x, y](/page/X&Y), y', \dots, y^{(n-1)}\}, assuming sufficient . This commutativity ensures the form is closed, meaning its vanishes, a necessary and sufficient condition for local exactness in the relevant domain. Failure of this condition indicates the need for an to render the equation exact. An nth-order admits iterative reduction of order through . Integrating the once produces an of order n-1 in the variables x, y, y', \dots, y^{(n-2)}, which inherits exactness from the original due to the structure of the total differential. This process repeats, successively lowering the order until a solvable first-order is obtained, from which the full follows by standard methods. Each introduces an arbitrary , yielding the n constants expected in the general solution of an nth-order . This framework connects to the of systems, where the nth-order is reformulated as a of first-order equations in an extended with variables x, y = p_0, p_1 = y', \dots, p_{n-1} = y^{(n-1)}, including relations dp_k = p_{k+1} \, dx for k = 0, \dots, n-2 and the original for dp_{n-1}. The exactness corresponds to the integrability of this , governed by the Frobenius theorem, which states that the is integrable if and only if the ideal generated by the 1-forms is closed under exterior , i.e., the 2-forms d\omega_i \wedge \omega_j = 0 for all basis 1-forms \omega_i, \omega_j. This provides a rigorous algebraic for exactness in higher dimensions, linking classical to modern .

Applications and Examples

Exact differential equations arise in various contexts where path independence or conservation laws are key. A classic first-order example is the equation (2x + y)\, dx + (x + 2y)\, dy = 0. This is since \frac{\partial}{\partial y}(2x + y) = 1 = \frac{\partial}{\partial x}(x + 2y). Integrating the first term with respect to x yields F(x, y) = x^2 + xy + h(y). Differentiating with respect to y gives x + h'(y) = x + 2y, so h'(y) = 2y and h(y) = y^2. The solution is thus x^2 + xy + y^2 = C. For second-order equations, consider the exact equation y'' + \frac{2}{x} y' = 0 for x > 0. Here, a_2 = 1, a_1 = \frac{2}{x}, a_0 = 0. The conditions hold: \frac{\partial a_0}{\partial y} = 0 = \frac{\partial a_1}{\partial x} = -\frac{2}{x^2} wait, no—actually, this is not general form since a1 depends on x only. But it is the derivative of \frac{1}{x^2} (x^2 y')' = 0, or directly, multiply by x^2: (x^2 y')' =0, so x^2 y' = c_1, y' = c_1 / x^2, y = -c_1 / x + c_2. This illustrates reduction to first-order exact after recognizing the structure. A third-order linear exact differential equation satisfies the condition where the coefficients p, q, r obey p' = q and q' = r. An example is y''' + 3x^2 y'' + 6x y' + 6y = 0, with p = 3x^2, q = 6x = p', and r = 6 = q'. This exactness allows successive integrations: the first yields a second-order equation y'' + 3x^2 y' + 6x y = c_1, the second reduces to y' + 3x^2 y = c_1 x + c_2, and the third integrates to the solution involving logarithmic terms characteristic of Euler equations, y = c_1 + c_2 \ln x + c_3 (\ln x)^2. In physics, exact differential equations model conservative vector fields, where a field \mathbf{F} = P \mathbf{i} + Q \mathbf{j} is conservative if \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}, ensuring the \int \mathbf{F} \cdot d\mathbf{r} is path-independent and equals the potential difference f(B) - f(A), with df = P\, dx + Q\, dy. This corresponds to \mathbf{F} = \nabla f, tying directly to exactness. In , exact differentials describe changes in state functions like U, where dU = đq + đw combines inexact đq and work đw into an exact form, path-independent and dependent only on initial and final states, such as dU = T\, dS - P\, dV.

References

  1. [1]
    Differential Equations - Exact Equations - Pauls Online Math Notes
    Nov 16, 2022 · In this section we will discuss identifying and solving exact differential equations. We will develop of a test that can be used to identify ...
  2. [2]
    Exact Differential -- from Wolfram MathWorld
    A differential of the form df=P(x,y)dx+Q(x,y)dy (1) is exact (also called a total differential) if intdf is path-independent.
  3. [3]
    Exact Differential Equation - an overview | ScienceDirect Topics
    An exact differential equation is defined as a type of differential equation that can be solved directly through algebraic methods, often involving successive ...<|control11|><|separator|>
  4. [4]
    First law of thermodynamics - MIT
    dˉ denotes an inexact differential. This means that there are no functions Q Q Q and W W W of which ⁣ d ˉ Q \db Q dˉQ and ⁣ d ˉ W \db W dˉW are differentials.
  5. [5]
    Exact and inexact differentials - Richard Fitzpatrick
    This type of infinitesimal quantity is termed an exact differential to distinguish it from another type to be discussed presently.
  6. [6]
    [PDF] Learning Mathematics from the Master: A Collection of Euler
    Following an example of an exact differential equation, Euler presented a theorem where he showed any differential equation of the form Mdx + Ndy = 0 becomes ...
  7. [7]
    (PDF) …and so Euler discovered Differential Equations
    Dec 13, 2018 · Euler's contributions to differential equations are so comprehensive and rigorous that any contemporary textbook on the subject can be ...
  8. [8]
    Joseph-Louis Lagrange (1736 - 1813) - Biography - MacTutor
    In papers which were published in the third volume, Lagrange studied the integration of differential equations and made various applications to topics such as ...
  9. [9]
    Johann Friedrich Pfaff (1765 - 1825) - Biography - MacTutor
    Johann Friedrich Pfaff was an influential German mathematician who worked on systems of partial differential equations. Thumbnail of Johann Friedrich Pfaff
  10. [10]
    [PDF] The History of Differential Equations, 1670–1950
    Indeed, they grew steadily in importance, especially from the mid 18th century when partial equations were introduced by Jean d'Alembert and Leonhard Euler and ...
  11. [11]
    [PDF] 1 Exact Equations. - McGill University
    Conversely, it can be shown that condition (1) is also sufficient for the exactness of the given DE on. (R) providing that (R) is simply connected, .i.e. ...
  12. [12]
    [PDF] Exact equations (Sect. 1.4).
    Proof: (⇐) Simple: ... The Poincaré Lemma. Example. Show that the function ψ(t,u) = t2 + tu2 is the potential function for the exact differential equation.<|control11|><|separator|>
  13. [13]
    [PDF] Exact First Order Differential Equations
    + C2(x). We let ψ(x, y) = y sinx + exy. The general solution is then y sinx + e xy. = C. D. Example 4. Solve 4x3 + 4y3y. 0. = 0, with y(1) = 1. Solution. It is ...
  14. [14]
    [PDF] 2.6: EXACT DIFFERENTIAL EQUATIONS
    How to solve an exact equation: 1. Define Ψx = M and Ψy = N. 2. Integrate to find Ψ(x, y). 3. The equation becomes d dx. Ψ(x, y(x)) = 0.
  15. [15]
    [PDF] Chapter 1 First Order Differential Equations - UNCW
    In this chapter we will study some common differential equations that appear in physics. We will begin with the simplest types of equations and.
  16. [16]
    Theory of differential equations : Forsyth, Andrew Russell, 1858-1942
    May 19, 2009 · Theory of differential equations. by: Forsyth, Andrew Russell, 1858-1942. Publication date: 1890. Topics: Differential equations, Differential ...
  17. [17]
    Theory of differential equations : Forsyth, Andrew Russell, 1858-1942
    Mar 21, 2006 · Theory of differential equations. by: Forsyth, Andrew Russell, 1858-1942. Publication date: 1890-1906. Topics: Differential equations. Publisher ...
  18. [18]
    A course in mathematical analysis : Goursat, Edouard, 1858-1936
    Dec 9, 2008 · A course in mathematical analysis. by: Goursat, Edouard, 1858-1936 ... Volume: 2. Item Size: 507.6M. Vol. II translated by Earle Raymond ...
  19. [19]
    Exact Differential Equations - Department of Mathematics at UTSA
    Oct 25, 2021 · The nomenclature of "exact differential equation" refers to the exact differential of a function. For a function F ( x 0 , x 1 , . . . , x n − 1 ...
  20. [20]
    [PDF] 1.12 Basic Theory of Differential Equations - Purdue Math
    Feb 16, 2007 · A differential equation involves derivatives of an unknown function. This chapter introduces the theory, mainly focusing on first-order ...
  21. [21]
    Calculus III - Conservative Vector Fields - Pauls Online Math Notes
    Nov 16, 2022 · In this section we will take a more detailed look at conservative vector fields than we've done in previous sections.