NON-HOMOGENEOUS DIFFERENTIAL EQUATIONS | PRACTICE PROBLEMS Complete the following to reinforce your understanding of the concept covered in this module.
PROBLEM 1: What is the general solution of the differential equation below? π¦ "" + 3π¦ " β 4π¦ = 3π )* -
A. π¦ π₯ = πΆ- π ./* β πΆ) π * β π )* ) -
B. π¦ π₯ = πΆ- π ./* + πΆ) π * β π )* ) -
C. π¦ π₯ = πΆ- π ./* β πΆ) π * + π )* ) -
D. π¦ π₯ = πΆ- π ./* + πΆ) π * + π )* )
SOLUTION 1: 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 π¦3 .
Made with
by Prepineer | Prepineer.com
We will determine the corresponding homogeneous solution to the given differential equation: π¦ "" + 3π¦ " β 4π¦ = 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: π ) + ππ + π = 0 Plugging in the values for the coefficients and order of the derivatives from the given equation we find: π ) + 3π β 4 = 0 Where: β’ π=3 β’ π = β4
Made with
by Prepineer | Prepineer.com
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 π) term and 4π term are always used to determine the form of the solution. π) = 3
)
=9
4 π = 4 β4 = β16 We know that 9 > β16, and can classify the solution as over damped, and that the roots are characterized as distinct and real roots. Distinct and real roots characterized by the relationship π) > 4π, where the solution is of the over damped form. Therefore, the two roots are real and different. Factoring the quadratic expression, we find the characteristic equation can be rewritten in factored terms as: π+4 πβ1 =0 Solving for the roots of the polynomials, we find the roots are: π- = β4
Made with
by Prepineer | Prepineer.com
π) = 1 We know that for an over damped solution, each distinct real root is represented as: π= = πΆ= π >? * If the roots are real and the same, the solution is: π¦3 π₯ = πΆ- π >@ * + πΆ) π₯π >A * + β― + πΆC π₯ =.- π >? * Plugging in the calculated values for the roots, we find the general solution is expressed as: π¦3 π₯ = πΆ- π ./* + πΆ) π * 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. π¦D"" + 3π¦D" β 4π¦D = 3π )* 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 π¦D (π₯) form. The procedure in this method is to assume for π¦D (π₯) 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. π(π₯)
π¦D (π₯)
π΄
π΅
π΄π J*
π΅π J* ; πΌ β π=
π΄- sin ππ₯ + π΄) cos ππ₯
π΅- sin ππ₯ + π΅) 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 an exponential function. Since the derivative of an exponential returns the same exponential, we could try to guess an exponential for the particular solution. It should cancel the entire equation, leaving us with a condition on its coefficient: π¦D π₯ = π΅π )* We can then calculate the first and second derivatives of the particular solution as: π¦D" π₯ = 2π΅π )* π¦D"" = 4π΅π )*
Made with
by Prepineer | Prepineer.com
In order to solve for the undetermined constants, we will substitute π¦D π₯ and the derivatives of the particular solution into our equation for a particular solution of the nonhomogeneous portion of the equation: π¦D"" + 3π¦D" β 4π¦D = 3π )* 4π΅π )* + 3 2π΅π )* β 4 π΅π )* = 3π )* Simplifying and combining like terms, the equation is simplified to: 4π΅ + 6π΅ β 4π΅ = 3 Solving the system of linear equations, we find:
π΅=
1 2
Therefore, our particular solution is:
π¦D (π₯) =
1 )* π 2
We can plug our particular solution and homogeneous solution into the formula for the general solution and find: 1 π¦ π₯ = π¦3 π₯ + π¦D π₯ = πΆ- π ./* + πΆ) π * + π )* 2
Made with
by Prepineer | Prepineer.com
Therefore, the correct answer choice is π
D. π² π± = ππ π.ππ± + ππ ππ± + πππ± π
PROBLEM 2: Which of the following is TRUE when it comes to rewriting the general solution for a nonhomogeneous differential equation? A. π¦ π₯ = π¦3 (π₯) β π¦D (π₯) B. π¦ π₯ = π¦3 (π₯) + π¦D (π₯) C. π¦ π₯ = π¦3) (π₯) + π¦D) (π₯) D. π¦ π₯ = π¦3 (π₯) + π¦D) (π₯)
SOLUTION 2: 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: π¦ π₯ = π¦3 π₯ + π¦D π₯
Made with
by Prepineer | Prepineer.com
Where: β’ π¦3 (π₯) is the complementary solution, which solves the complementary or homogeneous solution (the general solution of the corresponding homogeneous equation) β’ π¦D (π₯) is any particular solution with π(π₯) present
Therefore, the correct answer choice is B. π² π± = π²π‘ π± + π²π© π± PROBLEM 3: What is the general solution of the differential equation below? π¦ "" + 3π¦ " + 2π¦ = 5π )* A. π¦ π₯ = πΆ- π .* + πΆ) π .)* + B. π¦ π₯ = πΆ- π .* + πΆ) π .)* + C. π¦ π₯ = πΆ- π .* + πΆ) π .)* β D. π¦ π₯ = πΆ- π .* β πΆ) π .)* +
` -) ` -) ` -) ` -)
π )* π )* π )* π )*
SOLUTION 3: In order to solve this second order differential equation, we will use the method of undetermined coefficients. π¦ "" + 3π¦ " + 2π¦ = 5π )*
Made with
by Prepineer | Prepineer.com
The first step of this method is to find the homogeneous solution to the differential equation. We will call the homogeneous solution π¦3 . We will determine the corresponding homogeneous solution to the given differential equation: π¦ "" + 3π¦ " + 2π¦ = 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: π ) + ππ + π = 0 Plugging in the values for the coefficients and order of the derivatives from the given equation we find: π ) + 3π + 2 = 0 Where: β’ π=3
Made with
by Prepineer | Prepineer.com
β’ π=2 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 π) term and 4π term are always used to determine the form of the solution. π) = 3
)
=9
4 π =4 2 =8 We know that 9 > 8, and can classify the solution as over damped, and that the roots are characterized as distinct and real roots. Distinct and real roots characterized by the relationship π) > 4π, where the solution is of the over damped form. Therefore, the two roots are real and different. Factoring the quadratic expression, we find the characteristic equation can be rewritten in factored terms as: π+2 π+1 =0
Made with
by Prepineer | Prepineer.com
Solving for the roots of the polynomials, we find the roots are: π- = β2 π) = β1 We know that for an over damped solution, each distinct real root is represented as: π= = πΆ= π >? * If the roots are real and the same, the solution is: π¦3 π₯ = πΆ- π >@ * + πΆ) π₯π >A * + β― + πΆC π₯ =.- π >? * Plugging in the calculated values for the roots, we find the general solution is expressed as: π¦3 π₯ = πΆ- π .* + πΆ) π .)* 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. π¦D"" + 3π¦D" + 2π¦D = 5π )* Our guess for the particular solution depends on the functions on the right hand side of the above equation.
Made with
by Prepineer | Prepineer.com
When specific π(π₯) forms result in a specific π¦D (π₯) form. The procedure in this method is to assume for π¦D (π₯) 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. π(π₯)
π¦D (π₯)
π΄
π΅
π΄π J*
π΅π J* ; πΌ β π=
π΄- sin ππ₯ + π΄) cos ππ₯
π΅- sin ππ₯ + π΅) 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 an exponential function. Since the derivative of an exponential returns the same exponential, we could try to guess an exponential for the particular solution. It should cancel the entire equation, leaving us with a condition on its coefficient: π¦D π₯ = π΅π )* We can then calculate the first and second derivatives of the particular solution as: π¦D" π₯ = 2π΅π )* π¦D"" = 4π΅π )*
Made with
by Prepineer | Prepineer.com
In order to solve for the undetermined constants, we will substitute π¦D π₯ and the derivatives of the particular solution into our equation for a particular solution of the nonhomogeneous portion of the equation: π¦D"" + 3π¦D" + 2π¦D = 5π )* 4π΅π )* + 3 2π΅π )* + 2 π΅π )* = 5π )* Simplifying and combining like terms, the equation is simplified to: 4π΅ + 6π΅ + 2π΅ = 5 Solving the system of linear equations, we find:
π΅=
1 2
Therefore, our particular solution is:
π¦D (π₯) =
5 )* π 12
We can plug our particular solution and homogeneous solution into the formula for the general solution and find:
π¦ π₯ = π¦3 π₯ + π¦D π₯ = πΆ- π .* + πΆ) π .)* +
Made with
5 )* π 12
by Prepineer | Prepineer.com
Therefore, the correct answer choice is A. π² π± = ππ π.π± + ππ π.ππ± + π π
πππ±
PROBLEM 4: What is the particular solution of the differential equation below? π¦ "" + 2π¦ " + 5π¦ = cos(3π₯) c
-
/
)
c
-
/
)
A. π¦D (π₯) = β sin 3π₯ β cos(3π₯) B. π¦D (π₯) = β sin 3π₯ + cos(3π₯) c
-
/
)
c
-
/
)
C. π¦D (π₯) = sin 3π₯ + cos(3π₯) D. π¦D (π₯) = sin 3π₯ β cos(3π₯)
SOLUTION 4: 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 π¦3 . We will determine the corresponding homogeneous solution to the given differential equation: π¦ "" + 2π¦ " + 5π¦ = 0
Made with
by Prepineer | Prepineer.com
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: π ) + ππ + π = 0 Plugging in the values for the coefficients and order of the derivatives from the given equation we find: π ) + 2π + 5 = 0 Where: β’ π=2 β’ π=5 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.
Made with
by Prepineer | Prepineer.com
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 π) term and 4π term are always used to determine the form of the solution. π) = 2
)
=4
4 π = 4 5 = 20 We know that 4 < 20, and can classify the solution as under damped, and that the roots are characterized as complex roots. An complex is characterized by the relationship π) < 4π, where the solution is of the under damped form. The two complex roots are imaginary and represented as: π- = πΌ + ππ½ and π) = πΌ β ππ½ If the roots are complex, it is convenient to write solution terms corresponding to complex roots with trigonometric functions. π¦3 π₯ = π g* (πΆ- sin π½π₯ + πΆ) 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
πΌ=β
g )
Made with
by Prepineer | Prepineer.com
o
π½=
/h.g A )
Solving for βπΌβ, we plug in the vales for π = 36 to find:
πΌ=β
π 2 = β = β1 2 2
Solving for π½, we plug in the vales for π = 0 πππ π = β4, to find:
4π β π) π½= = 2
4(5) β (2)) 4 = =2 2 2
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: π¦3 π₯ = π g* (πΆ- sin π½π₯ + C) cos π½π₯) The general homogeneous solution is then: π¦3 π₯ = π
.- *
(C- sin 2π₯ + C) cos 2π₯)
The two complex roots are imaginary and represented as: π- = β1 + 2π and π) = β1 β 2π
Made with
by Prepineer | Prepineer.com
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. π¦D"" + 2π¦D" + 5π¦D = cos(3π₯) Our guess for the particular solution depends on the functions on the right hand side of the above equation. When a specific π(π₯) forms result in a specific π¦D (π₯) form. The procedure in this method is to assume for π¦D (π₯) 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. π(π₯)
π¦D (π₯)
π΄
π΅
π΄π J*
π΅π J* ; πΌ β π=
π΄- sin ππ₯ + π΄) cos ππ₯
π΅- sin ππ₯ + π΅) 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 a trigonometric function. Based on this scenario, a good first guess would be a solution that contains a sine term and cosine term:
Made with
by Prepineer | Prepineer.com
π¦D π₯ = π΅- sin ππ₯ + π΅) cos ππ₯ We replace π with the coefficient term as given in the differential equation problem statement: π¦D π₯ = π΅- sin 3π₯ + π΅) cos 3π₯ Where: β’ π΅- πππ π΅) are undetermined constants. 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. π¦D π₯ = π΅- sin 3π₯ + π΅) cos 3π₯ π¦D β² π₯ = 3π΅- cos 3π₯ β 3π΅) sin 3π₯ π¦D"" π₯ = β9π΅- sin 3π₯ β 12π΅) cos 3π₯ In order to solve for the undetermined constants, we will substitute π¦D π₯ and the derivatives of the particular solution into our equation for a particular solution of the nonhomogeneous portion of the equation: π¦D"" + 2π¦D" + 5π¦D = cos(3π₯)
Made with
by Prepineer | Prepineer.com
Substituting π¦D π₯ and its derivatives we find: β9π΅- sin 3π₯ β 12π΅) cos(3π₯) + 2 3π΅- cos(3π₯) β 3π΅) sin(3π₯) + 5 π΅- sin(3π₯) + π΅) cos(3π₯) = cos(3π₯) Simplifying and combining like terms, the equation is simplified to: β9π΅- sin 3π₯ β 12π΅) cos 3π₯ + 6π΅- cos 3π₯ β 6π΅) sin 3π₯ + 5π΅- sin 3π₯ + 5π΅) cos(3π₯) = cos (3π₯) Further simplifying the like terms, we find: β9π΅- sin 3π₯ + 5π΅- sin(3π₯) + β12π΅) cos 3π₯ + 5π΅) cos(3π₯) + 6π΅- cos(3π₯) + + β6π΅) sin(3π₯) = cos(3π₯) We can finally re-write the equation as: β4π΅- sin 3π₯ β 7π΅) cos 3π₯ + 6π΅- cos 3π₯ β 6π΅) sin 3π₯ = cos(3π₯) From this equation we can create two equations to represent each variable as it is related on each side of the equation: ππππ πππππ : β 4π΅- sin 3π₯ β 6π΅) sin 3π₯ = 0 β4π΅- β 6π΅) = 0 πΆππ πππ πππππ : β 7π΅) cos 3π₯ + 6π΅- cos 3π₯ = cos(3π₯)
Made with
by Prepineer | Prepineer.com
6π΅- β 7π΅) = 1 We can solve the linear system of equations by using algebraic substitution. To do this we first solve for π΅- in terms of π΅) : β4π΅- = 6π΅) 6 π΅- = β π΅) = 1.5π΅) 4 Plugging in the equation for π΅- , we are able to solve for π΅) : 6π΅- β 7π΅) = 1 6 1.5π΅) β 7π΅) = 1 Solving for π΅) , we find:
π΅) =
1 2
Plugging this in our equation relating both coefficients, we find: 6 π΅- = β π΅) = 1.5π΅) 4
Made with
by Prepineer | Prepineer.com
π΅- = β
3 1 3 =β 2 2 4
Solving the system of linear equations, we find: π΅- = β3 π΅) = 5 Therefore, our particular solution is: 3 1 π¦D (π₯) = β sin 3π₯ + cos(3π₯) 4 2 π
Therefore, the correct answer choice is B. π²π© (π±) = β π¬π’π§ ππ± + π
π π
ππ¨π¬(ππ±)
Made with
by Prepineer | Prepineer.com