- #1
*Alice*
- 26
- 0
Hi all,
I'm new here and was wondering whether anyone could give me a hint on the following two problems about ODEs (oh...and also, can anyone tell me where can I find this formula editor?):
Problem 1
find the solution for
dy/dx + y = y^2 (cosx - sinx)
try substitution: f = y^n
so: dy/dx = 1/(n*y^(n-1)) * df/dx
so ODE becomes
df/dx + ny = ny^(n+1)(cosx - sinx)
let n = (-1)
df/dx - y = sinx - cosx
Integrating factor
k(x) = e^(-x)
so
y = Integral (k(x) * P(x)) / k(x) , where P(x) = sinx -cosx
giving:
y = [Integral (e^(-x) (sinx - cos))] / e^(-x)
here I got stuck, as I don't know how to integrate this
Problem 2
(lny - x) dy/dx - ylny =0
try : z = lny
giving: d*dz/dx = dy/dx
substituting in ODE:
(z-x)y*dz/dx - yz = 0
where y = e^z (>=0)
don't know how to go on from here!
THANKS SO MUCH FOR YOUR HELP!
I'm new here and was wondering whether anyone could give me a hint on the following two problems about ODEs (oh...and also, can anyone tell me where can I find this formula editor?):
Problem 1
find the solution for
dy/dx + y = y^2 (cosx - sinx)
try substitution: f = y^n
so: dy/dx = 1/(n*y^(n-1)) * df/dx
so ODE becomes
df/dx + ny = ny^(n+1)(cosx - sinx)
let n = (-1)
df/dx - y = sinx - cosx
Integrating factor
k(x) = e^(-x)
so
y = Integral (k(x) * P(x)) / k(x) , where P(x) = sinx -cosx
giving:
y = [Integral (e^(-x) (sinx - cos))] / e^(-x)
here I got stuck, as I don't know how to integrate this
Problem 2
(lny - x) dy/dx - ylny =0
try : z = lny
giving: d*dz/dx = dy/dx
substituting in ODE:
(z-x)y*dz/dx - yz = 0
where y = e^z (>=0)
don't know how to go on from here!
THANKS SO MUCH FOR YOUR HELP!