SOLUTION: The true solution at x=0.5 for y'= -xy at y(0)=1

Algebra.Com
Question 815508: The true solution at x=0.5 for y'= -xy at y(0)=1
Answer by jim_thompson5910(35256)   (Show Source): You can put this solution on YOUR website!
y'= -xy

dy/dx= -xy

dy= -xy*dx

dy/y= -x*dx

int( dy/y )= int( -x*dx ) ... integrating both sides

ln( |y| ) = (-1/2)*x^2 + C ... don't forget the " + C " part

|y| = e^[(-1/2)*x^2 + C]

|y| = e^((-1/2)*x^2)*(e^C)

|y| = e^C * e^((-1/2)*x^2)

y = +-e^C * e^((-1/2)*x^2)

Because e^C and e^((-1/2)*x^2) are NEVER negative, this means that the expression e^C * e^((-1/2)*x^2) is NEVER negative.

So that fact, along with the fact that y(0) = 1, which is positive, means that we're going to focus on the "plus" and ignore the "minus"

Basically, we now have y = e^C * e^((-1/2)*x^2)

Plug in x = 0 and y = 1, from the initial condition y(0) = 1, then solve for C

y = e^C * e^((-1/2)*x^2)

1 = e^C * e^((-1/2)*0^2)

1 = e^C * e^((-1/2)*0)

1 = e^C * e^(0)

1 = e^C * 1

1 = e^C

e^C = 1

C = ln(1)

C = 0

---------------------------------------

So

y = e^C * e^((-1/2)*x^2)

turns into

y = e^0 * e^((-1/2)*x^2)

y = 1 * e^((-1/2)*x^2)

y = e^((-1/2)*x^2)

which is the solution that satisfies both the differential equation y' = -xy and the initial condition y(0) = 1

To find the value of y at x = 0.5, plug it in and evaluate.

y = e^((-1/2)*x^2)

y = e^((-1/2)*(0.5)^2)

y = e^((-1/2)*0.25)

y = e^(-0.125)

y = 0.88249690258456 (this is approximate)

So when x = 0.5, y is approximately y = 0.88249690258456

RELATED QUESTIONS

What is the solution for 1/Y + 1/X = 1/XY, please solve for... (answered by ankor@dixie-net.com)
Suppose that y = −3/x and xy + 9 = 0 are equations that define two different... (answered by greenestamps)
Which of the following is TRUE about the graph of f(x)=x^4/5 at x=0? a. x=-1 b.y= -1... (answered by Fombitz)
I am so appreciated for helping me out these questions: 1.(x-2)(x+3)^2 OVER... (answered by Fombitz)
I am so appreciated for helping me out these questions: 1.(x-2)(x+3)^2 OVER... (answered by Fombitz)
I am so appreciated for helping me out these questions: 1.(x-2)(x+3)^2 OVER... (answered by Fombitz)
FOR X,Y>0,WHICH expression is equal to 1/1/x+1/y? (A)X+Y (B)X+Y/XY (C)XY/X+Y... (answered by ewatrrr)
Circle tangent to the x-axis at (5, 0) and the y-axis at (0,... (answered by stanbon)
Find the constant m for which all three lines 2x - y - 4 = 0 , x + 2y + 3 = 0 and mx + y (answered by ikleyn,MathLover1)