Importance of adding the constant of integration.

1. Oct 10, 2011

shayaan_musta

Hello experts!
I have a question below.

Why is it important to add the constant of integration immediately when the integration is performed?

2. Oct 10, 2011

daveb

If you're wondering why there is a constant of integration, it is because when you have a function f(x) such that F(x) = f'(x), then the derivative of g(x) = f(x) + C for any constant also equals F(x) (i.e., g'(x) = f'(x)), so when you integrate F(x), you need to capture that constant in the solution.

Now, if you are asking why it has to be done immediately I'm not sure what you're asking since adding the constant is done as the last step.

3. Oct 10, 2011

dextercioby

To the OP: Assume you must do a double integration. For example:

$$\frac{d^2 f(x)}{d x^2} = x^3 + 5$$

What is then f(x) equal to ?

4. Oct 11, 2011

shayaan_musta

f(x)=$\frac{x^{5}}{5}$ + $\frac{5x^{2}}{2}$ + c

where "c" is the integration constant.

Now what?? :s

5. Oct 11, 2011

shayaan_musta

Ok daveb thank you. I think you have answered my question.
Thank you very much.

6. Oct 11, 2011

shayaan_musta

Thank you dextercioby. You also made me to think the answer of my question.

7. Oct 11, 2011

cpt_carrot

Not quite, this is why the constant of integration is important. The first integration gives

$$\frac{df}{dx}=\frac{x^4}{4}+5x+c_1$$

and the second integration gives

$$f(x)=\frac{x^5}{20}+\frac{5x^2}{2}+c_1x+c_2$$

Which is why we need one constant of integration for each integral

8. Oct 11, 2011

HallsofIvy

Note that dextercioby's example is a linear second order non-homogenous differential equation which means that the set of all solutions is a two dimensional "linear manifold". That is why you need two undetermined coefficients.

9. Oct 12, 2011

shayaan_musta

Ok cpt_carrot I got you. Thanks man.
Now I have understood that for each integration a constant is important, as Hallsofivy said.

So help guys on Physics Forums