Mathwords logoMathwords

Clairaut's Equation — Definition, Formula & Example

Clairaut's equation is a first-order differential equation whose general solution is a family of straight lines. When f, the part that depends only on the slope, is not linear, there is usually also one extra curve, called the singular solution, that touches every one of those lines.

Clairaut's equation is any first-order ordinary differential equation of the form y=xp+f(p)y = xp + f(p), where p=dydxp = \frac{dy}{dx} and ff is differentiable. Differentiating with respect to xx gives dpdx (x+f′(p))=0\frac{dp}{dx}\,\bigl(x + f'(p)\bigr) = 0. The factor dpdx=0\frac{dp}{dx} = 0 gives the general solution y=Cx+f(C)y = Cx + f(C): these straight lines are always solutions. The factor x+f′(p)=0x + f'(p) = 0 gives the curve x=−f′(p)x = -f'(p), y=f(p)−pf′(p)y = f(p) - pf'(p). When ff is not linear (f′′(p)≠0f''(p) \neq 0), this curve is usually a singular solution, the envelope of the family of lines. When ff is linear, it shrinks to a single point and there is no singular solution.

Key Formula

y=x dydx+f ⁣(dydx)⟹y=Cx+f(C)y = x\,\frac{dy}{dx} + f\!\left(\frac{dy}{dx}\right) \quad\Longrightarrow\quad y = Cx + f(C)
Where:
  • yy = The unknown function of x
  • dydx\frac{dy}{dx} = The first derivative, often written p
  • ff = A given differentiable function of the derivative
  • CC = An arbitrary constant that replaces the derivative in the general solution

Worked Example

Problem: Find the general solution and the singular solution of y=x y′−(y′)2y = x\,y' - (y')^2.
Step 1: Let p=y′p = y', so y=xp−p2y = xp - p^2. Differentiate both sides with respect to xx. The left side becomes pp. Cancel pp from both sides and factor.
p=p+x p′−2p p′  ⟹  p′ (x−2p)=0p = p + x\,p' - 2p\,p' \;\Longrightarrow\; p'\,(x - 2p) = 0
Step 2: Case p′=0p' = 0: then pp is a constant CC. Substitute it back into the original equation. This gives a family of straight lines.
y=Cx−C2y = Cx - C^2
Step 3: Case x−2p=0x - 2p = 0: then p=x2p = \frac{x}{2}. Substitute this into y=xp−p2y = xp - p^2. This curve contains no arbitrary constant.
y=x⋅x2−(x2)2=x24y = x\cdot\frac{x}{2} - \left(\frac{x}{2}\right)^2 = \frac{x^2}{4}
Answer: The general solution is y=Cx−C2y = Cx - C^2. The singular solution is y=x24y = \frac{x^2}{4}. For example, the line y=2x−4y = 2x - 4 (the case C=2C = 2) touches the parabola at (4,4)(4, 4), where the parabola's slope is also 22.

Why It Matters

In a differential equations course, Clairaut's equation is the standard example of a singular solution, which is a solution that no choice of constant can produce. Geometrically, it solves envelope problems: you find the curve traced out by a whole family of tangent lines. The same structure, y=xp+f(p)y = xp + f(p), appears in the Legendre transform, which switches between descriptions in classical mechanics and thermodynamics.

Common Mistakes

Mistake: Stopping after the general solution y=Cx+f(C)y = Cx + f(C) and treating it as the complete answer.
Correction: When ff is not linear, the factor x+f′(p)=0x + f'(p) = 0 usually gives a separate curve, the singular solution. You cannot get it by choosing any value of CC, so always solve both factors.

Related Terms