# Why does "y = C.F. + P.I."?

Watch
Announcements
#1
I'm just doing some FP2 differential equations and I was wondering, why does:

"y = complimentary function + particular integral" When solving 2nd order equations?

Is there a proof or is there some reasoning behind it. The book doesn't explain it
1
9 years ago
#2
(Original post by soutioirsim)
I'm just doing some FP2 differential equations and I was wondering, why does:

"y = complimentary function + particular integral" When solving 2nd order equations?

Is there a proof or is there some reasoning behind it. The book doesn't explain it
I will assume you know what the complimentary function and particular integral are considering you're doing FP2!

If you take the superposition of the complimentary function and particular integral this will cover every possible solution to the ODE. I'm sure one of the 2nd/3rd year maths grads on here can cover it in more detail though!

EDIT: Should mention that taking the superposition basically means adding them together (or at least it does in this case)
1
9 years ago
#3
The complimentary function is the general part of your differential equation - it is actually the set of functions that will give 0 when put into the differential equation, meaning that they have no bearing on the outcome of it. Given a differential equation and a solution to the differential equation, you can add any function from the complementary function set to the answer you have and it will still be an answer. Basically what I'm saying is that you need a complementary function to have the set of all possible solutions.

The particular integral is necessary to give, if you like, the bit of the equation that isn't 0. For instance, if you have y'' - y' + y = sin(x), clearly the solution must at least in part be a trigonometric function, so you find a solution in the set of trigonometric functions via whatever method you choose. This solution, the particular integral, will account for the specific part of the differential equation.

Thus, you have your complementary function which gives the set of answers to the equation but is 0 when put into the equation so it has no effect on anything on the other side, plus the particular integral which gives you the other side when it is put into the equation. Hopefully I have managed to explain why both are necessary.
2
9 years ago
#4
The key property of the differential equation is linearity. We may write a general 2nd order linear differential equation as , and so we wish to solve for a given function f. Now, what I mean by the differential equation being linear is that is a linear operator, meaning for any constants a and b, and functions y and z, .

So now we have this property, we may show that the solution of a second order linear differential equation is of your specified form. I will write our general solution y as where yh refers to the homogeneous solution, i.e. that , and yp refers to the particular solution, i.e. . First, we must check that y actually solves the differential equation, otherwise that would be somewhat ******ed. And (by linearity!) . And now the subtler job of establishing that all solutions of the differential equations are of this form remains. So, suppose we have another solution, (this is a common trick), s.t. . Then (by linearity!). But hang on, this means that is part of the homogeneous solution, so . But it is easy to check that is a homogeneous solution, and so all solutions are of this form.

Two things to note. First, that this easily generalizes to solutions of any nth order linear differential equations. Secondly, we have demonstrated that solutions of this form are indeed solutions, and any solutions must have this form, but we have not shown the existence of such solutions: this is a very different beast.

Edit: homogeneous solution is synonymous with complementary function.
1
#5
(Original post by Glutamic Acid)
homogeneous solution is synonymous with complementary function.
(Original post by Bobifier)
The complimentary function is the general part of your differential equation
(Original post by JamesyB)
I will assume you know what the complimentary function and particular integral are considering you're doing FP2!
Thanks guys
0
10 months ago
#6
(Original post by Bobifier)
The complimentary function is the general part of your differential equation - it is actually the set of functions that will give 0 when put into the differential equation, meaning that they have no bearing on the outcome of it. Given a differential equation and a solution to the differential equation, you can add any function from the complementary function set to the answer you have and it will still be an answer. Basically what I'm saying is that you need a complementary function to have the set of all possible solutions.

The particular integral is necessary to give, if you like, the bit of the equation that isn't 0. For instance, if you have y'' - y' + y = sin(x), clearly the solution must at least in part be a trigonometric function, so you find a solution in the set of trigonometric functions via whatever method you choose. This solution, the particular integral, will account for the specific part of the differential equation.

Thus, you have your complementary function which gives the set of answers to the equation but is 0 when put into the equation so it has no effect on anything on the other side, plus the particular integral which gives you the other side when it is put into the equation. Hopefully I have managed to explain why both are necessary.
0
X

new posts
Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### Poll

Join the discussion

#### What do you want most from university virtual open days and online events?

I want to be able to watch in my own time rather than turn up live (179)
28.59%
I want to hear more about the specifics of the course (104)
16.61%
I want to be able to dip in and dip out of lots of different sessions (58)
9.27%
I want to meet current students (52)
8.31%
I want to meet academics and the people that will be teaching me (50)
7.99%
I want to have a taster lecture or workshop to see what the teaching is like (126)
20.13%
My parents/guardians are more interested than me to be honest (37)
5.91%
Other things – I'll tell you in the thread (20)
3.19%