A differential equation has the form where , , and are constants. Under which condition would the particular solution necessarily take the form ?
Opening subject page...
Loading your content
Differential Equations Quiz
Practice Undetermined Coefficients in Differential Equations with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
Question 1 / 17
0 of 17 answered
A differential equation has the form y′′+ay′+by=erx where a, b, and r are constants. Under which condition would the particular solution necessarily take the form yp=Ax2erx?
This quiz focuses on Undetermined Coefficients, giving you a quick way to practice the rules, question types, and explanations that matter most for Differential Equations.
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
A differential equation has the form y′′+ay′+by=erx where a, b, and r are constants. Under which condition would the particular solution necessarily take the form yp=Ax2erx?
Explanation: When solving non-homogeneous linear differential equations with exponential forcing functions like erx, the form of your particular solution depends critically on whether the exponent r relates to the roots of the characteristic equation s2+as+b=0. The correct answer is A. When r is a repeated root of the characteristic equation, it means r satisfies r2+ar+b=0 and appears twice in the homogeneous solution. Since both erx and xerx are already part of the homogeneous solution, you must multiply by x2 to ensure your particular solution is linearly independent. This gives yp=Ax2erx. Choice B is incorrect because when r is a simple root, only erx appears in the homogeneous solution, so yp=Axerx (multiply by x once) would be sufficient. Choice C misunderstands the relationship entirely. Complex conjugate roots don't directly determine the particular solution form for an erx forcing function. Choice D describes an impossible scenario. If r2+ar+b=0, then r isn't a root, so the condition 2r+a=0 (which would make r=−a/2) is irrelevant to determining the particular solution form. Study tip: Always check if your forcing function's exponent matches roots of the characteristic equation. No match = try Aerx; simple root = try Axerx; repeated root = try Ax2erx.
What is the form of a particular solution Yp(t) for the differential equation y′′−6y′+9y=5e3t?
Explanation: First, find the complementary solution. The characteristic equation is r2−6r+9=0, which factors as (r−3)2=0. This gives a repeated root r=3. The complementary solution is yc(t)=c1e3t+c2te3t. The non-homogeneous term is g(t)=5e3t. The initial guess for the particular solution would be Yp(t)=Ae3t. However, this term is present in the complementary solution. According to the modification rule, we must multiply the guess by t, giving Ate3t. This new guess is also present in the complementary solution. Therefore, we must multiply by t again, which gives the correct form Yp(t)=At2e3t.
What is the correct form of a particular solution Yp(t) for the differential equation y′′+3y′=4−2e−3t?
Explanation: The characteristic equation is r2+3r=0, or r(r+3)=0, giving roots r=0 and r=−3. The complementary solution is yc(t)=c1e0t+c2e−3t=c1+c2e−3t. The non-homogeneous term is g(t)=4−2e−3t. We consider each part. For the constant term 4, the initial guess is A. This is a solution to the homogeneous equation (the c1 term), so we must modify it to At. For the term −2e−3t, the initial guess is Be−3t. This is also a solution to the homogeneous equation (the c2e−3t term), so we must modify it to Bte−3t. Combining these gives the full form for the particular solution: Yp(t)=At+Bte−3t.
The differential equation y′′+4y′+4y=g(t) has a particular solution Yp(t)=3t2e−2t. What is the non-homogeneous term g(t)?
Explanation: To find g(t), we must compute Yp′′+4Yp′+4Yp. Given Yp(t)=3t2e−2t. First derivative: Yp′=6te−2t−6t2e−2t=(6t−6t2)e−2t. Second derivative: Yp′′=(6−12t)e−2t−2(6t−6t2)e−2t=(6−12t−12t+12t2)e−2t=(12t2−24t+6)e−2t. Now substitute into the left side of the ODE: g(t)=(12t2−24t+6)e−2t+4(6t−6t2)e−2t+4(3t2e−2t). Factor out e−2t: g(t)=[(12t2−24t+6)+(24t−24t2)+(12t2)]e−2t. The terms in the brackets simplify: (12t2−24t2+12t2)+(−24t+24t)+6=6. Therefore, g(t)=6e−2t.
Consider the equation y′′+4y=8sin2(t). Which of the following is the correct form for a particular solution Yp(t)?
Explanation: The method of undetermined coefficients cannot be directly applied to g(t)=8sin2(t). We must first use a trigonometric identity to rewrite g(t) in a suitable form. Using the power-reducing identity sin2(t)=21−cos(2t), the non-homogeneous term becomes g(t)=8(21−cos(2t))=4−4cos(2t). Now we can determine the form of Yp(t). The characteristic equation is r2+4=0, with roots r=±2i, so yc(t)=c1cos(2t)+c2sin(2t). For the constant term 4, the guess is A. This does not conflict with yc. For the term −4cos(2t), the guess is Bcos(2t)+Csin(2t). This form is present in yc, so we must multiply this part of the guess by t. The total form for Yp(t) is the sum of the forms for each part: Yp(t)=A+t(Bcos(2t)+Csin(2t)).
Find the particular solution Yp(t) for the differential equation y′′−y′=3t2.
Explanation: The characteristic equation is r2−r=0, or r(r−1)=0, with roots r=0,1. The complementary solution is yc(t)=c1e0t+c2et=c1+c2et. The non-homogeneous term is g(t)=3t2. The initial guess for Yp is a full quadratic, At2+Bt+C. However, the constant term C is a solution to the homogeneous equation (corresponding to the c1 term). Therefore, we must multiply the entire guess by t, giving Yp(t)=t(At2+Bt+C)=At3+Bt2+Ct. We find the derivatives: Yp′=3At2+2Bt+C and Yp′′=6At+2B. Substituting into the ODE: (6At+2B)−(3At2+2Bt+C)=3t2. Grouping terms: −3At2+(6A−2B)t+(2B−C)=3t2. Equating coefficients gives: −3A=3⟹A=−1. 6A−2B=0⟹6(−1)−2B=0⟹B=−3. 2B−C=0⟹2(−3)−C=0⟹C=−6. Thus, Yp(t)=−t3−3t2−6t.
Consider the differential equation y′′+4y=t+cos(2t). What is the correct form of the particular solution Yp(t) that should be used for the method of undetermined coefficients?
Explanation: The characteristic equation for the homogeneous part is r2+4=0, which has roots r=±2i. The complementary solution is yc(t)=c1cos(2t)+c2sin(2t). The non-homogeneous term is g(t)=t+cos(2t). We find the guess for the particular solution by considering each part of g(t) separately. For the term t, the guess is At+B. For the term cos(2t), the guess is Ccos(2t)+Dsin(2t). We must check if any part of the guess is a solution to the homogeneous equation. The guess At+B does not overlap with yc. However, the guess Ccos(2t)+Dsin(2t) does overlap with yc. Therefore, this part of the guess must be multiplied by t, becoming t(Ccos(2t)+Dsin(2t)). The final form for the particular solution is the sum of the individual forms: Yp(t)=At+B+t(Ccos(2t)+Dsin(2t)).
For the differential equation y′′−2y′+2y=5tet, an appropriate guess for the particular solution is Yp(t)=(At+B)et. After substituting Yp(t) into the equation, one finds that Aet=5tet. What conclusion can be drawn?
Explanation: The method of undetermined coefficients guarantees a solution of the assumed form exists, provided the form is chosen correctly. Let's verify the calculation. Yp=(At+B)et. Yp′=Aet+(At+B)et=(At+A+B)et. Yp′′=Aet+(At+A+B)et=(At+2A+B)et. Substitute into the ODE: (At+2A+B)et−2(At+A+B)et+2(At+B)et=5tet. Divide by et: (At+2A+B)−2(At+A+B)+2(At+B)=5t. Combine terms: (A−2A+2A)t+(2A+B−2A−2B+2B)=5t. This simplifies to At+B=5t. Equating coefficients gives A=5 and B=0. The calculation in the stem, which leads to Aet=5tet, is incorrect. A calculation error must have occurred. The guess does not need modification as yc=et(c1cost+c2sint) has no overlap.
A student attempts to find the form of a particular solution for y′′−y=te−t. They note the complementary solution is yc=c1et+c2e−t. Their initial guess is Yp=(At+B)e−t. They claim this guess must be multiplied by t because the Be−t term duplicates a term in yc. Which statement best evaluates this reasoning?
Explanation: The student's reasoning is correct. The initial guess for a non-homogeneous term of the form Pn(t)eαt is (Antn+⋯+A0)eαt. In this case, g(t)=te−t, so the initial guess is Yp=(At+B)e−t. The complementary solution is yc=c1et+c2e−t. The term Be−t in the expansion of the guess, Ate−t+Be−t, is a solution to the homogeneous equation. The modification rule states that if any term in the initial guess is a solution to the homogeneous equation, the entire initial guess must be multiplied by tk until no term is a solution. Therefore, the entire expression (At+B)e−t must be multiplied by t. The correct form is Yp=t(At+B)e−t=(At2+Bt)e−t.
What is the correct form of a particular solution for the differential equation y′′+2y′+5y=3e−tcos(2t)?
Explanation: The characteristic equation is r2+2r+5=0. Using the quadratic formula, the roots are r=2−2±4−20=−1±2i. The complementary solution is yc(t)=e−t(c1cos(2t)+c2sin(2t)). The non-homogeneous term is g(t)=3e−tcos(2t). The initial guess for the particular solution, based on the form of g(t), is Yp(t)=e−t(Acos(2t)+Bsin(2t)). This form is identical to the form of the complementary solution yc(t). Therefore, the modification rule applies, and the entire initial guess must be multiplied by t. The correct form is Yp(t)=te−t(Acos(2t)+Bsin(2t)).
The complementary solution to ay′′+by′+cy=g(t) is yc(t)=c1e2tcos(t)+c2e2tsin(t). For which of the following functions g(t) would the form of the particular solution be Yp(t)=te2t(Acos(t)+Bsin(t))?
Explanation: The form of the particular solution Yp(t) has been multiplied by t. This indicates that the initial, unmodified guess, which would be e2t(Acos(t)+Bsin(t)), is a solution to the homogeneous equation. The given complementary solution yc(t) confirms this. The method of undetermined coefficients dictates that the initial guess is based on the form of the non-homogeneous term g(t). A term like g(t)=7e2tcos(t) (or any linear combination of e2tcos(t) and e2tsin(t)) would lead to this initial guess, thus requiring multiplication by t.
A particular solution to the differential equation y′′+y′−2y=3et is Yp(t)=tet. If the non-homogeneous term is changed to g(t)=6et−2, what is the new particular solution?
Explanation: The problem can be solved using the principle of superposition. We are given that for g1(t)=3et, the particular solution is Yp1(t)=tet. By linearity, for g(t)=2g1(t)=6et, the particular solution will be 2Yp1(t)=2tet. Next, we need to find the particular solution for the term g2(t)=−2. The characteristic equation is r2+r−2=0, with roots r=1,−2, so yc=c1et+c2e−2t. For g2(t)=−2, our guess is Yp2(t)=A. Since a constant is not part of yc, no modification is needed. Substituting Yp2=A into the ODE gives 0+0−2A=−2, so A=1. By superposition, the total particular solution is Yp(t)=2tet+1.
For the equation y′′−2y′+y=ex(3x2+4x), a student proposes the particular solution yp=ex(Ax2+Bx+C). What is the primary error in this approach?
Explanation: When solving non-homogeneous linear differential equations using the method of undetermined coefficients, you must check whether your proposed particular solution overlaps with the homogeneous solution. This overlap creates a critical issue called resonance. First, let's find the homogeneous solution. The characteristic equation r2−2r+1=0 factors as (r−1)2=0, giving a repeated root r=1. This means the homogeneous solution is yh=(C1+C2x)ex, which contains terms of the form ex and xex. The proposed particular solution yp=ex(Ax2+Bx+C) contains the term Cex, which directly overlaps with the homogeneous solution. When you substitute this into the differential equation, the overlapping terms will vanish, making it impossible to solve for the coefficients. To fix this resonance problem, you must multiply the entire proposed solution by x raised to the power equal to the multiplicity of the repeated root. Since we have a repeated root of multiplicity 2, we multiply by x2, giving yp=x2ex(Ax2+Bx+C). Choice A is incorrect because the polynomial degree is already appropriate for the forcing term 3x2+4x. Choice B is wrong since the characteristic equation has real, not complex roots. Choice C is incorrect because the exponential factor ex correctly matches the forcing term's exponential part. Key strategy: Always solve the homogeneous equation first and check for resonance before finalizing your particular solution form.
Consider y′′+4y=sin(2x)+3cos(2x)+5e2x. If the particular solution is written as yp=Asin(2x)+Bcos(2x)+Ce2x, what happens when this form is substituted into the differential equation?
Explanation: When solving non-homogeneous differential equations using the method of undetermined coefficients, you must check whether any terms in your proposed particular solution are already solutions to the homogeneous equation. This is the resonance condition that determines whether your initial guess will work. Let's examine what happens when we substitute yp=Asin(2x)+Bcos(2x)+Ce2x into y′′+4y=sin(2x)+3cos(2x)+5e2x. First, check the homogeneous equation y′′+4y=0. Its characteristic equation is r2+4=0, giving r=±2i. The homogeneous solutions are sin(2x) and cos(2x). For the exponential term Ce2x: Since e2x is not a solution to the homogeneous equation (r=2 is not a root), this term works perfectly and C can be determined uniquely. For the trigonometric terms Asin(2x)+Bcos(2x): These are solutions to the homogeneous equation, creating resonance. When you substitute these into the differential equation, they satisfy y′′+4y=0, not the non-zero right-hand side. This creates a contradiction that cannot be resolved. Answer D correctly identifies this situation. Answer A misses the resonance problem entirely. Answer B incorrectly claims both terms fail. Answer C reverses which terms work. Study tip: Always solve the homogeneous equation first and compare its solutions to your particular solution guess. If there's overlap, multiply the problematic terms by x (or higher powers) until resonance is eliminated.
The equation y′′+y=sin(x)+xcos(x) is being solved using undetermined coefficients. If a student attempts to use yp=Asin(x)+Bcos(x)+Cxcos(x)+Dxsin(x) as the particular solution form, what issue will arise?
Explanation: The characteristic equation is r2+1=0 with roots r=±i, so yh=c1cos(x)+c2sin(x). The forcing term sin(x) resonates with yh, requiring xsin(x) and xcos(x) terms. For xcos(x), we need x2cos(x) and x2sin(x) terms due to resonance. The proposed form mixes resonant and non-resonant terms incorrectly. When Asin(x)+Bcos(x) is substituted, these terms cancel with parts of the left side, leading to 0=sin(x), which is impossible. Choice A ignores this contradiction. Choice B misidentifies which terms cause resonance. Choice D incorrectly describes the mathematical issue.
Consider the differential equation y′′−4y′+4y=8e2x+12x. When applying the method of undetermined coefficients, what form should the particular solution take?
Explanation: The homogeneous equation has characteristic equation r2−4r+4=0, giving (r−2)2=0, so r=2 is a repeated root. The homogeneous solution is yh=(c1+c2x)e2x. For the forcing term 8e2x, since e2x appears in the homogeneous solution with multiplicity 2, we multiply by x2 to get Ax2e2x. For 12x, we use Bx+C. Choice A fails to account for the repeated root. Choice C incorrectly uses Bx2+Cx for the polynomial term. Choice D uses Bx2+Cx unnecessarily for the polynomial and doesn't multiply e2x by x2.
Consider y′′+4y′+4y=te−2t+e−2tcos(3t). When determining the particular solution using undetermined coefficients, what is the correct total number of undetermined coefficients needed?
Explanation: When solving nonhomogeneous linear differential equations using undetermined coefficients, you need to carefully analyze each term on the right-hand side and account for any overlap with the homogeneous solution. First, find the homogeneous solution. The characteristic equation r2+4r+4=0 factors as (r+2)2=0, giving a repeated root r=−2. So the homogeneous solution is yh=(c1+c2t)e−2t. Now examine each term in te−2t+e−2tcos(3t): For te−2t: Normally you'd try Ate−2t, but since e−2t and te−2t are already in the homogeneous solution, you must multiply by t2 (the multiplicity of the repeated root). This gives At3e−2t+Bt2e−2t, requiring 2 coefficients. For e−2tcos(3t): You'd normally try (Ccos(3t)+Dsin(3t))e−2t, but since e−2t appears in the homogeneous solution, multiply by t2: t2(Ecos(3t)+Fsin(3t))e−2t, requiring 2 more coefficients. Wait—you also need the t2e−2tsin(3t) term that appears when differentiating, giving you one additional coefficient: G. Total: 5 coefficients. Answer A (5 coefficients) is correct. Answer B (4 coefficients) misses the adjustment for repeated roots. Answer C (6 coefficients) likely double-counts somewhere. Answer D (7 coefficients) overcomplicates the overlap resolution. Remember: always check if your trial solution overlaps with the homogeneous solution—multiply by the appropriate power of t to eliminate that overlap.