NONHOMOGENEOUS DIFFERENTIAL EQUATIONS | CONCEPT OVERVIEW The topic of NONHOMOGENEOUS DIFFERENTIAL EQUATIONS can be referenced on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing.
CONCEPT INTRO: In a NONHOMOGENEOUS DIFFERENTIAL EQUATION, the sum of the derivative terms is equal to a nonzero forcing function of the independent variable. When the equation is a NONHOMOGENEOUS differential equation, π π₯ β 0 ππ π₯ β 0, the roots are real and different. The first step in determining the general solution is to determine the corresponding homogeneous solution. We covered this method in the previous review on homogeneous differential equations. The next step is to then determine the particular solution, by using the METHOD OF UNDETERMINED COEFFICIENTS, which is a systematic way to determine the general form/type of the particular solution π¦(π‘) based on the nonhomogeneous term in the given differential equation. The values are then substituted back into the original equation and the like terms are combined.
Made with
by Prepineer | Prepineer.com
The like coefficients from each side are set against each other and each unknown coefficient is then solved for. If values are able to be determined, then the original guess was correct, if not, the original values are wrong. We then combine the homogeneous and nonhomogeneous (particular) solutions to obtain the overall solution of the differential equation. The homogeneous equation corresponding to a nonhomogeneous equation is known as a reduced equation or complementary equation. The FORMULA FOR THE GENERAL SOLUTION OF A DIFFERENTIAL EQUATION can be referenced under the topic of DIFFERENTIAL EQUATIONS on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. The complete solution to the nonhomogeneous differential equation is the sum of a particular solution of the nonhomogeneous equation and the general solution of the homogeneous equation: π¦ π₯ = π¦. π₯ + π¦0 π₯ Where: β’ π¦. (π₯) is the complementary solution, which solves the complementary or homogeneous solution (the general solution of the corresponding homogeneous equation) β’ π¦0 (π₯) is any particular solution with π(π₯) present
Made with
by Prepineer | Prepineer.com
If π π₯ has π 23 4 terms in the solution, then RESONANCE is manifested or is present to some extent.. Initial values are used to evaluate any unknown coefficients in the complementary solution after π¦. (π₯) and π¦0 (π₯) have been combined. The particular solution will not have any unknown coefficients. PARTICULAR SOLUTION ππ π : The PARTICULATION SOLUTION is formed from the sum of π(π₯) and its derivatives, each term of which has an unknown constant coefficient to be determined by substituting the particular solution into the differential equation. Higher order of multiplicity improves higher powers of βπ₯β. The TABLE FOR THE FORMS OF A PARTICULAR SOLUTION OF A DIFFERENTIAL EQUATION can be referenced under the topic of DIFFERENTIAL EQUATIONS on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. If π(π₯) has π 23 4 terms, then resonance is manifested. Furthermore, specific π(π₯) forms result in specific π¦0 (π₯) forms, some of which are: The METHOD OF UNDETERMINED COEFFICIENTS is a way to obtain a particular solution of the nonhomogeneous equation. The idea is to detect repeating patterns in the derivatives of the nonhomogeneous terms and to set up the particular solution as a linear combination of the patterns with undetermined coefficients.
Made with
by Prepineer | Prepineer.com
When specific π(π₯) forms result in a specific π¦0 (π₯) form. The procedure in this method is to assume for π¦0 (π₯) an expression based on π(π₯) and its derivatives, and containing certain undetermined coefficients. The TABLE FOR THE FORMS OF PARTICULAR SOLUTIONS FOR FUNCTIONS can be referenced under the topic of DIFFERENTIAL EQUATIONS on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. π(π₯)
π¦0 (π₯)
π΄
π΅
π΄π ;4
π΅π ;4 ; πΌ β π>
π΄? sin ππ₯ + π΄D cos ππ₯
π΅? sin ππ₯ + π΅D cos ππ₯
While we are provided this table in the reference handbook, it is not clear what the particular form of the function should be. Here are a few guidelines that are not in the reference handbook, but guidelines when working problems involving the method of undetermined coefficients: πΌπ π π₯ ππ ππππ π‘πππ‘, π‘βππ π¦0 = πΆx πΌπ π π₯ ππ ππππππ, π‘βππ π¦0 = π΅? π₯ + π΅D πΌπ π π₯ ππ ππ’πππππ‘ππ, π‘βππ π¦0 = π΄π₯ D + π΅π₯ + πΆ πΌπ π π₯ ππππ‘π’πππ π S4 , π‘βππ π¦0 = π΅π S4
Made with
by Prepineer | Prepineer.com
πΌπ π π₯ ππππ‘π’πππ sin ππ₯ ππ cos ππ₯ , π‘βππ π¦0 = π΅? sin ππ₯ + π΅D cos(ππ₯) If the independent variable is time βπ‘β, then transient dynamic solutions are implied. Note that if π π₯ = π ;4 , and the term π ;4 also appears in the homogeneous solution, the particular solution has the form π΄π₯π ;4 . The particular solution can be read from the table above if the forcing function is one of the forms given. Of course, the coefficients, π΄T and π΅T are not known. These coefficients are the UNDETERMINED COEFFICIENTS. The take away from the table is to match the function in the left column with the particular solution function in the right column. To find the values of the undetermined coefficients, substitute the assumed form of π¦0 (π₯) in the differential equation and equate coefficients of corresponding types. FIRST-ORDER INSTRUMENTS: The FORMULA FOR THE DIFFERENTIAL EQUATION OF A FIRST-ORDER INSTRUMENTS can be referenced under the topic of DIFFERENTIAL EQUATIONS on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. A FIRST ORDER LINEAR INSTRUMENT has an output which is given by a nonhomogeneous first order linear differential equation:
π
ππ¦ + π¦ = πΎπ₯ π‘ ππ‘ Made with
by Prepineer | Prepineer.com
Where: β’ π is the time constant of the instrument, which is a measure of the time delay in the response to changes of input. The time constant is given in units of time β’ π¦(π‘) is the response of the system output to the forcing function β’ π₯(π‘) is the forcing function β’ πΎ is the gain of the system The initial condition for the first-order system is given as: π¦ 0 = πΎπ΄ Thermometers for measuring temperature are first-order instruments. The time constant of a measurement of temperature is determined by the thermal capacity of the thermometer and the thermal contact between the thermometer and the body whose temperature is being measured. A cup anemometer for measuring wind speed is also a first order instrument. The time constant depends on the anemometer's moment of inertia. A first-order system subjected to a constant force applied instantaneously at the initial time π‘ = 0 is represented by the step function:
π₯ π‘ =
π΄ π‘ < 0 π΅ π‘ < 0
Made with
by Prepineer | Prepineer.com
The solution to the step function is:
π¦ π‘ = πΎπ΄ + (πΎπ΅ β πΎπ΄) 1 β exp
βπ‘ π
or
π‘ πΎπ΅ β πΎπ΄ = ln π πΎπ΅ β π¦
CONCEPT EXAMPLE: What is the general solution of the differential equation below given the two initial conditions? π¦ ^^ + 6π¦ ^ + 13π¦ = 9 cos 2π₯ β 87 sin 2π₯ ; π¦ 0 = 9, π¦ ^ 0 = β4 A. π¦ π₯ = π fg4 4 cos 2π₯ + 7 sin(2π₯) β 5 cos 2π₯ β 3 sin(2π₯) B. π¦ π₯ = π fg4 4 cos 2π₯ + 7 sin(2π₯) + 5 cos 2π₯ β 3 sin(2π₯) C. π¦ π₯ = π fg4 4 cos 2π₯ + 7 sin(2π₯) + 5 cos 2π₯ + 3 sin(2π₯) D. π¦ π₯ = π g4 4 cos 2π₯ β 7 sin(2π₯) + 5 cos 2π₯ β 3 sin(2π₯)
Made with
by Prepineer | Prepineer.com
SOLUTION: In order to solve this second order differential equation, we will use the method of undetermined coefficients. The first step of this method is to find the homogeneous solution to the differential equation. We will call the homogeneous solution π¦. . We will determine the corresponding homogeneous solution to the given differential equation: π¦ ^^ + 6π¦ ^ + 13π¦ = 0 Notice that the above equation is simply the left hand side of our initial problem set equal to zero. The FORMULA FOR THE CHARACTERISTIC EQUATION OF A SECOND-ORDER LINEAR HOMOGENEOUS DIFFERENTIAL EQUATION can be referenced under the topic of DIFFERENTIAL EQUATIONS on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. The characteristic equation is given in the standard form of: π D + ππ + π = 0
Made with
by Prepineer | Prepineer.com
Plugging in the values for the coefficients and order of the derivatives from the given equation we find: π D + 6π + 13 = 0 Where: β’ π=6 β’ π = 13 The FORMULAS FOR THE FORMS OF SOLUTIONS FOR SECOND-ORDER LINEAR HOMOGENEOUS DIFFERENTIAL EQUATIONS can be referenced under the topic of DIFFERENTIAL EQUATIONS on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. Calculating the discriminant of the quadratic expression, we find plug in the values for the variables βπβ and βπβ, and then look to determine the form of the solution. We know that the πD term and 4π term are always used to determine the form of the solution. πD = 6
D
= 36
4 π = 4 13 = 52 We know that 36 < 52, and can class the solution as under damped, and that the roots are characterized as complex roots. An complex is characterized by the relationship πD < 4π, where the solution is of the under damped form.
Made with
by Prepineer | Prepineer.com
The two complex roots are imaginary and represented as: π? = πΌ + ππ½ and πD = πΌ β ππ½ If the roots are complex, it is convenient to write solution terms corresponding to complex roots with trigonometric functions. π¦. π₯ = π k4 (πΆ? sin π½π₯ + πΆD cos π½π₯) Where: o
The real part of the complex root, βπβ, appears in the exponent.
o
The coefficients of the imaginary part, βπβ, appears in the sine and cosine terms.
o
πΌ=β
o
π½=
k D
lmfk n D
Solving for πΌ, we plug in the vales for π = 36 to find:
πΌ=β
π 6 = β = β3 2 2
Solving for π½, we plug in the vales for π β 0 πππ π = 4, to find:
4π β πD π½= = 2
4(13) β (6)D 4 = =2 2 2
Made with
by Prepineer | Prepineer.com
Plugging in the calculate values of πΌ πππ π½ into the under damped form of the general solution, we find the general solution of the equation is expressed as: π¦. π₯ = π k4 (πΆ? sin π½π₯ + CD cos π½π₯) The general homogeneous solution is then: π¦. π₯ = π
fg 4
(C? sin 2π₯ + CD cos 2π₯)
The two complex roots are imaginary and represented as: π? = β3 + 2π and πD = β3 β 2π The second step is to use the method of undetermined coefficients to solve the nonhomogeneous solution of the differential equation. The first step in this process is to guess a particular solution of our given problem. π¦0^^ + 6π¦0^ + 13π¦0 = 9 cos 2π₯ β 87 sin(2π₯) Our guess for the particular solution depends on the functions on the right hand side of the above equation. When specific π(π₯) forms result in a specific π¦0 (π₯) form. The procedure in this method is to assume for π¦0 (π₯) an expression based on π(π₯) and its derivatives, and containing certain undetermined coefficients.
Made with
by Prepineer | Prepineer.com
The TABLE FOR THE FORMS OF PARTICULAR SOLUTIONS FOR FUNCTIONS can be referenced under the topic of DIFFERENTIAL EQUATIONS on page 31 of the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. π(π₯)
π¦0 (π₯)
π΄
π΅
π΄π ;4
π΅π ;4 ; πΌ β π>
π΄? sin ππ₯ + π΄D cos ππ₯
π΅? sin ππ₯ + π΅D cos ππ₯
Looking at the above table we look at a list of common initial guesses for particular solution. In our equation, the right hand side consists of trigonometric functions. Based on this scenario, a good first guess would be a solution that contains a sine term and cosine term: π¦0 π₯ = π΅? sin ππ₯ + π΅D cos ππ₯ We replace βπβ with the coefficient term as given in the differential equation problem statement: π¦0 π₯ = π΅? sin 2π₯ + π΅D cos 2π₯ Where: β’ π΅? πππ π΅D are undetermined constants.
Made with
by Prepineer | Prepineer.com
We will then calculate the first and second derivatives of the particular solution that we will later use with the given initial conditions of the differential equation to solve for the undetermined constants. π¦0 π₯ = π΅? sin 2π₯ + π΅D cos 2π₯ π¦0 β² π₯ = 2π΅? cos 2π₯ β 2π΅D sin 2π₯ π¦0^^ (π₯) = β4π΅? sin 2π₯ β 4π΅D cos 2π₯ In order to solve for the undetermined constants, we will substitute π¦0 π₯ and the derivatives of the particular solution into our equation for a particular solution of the nonhomogeneous portion of the equation: π¦0^^ + 6π¦0^ + 13π¦0 = 9 cos 2π₯ β 87 sin(2π₯) Substituting π¦0 π₯ and its derivatives we find: β4π΅? sin 2π₯ β 4π΅D cos 2π₯ + 6 2π΅? cos 2π₯ β 2π΅D sin 2π₯ + 13 π΅? sin 2π₯ + π΅D cos 2π₯ = 9 πππ (2π₯) β 87 π ππ (2π₯) Simplifying and combining like terms, the equation is simplified to: 9π΅D + 12π΅? cos(2π₯) + 9π΅? β 12π΅D sin 2π₯ = 9 cos 2π₯ β 87 sin(2π₯)
Made with
by Prepineer | Prepineer.com
From this equation we can create two equations to represent each variable as it is related on each side of the equation: πΆππ πππ πππππ : 9π΅D + 12π΅? =9 ππππ πππππ : 9π΅? β 12π΅? =-87 We solve the system of linear equations by setting the coefficient of the sine function on the left hand side equal to the coefficient of the sine on the right hand side. We then do to same process for the cosine terms. Solving the system of linear equations, we find: π΅? = β3 π΅D = 5 Therefore, our particular solution is: π¦0 = β3 sin 2π₯ + 5 cos(2π₯) You can double check this result by substituting it into the particular solutionβs differential equation. Our complete solution for the initial value problem is: π¦ = π¦. + π¦0 = πΆ? π fg4 cos 2π₯ + πΆD π fgt sin 2π₯ β 3 sin 2π₯ + 5 cos(2π₯)
Made with
by Prepineer | Prepineer.com
In order to find πΆ? πππ πΆD , we will use the given initial conditions of π¦ 0 = 9, π¦ ^ 0 = β4 Note that it is extremely important that you do no try to solve for πΆ? πππ πΆD without first finding the particular solution. You will get the wrong values for πΆ? πππ πΆD . First we take the general solution and use the initial condition π¦ 0 = 9, which has values of π₯ = 0 and π¦ = 9: π¦(π₯) = π¦. + π¦0 = πΆ? π fg4 cos 2π₯ + πΆD π fgt sin 2π₯ β 3 sin 2π₯ + 5 cos(2π₯) Plugging in the value of π₯ = 0, we find: π¦ 0 = πΆ? π fg
v
cos 2 0
+ πΆD π fg
v
sin 2 0
β 3 sin 2 0
+ 5 cos(2 0 )
Simplifying and evaluating the trig functions we find: π¦ 0 = πΆ? π v cos 0 + πΆD π v sin 0 β 3 sin 0 + 5 cos 0 π¦ 0 = πΆ? 1 1 + πΆD 1 0 β 3 0 + 5 π¦ 0 = πΆ? + 5 Plugging in the value of of π¦ = 9, we can solve for of πΆ? : 9 = πΆ? + 5
Made with
by Prepineer | Prepineer.com
πΆ? = 4 We then plug in the initial condition π¦ ^ 0 = β4, which has values of π₯ = 0 and π¦ = β4, as well as the calculated constant value of πΆ? = 4. We calculate the first derivative as: π¦(π₯) = πΆ? π fg4 cos 2π₯ + πΆD π fgt sin 2π₯ β 3 sin 2π₯ + 5 cos(2π₯) π¦ ^ π₯ = β3π fg4 πΆ? cos 2π₯ + πΆD sin 2π₯
+ π fg4 β2πΆ? sin 2π₯ + 2πΆD cos 2π₯
β
10 sin 2π₯ β 6 cos(2π₯) Plugging in the value of π₯ = 0, we find: π¦ ^ π₯ = β3π fg(v) πΆ? cos 2(0) + πΆD sin 2(0) + π fg(v) β2πΆ? sin 2(0) + 2πΆD cos 2(0) β 10 sin 2(0) β 6 cos(2(0)) Simplifying we rewrite the equation as: π¦ ^ π₯ = β3π v πΆ? cos 0 + πΆD sin 0 + π v β2πΆ? sin 0 + 2πΆD cos 0 β 10 sin 0 β 6 cos 0 π¦ ^ π₯ = β3 1 πΆ? 1 + πΆD 0 + 1 β2πΆ? 0 + 2πΆD 1 β 10 0 β 6(1) π¦ ^ π₯ = β3 πΆ? + 2πΆD β 6
Made with
by Prepineer | Prepineer.com
Plugging in our known value of πΆ? = 4 and value of of π¦ = β4: β4 = β3 4 + 2πΆD β 6 Solving for πΆD we find: πΆD = 7 Therefore, the solution to our initial value problem is: π¦ π₯ = π fg4 4 cos 2π₯ + 7 sin(2π₯) + 5 cos 2π₯ β 3 sin(2π₯)
Therefore, the correct answer choice is B. π π = πfππ π πππ ππ + π πππ(ππ) + π πππ ππ β π πππ(ππ)
Made with
by Prepineer | Prepineer.com