qa02

#$&*

course mth 279

Class Notes and q_a_ for class 110124.________________________________________

This document and the next are supplemented by Chapter 2 of the text.

This should be submitted as a q_a_ document, filling in answers in the usual manner, between the marks

****

#$&*

The **** mark and the #$&* mark should each appear by itself, on its own line.

We show the following:

• y ' + t y = 0 has solution y = e^(-t).

If y = e^(-t) then y ' = -t e^(-t) so that

y ' + t y becomes -t e^-t + t e^-t, which is zero.

• y ' + sin(t) y = 0 has solution y = e^(cos t)

If y = e^(cos t) then y ' = -sin(t) e^(cos(t)) so that

y ' + t y becomes -sin(t) e^(cos(t)) + sin(t) e^cos(t) = 0

• y ' + t^2 y = 0 has solution y = e^(-t^3 / 3)

This is left to you.

****

If y = e^(-t^3 / 3) then y ' = -t^2 e^(-t^3/3) so that

y ' + t y becomes -t^2 e^(-t^3/3) + t^3/3 e^(-t^3/3) = 0

#$&*

What do all three solutions have in common?

Some of this is left to you.

However for one thing, note that they all involve the fact that the derivative of a function of form e^(-p(t)) is equal to -p'(t) e^(-p(t)).

And all of these equations are of the form y ' + p(t) y = 0.

Now you are asked to explain the connection.

****

All of the solutions use the exponential function because of the aforementioned trait. They are also all linear, homogeneous equations, which is why we can solve them in this fashion.

#$&*

What would be a solution to each of the following:

• y ' - sqrt(t) y = 0?

If we integrate sqrt(t) we get 2/3 t^(3/2).

The derivative of e^( 2/3 t^(3/2) ) is t^(1/2) e^ ( 2/3 t^(3/2) ), or sqrt(t) e^( 2/3 t^(3/2) ).

Now, if we substitute y = sqrt(t) e^( 2/3 t^(3/2) ) into the equation, do we get a solution? If not, how can we modify our y function to obtain a solution?

****

Yes! If y = e^(-2/3t^(3 / 2)) then y ' = -t^(1/2) e^(-2/3t^(3/2)) so that

y ' + t y becomes -t^(1/2) e^(-2/3t^(3/2)) + t^(1/2) e^(-2/3t^(3/2)) = 0

#$&*

• sqrt(t) y ' + y = 0?

The rest of our equations started with y ' . This one starts with sqrt(t) y '.

We can make it like the others if we divide both sides by sqrt(t).

We get

• y ' + 1/sqrt(t) * y = 0.

Follow the process we used before.

We first integrated something. What was it we integrated?

****

We integrated the function, from the general form, p(t) to obtain the antiderivative P(t), in this case it is 1/sqrt(t) whereas before it was just p(t). Integrating p(t) in this case from c to t where P(t) is the particular antiderivative of p(t) that vanishes at the point t = c, we get P(t) = 2t^(-1/2)

#$&*

@&

The derivative of 2 * t^(-1/2) is 2 * (-1/2) t^(-3/2), not 1 / sqrt(t).

Antiderivative of t^(-1/2) is 2 sqrt(t)

*@

We then formed an exponential function, based on our integral. That was our y function. What y function do we get if we imitate the previous problem?

****

y = e^(-P’(t)) = e^(-2t^(-1/2))

#$&*

What do we get if we plug our y function into the equation? Do we get a solution? If not, how can we modify our y function to obtain a solution?

****

If y = e^(-2t^(-1/2)) then y ' = -t^(-1/2) e^(-2t^(-1/2)) so that

y ' + t y becomes -t^(-1/2) e^(-2t^(-1/2)) + t^(-1/2) e^(-2t^(-1/2)) = 0

#$&*

@&

Right idea, but you're making some errors in differentiation.

*@

• t y ' = y?

If we divide both sides by t and subtract the right-hand side from both sides what equation do we get?

****

First step: y’ = y/t

y’ - (1/t)*y = 0

#$&*

Why would we want to have done this?

****

So that we can take a form that isn’t standard for us and put the equation into a standard, clear, linear, homogeneous form.

#$&*

Imitating the reasoning we have seen, what is our y function?

****

