WEBVTT

00:00:01.246 --> 00:00:03.266 A:middle
&gt;&gt; Welcome to the Cypress
College Math Review

00:00:03.266 --> 00:00:04.716 A:middle
on Variation of Parameters.

00:00:06.816 --> 00:00:10.256 A:middle
We wish to solve 2nd order
nonhomogeneous equations

00:00:11.576 --> 00:00:14.546 A:middle
[variable] a sub 0, y double
prime plus [variable] a sub 1 y

00:00:14.546 --> 00:00:18.236 A:middle
prime plus [variable] a sub
2 y equals F of x where F

00:00:18.236 --> 00:00:24.106 A:middle
of x is not a linear combination
of the type x to the j e

00:00:24.106 --> 00:00:27.756 A:middle
to the x cosine of
b x or x to the j e

00:00:27.756 --> 00:00:32.116 A:middle
to the [variable] a x sine
of b x in which the method

00:00:32.116 --> 00:00:34.946 A:middle
of undetermined coefficients
would have worked well for us.

00:00:36.826 --> 00:00:41.096 A:middle
Let u sub 1 and u sub 2 be
linearly independent solutions

00:00:41.096 --> 00:00:44.446 A:middle
to the homogeneous
equation L of y equals 0.

00:00:46.326 --> 00:00:54.126 A:middle
Then, y sub c equals c sub 1
times u sub 1 plus c sub 2 times

00:00:54.126 --> 00:00:58.606 A:middle
u sub 2 is the general solution
to the homogeneous equation.

00:00:59.156 --> 00:01:05.186 A:middle
Let y sub p equal g sub 1 times
u sub 1 plus g sub 2 times u sub

00:01:05.226 --> 00:01:09.766 A:middle
2 be a particular solution to
the nonhomogeneous equation L

00:01:09.766 --> 00:01:16.916 A:middle
of y equals cap F of x. To
find g sub 1 and g sub 2,

00:01:17.366 --> 00:01:21.006 A:middle
you solve the following system
of equations here in this box.

00:01:21.866 --> 00:01:25.006 A:middle
I chose to use g sub
1 and g sub 2 instead

00:01:25.006 --> 00:01:29.466 A:middle
of the more standard cap c sub
1 and c sub 2 simply because,

00:01:30.026 --> 00:01:32.806 A:middle
in my opinion, c sub
1 and c sub 2 look

00:01:32.806 --> 00:01:34.336 A:middle
like constants from calc 1.

00:01:35.926 --> 00:01:39.216 A:middle
You should use what your
instructor prefers you to use.

00:01:44.376 --> 00:01:47.876 A:middle
This is our first example.

00:01:49.346 --> 00:01:51.966 A:middle
First, we'll solve the
homogeneous equation.

00:01:52.096 --> 00:01:53.576 A:middle
Here's our auxiliary equation.

00:01:59.056 --> 00:02:06.006 A:middle
So r is equal to
1 multiplicity 2.

00:02:10.436 --> 00:02:16.146 A:middle
So y sub c is equal
to c sub 1 e to the x,

00:02:16.796 --> 00:02:19.216 A:middle
and then since it's
multiplicity 2, of course,

00:02:19.216 --> 00:02:23.196 A:middle
we'd have c sub 2 x e to the x.

00:02:23.666 --> 00:02:28.446 A:middle
If it was multiplicity 3 we
would have x squared e to the x.

00:02:31.306 --> 00:02:40.186 A:middle
So y sub p is going to be
g sub 1 times e to the x

00:02:40.496 --> 00:02:42.596 A:middle
because our u sub
1 function is e

00:02:42.596 --> 00:02:48.306 A:middle
to the x. Our u sub
2 function is x e

00:02:48.586 --> 00:02:57.716 A:middle
to the x. Here's the system
that we have to solve.

00:02:59.446 --> 00:03:02.636 A:middle
So now we have to take
the first derivative,

