I know there's a difference between the linear algebra "linear function" and the "affine function", but it confused me about what we consider a "linear equation" -precisely how many variables allowed, what order could a variable carry?

  • $\begingroup$ A linear equation is an equation of the form $\sum_{k=1}^n a_kx_k = c$ for variables $\{x_k\}_{k=1}^n$ and constants $\{a_k\}_{k=1}^n$ and $c$. $\endgroup$ – Michael L. Aug 22 '17 at 15:05
  • $\begingroup$ Thanks a lot, what does "c" means in the sum? is it a parameter? $\endgroup$ – lun Aug 22 '17 at 16:48
  • $\begingroup$ As I said, it is an arbitrary constant. $\endgroup$ – Michael L. Aug 22 '17 at 20:33
  • $\begingroup$ I don't know what "what order could a variable carry" means. $\endgroup$ – Gerry Myerson Aug 27 '17 at 2:54

Here are various comments on linear functions versus linear equations.

First there is the idea of a linear combination. Essentially, linear combination means a "sum of multiples" of something. For example


is a linear combination of the variables $x,y$ and $z$, that is, a sum of multiples of $x,y$ and $z$.

If you set this expression equal to a constant value such as


then you have a linear equation.

A linear function, on the other hand, is a function with the property that the function of a linear combination of two or more variables equals the same linear combination of the function of the two variables. This definition is difficult to understand without an example.

Let $f(x)=3x$. Then find $f(4a+7b)$



Now look at the same linear combination of $f(a)$ and $f(b)$.


It is the same. That is


This notion of linearity occurs in many areas of mathematics.

Notice, for example, that definite integrals are linear. For example


Differentiation is also linear. For example

$$ \frac{d}{dx}\left(3\sin x+5e^x\right)=3\frac{d}{dx}\sin x+5\frac{d}{dx}e^x $$

Should, at some point, you study Laplace transforms you will find that they are linear transforms.

$$ \mathcal{L}\{a\cdot f(t)+b\cdot g(t)\}=a\cdot\mathcal{L}\{f(t)\}+b\cdot\mathcal{L}\{g(t)\} $$

  • $\begingroup$ In fact a linear equation is nothing but $f(x)=y$ for some linear function $f$. $\endgroup$ – user856 Aug 27 '17 at 1:53
  • $\begingroup$ @Rahul I was afraid that I had already gone on at too great a length. $\endgroup$ – John Wayland Bales Aug 27 '17 at 1:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.