Contents
Exact differential equation
In mathematics, an exact differential equation or total differential equation is a certain kind of ordinary differential equation which is widely used in physics and engineering.
Definition
Given a simply connected and open subset D of and two functions I and J which are continuous on D, an implicit first-order ordinary differential equation of the form is called an exact differential equation if there exists a continuously differentiable function F, called the potential function, so that and An exact equation may also be presented in the following form: where the same constraints on I and J apply for the differential equation to be exact. The nomenclature of "exact differential equation" refers to the exact differential of a function. For a function, the exact or total derivative with respect to x_0 is given by
Example
The function given by is a potential function for the differential equation
First-order exact differential equations
Identifying first-order exact differential equations
Let the functions M, N, M_y, and N_x, where the subscripts denote the partial derivative with respect to the relative variable, be continuous in the region. Then the differential equation is exact if and only if That is, there exists a function \psi(x, y), called a potential function, such that So, in general:
Proof
The proof has two parts. First, suppose there is a function \psi(x,y) such that It then follows that Since M_y and N_x are continuous, then \psi _{xy} and \psi _{yx} are also continuous which guarantees their equality. The second part of the proof involves the construction of \psi(x, y) and can also be used as a procedure for solving first-order exact differential equations. Suppose that and let there be a function \psi(x, y) for which Begin by integrating the first equation with respect to x. In practice, it doesn't matter if you integrate the first or the second equation, so long as the integration is done with respect to the appropriate variable. where Q(x, y) is any differentiable function such that Q_x = M. The function h(y) plays the role of a constant of integration, but instead of just a constant, it is function of y, since M is a function of both x and y and we are only integrating with respect to x. Now to show that it is always possible to find an h(y) such that \psi _y = N. Differentiate both sides with respect to y. Set the result equal to N and solve for h'(y). In order to determine h'(y) from this equation, the right-hand side must depend only on y. This can be proven by showing that its derivative with respect to x is always zero, so differentiate the right-hand side with respect to x. Since Q_x = M, Now, this is zero based on our initial supposition that Therefore, And this completes the proof.
Solutions to first-order exact differential equations
First-order exact differential equations of the form can be written in terms of the potential function \psi(x, y) where This is equivalent to taking the total derivative of \psi(x,y). The solutions to an exact differential equation are then given by and the problem reduces to finding \psi(x, y). This can be done by integrating the two expressions and and then writing down each term in the resulting expressions only once and summing them up in order to get \psi(x, y). The reasoning behind this is the following. Since it follows, by integrating both sides, that Therefore, where Q(x, y) and P(x, y) are differentiable functions such that Q_x = M and P_y = N. In order for this to be true and for both sides to result in the exact same expression, namely \psi(x, y), then h(y) must be contained within the expression for P(x, y) because it cannot be contained within g(x), since it is entirely a function of y and not x and is therefore not allowed to have anything to do with x. By analogy, g(x) must be contained within the expression Q(x, y). Ergo, for some expressions f(x, y) and d(x, y). Plugging in into the above equation, we find that and so f(x, y) and d(x, y) turn out to be the same function. Therefore, Since we already showed that it follows that So, we can construct \psi(x, y) by doing and and then taking the common terms we find within the two resulting expressions (that would be f(x, y) ) and then adding the terms which are uniquely found in either one of them – g(x) and h(y).
Second-order exact differential equations
The concept of exact differential equations can be extended to second-order equations. Consider starting with the first-order exact equation: Since both functions I(x,y), J(x,y) are functions of two variables, implicitly differentiating the multivariate function yields Expanding the total derivatives gives that and that Combining the terms gives If the equation is exact, then. Additionally, the total derivative of J(x,y) is equal to its implicit ordinary derivative. This leads to the rewritten equation Now, let there be some second-order differential equation If for exact differential equations, then and where h(x) is some arbitrary function only of x that was differentiated away to zero upon taking the partial derivative of I(x,y) with respect to y. Although the sign on h(x) could be positive, it is more intuitive to think of the integral's result as I(x,y) that is missing some original extra function h(x) that was partially differentiated to zero. Next, if then the term should be a function only of x and y, since partial differentiation with respect to x will hold y constant and not produce any derivatives of y. In the second-order equation only the term f(x,y) is a term purely of x and y. Let. If, then Since the total derivative of I(x,y) with respect to x is equivalent to the implicit ordinary derivative, then So, and Thus, the second-order differential equation is exact only if and only if the below expression is a function solely of x. Once h(x) is calculated with its arbitrary constant, it is added to I(x,y)-h(x) to make I(x,y). If the equation is exact, then we can reduce to the first-order exact form which is solvable by the usual method for first-order exact equations. Now, however, in the final implicit solution there will be a C_1x term from integration of h(x) with respect to x twice as well as a C_2, two arbitrary constants as expected from a second-order equation.
Example
Given the differential equation one can always easily check for exactness by examining the y'' term. In this case, both the partial and total derivative of 1-x^2 with respect to x are -2x, so their sum is -4x, which is exactly the term in front of y'. With one of the conditions for exactness met, one can calculate that Letting f(x,y)=-2y, then So, h(x) is indeed a function only of x and the second-order differential equation is exact. Therefore, h(x)=C_1 and. Reduction to a first-order exact equation yields Integrating I(x,y) with respect to x yields where i(y) is some arbitrary function of y. Differentiating with respect to y gives an equation correlating the derivative and the y' term. So, i(y)=y+C_2 and the full implicit solution becomes Solving explicitly for y yields
Higher-order exact differential equations
The concepts of exact differential equations can be extended to any order. Starting with the exact second-order equation it was previously shown that equation is defined such that Implicit differentiation of the exact second-order equation n times will yield an (n+2)th-order differential equation with new conditions for exactness that can be readily deduced from the form of the equation produced. For example, differentiating the above second-order differential equation once to yield a third-order exact equation gives the following form where and where is a function only of x,y and. Combining all and terms not coming from gives Thus, the three conditions for exactness for a third-order differential equation are: the term must be, the term must be and must be a function solely of x.
Example
Consider the nonlinear third-order differential equation If J(x,y)=y, then is 2y'y and which together sum to 3y'y. Fortunately, this appears in our equation. For the last condition of exactness, which is indeed a function only of x. So, the differential equation is exact. Integrating twice yields that. Rewriting the equation as a first-order exact differential equation yields Integrating I(x,y) with respect to x gives that. Differentiating with respect to y and equating that to the term in front of y' in the first-order equation gives that i'(y)=y and that. The full implicit solution becomes The explicit solution, then, is
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.