Proving linear independence of two functions in a vector space

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
fatpotato
TL;DR
Proving linear independence of two simple functions in a vector space. Exercice is from a textbook, but solution seems incoherent.
Hello,

I am doing a vector space exercise involving functions using the free linear algebra book from Jim Hefferon (available for free at http://joshua.smcvt.edu/linearalgebra/book.pdf) and I have trouble with the author's solution for problem II.1.24 (a) of page 117, which goes like this :

Prove that each set ##\{f,g\}## is linearly independent in the vector space of all functions ## \mathbb{R}^+ \rightarrow \mathbb{R}##. In this case at point (a) of exercise with ##f(x) = x , g(x) = \frac{1}{x}##

If I understand correctly, I need to show that the only solution to the linear combination of ##f## and ##g## such that ## c_1 f + c_2 g = 0## is the trivial solution, where ## c_1 = c_2 = 0##.

By choosing ##c_1 = 1## and ##c_2 = -1##, I get :

$$ c_1 f + c_2 g = 0 \iff c_1f = -c_2g \iff f = g \iff x = \frac{1}{x}$$

Now, there is indeed a value of ##x## such that this equation is satisfied for non-zero coefficients, with ##x=1##, thus implying that, for at least one value of ##x##, there is a solution to the previous linear combination, so the functions are linearly independent.

However, the author clearly says that these functions are linearly independent (see correction at http://joshua.smcvt.edu/linearalgebra/jhanswer.pdf#ans.Two.II.1.24). What am I doing wrong? Should I only take the two functions in their most general sense, without evaluating them for a given ##x##?

Thank you.

Edit : spelling
 
Last edited by a moderator:
on Phys.org
Hello,

Thank you, I was not sure whether a single occurrence would prove linear dependance. I will keep in mind that it has to hold for all x.

Best regards
 
fatpotato said:
Summary:: Proving linear independence of two simple functions in a vector space. Exercice is from a textbook, but solution seems incoherent.

Hello,

I am doing a vector space exercise involving functions using the free linear algebra book from Jim Hefferon (available for free at http://joshua.smcvt.edu/linearalgebra/book.pdf) and I have trouble with the author's solution for problem II.1.24 (a) of page 117, which goes like this :

Prove that each set ##\{f,g\}## is linearly independent in the vector space of all functions ## \mathbb{R}^+ \rightarrow \mathbb{R}##. In this case at point (a) of exercise with ##f(x) = x , g(x) = \frac{1}{x}##

If I understand correctly, I need to show that the only solution to the linear combination of ##f## and ##g## such that ## c_1 f + c_2 g = 0## is the trivial solution, where ## c_1 = c_2 = 0##.

By choosing ##c_1 = 1## and ##c_2 = -1##, I get :

$$ c_1 f + c_2 g = 0 \iff c_1f = -c_2g \iff f = g \iff x = \frac{1}{x}$$

Now, there is indeed a value of ##x## such that this equation is satisfied for non-zero coefficients, with ##x=1##, thus implying that, for at least one value of ##x##, there is a solution to the previous linear combination, so the functions are linearly independent.

However, the author clearly says that these functions are linearly independent (see correction at http://joshua.smcvt.edu/linearalgebra/jhanswer.pdf#ans.Two.II.1.24). What am I doing wrong? Should I only take the two functions in their most general sense, without evaluating them for a given ##x##?

Thank you.

Edit : spelling
Like @martinbn wrote, the 0 here is the zero _function_ , which is 0 for all arguments and not the _ number_ 0.
 
  • Like
Likes   Reactions: fatpotato
WWGD said:
which is 0 for all arguments
This is what clicked for me. As a shortcut, I assumed it had to be zero, and not zero for all arguments.

Thank you for your contribution!
 
  • Like
Likes   Reactions: WWGD
fatpotato said:
This is what clicked for me. As a shortcut, I assumed it had to be zero, and not zero for all arguments.

Thank you for your contribution!
With your definition of linear independence, how could any two functions ever be linearly indepedent? Let ##f(x)## and ##g(x)## be functions. Take any value ##x = a##. If ##f(a) = 0## or ##g(a) = 0##, then we have ##f(a) + 0.g(a) = 0## etc. And if ##f(a), g(a) \ne 0##, then ##f(a) - \frac{f(a)}{g(a)} g(a) = 0##.

In other words, any two numbers cannot be linearly independent.