Does anyone know how I would write a matrix and find the Wronskian for these functions in Mathematica:
y1=x^3+2x^2
y2=3x^2-2x
y3=14x^2-x^5
y4=9x^2+2x+6
y5=2x^2+5x+6
Does anyone know how I would write a matrix and find the Wronskian for these functions in Mathematica:
y1=x^3+2x^2
y2=3x^2-2x
y3=14x^2-x^5
y4=9x^2+2x+6
y5=2x^2+5x+6
Wronskian is an inbuilt function:
y = {x^3 + 2 x^2, 3 x^2 - 2 x, 14 x^2 - x^5, 9 x^2 + 2 x + 6, 2 x^2 + 5 x + 6};
Wronskian[y, x]
(* -43200 x *)
The matrix:
m = Table[D[y[[i]], {x, j}], {i, Length[y]}, {j, 0, Length[y] - 1}];
m // MatrixForm
Det[m]
(* -43200 x *)