Blog

General vs Particular Solution of a Differential Equation: When Initial Conditions Matter

Learn the difference between general and particular solutions of differential equations, and how initial conditions fix arbitrary constants.

  • 12th
  • Study Advice
Luminous solution curves narrowing through a brass initial-condition gate into one clear path

Differential equations feel much calmer once you understand what the answer is supposed to look like.

Sometimes the answer is a whole family of curves. Sometimes it is one exact curve from that family. The difference between these two is the difference between a general solution and a particular solution.

This is a small idea, but it controls the last few lines of many differential equation questions.

You may solve the equation correctly and still lose marks if you stop too early, forget the constant, or use the given condition at the wrong time.

Let us build this from the ground up.

Start With the Meaning of a Solution

A differential equation contains a derivative.

For example:

dy/dx = 2x

A solution is a function that makes this statement true.

If:

y = x^2

then:

dy/dx = 2x

So y = x^2 is a solution.

But it is not the only one.

If:

y = x^2 + 5

then:

dy/dx = 2x

The constant 5 disappears during differentiation. In the same way:

y = x^2 - 3
y = x^2 + 100
y = x^2 + C

all satisfy the same differential equation.

That is why differential equations often do not give only one answer at first. They give a family of answers.

What Is a General Solution?

A general solution is the solution that contains the arbitrary constant.

For:

dy/dx = 2x

we integrate:

y = integral of 2x dx
y = x^2 + C

This is the general solution.

The letter C does not mean we are unsure. It means the differential equation allows many possible curves, and each value of C gives one curve.

Think of the general solution as a full set of possible answers.

y = x^2 + C

When C = 0, the curve is:

y = x^2

When C = 3, the curve is:

y = x^2 + 3

When C = -8, the curve is:

y = x^2 - 8

All of them belong to the same family.

What Is a Particular Solution?

A particular solution is one exact member of the family.

To find it, the question gives extra information, such as:

y = 7 when x = 2

or:

The curve passes through (2, 7)

Both mean the same thing:

when x = 2, y = 7

Now use the general solution:

y = x^2 + C

Substitute the condition:

7 = 2^2 + C
7 = 4 + C
C = 3

So the particular solution is:

y = x^2 + 3

The constant has been fixed. There is no C left.

What Is an Initial Condition?

An initial condition is a given value that helps you find the arbitrary constant.

It usually looks like this:

y = 1 when x = 0

or:

y(0) = 1

The word “initial” often comes from situations where the independent variable is time.

For example:

At t = 0, the amount is 100.
At t = 0, the velocity is 20.
At t = 0, the population is 5000.

But in school mathematics, you should treat it simply as a condition that gives a known point on the solution curve.

It tells you which curve from the family is required.

When Should You Use the Initial Condition?

Use the initial condition after finding the general solution.

This order is important.

Correct order:

Step 1: Solve the differential equation.
Step 2: Write the general solution with C.
Step 3: Substitute the given condition.
Step 4: Find C.
Step 5: Write the particular solution.

Do not substitute the condition before you have integrated properly. If you use it too early, you may disturb the method and lose the constant.

Read the Question Wording Carefully

The wording tells you whether to stop at the general solution or continue to the particular solution.

Question wordingWhat you should do
Find the general solutionStop with C in the answer.
Solve the differential equationUsually give the general solution unless a condition is provided.
Find the particular solutionUse the given condition and remove C.
Given that y = a when x = bUse this to find C.
Curve passes through (b, a)Treat it as y = a when x = b.

This is why the same calculation may have two correct-looking endings, but only one matches the question.

Example 1: General Solution Only

Question:

Find the general solution of dy/dx = 3x^2.

Solution:

dy/dx = 3x^2
dy = 3x^2 dx
y = integral of 3x^2 dx
y = x^3 + C

Answer:

y = x^3 + C

There is no given value of x and y, so we do not find C.

Example 2: Particular Solution With a Given Point

Question:

Find the particular solution of dy/dx = 3x^2, given that y = 10 when x = 2.

First find the general solution:

dy/dx = 3x^2
y = x^3 + C

Now use the condition:

y = 10 when x = 2

Substitute:

10 = 2^3 + C
10 = 8 + C
C = 2

So the particular solution is:

y = x^3 + 2

Notice the difference.

The general solution was:

y = x^3 + C

The particular solution is:

y = x^3 + 2

The method did not change. Only the ending changed because the question gave extra information.

Example 3: A Slightly Richer First-Order Question

Question:

Find the particular solution of dy/dx + y = 3, given that y = 5 when x = 0.

This is a linear differential equation. The general solution is:

y = 3 + Ce^(-x)

Now use the condition:

y = 5 when x = 0

Substitute:

5 = 3 + Ce^0
5 = 3 + C
C = 2

So the particular solution is:

y = 3 + 2e^(-x)

The important part here is not the method of solving the linear equation. The important part is what happens after you get the general solution.

The given condition fixes C.

What If the Answer Is Implicit?

Not every solution is neatly written as:

y = expression in x

