Beruflich Dokumente
Kultur Dokumente
INC [ 18/APRIL/2013 ]
2013
WWW.MEDICAL-IMAGE-PROCESSING.BLOGSPOT.CA BY
SIKANDER-LODHI
CH-2 [START-HERE] 2.1 [start here] HOMOGENEOUS-LINEAR-DIFFERENTIAL-EQUATIONS:We study 1st order linear differential equations and we shall now define and consider lineardifferential equations of the second-order.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 2-OF-110
We now begin our discussion of 1. 2nd order-homogeneous-linear-differential equations in sec# 2.12.7. 2. 2nd order-Non-homogeneous-linear-differential-equations in sec # 2.8 2.13.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 3-OF-110
] and its
Since, in the last line , [(---)=0], because y1 and y2 are solutions by assumption. This show that [ ] is a solution of [Eq-2] on I . CAUTION! Always remember this highly important Theorem, but do not forget that it does not hold for Non-homogeneous-linear-equation or Non-linear-equations as the following two examples illustrate.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 4-OF-110
But the following functions are not solution of this differential eq [ ------------------------Ex # 3 :- [ A Non-Linear-differential-equations]: Substitution shows that the function [y=x2 ] and [y=1] are solution of non-linear-differential equations. [ ]; . ];
But the following functions are not solutions of this differential equations : ----------------------Ex # 1:- [ SOLUTION-OF-A-HOMOGENEOUS-LINEAR-DIFFERENTIAL-EQUATION ]:Let, is , [
So, if y1 and y2 are solution of eq-A, then y1 and y2 must satisfied eq-A so, FOR [ [ [ [ [ ]; ]; It show that y1 is a solution of eq-A; ]; :]; ];
L.H.S=R.H.S FOR :-
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 5-OF-110
L.H.S=R.H.S So, we can multiply sum then we get the value of y. [ {:. c1 and c2 by different constants c1 and c2 and then take the
Let, c1=-3 and c2=+8 . So, by placing the value of c1 and c2 in Eq-3 we get
[ [ ]; ] because , ];
And verify that this is another solution of our homogeneous-equation-A for all x [ [ [ [ [ . . [ ]; ]; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 6-OF-110
L.H.S=R.H.S CONCLUSION:So y1 , y2 and [ equations of 2nd order. -----------------finished-here-------+; are the solution of homogeneous-linear-differential-
INITIAL-VALUE-PROBLEM[I.V.P],GENERAL-SOLUTION,BASIS:GENERAL-SOLUTION:i. For a first order differential equation a general solution involved one arbitrary-constant*c+ , and in an initial-value problem we used one initial condition [ y(x0)=y0+, to get a particular-solution in which c had a definite value . The idea of a general-solution was to get all possible solutions , and we know that for linear-equations [ sec# 1.7 ] we succeeded [because those have no singular solutions+, we now extend this idea to second order equations. For second order homogeneous linear-equations [Eq-2], a general-solution will be of the form, that is [ +;its a Generalnd Solution of 2 order Homogeneous linear-equations. Its a Linear combination of two solutions y1 and y2 involving two Arbitrary-constant c1 & c2 . [ +; Its a Linear combination of two solutions y1 and y2 involving two Arbitrary-constant c1 & c2 .
ii.
iii.
iv.
INITIAL-VALUE-PROBLEM [I.V.P]:-
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 7-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 8-OF-110
];
Actually, we can also formulate our definition of a basis in terms of LinearIndependence we call two functions y1(x) & y2(x) as linear-independent on an Interval I where they are defined if
[ ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 9-OF-110
Hence, then y1 and y2 are proportional [linearly-dependent=proportional], where as in the case of linear-independence [not-proportional+ , they *means y1 & y2 ] are not-proportional=Linearly-Independent. I. In practice, one mainly uses a general solution to get particular-solutions from it , by imposing two initial conditions that is [Eq-5+ , because its the particular-solution that describes the unique behavior of a given physical or other system. Being interested in first gaining experience in that practical-task, we give the underlying theory afterwards [in sec-2.7], for the time being it suffices to know the following . If the coefficients p(x) & q(x) of Eq-1 and the function r(x) are continuous on some interval I, then Eq-1 always has a general-solution on I, from which one obtains the solution of any Initial-value-problem of Eq-1 that is Eq5 on I, which is unique. Also , Eq-1 does not have singular-solutions *that is , solution not obtainable from a general-solution].
II.
III.
IV.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 10-OF-110
---------------------[ [ ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 11-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 12-OF-110
[
[ ------------So,
];
];
[ [ [ [ [ [
Using separable method:
]; ]; ]; ]; ]; ];
[ [
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 13-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 14-OF-110
Then by placing the value of y1 and y2 in eq-D, we get. [ -------------[ --------------[ For c1 and c2 :Used I.V.P :Initial-Cinditions:[ [ --When [ [ [ For y :[ ]; ]; ]; :]; ]; ]; +; its a general-solution of Homogeneous equation. ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 15-OF-110
Eq=
[ {[ [
]; ]} ];
[ [ For c1 :[ [ {:. [ [ [ [
]; ];
]; ]; ] }; ]; ]; ];
Placing the value of c1 & c2 in eq-E , [ [ ]; ]; Correct-Answer , its our particular-solution of homogeneous equation.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 16-OF-110
FOR DETERMINING THAT GIVEN FUNCTION [y1=x+1 ] & [ y2=x-1 ] ARE LINEARLY DEPENDENT OR LINEARLY-INDEPENDENT ON GIVEN INTERVAL [0<x<1 ] :Formula: For Linearly-dependent [ For Linearly-Independent [ When [0<x<1 ] :Then , [ [ [ [ So, [ ]; Answer [ correct-answer ] ]; ]; ]; ]; ]; ];
Conclusion: y1 & y2 are linearly-Independent because the ratio of y1/y2 is not equal to k=constant . ----------------finished-here------------Q 33 ) Given:
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 17-OF-110
------------finished-here--------------
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 18-OF-110
By placing the value of eq-i and eq-ii in eq-A , then we get, So, [ [ Now, For z :[ ]; ]; ]; so our eq-A is reduced to 1 order.
st
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 19-OF-110
Use integrations: [ [ [ [ [ [ Using I.V.P :So, we have Given point P(1,1)=(x,y). We make the I.V.P by using the given point P(1,1) as following: [ So, [ ]; ]; its I.V.P ; ]; ]; ]; ]; ]; ];
[from I.V.P we have y=1, x=1 ] Put the value and get the answer.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 20-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 21-OF-110
------------------finished-here--------------
[ 2.2 ] [start-here] HOMOGENEOUS-EQUATIONS-WITH-CONSTANTCOEFFICIENTS:1. In this section and the next one, we show how to solve homogeneouslinear-equations [ +; whose coefficients a and b are constant [a,b=constant]. 2. These equations have important applications, especially in connection with mechanical and electrical vibrations, as we shall see in sec # 2.5,2.11 and 2.12. 3. To solve eq-1, we remember from sec.1.7 that a 1st order linear differential equation * y+k.y=0 + with constant coefficient k has an exponential function as solution, [ ];. 4. This gives us the idea to try as a solution of eq-1 the function .[ ]; its a solution of Eq-1;
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 22-OF-110
8. 9.
[ [
]; +;..
10.Our derivation shows that the functions y1 & y2 in eq-5 are solutions of Eq1. [ ];-> its solutions of eq-1. 11.The student may check this by substituting eq-5 into eq-1. 12.Directly from eq-4 we see that , depending on the sign of the discriminant [ ] , we obtain. a. (Case-I) two real roots if [ ];. b. (Case-II) a real double root if [ ]; c. (Case-III) complex conjugate roots if [ ];
We discuss cases I and II now and Case III in the next section.
AND
:];..
];.
Constitute a basis of solutions of eq-1 on any interval [because ...{ } is not constant; see sec.2.1].
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 23-OF-110
] then eq-4 gives only one root ]; and we get at first only one solution ];
To find a second solution, needed for a basis, we use the method of reduction of order*actually, we use a special case of it. We discuss the general method in sec.2.7.] . that is, we set [ ]; {:. }
And try to determine the function u such that y2 becomes a solution of Eq-1. For this, we substitute [ ]; and its derivatives , into eq-1 .
[ [ [
[ [
[
]; ]; ];
]; ];
];
];
this gives
[ ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 24-OF-110
The expression in the last parentheses is zero, since y1 is a solution of eq-1. The expression in the first parentheses is zero, too, since
{:.
So, [ [ [ {:. [
} , {:.
};..
]; ]; ];
]; }
. hence . By two integrations,
then [ a basis. Our result is that in the case of a double root of eq-3 a basis of solution of eq-1 on any interval is [ [ ]; The corresponding general solution is
], we can simply take u=x. ], since these solutions are not proportional, they form
] and>
[[ ]; its a general solution of eq-1 in case-II. Warning: If is a simple root of eq-4, then is not a solution of eq-1.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 25-OF-110
Where A=1,B=3,C=2; [ [ [ [ either [ or [ Here and ]; are real and distinguish so we used case-I for general-solution of eq-A. ]; ]; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 26-OF-110
----------------------Finished-here----------2.2 [some theory out of this book] ------------------------Derivations:If & are the root of the characteristic equation and if homogeneous linear differential-equation, Then , Formula:[ Then, [ . [ So, [ ---------------finished-here-----]; its our 2 order homogeneous linear-differential eq.
nd
&
nd
];
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 27-OF-110
By placing the above value in eq-D as [ [ . [ Using Quardiac equation A=1, B=1, C=-6; [ [ [ [ .. [ Either: [ or [ ]; ]; ]; ]; ]; ]; ]; ]; its characteristic eq. ]; ];
FOR DIFFERENTIAL EQ:[ [ ]; +; Answer * its correct answer + its the required differential eq of given Basis y1 and y2 .
----------finished-here-------------
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 28-OF-110
So roots are real and distinguished so we used case-I. Case-I :[ [ For yh :[ [ For c1 & c2 :[ When y(0)=1 :]; ]; ]; ]; ]
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 29-OF-110
For c2 :[ [ For c1 :[ [ [ [ [ [ ]; ]; ]; ]; ]; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 30-OF-110
------------finished-here----------
SECTION 2.3 [START-HERE] CASE-OF-COMPLEX-ROOTS [ OR CASE-III ].COMPLEX-EXPONENTIAL-FUNCTION: 1) CASE-OF-COMPLEX-ROOTS [ OR CASE-III ]: For homogeneous-linear-differential-equations with constant coefficients
[ ]; {:. a, b are constant};
Has roots
[ ];
Let , [
[
];
];
we see that
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 31-OF-110
of eq-1.
But we claim that in this Case-III, a basis of real solutions of eq-1 on any interval is
[ ]; its
solution of eq-1.
Indeed, that these are solutions follows by differentiation and substitution, also, [y2/y1=tan [ ] constant]; since [ ] , so that y1 & y2 are not proportional *or not-dependent or Independent ]. The corresponding general solution is
[ +; its a general solution of eq-1.
------2) COMPLEX-EXPONENTIAL-FUNCTION[ ]: Case-III (complex roots ) has been settled, and nothing is left to prove. We just want to see how one can get the idea that y1 & y2 might be solutions in this case. We show that this follows from the complex exponential function . The complex-exponential-function= [ ] [In eq-7] of a complex variable [z] { } is defined by eq-7 below.
[ ];
Real-exponential-function= .for real z=s, this becomes the familiar real-exponential-function= of calculus because then cos[t]=cos[0]=1 and sin[t]=sin[0]=0. Also, has properties quite similar to those of the real-exponential function . In particular, one can show that it is differentiable and that it satisfies [ ]; (proofs in sec.12.6.);
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 32-OF-110
[
Similarly, since[ ], we get for
];
[see eq-4]
];
Adding these two formulas and dividing the sum by 2, we get on the right y1 as given in eq-5 ; Similarly, by subtracting those formulas and dividing the result by we get on right y2 as given in eq-5. From fundamental theorem 1 in sec 2.1 it follows the y1 and y2 are again solutions. This confirms that eq-6 is a general solution of eq-1 in case-III [complexroots]. For later use we note that [eq-7] with s=0 gives the so-called Euler-Formula [ in eq-8 ]
[ ]; at s=0;
---------------------SUMMARY-OF-CASES I III :Up till here we complete the discussion of all three cases and we may sum it up as below:
case I II
Basis of Eq-1 [ [ ] ]
General-solution of eq-1 [ [[ ] ];
III
Complex-conjugate roots 1. [ 2. [
1. ]; ]; 2.
[ [
] ]
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 33-OF-110
Problem-set 2.3
Q 1 ) verify that following function y is the solution of given differential eq *eq-S ] and obtain the general-solution using case-III ? Given:[ [ Solution:Let, [ ]; ]; ];
If y is the solution of differential equation then y and its derivatives cause to satisfied the given differential eq [eq-S] So, [ For derivatives of y:];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 34-OF-110
By placing y , y and y in eq-S, we get . [ So, [ .. [ ]; henced proved [Answer-1], it show that y is the solution of given differential equation. For Genereal-Solution:[ [ {:. Where [ [ ]; ]; } ]; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 35-OF-110
By placing all above value in eq-L , we get [ [ [ [ homogeneous eq [eq-S] . ----------------Finished-here-------Q 7) Given: [ Req General-solution=? Solution:[ For Characteristic-eq [ [ ]; ]; its our characteristic eq
Page 36-OF-110
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
The both root are real & distinguish So, We used case-I :Formula :[ For General-Solution: [ [ ]; ]; Answer [ correct-answer]. ]; its a general formula for general solution of eq-A.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 37-OF-110
We have Double-Root so we used case-II :Formula:[ For General-solution:[ ]; ]; we used Case-II [ answer-1]
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 38-OF-110
----------Finished-here----------Q 15 ) Given: [ Solution: For Characteristic eq:[ For-Root:A=1, B=2, C= Formula:[ [ .. [ Either: [ ]; or [ ]; ]; ]; ]; . ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 39-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 40-OF-110
For general-solution of homogeneous eq:[ When [ [ [ [ For y :[ [ When y(0)=10 :www.medical-image-processing.blogspot.ca by Sikander-lodhi Page 41-OF-110
]; ];
Boundary-Value-Problem[B.V.P]:[ [ ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 42-OF-110
The roots are real and distinguished , so we used case-I . Formula [Case-I ]:[ For General-Solution of eq-A:[ [ ]; ]; Its the general-solution of eq-A. ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 43-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 44-OF-110
];
]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 45-OF-110
[ .. [ For c1 :When [ [ [ . [ ]; ]; ];
];
]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 46-OF-110
];
&
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 47-OF-110
];
{:.
}; This confirms our result of sec.2.2 that is a solution of eq-3 if and only if is a solution of the characteristic eq [ ]. If has two different roots, we get a basis. If has a double roots, we need a second independent solution to get that solution , we differentiate [ ]; [see eq-5] on both sides with respect to and interchange differentiation with respect to and x , obtaining below equation.
[ Where [ ];
];
], so that we have . ];
is a polynomial in , in the usual sense of algebra. If we replace by D , then we get the Operator-Polynomial . The point of this Operational-Calculus is that can be treated just like an Algebraic quantity. In particular, we can factor it . ------------------
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 48-OF-110
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 49-OF-110
The roots are complex and conjugate ,so we used Case-III, Formula:[ For General-solution: [ [ ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 50-OF-110
]; its a general-solution
];
]; ]; ];
. ]; ]; ]; ]; ]; ];
:];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 51-OF-110
{:. [
[ [ [ [ ];
]; }
]; ]; ];
{:. [
]; }
For Particular solution:[ [ [ [ [ -------Finished-here----------------Ex # 2.4 , finished here------]; ]; Correct-Answer , its our required Particular solution. ]; ]; ];
[ 2.6 ] start-here EULER-CAUCHY-EQUATION: Constant-coefficient equations are solvable without integrations, as we have seen.similarly,the so-called Euler-cauchy-Equation [Eq-1+ below can also solved by purely algebraic manipulations. [ ]; its Euler-cauchy-Equation .
Indeed, substituting Eq-2 and its derivatives into the differential-equation [Eq-1], [ [ [ ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 52-OF-110
[ ]; these are the Basis of solutions of differential equations [Eq-1] for all x for which the function are defined.
The corresponding general-solution is given in below eq-4; [
Case-II : Double-Root :If eq-3 has a double root [ ], then we get a first solution that is shown in eq-5;
]; its one of the solution of eq-1 ; by the method of reduction of order ( as in sec.2.2 ] .thus, substituting ]; and its derivatives into eq-1, we get. ]; {:. u = function or variable };
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 53-OF-110
];
];
];
{:.
[
};
];
[ [
]; ];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 54-OF-110
Applying integrations [ [ ]; ];
[ [
]; ];
Hence in the case of double root of eq-3, a basis of eq-1 for all positive x is
[ [ ]; ]; this are the basis of eq-1 when eq-3 has a double root ..
{:.
}.
{:.
};
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 55-OF-110
Indeed, these function are not proportional, and they are solutions of eq-1 , as follows by differentiation and substitution. The corresponding general-solution is given below in eq-9 ; [ This proves everything and settles the case. Another question is how we got the idea that eq-8 might be solutions . to answer it , we state that the formula [ ] extends from real to complex ..* ] and together with eq-7 in sec.2.3 (with s=0 ) gives as follow. [ [ ]; ]; Now multiply by & add and subtract. This gives 2.y1 and 2 .y2 , respectively. From this, dividing by 2 and 2. , we have eq-8. -------------Problem-set 2.6 Q 5 ) find the general-solution of given differential equation? Given:[ Solution:]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 56-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 57-OF-110
For General-Solution:[ Where [ [ -----------Finished-Here------Q 15 ) Solve by I.V.P ? Given:[ Initial-Condition:[ Solution:[ [ [ [ ]; ]; ]; ]; ]; ]; ]; ]; correct answer, its our General-solution. ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 58-OF-110
The roots are real and distinguished therefore we used Case-I :Case-I :Formula:-
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 59-OF-110
---------Initial-Condition:[ --------When [ . ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 60-OF-110
[ [ [ For c1 :[ [ [ ]; ]; ];
];
]; ];
For Particular-Solution:- [ [ [ ];
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 61-OF-110
How can we solve such an equation? Before we consider methods, let us first explore what we actually need for proceeding from the corresponding homogeneous equation[eq-2] below to the Non-homogeneous-equation [eq-1]. [
]; its Homogeneous equations of eq-1. The key that relates eq-1 to eq-2 and gives us a plan for solving eq-1 is the following theorem[Theorem # 1 ]. Theorem # 1:- * Relations between solutions of eq-1 and eq-2 ] :a) The difference of two solutions [ ] of eq-1 on some Open-interval I is a solution* ] of eq-2 on I. b) The sum of a solution of eq-1 [that is -> + on I & a solution of eq-2 [that is -> + on I is a solution of eq-1 [that is + on I. Proof: a) Denote the left side of eq-1 by L[y]. let L[ ]=r(x), & since we have [ [ b) Similarly, for [ This situation suggests the following concepts. as before & any solution * & be any solutions of eq-1 on I. then L*y+=r(x), ], e.t.c, we obtain the first assertion, ]; + of eq-2 on I, +; its a solution of eq-1 on I.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 62-OF-110
DEFINITION [ GENERAL-SOLUTION,PARTICULAR-SOLUTION]: A General-solution of the Non-homogeneous equation eq-1 on some Open-interval I is a solution of the form [eq-3] below. [ [ And +; its a general-solution of Non-homogeneous equation [Eq-1]. +; its a General-Solution of the Homogeneous-equation [eq-2+ on I . is any solution of eq-1 on I containing no Arbitrary-constants[c=0].
PARTICULAR-SOLUTION: A particular-solution of eq-1 on I is a solution obtaining from eq-3, by assigning specific values to the arbitrary constants c1 & c2 in . If the coefficient of eq-1 and r(x) are continuous functions on I, then eq-1 has a generalsolution on I because exists on I by theorem # 3 , sec.2.7, & the existence of will be shown in sec.2.10, also , an initial value problem for eq-1 has a unique solution on I. This follows from theorem # 1, sec.2.7, once the existence of initial conditions [ ]; of the has been established . indeed, if
Are given & a has been determined, by that theorem there exists a unique solution homogeneous-equation [ eq-2+ on I satisfying [ And [ ];
Furthermore, justifying the terminology, we now prove that a general solution eq-1 includes all solutions of eq-1, hence the situation is the same as for the homogeneous-equation: Theorem 2: [ General-solution ]: Suppose that the coefficients [ ] and r(x) in eq-1 are continuous on some open interval I . Then every solution of eq-1 on I is obtained by assigning suitable values to the arbitraryconstants in a general solution eq-3 of eq-1 on I. Proof:
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 63-OF-110
By theorem # 4 in sec.2.7, this solution Y(x) is obtained from arbitrary constants c1 , c2 . from this and [ Practical-Conclusion:-
To solve the Non-homogeneous-equation [eq-1+ or an Initial-value-problem for eq-1, we have to solve the homogeneous equation [eq-2+ & find any Particular-solution of eq-1. Methods for this and applications will be the subject for the remaining sections of Ch-2, which contain various examples , so that at present , with methods not yet available, we merely illustrate the basic technique & our notation by a simple example. Example # 1 : [ Initial-Value-Problem [I.V.P] for a Non-Homogeneous equation ]:Solve the initial-value problem Given [ Given Initial-Conditions:[ Solution:1st Step:[General-solution-of-the-homogeneous-equation]: [ The homogeneous eq of eq-A is [ The characteristic eq of eq-B is [ [ ]; ]; its characteristic eq of eq-B, ]; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 64-OF-110
[ Where a=1 . b = -4 c= 3 [ .. [ ];
];
];
2nd step: [Particular solution of the non-homogeneous equation ] :Since [ has derivatives ]; times some constants , we try
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 65-OF-110
];
];
];
];
[
A+.
{:. [ {:. [
] }; ] };
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 66-OF-110
And
[ ];
This gives
, so
[ [ ]; Answer .
];
Q 1) verify that yp(x) is the particular solution of given Non-Homogeneous equation, and fing GeneralSolution? Given:[ Solution:[ ]; ];
If yp is the solution of Non-Homogeneous-Eq[ Eq-A] then yp , yp & yp cause to satisfied Equation [eq-A]:So, [ ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 67-OF-110
Find General-Solution: [ For Homogeneous-Equation:[ For Characteristic eq:[ [ [ Either: [ ]; [ ]; ]; [ ]; ]; [ ]; ]; ]; its the corresponding homogeneous eq of eq-A. ]; its the Non-Homogeneous differential eq[eq-A].
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 68-OF-110
[ ]; its correct answer., its the required general solution of NonHomogeneous-equation[eq-A]. -----------------Finished-here----------Q 11) Verify yp is the solution of given equation and solve by I.V.P ? Particular-solution=? Given:[ [ I.V.P :[ Solution:[ ]; Its Non-Homogeneous-equation ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 69-OF-110
];
]; ]; ]; ]; ];
];
. [ L.H.S=R.H.S For Particular-Solution:For General-Solution:[ Formula:Eq-A is the Non-homogeneous equation with Constant coefficient. So, [ [ ]; ]; ]; ]; henced proved [ Answer-1]
For Homogeneous-eq:[ ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 70-OF-110
We have double root, therefore we used case-II ; Formula:[ For [ [ :]; ]; its general solution of corresponding homogeneous eq of eq-A. ];
For General-Solution Of Non-Homogeneous-Equation Of Eq-A :[ [ Formula: [ [ A]. For y :]; ]; its general solution of above non-homogeneous eq[eq]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 71-OF-110
]; ];
]; ];
When y(0)=1 :[ [ ]; ];
[ [ [ ];
]; ];
------------------Finished-here------------
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 72-OF-110
[ equation.
This has just been shown. Hence our main task is to discuss methods for finding such yp . There is a general method for this which always works and which we shall consider in the next section. There also is a much simpler special method of practical interest which we discuss now. Its called the Method-Of-Undetermined-coefficients and applies to equations -> [Eq-1] with constant coefficients and special right sides r(x), namely, exponential functions, Polynomialsfunctions,cosines-functions,sines-functions, or sum or products of such functions. These r(x) have derivatives of a form similar to r(x) itself. This gives the key idea: Choose for yp a form similar to that of r(x) and involving unknown coefficients to be determined by substituting that choice for yp into Eq-1 . Example # 1 in the last section 2.8, illustrates this for an exponential-function; the undetermined coefficient was C. The rules of the method are as follows. RULES FOR THE METHOD OF UN-DETERMINED-COEFFICIENTS :1. Rule-A [ Basic-Rule ] :If r(x) in eq-1 is one of the functions in first column in table 2.1, then choose the corresponding function yp in the second-column and determine its undetermined coefficients by substituting yp and its derivatives into eq-1. . . . . Table # 2.1 [ Method of Undetermined Coefficients ]
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 73-OF-110
2. Modification Rule [ Rule-B ]:- If a term [ ] in your choice for yp happens to be a solution of the homogeneous equation corresponding to eq-1, then multiply your choice of yp by x ( or by x2 if this solution corresponds to a double root of the characteristic equation of the homogeneous-equation). Mathematically we can re-present this Rule-B as : In [ [ If [ n1 = a solution of homogeneous eq corresponding to eq-1 ]. Then
[ ].
] ]
-----------3. Sum-Rule [ Rule-C ] :- if r(x) is a sum of functions listed in several lines of table 2.1 in [ 1st Column ] , then choose for yp the Sum-Of-The Functions in the corresponding lines of the 2nd column. Mathematically we can re-present this Rule-C as : If
[ ]; in 1 column of table 2.1 .
st
Then,
[ ]; in 2nd column of table 2.1 .
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 74-OF-110
Ex # 3 :- * Modification Rule * Rule-B + ( double-Root ) and Sum-Rule[ Rule-C + ]:Solve I.V.P :Given:[ Initial-Condition:-[Given] [ Solution:[ ];
];
];
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 75-OF-110
];
Basis of Homogeneous Eq [Formula ] for double-roots:[ [ ---------------------Compare these both eq [ ]; its Homogeneous eq of eq-4. }; ] ];
[[ [[ [[
FOR yp :-
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 76-OF-110
];
];
];
For term ex in r(x) :We have , Modification-rule [ Rule-B ], If Double-Root => * Sum-Rule [ Rule-C ] => [ So,
[ ];
]; ];
];
];
]
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 77-OF-110
So, by placing the value of yp and its derivatives into eq-4 , we get. [ [
[
]; ];
];
. [ ];
Hence , C=1/2 , K1= 1, K0=2, and a general-solution of eq-4 is , By placing above value in yp , we get , [ [ ]; ];
{:. [[
[ For y :[ Hence apply initial-condition :[ [ [ ]; ];
]; };
]; its a general solution of eq-4;
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 78-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 79-OF-110
We used case-III (since roots are complex ):[ Roots=> {:. Basis [ Formula ]:[ [ ]; ]; ]; };
General-Solution yh of homogeneous eq [Formula] [ So, {:. [ [ So, For yp :[ [ For yp :[ ]; ]; ]; }; ]; its a solution of homogeneous eq *Eq-A].
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 80-OF-110
];
];
];
-----------[ [ [ -------
[ ];
]; ]; ];
];
];
]; Answer.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 81-OF-110
We have two real and distinct roots so, we used case-I, For yh :[ [ We have , [ Term in r(x) So, where, K=1 , =1 , Re-Call, the rule-B. ];
,Choice
]; ];
for yp
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 82-OF-110
];
so we have,
];
];
]; ]; ];
]; ];
];
.. [ C= . ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 83-OF-110
];
]
]
[ [ ] ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 84-OF-110
Equating x2,x & xo terms on both side we get , [ [ [ For K2 :[ [ For K0 [ [ [ For K1 :[ [ For yp :[ [ For yh :Formula :[ [ [ ]; ]; ]; ]; ]; ]; ]; ]; ]; ]; ]; ]; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 85-OF-110
The roots are real and complex . [ [ ]; +; its a general solution of eq-A.
So roots are complex-conjugate , therefore we used case-III from sec # 2.3. Comparing Formula with equations:For yh :[ ---------------Compare both eq below. [ [ --------------------We get, [ [ [ ]; [ ]; [ ]; ]; [ ]; ]; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 86-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 87-OF-110
Hence the roots are complex and conjuagate , therefore we used case-III, Formula:[ [ Using Case-III :[ [ [ For yp :[ ]; ]; ]; its general-solution of homogeneous eq eq-S; ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 88-OF-110
[ 2.10 Start-here ] SOLUTION-BY-VARIATION-OF-PARAMETERS : The method in the last-section [ Ex # 2.9 ] is simple and has important engineering applications ( as we shall see in the next sections Ex # 2.11), but it applies only to constant-coefficient equations with special right sides r(x). In this section [ Ex # 2.10 ] , we discuss the so-called method of Variation-OfParameters which is completely general; that is , it applies to below equation [ Eq-1 ] with arbitrary variable function p(x), q(x) & r(x) that are continuous on some interval I .
];
The method gives a particular solution yp of eq-1 on I in the form of below equation [Eq-2 ], where y1, y2 form a basis of solutions of the homogeneous-equation [Eq-3 ] [below] corresponding to eq-1 & Eq-4 , where eq-4 is the Wronskian *W+ of y1 , y2 (see sec # 2.7 ).
[ ]; ]; ];
[ [
In practice, this method is much more complicated than our previous method, because of the integrations in Eq-2.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 89-OF-110
For Characteristics Equation : [ For Roots of Eq-C : Formula : [ Where , A=1,B=0, C=1 , Put the value and get the answer. [ [ [ [ [ either ]; ]; ]; ]; ]; ]; +; its the characteristic equation of eq-B.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 90-OF-110
So, for y1 and y2 For y1 :Formula :[ [ Where a=0, [ [ [ For y2 :[ Where a=0, [ [ [ ]; ]; =1 ]; ]; ]; ]; =1 ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 91-OF-110
];
]; ]; [ ]; ]; ]; ]; ]; ]; }
Required : [ {:. [ [ ]; ]; ]; [ ]; }
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 92-OF-110
[ For yh :[ Required:
{:. [ ]; [ ]; }
];
];
[
[ Now, For y :[ So, Req [ [ Put the value & get the answer. [ [ [ [ ]; ]; ]; ];
];
];
]; ]; ]; Answer.
Where c1 & c2 are two arbitrary constants of integration. -------------finished here-------------IDEA OF THE METHOD.[ DERIVATION OF EQ-2 ]:-
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 93-OF-110
]; ];
];
Now eq-5 contains two functions u(x) & v(x) , but the requirement that yp satisfy eq-1 imposes only one condition on u(x) and v(x). Hence it seems plausible that we may impose a second arbitrary condition. Indeed, our further calculations will show that we can determine u(x) & v(x) such that yp satisfies eq-1 & u(x) and v(x) satisfy as a second condition the relationship in eq-6 [below]. [ This eq-6 reduces the expression for [ ]; to the form [ Eq-7 ] below ];
]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
We get ,
[ ];
]; ];
[ We have eq-6 as [
];
]; This eq-i and eq-6 is making a linear-system of two algebraic equations for the un-known functions u(x) & v(x) . The solution is obtained by Cramers-Rule (sec # 7.8 ) or as follows. Multiply the eq-i by [- y2 ] and multiply the eq-6 by [ y2 +and add to get.
] +
];
];
Now again multiply the first eq by y1 & the second eq by y1 and add to get .
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 95-OF-110
So, Division by
, ( y1,y2 form a basis , hence , by theorem # 2 in sec # 2.7 !) gives.
[ [
By integration,
]; ];
[ [ ];
];
These integrals exist because r(x) is continuous. Substituting them [v(x) & u(x) ] into eq-5, we get eq-2. This completes the derivation. Caution! Before applying eq-2, make sure that your equation is written in the standard form that is eq-1, with y as the first term; divide by f(x) if it starts with f(x).y. ----------------finished here---------Problem set 2.10
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 96-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 97-OF-110
We consider the RLC-Circuit in fig.50, in which an Ohms resistor of resistance R [Ohms], an inductor of inductance L [henrys], and a capacitor of capacitance C [farads] are connected in series to a source of electromotive force [ E(t)=EMF ]in volts, where t is time. The equation for the current I(t) [Amperes] in the RLC-circuit is obtained by considering the three voltage drops on inductor[L] ,Capacitor[C], and resistor[R] are [given in below table ] , their sum equals the electromotive force E(t).
Serial -No 1. 2. 3. Voltage Drop on each individuals components across the circuit [ ]; [ ]; [ ]; Description Across the inductor, Across the resistor (OhmS law) Across the capacitor.
This is Kirchhoffs voltage law (sec # 1.8) *K.V.L+ , the analog of Newtons second law (sec # 2.5) for mechanical-systems. For a sinusoidal E(t)=E0.sin [ ] , ( E0 constant ) , this law gives [ eq-1 + this process of modeling is the same as that in sec # 1.8 . Indeed, if we add [ EL=L.I + to equation * Eq-7 in sec # 1.8 ] for the RC-circuit, we get our present equation [eq-1+ for the RLC-circuit. [ [ [ ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 98-OF-110
];
Comment:
Recalling from sec # 1.8 that * I=Q +, we have * I=Q + and [ ] in eq-1. Hence we get from eq-1 as the differential equation for the charge Q on the Capacitor in eq-1. [ ]; In most practical problems, the current I(t) is more important than Q(t), and for this reason we shall concentrate on eq-1, rather than on eq-1 .
SOLVING-EQUATION (EQ-1) , DISCUSSION OF SOLUTION: To get a particular-solution of eq-1, we may proceed as in sec # 2.11, by substituting eq-2 into eq-1 we get eq-3 where S is so-called Reactance, given by the expression eq-4, in any practical case, [ ], so that the denominator in eq-3, is not zero.
[ [ ]; ]; its steady-state current .
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 99-OF-110
The result is that eq-2, with a & b given by eq-3, is a particular solution of eq-1. Using eq-3, we may write Ip in the form eq-5 , where [ see eq-14 in Appendix 3 + I0 , the quantity is called the impedance[ ]. Our formula shows that the impedance equals the ratio E0/I0 , which is some what analogous to E/I=R (Ohms-Law). [ [ ]; ]; A General-solution of the homogeneous-equation corresponding to eq-1 is Ih where are the roots of characteristic equation [given below ] . [ [ +; its a general solution of eq-A +; its a characteristic eq of eq-B.
---------------------------------[ [ Divide eq-A by L [ ----------------------------- Which we can write in the form [ [ ]; ] and [ ], where . ]; its homogeneous eq of eq-1. ]; ];its homogeneous eq of eq-1.
As in sec # 2.11 we conclude that if R > 0 (which, of course, is true in any practical case), the general solution Ih(t) of the homogeneous equation approaches zero as t approaches infinity (Practically: after a sufficiently long time).
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 100-OF-110
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 101-OF-110
:];
]; [ t=0] ; [C=
];}
[
[
];
];
[ For characteristic eq:[ [ For roots : A= , B= ,C= , ];its homogeneous eq ]; its a characteristic eq
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 102-OF-110
];
];
[
[
];
];
2nd step : [particular solution ] we determine c1 & c2 from initial-conditions Initial conditions:[ When [
[ [ [ [ [ ]; ]; ]; ];
]; ]:];
[ --------------------[ [ So, ];
];
];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 103-OF-110
----------------------[ ];
Differentiate eq-6
[
[ ];
];
For I(0)=0:[
[ [ [ [ ]; ]; ]; ];
];
];
];
The solution of eq-7 & eq-9, is c1=-0.042, c2=0.526. from eq-6 we thus have the answer { ask by sir about this methods} From Eq-6 ,
[ ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 104-OF-110
];
];
];
[ So,
];
]; ]; answer-2.
[ 2.13 start here ] COMPLEX-METHOD-FOR-PARTICULARSOLUTIONS.[OPTIONAL]: Engineers like to solve equations such as eq-1 below, by an elegant complex method, using that cos [ ] is the real part of (see sec # 2.3), finding a particular solution Ip of the resulting complex equation [eq2] and finally taking the real-part of as a particular solution of the given real equation eq-1.
[ ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 105-OF-110
This gives
[ ];
Dividing by on both sides , solving for K, and using the Reactance S *eq-4 form sec # 2.12 ], we get
[ [ [ [ ]; ]; ]; ];
[ [ {:. [ [ ]; ]; }
]; ];
] on R.H.S
Page 106-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Where the last equality follows by multiplication of numerator and denominator by [ ]. Thus the complex particular solution Ip of eq-2 is given below as:
[
[ [ [ ]; ];
];
];
Green part show the Real-Part and yellow part show the Imaginary part of Ip in above equation. So, the real part is given in eq-4 below.
[ ]; its a Real-Part of Ip.
This agrees with eq-2,eq-3 in sec # 2.12 . -------------------------Example 1 ) [ Complex-Method ]:Solve by the complex method: Given [ ]; Solution: The corresponding complex-differential-equation is [ ]; its complex-differential eq.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 107-OF-110
-----------------So,
[ ];
We substitute
[ ];
This gives
[ [ [ [ ]; ] on R.H.S, we get ]; ]; ];
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 108-OF-110
So has real-part *in green+ and Imaginary-Part *in Yellow+ on above equation. So the Real-Part is as followes
[ ];
The student verify that this is indeed a solution of the given equation. Formula in eq-3 suggests to introduce the so-called Complex-Impedance [ eq-5 , as
[ ];
+ in
We see that the real part of Z is R , the imaginary-part is the Reactance [ S ] , and the absolute value is the Impedance * +.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 109-OF-110
Where
[ ];
).
And this solution of the given eq [eq-1] agrees with eq-5 in sec # 2.12, fully justifying our present complex-method.
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 110-OF-110
X
MUHAMMAD-SIKANDAR-KHAN-LODHI OWNER-OF-MY-PERSONAL-UNIVERSITY-NOTES
4/18/2013
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 111-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 112-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 113-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 114-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 115-OF-110
www.medical-image-processing.blogspot.ca by Sikander-lodhi
Page 116-OF-110