Find an explicit solution of the given initial-value problem

  • Thread starter Thread starter fd25t6
  • Start date Start date
  • Tags Tags
    Explicit
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 9K views
fd25t6
Messages
10
Reaction score
0
Hello all, hoping to get a bit of help with a diff eq problem that goes like this:

Find an explicit solution of the given initial-value problem,

x^2*(dy/dx)=y-xy ; y(-1) = -6

I separated my variables to get:

S (1-x)/x^2 dx = S 1/y dy

Integration of left via partial fractions:

S 1/x^2 dx - S 1/x dx = -1/x - ln|x|

Integration of right :

S 1/y dy = ln|y|

therefore :

-1/x - ln|x| = ln|y| + C

Now this is the first Calc class I have taken in a while so I am assuming more than one error here:

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

Did I solve for y correctly here? If not is my issue in the integration? Also at what point is it best to solve for C in this equation?

Thank you in advance for any assistance.
 
Physics news on Phys.org
fd25t6 said:
Hello all, hoping to get a bit of help with a diff eq problem that goes like this:

Find an explicit solution of the given initial-value problem,

x^2*(dy/dx)=y-xy ; y(-1) = -6

I separated my variables to get:

S (1-x)/x^2 dx = S 1/y dy

Integration of left via partial fractions:

S 1/x^2 dx - S 1/x dx = -1/x - ln|x|

Integration of right :

S 1/y dy = ln|y|

therefore :

-1/x - ln|x| = ln|y| + C

You had it right up to here. That's definitely good.

Now this is the first Calc class I have taken in a while so I am assuming more than one error here:

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

Did I solve for y correctly here? If not is my issue in the integration? Also at what point is it best to solve for C in this equation?

Thank you in advance for any assistance.

You're kinda applying the exponential operator all wrong here. Your first step should look like

[tex]e^{-\frac{1}{x} - ln|x|} = e^{ln|y| + C}[/tex]

From there, you'll want to separate the terms on the left via the exponential rule:

[tex]e^{a+b} = e^a e^b[/tex]

You should get something akin to [itex]e^{-1/x} \times \frac{1}{x}[/itex] on the left side, and of course [itex]e^C y[/itex] on the right side. From there, it should be rather easy to simplify and plug in your initial condition to solve for e^C.