00:03:03.386 --> 00:03:12.526 A:middle
so g sub 1 prime times the
derivative of e to the x, which,

00:03:12.526 --> 00:03:19.486 A:middle
of course, is just e to
the x plus g sub 2 prime,

00:03:20.966 --> 00:03:24.386 A:middle
and then here we have to take
the derivative of x e to the x,

00:03:24.386 --> 00:03:25.736 A:middle
so we have the product rule.

00:03:26.766 --> 00:03:35.666 A:middle
So 1 times e to the x plus x
e to the x, and that's equal

00:03:35.666 --> 00:03:43.606 A:middle
to our function cap F of x,
which is e to the x over 2 x

00:03:45.146 --> 00:03:48.226 A:middle
over [variable] a sub naught.

00:03:49.036 --> 00:03:51.156 A:middle
And [variable] a sub naught
in this case is just 1.

00:03:53.596 --> 00:04:01.896 A:middle
And then we have g sub
1 prime times u sub 1,

00:04:02.106 --> 00:04:06.116 A:middle
and u sub 1 is just
e to the x plus,

00:04:13.816 --> 00:04:20.036 A:middle
plus g sub 2 prime
times u sub 2,

00:04:20.546 --> 00:04:26.326 A:middle
which is just x e
to the x equals 0.

00:04:27.506 --> 00:04:30.256 A:middle
This is the system of
equations that we have to solve.

00:04:32.116 --> 00:04:35.916 A:middle
If we subtract, these terms
on the left disappear,

00:04:37.546 --> 00:04:39.116 A:middle
these two terms disappear,

00:04:42.366 --> 00:04:48.276 A:middle
and we end up with simply
g sub 2 prime times e

00:04:48.276 --> 00:04:56.836 A:middle
to the x equals e to the
x over 2 x. Dividing,

00:04:56.836 --> 00:05:06.006 A:middle
we get g sub 2 prime equals
1 over 2 x. All right,

00:05:11.236 --> 00:05:13.796 A:middle
let's integrate to find g sub 2.

00:05:15.556 --> 00:05:21.046 A:middle
So g sub 2 is equal to 1/2 times
the antiderivative of 1 over x,

00:05:23.416 --> 00:05:29.756 A:middle
which is 1/2 natural log
of x plus c, correct?

00:05:29.756 --> 00:05:33.066 A:middle
But we don't put the plus c on.

00:05:33.066 --> 00:05:38.846 A:middle
Why? In the homogeneous solution
you have plus c times u sub 1.

00:05:39.736 --> 00:05:43.246 A:middle
And our solution is going to
have y sub p plus y sub c,

00:05:44.216 --> 00:05:49.106 A:middle
so we don't need to write
plus c times u sub 1 again.

00:05:50.696 --> 00:05:51.616 A:middle
So erase that.

00:05:54.336 --> 00:05:56.256 A:middle
We'll rewrite that
as natural log

00:05:56.646 --> 00:06:02.396 A:middle
of the square root
of x. All right.

00:06:02.666 --> 00:06:09.626 A:middle
Now, the bottom line of
our box is g sub 1 prime e

00:06:09.626 --> 00:06:18.086 A:middle
to the x plus g sub 2 prime
x e to the x equals 0.

00:06:18.796 --> 00:06:28.286 A:middle
Solving for g sub 1 prime, we
get negative g sub 2 prime x e

00:06:28.286 --> 00:06:33.116 A:middle
to the x over e to the x, where
those e to the x's cancel.

00:06:33.286 --> 00:06:37.046 A:middle
We can replace g sub 2
prime with 1 over 2 x.

00:06:37.856 --> 00:06:40.696 A:middle
So I have 1 over 2 x there.

00:06:41.606 --> 00:06:42.766 A:middle
And there's an x there.

00:06:42.766 --> 00:06:49.726 A:middle
The e to the x's cancel, so
we simply get negative 1/2.

00:06:50.866 --> 00:07:00.476 A:middle
So g sub 1, after I integrate,
is negative 1/2 x. We're ready

