Testing Linear Independence of 3 Functions

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
8 replies · 2K views
CalcYouLater
Messages
51
Reaction score
0

Homework Statement


I have five sets of three functions that I need to test for linear independence. I know that I could write them as a linear combination of scalar multiples of the functions, set it equal to 0 and see if I can solve for the scalar multiples. To clarify I mean:

Functions:
[tex]cos(x),cos(2x),cos(3x)[/tex]

[tex]a_{1}cos(x)+a_{2}cos(2x)+a_{3}cos(3x)=0[/tex]

Since the only solutions to that equation are a_1=a_2=a_3=0, the functions are linearly independent.

I also know that I could use the Wronskian of the functions, but this is time consuming and can lead to meaningless information.

Does anyone know of a more efficient method to determine if 3 functions are linearly independent or dependent?
 
Physics news on Phys.org
Hi. Thanks for responding. I just went back over my work, and it looks like I basically just made an assumption. Thanks for calling my attention to it. I first attempted to find the determinant of a 3X3 matrix containing the cosine functions listed above and their derivatives. If the determinant was not equal to 0, then I would say that they are linearly independent. I began to work out the expression, but it was a nightmare. So, I started thinking about what a graph of the function looked like. I figured that since each one had a different frequency, none of them could be written as a linear combination of one or more of the others. Now, that line of reasoning doesn't seem so airtight. Is it possible to have an interference in a wave such that the "new" wave has a different frequency than the "old" wave?
 
The Wronskian is probably the easiest rigorous method to use and it probably what your prof is expecting. There are other ways to show the result (Fourier analysis techniques for example) but they rely on a lot of results that you probably aren't meant to assume for your course.
 
Of course, I should have thought about orthogonality. Their inner product with cos nx is non-zero (provided n=1,2,3 for cos(x),cos(2x),cos(3x)). Thanks for the insight, I think this will make things faster.
 
I was thinking in terms of solving the Wronskian analytically. That's why I thought it would be a nightmare, I was thinking about possible trig substitutions and I was getting over-whelmed. Plugging in values of x makes sense. My expression for the Wronskian shows clearly there are more than a few choices here. This method seems like it will work well when the functions are all in different families.
 
Worst case scenario, just start plugging values of x into your expression
[tex] a_{1}cos(x)+a_{2}cos(2x)+a_{3}cos(3x)=0[/tex]

For example, if we plug in x=0 we get
[tex]a_1 + a_2 + a_3=0[/tex].

if we plug in x=pi/2 we get

[tex]-a_2=0[/tex]

And if x=pi/3:

[tex]\frac{a_1}{2}-\frac{a_2}{2}-a_3=0[/tex]

Use these to solve for the only possible choice of [tex]a_1,a_2,a_3[/tex]