Working Out Answer Checks - DE

  • Thread starter Thread starter erok81
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around verifying the solution to the differential equation y' = -2xy with the initial condition y(0) = 2, where the symbolic solution is given as y(x) = 2e^{-x^2}. Participants are exploring the process of checking the correctness of this solution using the linear integrating factor method.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the differentiation of the solution and the application of the chain rule. There is confusion about how to verify that the derived expression for y' satisfies the original differential equation.

Discussion Status

Some participants have provided guidance on the differentiation process and the concept of identity equations. There is a recognition of the need to substitute expressions into the differential equation to verify the solution, and some clarity has been achieved regarding the nature of identity equations.

Contextual Notes

Participants express uncertainty about the process of answer checks, indicating that this is a new experience for them. There is mention of using computational tools to verify results, which may influence their understanding of the manual verification process.

erok81
Messages
454
Reaction score
0

Homework Statement



The symbolic solution of y'=-2xy, y(0)=2 is [tex]y(x)=2e^{-x^2}[/tex]. Display the details of the linear integrating factor method derivation of this symbolic solution, plus a full answer check.

Homework Equations



Linear integration factor method uses the standard for y'+p(x)y=q(x)

The Attempt at a Solution



I can solve this no problem. I am having trouble doing the answer checks on these. With previous sections you could just take the derivative of both sides and end up with the original statement. However with this, I cannot seem to make it anywhere close to the original problem.

This for example taking the solution from above:
[tex]y(x)=2e^{-x^2}[/tex]

If I take the derivative of both sides I end up with:

[tex]y'=-4e^{-x^2}[/tex]

Which isn't even remotely close.

What concept am I missing here?
 
Physics news on Phys.org
You are forgetting the chain rule when you differentiate.
 
Hmm...I thought I did.

Starting with:

[tex]y=2e^{-x^{2}}[/tex]

Without simplifying I get [tex]y'=2e^{-x^{2}}(-2x)[/tex]

Am I really doing the derivative of something that simple wrong?:cry:

I threw it into wolframalpha.com and maple and got the same answers.
 
erok81 said:
Hmm...I thought I did.

Starting with:

[tex]y=2e^{-x^{2}}[/tex]

Without simplifying I get [tex]y'=2e^{-x^{2}}(-2x)[/tex]

Am I really doing the derivative of something that simple wrong?:cry:

I threw it into wolframalpha.com and maple and got the same answers.

No, that is right but it isn't what you had in your earlier post. Anyway, all you have left to do is to verify that that value of y' equals -2xy and that y satisfies the BC's. Pretty easy now.
 
Oh yeah, I left off the extra x when I typed that out.

I guess the part I am confused with is how I go from something with an exponential and no y to no exponential and a y.

This is the first class I've had to do answer checks so I've never learned exactly how to do them.
 
erok81 said:
Oh yeah, I left off the extra x when I typed that out.

I guess the part I am confused with is how I go from something with an exponential and no y to no exponential and a y.

This is the first class I've had to do answer checks so I've never learned exactly how to do them.

You have the DE y' = -2xy and you are trying to show [itex]y=2e^{-x^2}[/itex] is a solution. You have calculated [itex]y'=-4xe^{-x^2}[/itex]. All you have to do is plug your expressions for y and y' into the DE and see it reduces it to an identity, which means the equation is satisfied.
 
So I tried this...

Here is what I have.

DE = [tex]y'=-2xy[/tex]
[tex]y=2e^{-x^{2}}[/tex]
[tex]y'=-4xe^{-x^{2}}[/tex]

Taking the original DE and subbing in what I think is correct.

[tex]-4xe^{-x^{2}}=-2x(2e^{-x^{2}})[/tex]

Then.
[tex]-4xe^{-x^{2}}=-4xe^{-x^{2}}[/tex]

So both values are equal but I don't see an identity.
 
Here's a definition for you:

Identity Equation: An equation which is true for every value of the variable is called an identity equation.

Now do you see one?
 
Ooooh, yes I get it now!

I was thinking something like trig identity.

Perfect. Thanks for the help. I am glad this class requires these on a lot of the problems. One tends to learn A LOT more when they do the answer one way then back again.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K