00:07:00.476 --> 00:07:01.806 A:middle
to write our solution.

00:07:05.946 --> 00:07:12.036 A:middle
So y sub p, our particular
solution to our nonhomogeneous,

00:07:13.066 --> 00:07:21.226 A:middle
is g sub 1 e to the x
plus g sub 2 x e to x,

00:07:22.446 --> 00:07:27.496 A:middle
which in this case would
be negative 1/2 x e

00:07:27.496 --> 00:07:32.146 A:middle
to the x plus natural log
of the square root of x,

00:07:33.086 --> 00:07:41.896 A:middle
x e to the x. Y, of
course, is always equal

00:07:45.386 --> 00:07:55.506 A:middle
to y sub c plus y sub p. So we
get y sub c, which is c sub 1 e

00:07:55.506 --> 00:08:02.386 A:middle
to the x plus c sub 2 x
e to the x plus y sub p,

00:08:03.546 --> 00:08:11.796 A:middle
which is negative 1/2 x e
to the x plus natural log

00:08:12.016 --> 00:08:17.516 A:middle
of the square root of x, x e
to the x, and then we notice

00:08:17.516 --> 00:08:23.126 A:middle
that the middle two terms are
like terms, so we add them up.

00:08:23.176 --> 00:08:28.566 A:middle
We have a new constant
times x e to the x,

00:08:33.716 --> 00:08:37.666 A:middle
and this gives us the solution
to our differential equation.

00:08:50.136 --> 00:08:52.076 A:middle
For our next example,

00:08:53.696 --> 00:08:57.806 A:middle
the auxiliary equation is
r squared plus 1 equals 0.

00:08:59.116 --> 00:09:06.566 A:middle
So the solutions are plus
or minus i. So the solution

00:09:06.566 --> 00:09:13.766 A:middle
to the homogeneous equation
is c sub 1 times cosine

00:09:13.766 --> 00:09:24.776 A:middle
of x plus c sub 2 times
sine of x. So now we look

00:09:24.776 --> 00:09:28.206 A:middle
at the nonhomogeneous.

00:09:28.426 --> 00:09:32.216 A:middle
So y sub p is going to
be g sub 1 times u sub 1.

00:09:32.246 --> 00:09:38.876 A:middle
And u sub 1 is cosine of x
plus g sub 2 times u sub 2,

00:09:38.876 --> 00:09:43.946 A:middle
and u and sub 2 is going to be
sine of x. Here's the system

00:09:43.946 --> 00:09:45.566 A:middle
of equations that
we have to solve

00:09:45.616 --> 00:09:47.526 A:middle
to find g sub 1 and g sub 2.

00:09:49.556 --> 00:09:51.186 A:middle
So we have to take
the derivative

00:09:51.186 --> 00:09:58.856 A:middle
of g 1 times the derivative
of u 1, and u sub 1 is cosine.

00:09:59.316 --> 00:10:01.216 A:middle
So the derivative of
cosine, of course,

00:10:01.216 --> 00:10:06.066 A:middle
is negative sine
plus the derivative

00:10:06.066 --> 00:10:10.626 A:middle
of g sub 2 times the derivative
of sine, which is cosine,

00:10:12.986 --> 00:10:15.916 A:middle
equals cap F of x,
which is tangent

00:10:16.686 --> 00:10:18.326 A:middle
over [variable] a sub
naught, which is 1.

00:10:19.166 --> 00:10:27.976 A:middle
In the next equation we have g
sub 1 prime times u 1 plus g sub

00:10:28.036 --> 00:10:33.786 A:middle
2 prime times u sub 2 equals 0.

00:10:33.966 --> 00:10:35.976 A:middle
So this is the system of
equations that we have to solve.

00:10:36.056 --> 00:10:41.286 A:middle
Looking at the second equation
and solving for g sub 1 prime,

00:10:41.856 --> 00:10:47.066 A:middle
if we move the second
term to the other side

