How to covert this differential equation into a system of one order ODE?(adsbygoogle = window.adsbygoogle || []).push({});

(require covert the equation into a system of 1st-order equations and solve by using ode23 in matlab)

x^2*y''-2*x*y'+2*y = 0;

y(1) = 4; y'(1)=0;

solve for y(x)

I tried to convert it

get

X' = AX

in which

X = [y, z]'

A = [0, 1; 2/x^2, 2/x];

But x exists in A, which cannot solve by dsolve in Matlab.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Covert differential equation into a system of 1st order ODE?

**Physics Forums | Science Articles, Homework Help, Discussion**