girgit.org

Differential Equations

General and particular solutions: a family and one member

The big ideaA differential equation has a whole family of solutions, one for each value of its arbitrary constants; one extra fact, such as a point the curve must pass through, picks out a single member.

In simple words

Suppose all you know is "the road climbs 2 metres for every metre you walk". Many roads fit that: one starting at the ground, one starting on a roof, one starting in a basement. They all have the same shape, just moved up or down. If someone also tells you "the road passes this tree", only one road fits. The first answer, with all the roads, is the general solution. The one road is the particular solution.

What counts as a solution

A solution of a differential equation is a function \( y = \phi(x) \) which, when you put it and its derivatives into the equation, makes the left side equal the right side. Its graph is called a solution curve or integral curve.

Worked example: checking a solution

Is \( y = e^{2x} \) a solution of \( y'' - y' - 2y = 0 \)?

  1. Differentiate: \( y' = 2e^{2x} \), and again: \( y'' = 4e^{2x} \).
  2. Substitute: \( 4e^{2x} - 2e^{2x} - 2e^{2x} = 0 \).
  3. Left side = 0 = right side, so yes, it is a solution.

Checking is always just this: differentiate, substitute, simplify. You never have to solve anything to check.

General and particular solutions

Try \( y = A\cos 3x + B\sin 3x \) in \( y'' + 9y = 0 \). Here \( y'' = -9A\cos 3x - 9B\sin 3x = -9y \), so \( y'' + 9y = 0 \) for every choice of the numbers A and B. The letters A and B are arbitrary constants (also called parameters): any real values work.

  • A solution that still contains the arbitrary constants is the general solution (an older name is the primitive).
  • A solution with the constants replaced by particular numbers, such as \( y = 2\cos 3x \) (A = 2, B = 0), is a particular solution. It has no arbitrary constants.

How many constants?

  • The general solution of an equation of order n has n independent arbitrary constants.
  • Order 1: one constant (y = x² + C). Order 2: two constants (A and B above).
  • A particular solution has zero arbitrary constants, whatever the order.

A family of curves, and one curve through a point

Take \( \frac{dy}{dx} = 2x \). Integrating gives the general solution \( y = x^2 + C \). Each value of C is one parabola: C = 0 sits on the origin, C = 3 is the same parabola lifted 3 units, C = −1 is it lowered by 1. Together they form a family of curves, stacked one above the other, all with the same slope 2x at each x.

Now add a condition: the curve must pass through (1, 4). Put x = 1, y = 4: \( 4 = 1 + C \), so C = 3. The particular solution is \( y = x^2 + 3 \), the one curve of the family through that point.

Try it: a second-order equation has two constants, so one point is not enough. Drag P, then drag the end of its tangent.

Guess first: how many constants?

\( y = Ae^{x + B} \) has two letters, A and B. Guess: could it be the general solution of a second-order equation?

See what happens
No. \( Ae^{x+B} = (Ae^B)e^x \), and \( Ae^B \) is just one constant, call it K. So the family is really \( y = Ke^x \), with one constant. It solves the first-order equation \( y' = y \). Count constants only after combining any that can be merged.

Going backwards: from a family to its equation

Not in the current textbook, but JEE asks it: older NCERT editions had a section on forming the differential equation when the general solution is given. The rule: differentiate as many times as there are arbitrary constants, then eliminate the constants. The result has order equal to the number of constants.

  • Lines through the origin, \( y = mx \): one constant. Then \( y' = m \), so \( y = xy' \). Order 1.
  • Circles centred at the origin, \( x^2 + y^2 = r^2 \): one constant. Differentiate: \( 2x + 2yy' = 0 \), so \( x + yy' = 0 \).
  • Two constants, \( y = Ae^{2x} + Be^{-x} \): \( y' = 2Ae^{2x} - Be^{-x} \) and \( y'' = 4Ae^{2x} + Be^{-x} \). Then \( y'' - y' = 2Ae^{2x} + 2Be^{-x} = 2y \), giving \( y'' - y' - 2y = 0 \), the equation we checked at the top of this page.

Try it. Verify that \( y = x^3 - x + C \) solves \( y' - 3x^2 + 1 = 0 \), and find the particular solution with y = 5 when x = 2.

Answer
\( y' = 3x^2 - 1 \), so \( y' - 3x^2 + 1 = 0 \) for every C. With x = 2, y = 5: \( 5 = 8 - 2 + C \), so C = −1 and the particular solution is \( y = x^3 - x - 1 \).

Words to know

Solution
A function that makes the equation true when it and its derivatives are substituted.
Solution (integral) curve
The graph of a solution.
Arbitrary constant
A letter in the solution that can take any value: C, A, B.
General solution (primitive)
The solution with all its arbitrary constants: a family of curves.
Particular solution
One member of the family, with numbers in place of the constants.

How many arbitrary constants are in the general solution of a fourth-order differential equation?

  1. 0
  2. 2
  3. 4

Which function is a solution of \( y'' + y' - 6y = 0 \)?

  1. \( y = e^{3x} \)
  2. \( y = e^{2x} \)
  3. \( y = e^{-2x} \)

The general solution of \( \frac{dy}{dx} = 3x^2 \) is \( y = x^3 + C \). Which is the particular solution through (2, 10)?

  1. \( y = x^3 \)
  2. \( y = x^3 + 2 \)
  3. \( y = x^3 + 10 \)