00:10:47.066 --> 00:10:49.386 A:middle
and divide both sides
by cosine of x,

00:10:49.936 --> 00:10:54.426 A:middle
we get negative g sub
2 prime times tangent

00:10:54.426 --> 00:11:00.826 A:middle
of x. Let's substitute that
value in for g sub 1 prime

00:11:00.956 --> 00:11:02.096 A:middle
in the first equation.

00:11:04.126 --> 00:11:12.766 A:middle
So we get g sub 2 prime tangent
of x. That's going in for,

00:11:15.286 --> 00:11:17.126 A:middle
that's going in for
g sub 1 prime.

00:11:17.126 --> 00:11:18.336 A:middle
The negatives are canceling.

00:11:19.086 --> 00:11:29.936 A:middle
I still have that times the sine
of x plus g sub 2 prime cosine

00:11:29.936 --> 00:11:40.566 A:middle
of x equals tangent of x. So
we factor out a g sub 2 prime,

00:11:44.296 --> 00:11:53.736 A:middle
and we have tangent of
x sine of x plus cosine

00:11:53.736 --> 00:12:07.126 A:middle
of x equals tangent of x. So g
sub 2 prime is equal to tangent

00:12:07.126 --> 00:12:18.106 A:middle
of x divided by tangent of x
times sine of x plus cosine

00:12:18.106 --> 00:12:27.546 A:middle
of x. Let's multiply
that by cosine of x

00:12:28.526 --> 00:12:32.626 A:middle
over cosine of x. Why?

00:12:32.626 --> 00:12:36.276 A:middle
Because I can see that
tangent of x in the denominator

00:12:36.276 --> 00:12:38.496 A:middle
over here is sine
of x over cosine

00:12:38.496 --> 00:12:40.436 A:middle
of x. Let's see what we get.

00:12:41.216 --> 00:12:45.896 A:middle
When I multiply tangent
times cosine, I get sine.

00:12:47.396 --> 00:12:49.026 A:middle
So in the numerator I get sine.

00:12:49.946 --> 00:12:52.986 A:middle
In the denominator
tangent becomes sine,

00:12:54.126 --> 00:12:55.506 A:middle
so I get sine squared.

00:12:59.176 --> 00:13:02.756 A:middle
So I have sine squared
plus cosine squared,

00:13:03.776 --> 00:13:06.916 A:middle
which is simply 1, which means

00:13:07.996 --> 00:13:12.566 A:middle
that whole function
just becomes sine of x

00:13:12.566 --> 00:13:13.976 A:middle
because my denominator is 1.

00:13:14.516 --> 00:13:27.576 A:middle
[ Silence ]

00:13:28.076 --> 00:13:30.516 A:middle
Let's integrate to find
g sub 2, the function.

00:13:35.446 --> 00:13:41.186 A:middle
So that would be negative
cosine of x. Recall from above

00:13:41.776 --> 00:13:44.656 A:middle
that g sub 1 prime is
equal to the opposite

00:13:44.656 --> 00:13:48.786 A:middle
of g sub 2 prime
times tangent of x.

00:13:50.686 --> 00:13:57.406 A:middle
So that would be negative
sine of x times tangent of x.

00:14:00.596 --> 00:14:06.706 A:middle
So now g sub 1 is equal to
the antiderivative of that.

00:14:14.536 --> 00:14:21.726 A:middle
So we're integrating c. We
have sine times tangent,

00:14:26.846 --> 00:14:28.346 A:middle
so that's what we're
trying to integrate.

00:14:30.806 --> 00:14:33.716 A:middle
So sine squared in
the numerator.

00:14:35.046 --> 00:14:41.356 A:middle
So sine squared is the same
thing as 1 minus cosine squared,

00:14:46.596 --> 00:14:51.916 A:middle
and the opposite of 1 minus
cosine squared is cosine squared

00:14:53.696 --> 00:14:53.966 A:middle
minus 1.

