Skip to main content

Exact Equations

Exact equations are differential equations in Calculus II where M(x,y)dx + N(x,y)dy = 0 comes from a single potential function. If the equation is exact, you can recover the solution by integrating the matching pieces.

Last updated July 2026

What are Exact Equations?

An exact equation in Calculus II is a first-order differential equation written as M(x,y)dx + N(x,y)dy = 0 where the two pieces fit together like derivatives of one hidden function. That hidden function is often called a potential function or implicit solution function.

The big idea is that the equation is exact when there exists a function F(x,y) such that Fx = M and Fy = N. If that happens, then the differential equation is really saying dF = 0, so the solution is F(x,y) = C. That is why exact equations feel simpler than many other differential equations once you recognize the structure.

The test for exactness is the partial-derivative check: compute ∂M/∂y and ∂N/∂x. If they match on the region you are working in, the equation is exact. This works because mixed partials of a smooth function agree, so a true potential function must satisfy Fy x = Fx y.

A common Calculus II move is to start with a nonobvious equation and see whether it can be treated as exact after checking that condition. For example, if M = 2xy + 3 and N = x^2 + 4y, then ∂M/∂y = 2x and ∂N/∂x = 2x, so the equation is exact. You then integrate M with respect to x or N with respect to y, build F(x,y), and solve F(x,y) = C.

The part students miss most often is that exactness is not the same as separability or linearity. The equation may look messy, but the clue is in the matching partial derivatives. If the condition fails, you do not call it exact just because it seems close, and if it does hold, you do not need the integrating factor method unless the problem specifically asks you to make a nonexact equation exact.

Why Exact Equations matter in Calculus II

Exact equations show up in Calculus II because they give you another way to solve differential equations besides separation and integrating factors. Instead of forcing the equation into a formula for y or x, you look for a function whose differential matches the whole left-hand side. That changes a hard-looking equation into an implicit equation you can solve more directly.

This concept also ties together a lot of earlier derivative rules. The exactness test uses partial derivatives, so you are applying the same derivative skills from multivariable calculus ideas inside a one-variable differential equation setting. When the condition works, it is a sign that the problem has built-in structure, not just algebraic luck.

Exact equations matter because they train you to spot when a differential equation is really a disguised total differential. That kind of recognition comes up in homework sets where several methods are possible and you have to choose the cleanest one. It also keeps you from trying a method that does not fit the equation.

They are especially useful in implicit solutions, where the final answer is not necessarily y = f(x). In Calculus II, that is normal. You often leave the answer as F(x,y) = C because that is the natural form of the solution.

Keep studying Calculus II Unit 4

How Exact Equations connect across the course

Integrating Factor

If an equation is not exact, an integrating factor can sometimes multiply the whole equation into an exact one. That makes this term the next move after the exactness test fails. In problem sets, you often check exactness first, then look for a factor only if the equation is not already in the right form.

Separable Equation

Separable equations solve by moving all x terms to one side and all y terms to the other. Exact equations do not require that split, because they rely on a hidden potential function instead. A problem can be separable without being exact, so the solving setup is different even though both can lead to integration.

Homogeneous Equation

Homogeneous equations often have a substitution trick, usually y = vx or x = vy, that rewrites them into a separable form. Some homogeneous equations are also exact, but the methods are not the same. If you see a ratio-type expression in a differential equation, you should think about homogeneous structure before assuming exactness.

Homogeneous Equations

Homogeneous equations can appear as a family of first-order differential equations with a built-in scaling pattern. Exact equations are a different category, but the two sometimes overlap in homework and quizzes. Knowing both helps you decide whether to use substitution, exactness, or another method.

Are Exact Equations on the Calculus II exam?

A problem set or quiz question will usually give you M(x,y)dx + N(x,y)dy = 0 and ask whether it is exact, then ask you to solve it if it is. Your first job is to compute ∂M/∂y and ∂N/∂x and compare them. If they match, you build the potential function by integrating one piece and using the other to find the missing terms.

When the answer is not exact, you may still need to explain why. That means showing the partials do not match, not just saying it "does not look exact." If your instructor includes an integrating factor, the task may shift to making the equation exact first, then finishing with the same potential-function method.

On free-response style homework, the clean final step is usually an implicit solution F(x,y) = C, with enough algebra shown to prove where F came from.

Exact Equations vs Separable Equation

Exact equations are solved by finding a potential function whose differential matches the whole equation. Separable equations are solved by splitting x and y terms apart and integrating each side separately. They can both end in integration, but the setup is different, and a separable equation is not automatically exact.

Key things to remember about Exact Equations

  • An exact equation in Calculus II has the form M(x,y)dx + N(x,y)dy = 0 and comes from a hidden function F(x,y).

  • The exactness test is simple: if ∂M/∂y = ∂N/∂x, the equation is exact on the region you are using.

  • When an equation is exact, the solution is usually written implicitly as F(x,y) = C.

  • Exact equations are not the same as separable equations, even though both may lead to integration.

  • If the equation is not exact, you may need an integrating factor before the same method will work.

Frequently asked questions about Exact Equations

What is exact equation in Calculus II?

An exact equation in Calculus II is a differential equation of the form M(x,y)dx + N(x,y)dy = 0 where both parts come from one underlying function F(x,y). If the equation is exact, then Fx = M and Fy = N, so the solution is F(x,y) = C. It is a structured way to solve first-order differential equations.

How do you know if a differential equation is exact?

Check the partial derivatives: compute ∂M/∂y and ∂N/∂x. If they are equal, the equation is exact, assuming the functions are smooth on the region you are using. If they are not equal, the equation is not exact and you may need another method or an integrating factor.

How do you solve an exact equation?

First verify exactness with the partial-derivative test. Then integrate M with respect to x or N with respect to y to build the potential function F(x,y), and use the other expression to fill in the missing terms. The final answer is usually written as F(x,y) = C.

Are exact equations the same as separable equations?

No. Separable equations are solved by isolating x terms and y terms on opposite sides of the equation. Exact equations are solved by finding a function whose differential matches the whole equation. Some equations can fit more than one method, but the ideas are different.