Our y function here would be logarithmic, particularly the natural log, found by taking the antiderivative of p(t) to yield P(t) = ln|t|, thus y = e^-lnt = t^(-1)

#$&*

Does it work?

****

Yes, if y = t^(-1), y’ = -t^(-2), so that the equation y’+ y/t = -t^(-2) + 1/t*1/t = 0

#$&*

• y ' + p(t) y = 0 has solution y = e^(- int(p(t) dt)).

This says that you integrate the p(t) function and use it to form your solution y = e^(- int(p(t) dt)).

Does this encapsulate the method we have been using?

****

Yes, this is what we have been doing. Finding P(t) from p(t) using integration and using this as our value for what we raise e to the power to in our equation for y, and thus in our equation for y’

#$&*

Will it always work?

****

No, it will not always work because it requires linear, homogeneous equations.

#$&*

What do you get if you plug y = e^(-int(p(t) dt) into the equation y ' + p(t) y = 0?

****

- p(t) e^(-int(p(t) dt) + p(t) e^(-int(p(t) dt) = 0?

#$&*

Is the equation satisfied?

****

It appears so! Both terms cancel each other and we are left with zero.

#$&*

y ' + p(t) y = 0 is the general form of what we call a first-order linear homogeneous equation. If it can be put into this form, then it is a first-order linear homogeneous equation.

Which of the following is a homogeneous first-order linear equation?

• y * y ' + sin(t) y = 0

We need y ' to have coefficient 1. We get that if we divide both sides by y.

Having done this, is our equation in the form y ' + p(t) y = 0?

****

Dividing both sides by y, we end up with y’ + sin(t) * (0 * y) = 0, y does not have a coefficient of one here. So our equation is not in the form y ' + p(t) y = 0, i.e., standard form.

#$&*

Is our equation therefore a homogeneous first-order linear equation?

****

No it is not. It is homogeneous because of the 0 on the right side of the equation, but it is not linear because we do not have a linear value of y.

#$&*

• t * y ' + t^2 y = 0

Once more, we need y ' to have coefficient 1.

What is your conclusion?

****

• This is fine, after dividing both sides by t, we end up with the following equation: y ' + t*y = 0 , which works because we have the zero on the right hand side, that is in the form y’ + p(t)y = g(t), g(t) = 0. And it is also linear because we have a coefficient of 1 on y.

#$&*

• cos(t) y ' = - sin(t) y

Again you need y ' to have coefficient 1.

Then you need the right-hand side to be 0.

Put the equation into this form, then see what you think.

****

cos(t) y ' = - sin(t) y

Step one divide by cosine:

y ' = - sin(t) / cost(t) y

Step to move y over to the left side:

y ' + tan(t) y = 0,

This is a linear, homogeneous equation, p(t) = tan(t), and g(t) = 0

#$&*

• y ' + t y^2 = 0

What do you think?

****

g(t) = 0, but this is clearly non-linear because of the y^2 term.

#$&*

• y ' + y = t

How about this one?

****

• Nope, we subtract t from both sides to get: y ' + y - t = 0, this is non-standard, linear form.

#$&*

Solve the equations above that are homogeneous first-order linear equations.

****

y ' + t*y = 0

P(t) = 1/2t^2, If y = e^(-1/2t^2), y’ = -t e^(-1/2t^2). Putting the pieces together we obtain: - t e^(-1/2t^2) + t e^(-1/2t^2) = 0. Voila!

y ' + tan(t) y = 0

P(t) = -ln|cos(t)|, y = e^(ln|cos(t)|) = cos(t), y’ = -sin(t), so the equation becomes -sin(t) + tan(t)*cos(t) = -sin(t) + sin(t)*(cos(t)/cos(t)) = -sin(t) + sin(t) = 0. QED.

#$&*

Verify the following:

• If you multiply both sides of the equation y ' + t y by e^(t^2 / 2), the result is the derivative with respect to t of e^(t^2 / 2) * y.

The derivative with respect to t of e^(t^2 / 2) * y is easily found by the product rule to be

(e^(t^2 / 2) * y) '

= (e ^ (t^2 / 2) ) ' y + e^(t^2/2) * y '

= t e^(t^2/2) * y + e^(t^2 / 2) * y '.

If you multiply both sides of y ' + t y by e^(t^2 / 2) you get e^(t^2 / 2) y ' + t e^(t^2 / 2).

Same thing.

Now, what is it in the original expression y ' + t y that led us to come up with t^2 / 2 to put into that exponent?

****

The p(t) portion of y’+p(t)y = g(t). The “t”. We took the integral of it to get t^2/2

#$&*

• If you multiply the expression y ' + cos(t) y by e^(sin(t) ), the result is the derivative with respect to t of e^(-sin(t)) * y.

Just do what it says. Find the t derivative of e^(sin(t) ) * y. Then multiply both sides of the expression y ' + cos(t) y by e^(sin(t) * y).

****

(e^(sin(t) ) * y)’ = cos(t) e^(sin(t) * y + e^(sin(t) *y’

Then multiplying both sides of the expression y ' + cos(t) y by e^(sin(t), we end up with = cos(t) e^(sin(t) * y + e^(sin(t) *y’

The same result as the first part.

#$&*

How did we get e^(sin(t)) from of the expression y ' + cos(t) y? Where did that sin(t) come from?

****

Good question. It is the antiderivative of cos(t), or p(t) in the general form of the linear homogeneous equation.

#$&*

• If you multiply both sides of the equation y ' + t y = t by e^(t^2 / 2), the integral with respect to t of the left-hand side will be e^(t^2 / 2) * y.

You should have the pattern by now. What do you get, and how did we get t^2 / 2 from the expression y ' + t y = t in the first place?

****

I’ll start with the second question: t^2/2 came from the t in y’ + ty = t… Although on second thought I’m not sure what to do with the t on the right side of the equation... stumped for now.

#$&*

The equation becomes e^(t^2 / 2) * y ' + t e^(t^2 / 2) y = t e^(t^2 / 2).

The left-hand side, as we can easily see, is the derivative with respect to t of e^(t^2 / 2) * y.

So if we integrate the left-hand side with respect to t, since the left-hand side is the derivative of e^(t^2 / 2) * y, an antiderivative is e^(t^2 / 2) * y.

Explain why it's so.

****

I would say that this has to do with the product rule, we take the derivative of the first portion times the second portion, then add the derivative of the second portion to the first portion: e^(t^2 / 2) * y ' + t e^(t^2 / 2) y, or in general (f*g)’ = f’*g + g’*f

#$&*

@&

This is the fundamental theorem of calculus. Any expression is an antiderivative of its derivative.

So if the left-hand side is the derivative of e^(t^2 / 2) * y, it follows that an antiderivative of the left-hand side is e^(t^2 / 2) * y.

*@

Having integrated the left-hand side, we integrate the right-hand side t e^(t^2 / 2).

What do you get? Be sure to include an integration constant.

****

The integral is equal to e^(t^2 / 2), we could have used the u and v trick, but it was easy enough to see. And Wolfgram alpha confirmed this.

#$&*

Set the results of the two integrations equal and solve for y. What is your result?

****

Sure thing:

e^(t^2 / 2) * y ' + t e^(t^2 / 2) y = e^(t^2 / 2)

Divide by e^(t^2 / 2):

y’ + ty = 1

@&

An antiderivative of the left-hand side is e^(t^2 / 2) * y.

So your integration would yield

e^(t^2 / 2) * y = e^(t^2 / 2) + c,

where c is an arbitrary integration constant.

What do you get if you solve this equation for y?

*@

#$&*

Is it a solution to the original equation?

****

I do not believe so, because the equation is non-homogeneous

#$&*

• If you multiply both sides of the equation y ' + p(t) y = g(t) by the e raised to the t integral of p(t), the left-hand side becomes the derivative with respect to t of e^(integral(p(t) dt) ) * y.

See if you can prove this.

****

That is to say that y = e^(t^2/2), so (e^(t^2 / 2) * y) = e^(t^2 / 2) * y ' + t e^(t^2 / 2) y,

Multiplying both sides of y ' + p(t) y = g(t) by e^(t^2 / 2) gives us the same answer: e^(t^2 / 2) * y ' + t e^(t^2 / 2) y

#$&*

"

@&

You're doing pretty well here.

I've inserted some comments.

This exercise should prepare you well for understanding the book's explanations and solving the problems in the problem set.

*@

@&

I'll be glad to answer questions if you have them.

*@