Skip to main content
Search IntMath
Close

IntMath forum | Differential Equations

dy/dx = xe^(y-2x), form differntial eqaution [Solved!]

My question

`dy/dx = xe^(y-2x)` , i am asked to form differential equation using this equation . the ans given is

`e^-y = 0.5(e^(-2x))(x+0.5) + a`

how to get the answer?

Relevant page

2. Separation of Variables

What I've done so far

`dy/dx=xe^(y-2x)`

`dy/dx=x(e^y)/(e^(-2x))`

`e^(-y)dy = xe^(-2x)dx`

`int e^(-y)dy = int xe^(-2x)dx`

`-e^(-y) = -1/2int -2xe^(-2x)dx`

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

X

`dy/dx = xe^(y-2x)` , i am asked to form differential equation using this equation . the ans given is 

`e^-y = 0.5(e^(-2x))(x+0.5) + a` 

how to get the answer?
Relevant page

<a href="/differential-equations/2-separation-variables.php">2. Separation of Variables</a>

What I've done so far

`dy/dx=xe^(y-2x)`

`dy/dx=x(e^y)/(e^(-2x))`

`e^(-y)dy = xe^(-2x)dx`

`int e^(-y)dy = int xe^(-2x)dx`

`-e^(-y) = -1/2int -2xe^(-2x)dx`

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

Re: dy/dx = xe^(y-2x), form differntial eqaution

Hello

I don't believe your question says "form a differential equation" since your question is already a differential equation! Perhaps the original says "Solve the differential equation"?

Your working for the first 4 lines is correct, but your answer for the integral `int xe^(-2x) dx` is not. (A hint: It's a product, not a straightforward integral.)

This page should help: Integration by Parts. Example 5 is almost identical to the integral you need to do (actually, yours requires less steps).

X

Hello

I don't believe your question says "form a differential equation" since your question is <b>already</b> a differential equation! Perhaps the original says "Solve the differential equation"?

Your working for the first 4 lines is correct, but your answer for the integral `int xe^(-2x) dx` is not. (A hint: It's a product, not a straightforward integral.)

This page should help: <a href="http://www.intmath.com/methods-integration/7-integration-by-parts.php">Integration by Parts</a>. Example 5 is almost identical to the integral you need to do (actually, yours requires less steps).

Re: dy/dx = xe^(y-2x), form differntial eqaution

It seems grabbitmedia has disappeared. Anyone else like to have a go at finishing this?

X

It seems grabbitmedia has disappeared. Anyone else like to have a go at finishing this?

Re: dy/dx = xe^(y-2x), form differntial eqaution

Using Integration by Parts, put

`u = x` and `dv = e^(-2x)dx`

This gives

`du=dx` and `v=-(e^(-2x))/2`

Then

`int u dv = uv - int vdu`

means

`int xe^(-2x)dx = x(-e^(-2x)/2)-int-(e^(-2x))/2dx`

`=-xe^(-2x)/2-(e^(-2x))/4`

`=-(e^(-2x))(x/2+1/4)+C`

Putting it all together, it's

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

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

X

Using Integration by Parts, put 

`u = x` and `dv = e^(-2x)dx`

This gives

`du=dx` and `v=-(e^(-2x))/2`

Then

`int u dv = uv - int vdu`

means

`int xe^(-2x)dx = x(-e^(-2x)/2)-int-(e^(-2x))/2dx`

`=-xe^(-2x)/2-(e^(-2x))/4`

`=-(e^(-2x))(x/2+1/4)+C`

Putting it all together, it's

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

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

Re: dy/dx = xe^(y-2x), form differntial eqaution

Looks good to me, stephenB!

X

Looks good to me, stephenB!

Reply

You need to be logged in to reply.

Related Differential Equations questions

  • Re: ODE [Pending...]
    You haven't shown any working so I can't see where you are getting stuck. Your...
  • polygons [Solved!]
    Trying to find the area of a honey comb. My answer does not equal...
  • Differential equation - has y^2 [Solved!]
    I am seraching a solution of: c1*y^2+c2+dy/dx = 0 c1 and c2 are constants
  • Re: Differential equation: separable [Solved!]
    Integrating both sides of int 1/(-3x) dx = int 1/y dy gives -1/3 ln|x| = ln|y| + K...
  • ODE seperable method [Solved!]
    (y/x)*(dy/dx)=sqrt(1+x^2+y^2+x^2*y^2)

Differential Equations lessons on IntMath

top

Tips, tricks, lessons, and tutoring to help reduce test anxiety and move to the top of the class.