00:14:54.516 --> 00:15:09.586 A:middle
[ Silence ]

00:15:10.086 --> 00:15:12.606 A:middle
Our goal here, of course,
is to get the cosine

00:15:12.606 --> 00:15:13.666 A:middle
out of the denominator.

00:15:18.256 --> 00:15:19.566 A:middle
So we're going to divide now.

00:15:20.596 --> 00:15:22.816 A:middle
So the numerator divided
by the denominator.

00:15:22.816 --> 00:15:27.866 A:middle
So I have cosine of x minus
1 divided by cosine of x,

00:15:27.866 --> 00:15:29.046 A:middle
which is, of course, secant.

00:15:30.816 --> 00:15:31.866 A:middle
And now I can integrate.

00:15:33.936 --> 00:15:39.596 A:middle
So I have sine of x minus
the antiderivative of secant,

00:15:40.366 --> 00:15:44.216 A:middle
which is natural log the
absolute value of secant

00:15:44.216 --> 00:15:51.666 A:middle
of x plus tangent of
x. And we're ready

00:15:51.666 --> 00:15:53.386 A:middle
to solve this differential
equation.

00:15:55.766 --> 00:16:07.976 A:middle
So y sub p is equal to g sub 1
times u sub 1 plus g sub 2 times

00:16:07.976 --> 00:16:17.596 A:middle
u sub 2, which, in this case,
is going to be the function sine

00:16:17.596 --> 00:16:22.736 A:middle
of x minus natural log of
the absolute value of secant

00:16:22.736 --> 00:16:25.386 A:middle
of x plus tangent of x,

00:16:27.026 --> 00:16:32.486 A:middle
that quantity times the function
u sub 1, which is cosine of x,

00:16:36.476 --> 00:16:40.966 A:middle
plus the function g sub 2,
which is negative cosine,

00:16:42.496 --> 00:16:47.156 A:middle
times the function u sub 2,
which is the function sine

00:16:47.156 --> 00:16:55.786 A:middle
of x. Those cancel out, and that
simply gives me negative cosine

00:16:55.786 --> 00:17:00.996 A:middle
of x times natural log of
the absolute value of secant

00:17:00.996 --> 00:17:08.656 A:middle
of x plus tangent of
x. So the solution

00:17:08.656 --> 00:17:14.206 A:middle
to our differential equation
is y sub c plus y sub p,

00:17:16.046 --> 00:17:23.876 A:middle
which is c sub 1 times u
sub 1, which is cosine,

00:17:25.756 --> 00:17:34.666 A:middle
plus c sub 2 times u sub 2,
which is sine, plus y sub p,

00:17:35.206 --> 00:17:42.396 A:middle
which is minus cosine
of x times natural log

00:17:42.396 --> 00:17:47.876 A:middle
of the absolute value of
secant of x plus tangent of x.

00:17:48.876 --> 00:17:51.246 A:middle
And that's the solution to
our differential equation

00:17:51.246 --> 00:17:51.976 A:middle
by variation of parameters.

00:17:52.516 --> 00:18:03.176 A:middle
[ Silence ]

00:18:03.676 --> 00:18:04.716 A:middle
Here's our next example.

00:18:05.566 --> 00:18:10.136 A:middle
Our auxiliary equation is
r squared minus 3 r plus 2

00:18:10.166 --> 00:18:11.026 A:middle
equals 0.

00:18:13.876 --> 00:18:17.226 A:middle
So our solutions are 2 and 1.

00:18:20.036 --> 00:18:26.476 A:middle
So the solution to our
homogeneous is c sub 1 e

00:18:26.476 --> 00:18:33.856 A:middle
to the 2 x plus c sub 2 e to the
x, so u sub 1 is going to be e

00:18:33.856 --> 00:18:42.496 A:middle
to the 2 x, u sub 2 is going to
be e to the x, y sub p, then,

