<< Chapter < Page Chapter >> Page >

Find the general solution to the following differential equations.

  1. y 5 y + 4 y = 3 e x
  2. y + y 6 y = 52 cos 2 t
  1. y ( x ) = c 1 e 4 x + c 2 e x x e x
  2. y ( t ) = c 1 e −3 t + c 2 e 2 t 5 cos 2 t + sin 2 t
Got questions? Get instant answers now!

Variation of parameters

Sometimes, r ( x ) is not a combination of polynomials, exponentials, or sines and cosines. When this is the case, the method of undetermined coefficients does not work, and we have to use another approach to find a particular solution to the differential equation. We use an approach called the method of variation of parameters    .

To simplify our calculations a little, we are going to divide the differential equation through by a , so we have a leading coefficient of 1. Then the differential equation has the form

y + p y + q y = r ( x ) ,

where p and q are constants.

If the general solution to the complementary equation is given by c 1 y 1 ( x ) + c 2 y 2 ( x ) , we are going to look for a particular solution of the form y p ( x ) = u ( x ) y 1 ( x ) + v ( x ) y 2 ( x ). In this case, we use the two linearly independent solutions to the complementary equation to form our particular solution. However, we are assuming the coefficients are functions of x , rather than constants. We want to find functions u ( x ) and v ( x ) such that y p ( x ) satisfies the differential equation. We have

y p = u y 1 + v y 2 y p = u y 1 + u y 1 + v y 2 + v y 2 y p = ( u y 1 + v y 2 ) + u y 1 + u y 1 + v y 2 + v y 2 .

Substituting into the differential equation, we obtain

y p + p y p + q y p = [ ( u y 1 + v y 2 ) + u y 1 + u y 1 + v y 2 + v y 2 ] + p [ u y 1 + u y 1 + v y 2 + v y 2 ] + q [ u y 1 + v y 2 ] = u [ y 1 + p y 1 + q y 1 ] + v [ y 2 + p y 2 + q y 2 ] + ( u y 1 + v y 2 ) + p ( u y 1 + v y 2 ) + ( u y 1 + v y 2 ) .

Note that y 1 and y 2 are solutions to the complementary equation, so the first two terms are zero. Thus, we have

( u y 1 + v y 2 ) + p ( u y 1 + v y 2 ) + ( u y 1 + v y 2 ) = r ( x ).

If we simplify this equation by imposing the additional condition u y 1 + v y 2 = 0 , the first two terms are zero, and this reduces to u y 1 + v y 2 = r ( x ). So, with this additional condition, we have a system of two equations in two unknowns:

u y 1 + v y 2 = 0 u y 1 + v y 2 = r ( x ).

Solving this system gives us u and v , which we can integrate to find u and v .

Then, y p ( x ) = u ( x ) y 1 ( x ) + v ( x ) y 2 ( x ) is a particular solution to the differential equation. Solving this system of equations is sometimes challenging, so let’s take this opportunity to review Cramer’s rule, which allows us to solve the system of equations using determinants.

Rule: cramer’s rule

The system of equations

a 1 z 1 + b 1 z 2 = r 1 a 2 z 1 + b 2 z 2 = r 2

has a unique solution if and only if the determinant of the coefficients is not zero. In this case, the solution is given by

z 1 = | r 1 b 1 r 2 b 2 | | a 1 b 1 a 2 b 2 | and z 2 = | a 1 r 1 a 2 r 2 | | a 1 b 1 a 2 b 2 | .

Using cramer’s rule

Use Cramer’s rule to solve the following system of equations.

x 2 z 1 + 2 x z 2 = 0 z 1 3 x 2 z 2 = 2 x

We have

a 1 ( x ) = x 2 a 2 ( x ) = 1 b 1 ( x ) = 2 x b 2 ( x ) = −3 x 2 r 1 ( x ) = 0 r 2 ( x ) = 2 x .

Then,

| a 1 b 1 a 2 b 2 | = | x 2 2 x 1 −3 x 2 | = −3 x 4 2 x

and

| r 1 b 1 r 2 b 2 | = | 0 2 x 2 x −3 x 2 | = 0 4 x 2 = −4 x 2 .

Thus,

z 1 = | r 1 b 1 r 2 b 2 | | a 1 b 1 a 2 b 2 | = −4 x 2 −3 x 4 2 x = 4 x 3 x 3 + 2 .

In addition,

| a 1 r 1 a 2 r 2 | = | x 2 0 1 2 x | = 2 x 3 0 = 2 x 3 .

Thus,

z 2 = | a 1 r 1 a 2 r 2 | | a 1 b 1 a 2 b 2 | = 2 x 3 −3 x 4 2 x = −2 x 2 3 x 3 + 2 .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Use Cramer’s rule to solve the following system of equations.

2 x z 1 3 z 2 = 0 x 2 z 1 + 4 x z 2 = x + 1

z 1 = 3 x + 3 11 x 2 , z 2 = 2 x + 2 11 x

Got questions? Get instant answers now!

Problem-solving strategy: method of variation of parameters

  1. Solve the complementary equation and write down the general solution
    c 1 y 1 ( x ) + c 2 y 2 ( x ).
  2. Use Cramer’s rule or another suitable technique to find functions u ( x ) and v ( x ) satisfying
    u y 1 + v y 2 = 0 u y 1 + v y 2 = r ( x ).
  3. Integrate u and v to find u ( x ) and v ( x ). Then, y p ( x ) = u ( x ) y 1 ( x ) + v ( x ) y 2 ( x ) is a particular solution to the equation.
  4. Add the general solution to the complementary equation and the particular solution found in step 3 to obtain the general solution to the nonhomogeneous equation.

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