36. Nonhomogeneous Differential Equations Concept Overview

Report 4 Downloads 124 Views
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