Sometimes the answer may look like this:

x^2 + y^2 = C

This can still be a general solution because it contains an arbitrary constant.

Now suppose the question says:

The curve passes through (3, 4).

Use the same idea:

x = 3, y = 4

Substitute:

3^2 + 4^2 = C
9 + 16 = C
C = 25

So the particular solution is:

x^2 + y^2 = 25

You do not always need to solve explicitly for y. If the implicit equation is clean and acceptable, it can be the final answer.

Why the Number of Conditions Matters

A first-order differential equation usually gives one arbitrary constant.

So one condition is usually enough.

Example:

dy/dx = 2x
general solution: y = x^2 + C
condition: y = 7 when x = 2

One condition finds one constant.

A second-order differential equation usually gives two arbitrary constants.

For example:

d2y/dx2 = 6x

Integrating once:

dy/dx = 3x^2 + C1

Integrating again:

y = x^3 + C1x + C2

There are two constants: C1 and C2.

So you normally need two conditions, such as:

y(0) = 4
y'(0) = 1

One condition alone cannot fix both constants.

The Most Common Student Mistakes

Mistake 1: Forgetting the Constant

If you integrate:

dy/dx = 4x

do not write only:

y = 2x^2

Write:

y = 2x^2 + C

Without C, you have accidentally written only one possible curve.

Mistake 2: Leaving C in a Particular Solution

If the question gives a condition, your final answer should not still contain C.

For example:

y = x^2 + C
y = 5 when x = 1

Then:

5 = 1 + C
C = 4

Final answer:

y = x^2 + 4

Not:

y = x^2 + C

Mistake 3: Substituting the Condition Into the Differential Equation

Suppose:

dy/dx = 2x
y = 7 when x = 2

The condition tells you a point on the curve. It does not mean:

dy/dx = 7 when x = 2

Use the condition in the solution, not as a replacement for the derivative.

Mistake 4: Confusing a Point With a Slope

These two statements are different:

y = 7 when x = 2
dy/dx = 7 when x = 2

The first gives a point on the curve.

The second gives a slope at a point.

Both can be useful, but they fix different things. Read the wording carefully before substituting.

A Simple Checklist Before Writing the Final Answer

Before you box your answer, ask:

CheckWhy it helps
Did I integrate or solve the equation correctly?The condition cannot repair a wrong general solution.
Did I include the arbitrary constant?The general family must not lose C.
Did the question give a condition?If yes, use it to find the constant.
Did I remove C from the final particular solution?A particular answer should be exact.
Did I substitute the answer back mentally?It should satisfy both the equation and the condition.

This checklist is short, but it catches most errors.

How to Think About It in One Picture

Imagine a bundle of curves on a graph. They all have the same general behaviour because they all satisfy the same differential equation.

That bundle is the general solution.

Now imagine the question gives one point:

(2, 7)

Only one curve from the bundle passes through that exact point.

That single curve is the particular solution.

The initial condition is like a pin placed on the graph. It selects the one curve that must pass through it.

How to Present the Working Neatly

In a written answer, make your flow easy to follow.

A good format is:

Given differential equation:
...

On integrating:
...

General solution:
...

Using y = ... when x = ...:
...

Therefore, particular solution:
...

This layout shows the examiner that you know exactly where the condition enters.

Avoid squeezing all steps into one line. Differential equations reward clear working because the method matters as much as the answer.

Final Takeaway

If the question asks for a general solution, leave the arbitrary constant in the answer.

If the question gives an initial condition or says the curve passes through a point, use that information to find the constant and write the particular solution.

The moment you see C, pause and ask:

Do I have enough information to find this constant?

If yes, find it. If no, leave it.

That one pause can save many marks.

Frequently Asked Questions

What is the main difference between a general solution and a particular solution?

A general solution contains arbitrary constants and represents a family of solutions. A particular solution has no arbitrary constants because the given condition has been used to find their values.

Does every differential equation have a general solution?

In school-level problems, you are usually expected to find a general solution using the method suited to the equation. Some higher-level differential equations may be harder to solve neatly, but the basic idea remains the same: a general solution represents the full family of possible solutions.

When should I use the initial condition?

Use it after you have found the general solution. Substitute the given values of x and y, or any given derivative value, into the general solution to find the arbitrary constant.

If the question says the curve passes through a point, is that an initial condition?

Yes. If the curve passes through (a, b), it means y = b when x = a. Use this information to find the constant in the general solution.

Should a particular solution contain C?

No. If the question gives enough conditions, the final particular solution should have fixed values instead of arbitrary constants.

How many initial conditions are needed?

Usually, a first-order differential equation needs one condition, while a second-order differential equation needs two independent conditions. A good rule is to count the arbitrary constants in the general solution.

What should I do if there is no initial condition in the question?

If no condition is given, stop at the general solution. Keep the arbitrary constant in your final answer.

Looking for commerce tuitions?

Prachi is a gold-medalist commerce teacher with experience at Deloitte and KPMG. She focuses on fundamentals to build a strong foundation.

Start classes