<< Chapter < Page Chapter >> Page >

Undetermined coefficients

The method of undetermined coefficients    involves making educated guesses about the form of the particular solution based on the form of r ( x ). When we take derivatives of polynomials, exponential functions, sines, and cosines, we get polynomials, exponential functions, sines, and cosines. So when r ( x ) has one of these forms, it is possible that the solution to the nonhomogeneous differential equation might take that same form. Let’s look at some examples to see how this works.

Undetermined coefficients when r ( x ) Is a polynomial

Find the general solution to y + 4 y + 3 y = 3 x .

The complementary equation is y + 4 y + 3 y = 0 , with general solution c 1 e x + c 2 e −3 x . Since r ( x ) = 3 x , the particular solution might have the form y p ( x ) = A x + B . If this is the case, then we have y p ( x ) = A and y p ( x ) = 0 . For y p to be a solution to the differential equation, we must find values for A and B such that

y + 4 y + 3 y = 3 x 0 + 4 ( A ) + 3 ( A x + B ) = 3 x 3 A x + ( 4 A + 3 B ) = 3 x .

Setting coefficients of like terms equal, we have

3 A = 3 4 A + 3 B = 0 .

Then, A = 1 and B = 4 3 , so y p ( x ) = x 4 3 and the general solution is

y ( x ) = c 1 e x + c 2 e −3 x + x 4 3 .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

In [link] , notice that even though r ( x ) did not include a constant term, it was necessary for us to include the constant term in our guess. If we had assumed a solution of the form y p = A x (with no constant term), we would not have been able to find a solution. (Verify this!) If the function r ( x ) is a polynomial, our guess for the particular solution should be a polynomial of the same degree, and it must include all lower-order terms, regardless of whether they are present in r ( x ).

Undetermined coefficients when r ( x ) Is an exponential

Find the general solution to y y 2 y = 2 e 3 x .

The complementary equation is y y 2 y = 0 , with the general solution c 1 e x + c 2 e 2 x . Since r ( x ) = 2 e 3 x , the particular solution might have the form y p ( x ) = A e 3 x . Then, we have y p ( x ) = 3 A e 3 x and y p ( x ) = 9 A e 3 x . For y p to be a solution to the differential equation, we must find a value for A such that

y y 2 y = 2 e 3 x 9 A e 3 x 3 A e 3 x 2 A e 3 x = 2 e 3 x 4 A e 3 x = 2 e 3 x .

So, 4 A = 2 and A = 1 / 2 . Then, y p ( x ) = ( 1 2 ) e 3 x , and the general solution is

y ( x ) = c 1 e x + c 2 e 2 x + 1 2 e 3 x .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Find the general solution to y 4 y + 4 y = 7 sin t cos t .

y ( t ) = c 1 e 2 t + c 2 t e 2 t + sin t + cos t

Got questions? Get instant answers now!

In the previous checkpoint, r ( x ) included both sine and cosine terms. However, even if r ( x ) included a sine term only or a cosine term only, both terms must be present in the guess. The method of undetermined coefficients also works with products of polynomials, exponentials, sines, and cosines. Some of the key forms of r ( x ) and the associated guesses for y p ( x ) are summarized in [link] .

Key forms for the method of undetermined coefficients
r ( x ) Initial guess for y p ( x )
k (a constant) A (a constant)
a x + b A x + B ( Note : The guess must include both terms even if b = 0 . )
a x 2 + b x + c A x 2 + B x + C ( Note : The guess must include all three terms even if b or c are zero.)
Higher-order polynomials Polynomial of the same order as r ( x )
a e λ x A e λ x
a cos β x + b sin β x A cos β x + B sin β x ( Note : The guess must include both terms even if either a = 0 or b = 0 . )
a e α x cos β x + b e α x sin β x A e α x cos β x + B e α x sin β x
( a x 2 + b x + c ) e λ x ( A x 2 + B x + C ) e λ x
( a 2 x 2 + a 1 x + a 0 ) cos β x + ( b 2 x 2 + b 1 x + b 0 ) sin β x ( A 2 x 2 + A 1 x + A 0 ) cos β x + ( B 2 x 2 + B 1 x + B 0 ) sin β x
( a 2 x 2 + a 1 x + a 0 ) e α x cos β x + ( b 2 x 2 + b 1 x + b 0 ) e α x sin β x ( A 2 x 2 + A 1 x + A 0 ) e α x cos β x + ( B 2 x 2 + B 1 x + B 0 ) e α x sin β x

Questions & Answers

distinguish between anatomy and physiology
Amina Reply
Anatomy is the study of internal structure of an organism while physiology is the study of the function/relationship of the body organs working together as a system in an organism.
adeyeye
distinguish between anatomy and physiology
Erny Reply
regional anatomy is the study of the body regionally
Ismail Reply
what is the meaning of regional anatomy
Aminat Reply
epithelial tissue: it covers the Hollow organs and body cavities
Esomchi Reply
in short way what those epithelial tissue mean
Zainab Reply
in short way what those epithelial tissue mean
Chizoba
What is the function of the skeleton
Lilias Reply
movement
Ogar
Locomotion
Ojo
support
Aishat
and body shape/form
Aishat
what is homeostasis?
Samuel Reply
what's physiology
AminchiSunday Reply
what is physiology
AminchiSunday
physically is the study of the function of the body
Najaatu
that is what I want ask
YAU
u are wright
YAU
pls what are the main treatment of hiccups
YAU
physiology is the study of the function of the body
Najaatu
hiccups happen when something irritates the nerves that course your diaphragm to contract
Najaatu
how did hypothalamus manege to control all activities of the various hormones
malual
what is protein
Abdulsalam
how can I treat pain a patient feels after eating meals
Namuli Reply
how do I treat a three year old baby of skin infection?
Okocha Reply
It depends on the type of infection. Bacterial, fungal, parasitic or viral?
schler
if you can share the sign ad symptoms of the skin infection then u geh the treatment cox they're different sign ad symptoms of skin infection with different treatment
Sa
the sign and symptoms of maleria
Abdulsalam
prostaglandin and fever
Maha Reply
yes
rayyanu
welcome sir
rayyanu
prostaglandin E2 is the final mediator.
Lemlem
prostaglandin E2 is the final mediator of fever.
Lemlem
yes
Agabi
good evening
Jediel
tissue.
Akoi
explain
Chizoba
Hi
Anya
,good evening
Anya
Discuss the differences between taste and flavor, including how other sensory inputs contribute to our  perception of flavor.
John Reply
taste refers to your understanding of the flavor . while flavor one The other hand is refers to sort of just a blend things.
Faith
While taste primarily relies on our taste buds, flavor involves a complex interplay between taste and aroma
Kamara
which drugs can we use for ulcers
Ummi Reply
omeprazole
Kamara
what
Renee
what is this
Renee
is a drug
Kamara
of anti-ulcer
Kamara
Omeprazole Cimetidine / Tagament For the complicated once ulcer - kit
Patrick
what is the function of lymphatic system
Nency Reply
Not really sure
Eli
to drain extracellular fluid all over the body.
asegid
The lymphatic system plays several crucial roles in the human body, functioning as a key component of the immune system and contributing to the maintenance of fluid balance. Its main functions include: 1. Immune Response: The lymphatic system produces and transports lymphocytes, which are a type of
asegid
to transport fluids fats proteins and lymphocytes to the blood stream as lymph
Adama
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 4

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 3. OpenStax CNX. Feb 05, 2016 Download for free at http://legacy.cnx.org/content/col11966/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 3' conversation and receive update notifications?

Ask