Solve the initial value problem

**Discontinuous Coefficients.** Linear differential equations sometimes occur in which one or both of the functions and have jump discontinuities. If is such a point of discontinuity, then it is necessary to solve the equation separately for and . Afterward, the two solutions are matched so that is continuous at ; this is accomplished by a proper choice of the arbitrary constants.

Solve the initial value problem

,

where

and

I got the correct answer in the back of the book using g(t) = 1 and solving the initial value problem. For the first part I got for .

Perhaps I'm going about solving the initial value problem wrong when . But when It is set up as , I get a explicit solution of . When I go to solve for then, and will be , which will give me a value of for , so I must be doing something wrong on the second part, probably not fully understanding the meaning of the question. But the answer in the back of the book for the second part is the following: for . I just don't see how they got that unless I'm supposed to do something with my explicit solution I got from the first part of the problem.

Re: Solve the initial value problem

Quote:

Originally Posted by

**VitaX** Solve the initial value problem

,

where

and

I got the correct answer in the back of the book using g(t) = 1 and solving the initial value problem. For the first part I got

for

.

Perhaps I'm going about solving the initial value problem wrong when

. But when It is set up as

, I get a explicit solution of

. When I go to solve for

then,

and

will be

, which will give me a value of

for

, so I must be doing something wrong on the second part, probably not fully understanding the meaning of the question. But the answer in the back of the book for the second part is the following:

for

. I just don't see how they got that unless I'm supposed to do something with my explicit solution I got from the first part of the problem.

You will need to solve two separate DEs, namely for , and for .

Re: Solve the initial value problem

Re: Solve the initial value problem

Quote:

Originally Posted by

**VitaX** Hmmm, yeah I did that. What I'm having trouble understanding is what to plug in for

and

after I solve for the DE in which the condition is

. Because the initial condition of the problem is

, so if I plug that into

, and solve for

, you end up with

, which is still

. And that doesn't help with plugging back into

.

You will only be able to substitute the initial condition into the DE which has . The other solution will have to have an arbitrary constant.

Re: Solve the initial value problem

Quote:

Originally Posted by

**Prove It** You will only be able to substitute the initial condition into the DE which has

. The other solution will have to have an arbitrary constant.

How exactly did the book obtain this for , for ? I just am not seeing what they did to obtain that at all when looking at what I got . Mine has the arbitrary constant but the books version of the answer does not. I dunno, perhaps I'm still understanding you wrong. The first part of this question is very easy compared to the second part.

Re: Solve the initial value problem

Quote:

Originally Posted by

**VitaX** **Discontinuous Coefficients.** Linear differential equations sometimes occur in which one or both of the functions

and

have jump discontinuities. If

is such a point of discontinuity, then it is necessary to solve the equation separately for

and

. Afterward, the two solutions are matched so that

is continuous at

; this is accomplished by a proper choice of the arbitrary constants.

Solve the initial value problem

,

where

and

I got the correct answer in the back of the book using g(t) = 1 and solving the initial value problem. For the first part I got

for

.

Perhaps I'm going about solving the initial value problem wrong when

. But when It is set up as

, I get a explicit solution of

. When I go to solve for

then,

and

will be

, which will give me a value of

for

, so I must be doing something wrong on the second part, probably not fully understanding the meaning of the question. But the answer in the back of the book for the second part is the following:

for

. I just don't see how they got that unless I'm supposed to do something with my explicit solution I got from the first part of the problem.

A different expression for is...

(1)

... where is the 'Heaviside step function' defined as...

(2)

Because is the 'initial value problem'...

(3)

... written in term of Laplace Transform is...

(4)

... that can be algebrically solved in the s domain...

Kind regards

Re: Solve the initial value problem

Quote:

Originally Posted by

**chisigma** A different expression for

is...

(1)

... where

is the 'Heaviside step function' defined as...

(2)

Because is

the 'initial value problem'...

(3)

... written in term of Laplace Transform is...

(4)

... that can be algebrically solved in the s domain...

Kind regards

Thanks for the info, but I'm still only in the beginning portion of Differential Equations. Only learned 1st ODE's thus far, so I don't really know much of what you're talking about sadly.

Re: Solve the initial value problem

Bump, can anyone explain to me how to solve so I end up with for . I'm just not fully understanding Prove it above.

Re: Solve the initial value problem

Quote:

Originally Posted by

**VitaX** Bump, can anyone explain to me how to solve

so I end up with

for

. I'm just not fully understanding Prove it above.

Since this is first order linear, you need to use the Integrating Factor, which is . Multiplying both sides of the DE by this gives

Now the ONLY way you can get the answer that the book has given is if they give you another boundary condition.

Re: Solve the initial value problem

Re: Solve the initial value problem

Quote:

Originally Posted by

**Prove It** Since this is first order linear, you need to use the Integrating Factor, which is

. Multiplying both sides of the DE by this gives

Now the ONLY way you can get the answer that the book has given is if they give you another boundary condition.

Yeah I got the same solution as you did, as for the boundary conditions part, I listed the entire question in the original post so...yeah the book's answer is a bit odd. My teacher said something today about matching the solutions. Basically I just set both equations equal to each other and solved for C. In the end my solution to each DE matched. Probably wrong but, finished anyway.

Re: Solve the initial value problem

Quote:

Originally Posted by

**chisigma** The 'conventional' approach to a linear constant coefficients ODE...

(1)

... works very well when

is a

*continous function*. In Your case however

contains the Heaviside step function...

(2)

... which is not continous. Oliver Heaviside was a self-taught English electrical engineer [as I am...], born in 1850, who invented, among other 'wonders', mathematical techniques to the solution of differential equations that at the time were considered 'unsolvable'. But Heaviside wasn't a mathematician and above all was self-taugh, so that he was in any way 'defamed' by the 'Holy Accademy' till to be expelled from the Royal Society for 'unworthiness' (Doh)...

Kind regards

Nice bit of info, is that who your avatar is of?

Re: Solve the initial value problem

Quote:

Originally Posted by

**VitaX** Nice bit of info, is that who your avatar is of?

A portrait of Oliver Heaviside by Francis Edwin Hodge is represented here...

http://digilander.libero.it/luposaba..._Heaviside.jpg

... so that he isn't the fellow of my avatar...

... the fellow of my avatar is the Italian physicist Ettore Majorana and if You want to know more information about him we have to open a dedicated thread...

Kind regards