00:18:42.616 --> 00:18:50.016 A:middle
is going to be g sub 1 times
e to the 2 x plus g sub 2 e

00:18:50.076 --> 00:18:53.416 A:middle
to the x. Our next task is
to find g sub 1 and g sub 2.

00:18:54.046 --> 00:18:56.166 A:middle
Here's the system of
equations we have to solve

00:18:56.216 --> 00:18:57.826 A:middle
to find g sub 1 and g sub 2.

00:19:00.656 --> 00:19:04.386 A:middle
So we take the derivative of
g sub 1 times the derivative

00:19:04.386 --> 00:19:08.346 A:middle
of u sub 1, and the derivative
of e to the 2 x is 2 e

00:19:08.346 --> 00:19:14.436 A:middle
to the 2 x plus the derivative
of g sub 2 times the derivative

00:19:14.436 --> 00:19:18.536 A:middle
of e to the x equals cap F of x

00:19:22.626 --> 00:19:24.316 A:middle
over [variable] a sub
naught, which is just 1.

00:19:25.986 --> 00:19:33.036 A:middle
The next equation has g sub 1
prime times u sub 1 plus g sub 2

00:19:33.036 --> 00:19:36.786 A:middle
prime times u sub 2 equals 0.

00:19:37.336 --> 00:19:39.136 A:middle
This is the system
we have to solve.

00:19:40.946 --> 00:19:49.076 A:middle
Looking at the second
equation, moving the first term

00:19:49.076 --> 00:20:02.636 A:middle
over to the other side, divide
both sides by e to the x,

00:20:03.136 --> 00:20:05.636 A:middle
I get that g 2 prime is equal

00:20:05.636 --> 00:20:18.786 A:middle
to negative g 1 prime
e to the x. All right.

00:20:18.786 --> 00:20:20.576 A:middle
I've copied down
the second equation

00:20:20.576 --> 00:20:21.586 A:middle
so we can see what we're doing.

00:20:27.816 --> 00:20:29.616 A:middle
So we've solved for
g sub 2 prime.

00:20:29.946 --> 00:20:30.976 A:middle
Let's substitute that in.

00:20:43.816 --> 00:20:47.326 A:middle
So we have 2 times
g sub 1 prime e

00:20:47.326 --> 00:20:53.236 A:middle
to the 2 x minus g sub
1 prime e to the 2 x

00:20:53.236 --> 00:20:54.456 A:middle
on the left-hand side.

00:20:55.086 --> 00:20:58.766 A:middle
So now we have one of
those, g sub 1 prime e

00:20:58.766 --> 00:21:02.796 A:middle
to the 2 x. Divide both
sides by e to the 2 x,

00:21:02.796 --> 00:21:08.606 A:middle
and we have g sub 1 prime
equals 1 over 1 plus e

00:21:08.606 --> 00:21:14.806 A:middle
to the 2 x. G sub
2 prime is equal

00:21:14.806 --> 00:21:21.936 A:middle
to negative g sub 1 prime times
e to the x, which gives us

00:21:22.446 --> 00:21:27.626 A:middle
that g sub 2 prime is equal
to negative e to the x

00:21:27.876 --> 00:21:33.846 A:middle
over 1 plus e to the 2 x. So now
we have the derivative of each,

00:21:33.976 --> 00:21:36.976 A:middle
and we need to integrate to
find g sub 1 and g sub 2.

00:21:37.516 --> 00:21:44.736 A:middle
[ Silence ]

00:21:45.236 --> 00:21:46.546 A:middle
Here's g sub 1 prime.

00:21:46.906 --> 00:21:48.646 A:middle
Let's integrate to find g sub 1.

00:21:56.846 --> 00:22:00.746 A:middle
A common trick to integrate this
function would be to multiply

00:22:00.746 --> 00:22:02.926 A:middle
by e to the negative
2 x over itself.

00:22:09.106 --> 00:22:13.516 A:middle
So we have e to the negative
2 x over the quantity e

