Linear Independence and Wronskian Checker

Check whether vectors are independent by row reduction, with the dependence relation if not, or check functions by computing their Wronskian symbolically.

S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho

…

Com es fa

  1. 1
    Pick a tab

    Choose vectors (rank) or functions (Wronskian).

  2. 2
    Enter the input

    Type one vector or one function per line.

  3. 3
    Set the test point

    For functions, choose x₀ and the sampling interval.

  4. 4
    Read the verdict

    See independent or dependent with the relation or W(x).

  5. 5
    Study the working

    Follow the row operations or the Wronskian matrix.

  6. 6
    Export

    Copy the result or print it with the working.

Sobre aquesta eina

A set of vectors is linearly independent when the only way to combine them into the zero vector is with every coefficient zero. For vectors of numbers the standard test is the rank: put the vectors in the columns of a matrix, row-reduce it, and count pivots. If the count equals the number of vectors, they are independent; if not, each free column gives an explicit relation such as v1 − 2v2 + v3 = 0, which is far more useful than a bare yes or no. Functions need a different tool, because you cannot row-reduce sin x. In differential equations the usual test is the Wronskian, the determinant of the matrix whose rows are the functions and their successive derivatives. If the Wronskian is non-zero at even one point of an interval, the functions are independent there. This checker does both jobs. The vectors tab row-reduces with exact fractions, shows each operation, reports the rank, the determinant when the matrix is square, whether the vectors span the whole space and a basis of their span. The functions tab differentiates symbolically, prints the Wronskian matrix and its simplified determinant, evaluates it at your test point and across an interval, and when the Wronskian vanishes it searches for constants that combine the functions to zero.

The vector test, step by step

Your vectors become the columns of A. Row reduction keeps the linear relations between columns, so the pivot columns of the reduced matrix mark a set of independent vectors, and each free column shows how one vector is built from the earlier pivot vectors. The tool scales each relation to whole numbers. If there are more vectors than entries in each vector, dependence is guaranteed, and the verdict says so.

The Wronskian test

For functions f1, …, fk the first row of the Wronskian matrix holds the functions, the second their first derivatives, and so on up to the (k − 1)th derivatives. Its determinant W(x) is computed symbolically for up to four functions and numerically for five. The tool samples W on your interval and draws it, so you can see where it is zero.

When the Wronskian is zero

A non-zero value anywhere proves independence. The converse fails: x³ and |x|³ have W = 0 everywhere yet are independent on any interval containing 0. So when W vanishes, the tool samples the functions at many points and looks for constants that make the combination zero at all of them. If it finds them, as for sin²x, cos²x and 1, it reports dependence with the relation; if not, it says the test is inconclusive. For solutions of one linear differential equation, W = 0 does imply dependence.

Worked example

Enter the vectors (1, 2, 3), (4, 5, 6) and (7, 8, 9). With them as columns, five row operations reach the RREF with rows 1 0 −1, 0 1 2 and a zero row. The rank is 2, less than 3, so the vectors are dependent, the determinant is 0, and the free third column gives the relation v1 − 2v2 + v3 = 0. A basis of the span is v1 and v2. On the functions tab, e^x, e^(2x) and e^(3x) give W(x) = 2e^(6x), which equals 2 at x = 0, so the three exponentials are independent.

Limits

Vectors up to ten entries and up to ten vectors are accepted, and up to five functions. Symbolic simplification may print an expression that is correct but not in its shortest form. The numeric search for a relation uses sample points and can miss a relation that only holds outside the interval you chose.

Exemple resolt

(1, 2, 3), (4, 5, 6), (7, 8, 9): rank 2, dependent, v1 − 2v2 + v3 = 0; e^x, e^(2x), e^(3x): W = 2e^(6x).

En resum

Preguntes freqüents

How do I know if vectors are linearly independent?

Put them in the columns of a matrix and row-reduce. They are independent exactly when every column has a pivot, that is when the rank equals the number of vectors.

What is a dependence relation?

A set of coefficients, not all zero, that combine the vectors into the zero vector. The tool reads one from each free column of the reduced matrix and writes it with whole numbers.

Is a zero determinant the same as dependence?

For n vectors in ℝⁿ, yes: the determinant is zero exactly when they are dependent. For a different number of vectors the matrix is not square, and the rank test is the one to use.

What is the Wronskian?

The determinant of the matrix of the functions and their derivatives up to order k − 1. A non-zero value at some point shows the functions are linearly independent on the interval.

My Wronskian is zero. Are the functions dependent?

Not necessarily. The tool then searches for constants that make the combination vanish. If it finds them, the functions are dependent; if not, as with x³ and |x|³, the test is inconclusive.

Which function syntax can I use?

Use x as the variable, ^ for powers, * for products, and sin, cos, tan, e^x or exp, ln, sqrt and abs. Write e^(2*x) with brackets around the exponent.

Totalment gratisSense cost, sense registre
Els fitxers es mantenen privatsTot funciona al teu navegador
Fàcil en el teu idiomaDisponible en molts idiomes