Vol
- 16
- 3
h(x) = cf(x) + kg(x) is the linear combination of functions. What makes it linear?
Wikipedia said:In mathematics, a linear combination is an expression constructed from a set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of x and y would be any expression of the form ax + by, where a and b are constants).
The absence of any operation other than addition and scalar multiplication.Vol said:h(x) = cf(x) + kg(x) is the linear combination of functions. What makes it linear?
Do you mean to ask whether the expression cf(x)+kg(x) is linear or whether h(x) is linear ( It is not necessarily linear)?Vol said:h(x) = cf(x) + kg(x) is the linear combination of functions. What makes it linear?
Here's what the OP wrote:WWGD said:Do you mean to ask whether the expression cf(x)+kg(x) is linear or whether h(x) is linear ( It is not necessarily linear)?
I believe he was asking about the meaning of the expression "linear combination," and not whether either of the constituent functions was linear.Vol said:h(x) = cf(x) + kg(x) is the linear combination of functions.
What you wrote is incorrect. It is the fact that ##f(x)## and ##g(x)## appear with to the power of 1 that makes it a linear combination. What you wrote about ##c## and ##k## doesn't make sense:RPinPA said:I don't know the history of the term. I do know the expression is linear in the parameters ##c## and ##k##, neither appears with an exponent greater than 1. Because of that if you are doing curve fitting to this form, trying to find the optimal values of ##c## and ##k## for a given fixed ##f(x)## and ##g(x)##, then you use linear least squares. Exactly the same procedure as fitting a straight line.
DrClaude said:What you wrote about ##c## and ##k## doesn't make sense:
DrClaude said:##h(x)=cf(x)+w^2g(x)##
This is the answer to a question which wasn't posed. Furthermore it is definitely wrong. As you can see, the LHS of ##h(x) = cf(x) + kg(x)## depends on ##x## and does not depend on neither ##c## nor ##k## of the RHS. This makes ##c,k## scalars. To implicitly assume such a dependency, despite it is explicitly ruled out, is a misinformation here and yes, wrong.RPinPA said:do know the expression is linear in the parameters ccc and kkk, neither appears with an exponent greater than 1.