00:22:13.516 --> 00:22:15.516 A:middle
to the negative 2 x plus 1.

00:22:16.966 --> 00:22:19.146 A:middle
And now u substitution
will work.

00:22:19.776 --> 00:22:27.786 A:middle
U equals the denominator,
d u equals negative 2 e

00:22:27.786 --> 00:22:39.666 A:middle
to the negative 2 x d x. So we
get negative 1/2 antiderivative

00:22:39.666 --> 00:22:48.556 A:middle
of 1 over u d u, which gives
us negative 1/2 natural log

00:22:49.566 --> 00:22:55.476 A:middle
of the quantity 1 plus
e to the negative 2 x.

00:22:56.346 --> 00:22:57.986 A:middle
And that's our function g sub 1.

00:23:04.756 --> 00:23:06.396 A:middle
Here's my function
g sub 2 prime.

00:23:06.806 --> 00:23:08.486 A:middle
Let's integrate to find g sub 2.

00:23:16.786 --> 00:23:19.956 A:middle
We're going to do the same
thing we did a minute ago

00:23:19.956 --> 00:23:22.396 A:middle
because a simple u substitution
is not going to work.

00:23:22.396 --> 00:23:26.386 A:middle
We're going to multiply by e to
the negative 2 x over itself.

00:23:26.966 --> 00:23:35.916 A:middle
In the numerator we have the
opposite of e to the negative x.

00:23:37.596 --> 00:23:40.956 A:middle
In the denominator we have e
to the negative 2 x plus 1.

00:23:46.506 --> 00:23:53.886 A:middle
Let u equal e to the negative
x, so d u is equal to negative e

00:23:54.446 --> 00:24:07.286 A:middle
to the negative x d x. So we
get d u over u squared plus 1,

00:24:08.486 --> 00:24:10.826 A:middle
which hopefully you
recognize as arc tangent.

00:24:16.306 --> 00:24:23.026 A:middle
So we have arc tangent
of e to the negative x.

00:24:24.596 --> 00:24:26.406 A:middle
And there's our function
g sub 2.

00:24:31.746 --> 00:24:32.796 A:middle
All right.

00:24:32.796 --> 00:24:33.906 A:middle
Let's put this all together.

00:24:35.546 --> 00:24:41.446 A:middle
We know that y sub c, the
solution to the homogeneous,

00:24:42.076 --> 00:24:47.716 A:middle
is c sub 1 e to the 2 x
plus c sub 2 e to the x.

00:24:47.816 --> 00:24:53.186 A:middle
And the particular solution to
the nonhomogeneous is g sub 1 e

00:24:53.186 --> 00:24:59.826 A:middle
to the 2 x plus g sub 2 e to
the x. We solved and found

00:25:00.336 --> 00:25:02.866 A:middle
that g sub 1 was equal

00:25:02.866 --> 00:25:07.696 A:middle
to negative 1/2 times
the natural log

00:25:07.696 --> 00:25:11.786 A:middle
of the quantity 1 plus
e to the negative 2 x.

00:25:12.626 --> 00:25:20.176 A:middle
And g sub 2 was equal
to arc tangent of e

00:25:20.176 --> 00:25:26.736 A:middle
to the negative x. Y is always
equal to y sub c plus y sub p,

00:25:27.506 --> 00:25:28.266 A:middle
so the solution

00:25:28.266 --> 00:25:33.266 A:middle
to our differential
equation is c sub 1 e

00:25:33.266 --> 00:25:41.776 A:middle
to the 2 x plus c sub 2 e to
the x minus 1/2 natural log

00:25:41.776 --> 00:25:47.656 A:middle
of the quantity 1 plus e
to the negative 2 x times e

00:25:47.656 --> 00:26:02.336 A:middle
to the 2 x plus arc tangent
of e to the negative x times e

00:26:02.336 --> 00:26:07.126 A:middle
to the x. And there's
the solution

00:26:07.126 --> 00:26:07.936 A:middle
to our differential equation.

