<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Linear_combination</id>
	<title>Linear combination - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Linear_combination"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Linear_combination&amp;action=history"/>
	<updated>2026-12-04T02:17:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki1463/index.php?title=Linear_combination&amp;diff=36810&amp;oldid=prev</id>
		<title>imported&gt;Lemondoge: Partially undid revision 1378187748 by Jacobolus (talk) - you accidentally removed the display=&quot;block&quot; stuff as well</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Linear_combination&amp;diff=36810&amp;oldid=prev"/>
		<updated>2026-10-03T18:47:02Z</updated>

		<summary type="html">&lt;p&gt;Partially undid revision &lt;a href=&quot;/wiki1463/index.php?title=Special:Diff/1378187748&quot; title=&quot;Special:Diff/1378187748&quot;&gt;1378187748&lt;/a&gt; by &lt;a href=&quot;/wiki1463/index.php?title=Special:Contributions/Jacobolus&quot; title=&quot;Special:Contributions/Jacobolus&quot;&gt;Jacobolus&lt;/a&gt; (&lt;a href=&quot;/wiki1463/index.php?title=User_talk:Jacobolus&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Jacobolus (page does not exist)&quot;&gt;talk&lt;/a&gt;) - you accidentally removed the display=&amp;quot;block&amp;quot; stuff as well&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Sum of terms, each multiplied with a scalar}}{{Redirects|Superposition|3=superposition (disambiguation)}}&lt;br /&gt;
[[File:Linjcomb.png|thumb|upright 1.5|&amp;lt;math&amp;gt;\mathbf v &amp;lt;/math&amp;gt; is the linear combination of vectors &amp;lt;math&amp;gt;\mathbf u_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf u_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\mathbf v = 2 \cdot \mathbf u_1 + 1.5 \cdot \mathbf u_2 &amp;lt;/math&amp;gt;]]&lt;br /&gt;
In [[mathematics]], a &amp;#039;&amp;#039;&amp;#039;linear combination&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;superposition&amp;#039;&amp;#039;&amp;#039; is an [[Expression (mathematics)|expression]] constructed from a [[Set (mathematics)|set]] of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;y&amp;#039;&amp;#039; would be any expression of the form &amp;#039;&amp;#039;ax&amp;#039;&amp;#039; + &amp;#039;&amp;#039;by&amp;#039;&amp;#039;, where &amp;#039;&amp;#039;a&amp;#039;&amp;#039; and &amp;#039;&amp;#039;b&amp;#039;&amp;#039; are constants).&amp;lt;ref&amp;gt;{{Harvard citation text|Strang|2016}} p. 3, § 1.1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Harvard citation text|Lay|Lay|McDonald|2016}} p. 28, ch. 1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Harvard citation text|Axler|2015}} p. 28, § 2.3&amp;lt;/ref&amp;gt; The concept of linear combinations is central to [[linear algebra]] and related fields of mathematics. Most of this article deals with linear combinations in the context of a [[vector space]] over a [[field (mathematics)|field]], with some generalizations given at the end of the article.&lt;br /&gt;
&lt;br /&gt;
== Definition==&lt;br /&gt;
Let &amp;#039;&amp;#039;V&amp;#039;&amp;#039; be a [[vector space]] over the field &amp;#039;&amp;#039;K&amp;#039;&amp;#039;. As usual, we call elements of &amp;#039;&amp;#039;V&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[vector space|vector]]s&amp;#039;&amp;#039; and call elements of &amp;#039;&amp;#039;K&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[scalar (mathematics)|scalars]]&amp;#039;&amp;#039;.&lt;br /&gt;
If &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; are vectors and &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; are scalars, then the &amp;#039;&amp;#039;linear combination of those vectors with those scalars as coefficients&amp;#039;&amp;#039; is&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a_1 \mathbf v_1 + a_2 \mathbf v_2 + a_3 \mathbf v_3 + \cdots + a_n \mathbf v_n.&amp;lt;/math&amp;gt;&lt;br /&gt;
There is some ambiguity in the use of the term &amp;quot;linear combination&amp;quot; as to whether it refers to the expression or to its value. In most cases the value is emphasized, as in the assertion &amp;quot;the set of all linear combinations of &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; always forms a subspace&amp;quot;. However, one could also say &amp;quot;two different linear combinations can have the same value&amp;quot; in which case the reference is to the expression. The subtle difference between these uses is the essence of the notion of [[linear dependence]]: a family &amp;#039;&amp;#039;F&amp;#039;&amp;#039; of vectors is linearly independent precisely if any linear combination of the vectors in &amp;#039;&amp;#039;F&amp;#039;&amp;#039; (as value) is uniquely so (as expression). In any case, even when viewed as expressions, all that matters about a linear combination is the coefficient of each &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;i&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;; trivial modifications such as permuting the terms or adding terms with zero coefficient do not produce distinct linear combinations.&lt;br /&gt;
&lt;br /&gt;
In a given situation, &amp;#039;&amp;#039;K&amp;#039;&amp;#039; and &amp;#039;&amp;#039;V&amp;#039;&amp;#039; may be specified explicitly, or they may be obvious from context. In that case, we often speak of &amp;#039;&amp;#039;a linear combination of the vectors&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;, with the coefficients unspecified (except that they must belong to &amp;#039;&amp;#039;K&amp;#039;&amp;#039;). Or, if &amp;#039;&amp;#039;S&amp;#039;&amp;#039; is a [[subset]] of &amp;#039;&amp;#039;V&amp;#039;&amp;#039;, we may speak of &amp;#039;&amp;#039;a linear combination of vectors in S&amp;#039;&amp;#039;, where both the coefficients and the vectors are unspecified, except that the vectors must belong to the set &amp;#039;&amp;#039;S&amp;#039;&amp;#039; (and the coefficients must belong to &amp;#039;&amp;#039;K&amp;#039;&amp;#039;). Finally, we may speak simply of &amp;#039;&amp;#039;a linear combination&amp;#039;&amp;#039;, where nothing is specified (except that the vectors must belong to &amp;#039;&amp;#039;V&amp;#039;&amp;#039; and the coefficients must belong to &amp;#039;&amp;#039;K&amp;#039;&amp;#039;); in this case one is probably referring to the expression, since every vector in &amp;#039;&amp;#039;V&amp;#039;&amp;#039; is certainly the value of some linear combination.&lt;br /&gt;
&lt;br /&gt;
Note that by definition, a linear combination involves only [[finite set|finite]]ly many vectors, except as described in the {{section link||Generalizations}} section.&lt;br /&gt;
However, the set &amp;#039;&amp;#039;S&amp;#039;&amp;#039; that the vectors are taken from (if one is mentioned) can still be [[Infinity|infinite]]; each individual linear combination will only involve finitely many vectors.&lt;br /&gt;
Also, there is no reason that &amp;#039;&amp;#039;n&amp;#039;&amp;#039; cannot be [[0 (number)|zero]]; in that case, we declare by convention that the result of the linear combination is the [[zero vector]] in &amp;#039;&amp;#039;V&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Examples and counterexamples ==&lt;br /&gt;
{{inline citations|section|date=August 2013}}&lt;br /&gt;
&lt;br /&gt;
=== Euclidean vectors ===&lt;br /&gt;
Let the field &amp;#039;&amp;#039;K&amp;#039;&amp;#039; be the set &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039; of [[real number]]s, and let the vector space &amp;#039;&amp;#039;V&amp;#039;&amp;#039; be the [[Euclidean space]] &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;.&lt;br /&gt;
Consider the vectors {{nowrap|1=&amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; = (1,0,0)}}, {{nowrap|1=&amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; = (0,1,0)}} and {{nowrap|1=&amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; = (0,0,1)}}.&lt;br /&gt;
Then &amp;#039;&amp;#039;any&amp;#039;&amp;#039; [[Euclidean vector|vector]] in &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; is a linear combination of &amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, and&amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To see that this is so, take an arbitrary vector (&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;) in &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;, and write:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
( a_1 , a_2 , a_3) &amp;amp; = ( a_1 ,0,0) + (0, a_2 ,0) + (0,0, a_3) \\[6pt]&lt;br /&gt;
&amp;amp; =  a_1 (1,0,0) + a_2 (0,1,0) + a_3 (0,0,1) \\[6pt]&lt;br /&gt;
&amp;amp; =  a_1 \mathbf e_1 +  a_2 \mathbf e_2 + a_3 \mathbf e_3.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Functions ===&lt;br /&gt;
Let &amp;#039;&amp;#039;K&amp;#039;&amp;#039; be the set &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; of all [[complex number]]s, and let &amp;#039;&amp;#039;V&amp;#039;&amp;#039; be the set C&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;(&amp;#039;&amp;#039;R&amp;#039;&amp;#039;) of all [[continuous function]]s from the [[real line]] &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039; to the [[complex plane]] &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
Consider the vectors (functions) &amp;#039;&amp;#039;f&amp;#039;&amp;#039; and &amp;#039;&amp;#039;g&amp;#039;&amp;#039; defined by &amp;#039;&amp;#039;f&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)&amp;amp;nbsp;:= &amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;it&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; and &amp;#039;&amp;#039;g&amp;#039;&amp;#039;(&amp;#039;&amp;#039;t&amp;#039;&amp;#039;)&amp;amp;nbsp;:= &amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;−&amp;#039;&amp;#039;it&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;.&lt;br /&gt;
(Here, &amp;#039;&amp;#039;e&amp;#039;&amp;#039; is the [[e (mathematical constant)|base of the natural logarithm]], about 2.71828..., and &amp;#039;&amp;#039;i&amp;#039;&amp;#039; is the [[imaginary unit]], a square root of −1.)&lt;br /&gt;
Some linear combinations of &amp;#039;&amp;#039;f&amp;#039;&amp;#039; and &amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;amp;nbsp;are:&lt;br /&gt;
*&amp;lt;div style=&amp;quot;vertical-align: 0%;display:inline;&amp;quot;&amp;gt;&amp;lt;math&amp;gt; \cos t = \tfrac12 \, e^{i t} + \tfrac12 \, e^{-i t} &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt; &lt;br /&gt;
*&amp;lt;div style=&amp;quot;vertical-align: 0%;display:inline;&amp;quot;&amp;gt;&amp;lt;math&amp;gt; 2 \sin t = (-i) e^{i t} + (i) e^{-i t}. &amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt; &lt;br /&gt;
On the other hand, the constant function 3 is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; a linear combination of &amp;#039;&amp;#039;f&amp;#039;&amp;#039; and &amp;#039;&amp;#039;g&amp;#039;&amp;#039;. To see this, suppose that 3 could be written as a linear combination of &amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;it&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; and &amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;−&amp;#039;&amp;#039;it&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;. This means that there would exist complex scalars &amp;#039;&amp;#039;a&amp;#039;&amp;#039; and &amp;#039;&amp;#039;b&amp;#039;&amp;#039; such that {{nowrap|1=&amp;#039;&amp;#039;ae&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;it&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; + &amp;#039;&amp;#039;be&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;−&amp;#039;&amp;#039;it&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; = 3}} for all real numbers &amp;#039;&amp;#039;t&amp;#039;&amp;#039;. Setting &amp;#039;&amp;#039;t&amp;#039;&amp;#039; = 0 and &amp;#039;&amp;#039;t&amp;#039;&amp;#039; = π gives the equations {{nowrap|1=&amp;#039;&amp;#039;a&amp;#039;&amp;#039; + &amp;#039;&amp;#039;b&amp;#039;&amp;#039; = 3}} and {{nowrap|1=&amp;#039;&amp;#039;a&amp;#039;&amp;#039; + &amp;#039;&amp;#039;b&amp;#039;&amp;#039; = −3}}, and clearly this cannot happen.  {{Crossref|(See [[Euler&amp;#039;s identity]].)}}&lt;br /&gt;
&lt;br /&gt;
=== Polynomials ===&lt;br /&gt;
Let &amp;#039;&amp;#039;K&amp;#039;&amp;#039; be &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039;, or any field, and let &amp;#039;&amp;#039;V&amp;#039;&amp;#039; be the set &amp;#039;&amp;#039;P&amp;#039;&amp;#039; of all [[polynomial]]s with coefficients taken from the field &amp;#039;&amp;#039;K&amp;#039;&amp;#039;.&lt;br /&gt;
Consider the vectors (polynomials) &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;amp;nbsp;:=&amp;amp;nbsp;1, {{nowrap|1=&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; := &amp;#039;&amp;#039;x&amp;#039;&amp;#039; + 1}}, and {{nowrap|1=&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; := &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; + &amp;#039;&amp;#039;x&amp;#039;&amp;#039; + 1}}.&lt;br /&gt;
&lt;br /&gt;
To find out whether &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;−&amp;amp;nbsp;1 is a linear combination of &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, and &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;,&lt;br /&gt;
we consider an arbitrary linear combination of these vectors and try to see when it equals the desired vector &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;−&amp;amp;nbsp;1.&lt;br /&gt;
Picking arbitrary coefficients &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, and &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;, we&amp;amp;nbsp;want&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; a_1 (1) + a_2 ( x + 1) +  a_3 ( x^2 + x + 1) =  x^2 - 1. &amp;lt;/math&amp;gt;&lt;br /&gt;
Multiplying the polynomials out, this&amp;amp;nbsp;means&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; ( a_1 ) + ( a_2 x + a_2) + ( a_3 x^2 + a_3 x + a_3) =  x^2 - 1 &amp;lt;/math&amp;gt; &lt;br /&gt;
and collecting like powers of &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, we&amp;amp;nbsp;get&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; a_3 x^2 + ( a_2 + a_3 ) x + ( a_1 + a_2 + a_3 ) = 1 x^2 + 0 x + (-1). &amp;lt;/math&amp;gt; &lt;br /&gt;
Two polynomials are equal [[if and only if]] their corresponding coefficients are equal, so we can conclude&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; a_3 = 1, \quad a_2 + a_3 = 0, \quad a_1 + a_2 + a_3 = -1. &amp;lt;/math&amp;gt; &lt;br /&gt;
This [[system of linear equations]] can easily be solved.&lt;br /&gt;
First, the first equation simply says that &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; is 1.&lt;br /&gt;
Knowing that, we can solve the second equation for &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, which comes out to −1.&lt;br /&gt;
Finally, the last equation tells us that &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; is also −1.&lt;br /&gt;
Therefore, the only possible way to get a linear combination is with these coefficients.&lt;br /&gt;
Indeed,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; x^2 - 1 = -1 - ( x + 1) + ( x^2 + x + 1) = - p_1 -  p_2 +  p_3 &amp;lt;/math&amp;gt;&lt;br /&gt;
so &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;−&amp;amp;nbsp;1 &amp;#039;&amp;#039;is&amp;#039;&amp;#039; a linear combination of &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, and&amp;amp;nbsp;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
On the other hand, if we try to make &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;amp;nbsp;−&amp;amp;nbsp;1 a linear combination of &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, and &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;, then following the same process as before, we get the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
&amp;amp; 0 x^3 + a_3 x^2 + ( a_2 + a_3 ) x + ( a_1 + a_2 + a_3 ) \\[5pt]&lt;br /&gt;
= {} &amp;amp; 1 x^3 + 0 x^2 + 0 x + (-1).&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, when we set corresponding coefficients equal in this case, the equation for &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;amp;nbsp;is&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; 0 = 1 &amp;lt;/math&amp;gt; &lt;br /&gt;
which is always false.&lt;br /&gt;
Therefore, there is no way for this to work, and &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&amp;amp;nbsp;−&amp;amp;nbsp;1 is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; a linear combination of &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, &amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, and&amp;amp;nbsp;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== The linear span ==&lt;br /&gt;
{{main article|Linear span}}&lt;br /&gt;
&lt;br /&gt;
Take an arbitrary field &amp;#039;&amp;#039;K&amp;#039;&amp;#039;, an arbitrary vector space &amp;#039;&amp;#039;V&amp;#039;&amp;#039;, and let &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; be vectors (in &amp;#039;&amp;#039;V&amp;#039;&amp;#039;).&lt;br /&gt;
It is interesting to consider the set of &amp;#039;&amp;#039;all&amp;#039;&amp;#039; linear combinations of these vectors.&lt;br /&gt;
This set is called the &amp;#039;&amp;#039;[[linear span]]&amp;#039;&amp;#039; (or just &amp;#039;&amp;#039;span&amp;#039;&amp;#039;) of the vectors, say &amp;#039;&amp;#039;S&amp;#039;&amp;#039; = {&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, ..., &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}. We write the span of &amp;#039;&amp;#039;S&amp;#039;&amp;#039; as span(&amp;#039;&amp;#039;S&amp;#039;&amp;#039;)&amp;lt;ref&amp;gt;{{Harvard citation text|Axler|2015}} pp. 29-30, §§ 2.5, 2.8&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Harvard citation text|Katznelson|Katznelson|2008}} p. 9, § 1.2.3&amp;lt;/ref&amp;gt; or sp(&amp;#039;&amp;#039;S&amp;#039;&amp;#039;):&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; \operatorname{span}( \mathbf v_1 ,\ldots, \mathbf v_n) := \{ a_1 \mathbf v_1 + \cdots + a_n \mathbf v_n : a_1 ,\ldots, a_n \in K \}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Linear independence ==&lt;br /&gt;
{{main|Linear independence}}&lt;br /&gt;
Suppose that, for some sets of vectors &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;,&lt;br /&gt;
a single vector can be written in two different ways as a linear combination of them:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\mathbf v = \sum_i a_i \mathbf v_i = \sum_i b_i \mathbf v_i\text{ where } a_i \neq b_i.&amp;lt;/math&amp;gt;&lt;br /&gt;
This is equivalent, by subtracting these (&amp;lt;math&amp;gt;c_i := a_i - b_i&amp;lt;/math&amp;gt;), to saying a non-trivial combination is zero:&amp;lt;ref&amp;gt;{{Harvard citation text|Axler|2015}} pp. 32-33, §§ 2.17, 2.19&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Harvard citation text|Katznelson|Katznelson|2008}} p. 14, § 1.3.2&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\mathbf 0 = \sum_i c_i \mathbf v_i.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that is possible, then &amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; are called &amp;#039;&amp;#039;[[linearly dependent]]&amp;#039;&amp;#039;; otherwise, they are &amp;#039;&amp;#039;linearly independent&amp;#039;&amp;#039;.&lt;br /&gt;
Similarly, we can speak of linear dependence or independence of an arbitrary set &amp;#039;&amp;#039;S&amp;#039;&amp;#039; of vectors.&lt;br /&gt;
&lt;br /&gt;
If &amp;#039;&amp;#039;S&amp;#039;&amp;#039; is linearly independent and the span of &amp;#039;&amp;#039;S&amp;#039;&amp;#039; equals &amp;#039;&amp;#039;V&amp;#039;&amp;#039;, then &amp;#039;&amp;#039;S&amp;#039;&amp;#039; is a [[basis (linear algebra)|basis]] for &amp;#039;&amp;#039;V&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Affine, conical, and convex combinations ==&lt;br /&gt;
By restricting the coefficients used in linear combinations, one can define the related concepts of [[affine combination]], [[conical combination]], and [[convex combination]], and the associated notions of sets closed under these operations.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Type of combination !! Restrictions on coefficients !! Name of set !! Model space&lt;br /&gt;
|-&lt;br /&gt;
| Linear combination || no restrictions || [[Vector subspace]] || &amp;lt;math&amp;gt;\mathbf{R}^n&amp;lt;/math&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| [[Affine combination]] || &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\sum a_i = 1&amp;lt;/math&amp;gt;|| [[Affine subspace]] || Affine [[hyperplane]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Conical combination]] || &amp;lt;math&amp;gt;a_i \geq 0&amp;lt;/math&amp;gt; || [[Convex cone]] || [[Quadrant (plane geometry)|Quadrant]], [[Octant (solid geometry)|octant]], or [[orthant]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Convex combination]] || &amp;lt;math&amp;gt;a_i \geq 0&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\sum a_i = 1&amp;lt;/math&amp;gt;|| [[Convex set]] || [[Simplex]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Because these are more &amp;#039;&amp;#039;restricted&amp;#039;&amp;#039; operations, more subsets will be closed under them, so affine subsets, convex cones, and convex sets are &amp;#039;&amp;#039;generalizations&amp;#039;&amp;#039; of vector subspaces: a vector subspace is also an affine subspace, a convex cone, and a convex set, but a convex set need not be a vector subspace, affine, or a convex cone.&lt;br /&gt;
&lt;br /&gt;
These concepts often arise when one can take certain linear combinations of objects, but not any: for example, [[probability distribution]]s are closed under convex combination (they form a convex set), but not conical or affine combinations (or linear), and [[positive measure]]s are closed under conical combination but not affine or linear – hence one defines [[signed measure]]s as the linear closure.&lt;br /&gt;
&lt;br /&gt;
Linear and affine combinations can be defined over any field (or ring), but conical and convex combination require a notion of &amp;quot;positive&amp;quot;, and hence can only be defined over an [[ordered field]] (or [[ordered ring]]), generally the real numbers.&lt;br /&gt;
&lt;br /&gt;
If one allows only [[scalar multiplication]], not addition, one obtains a (not necessarily convex) [[Cone (linear algebra)|cone]]; one often restricts the definition to only allowing multiplication by positive scalars.&lt;br /&gt;
&lt;br /&gt;
All of these concepts are usually defined as subsets of an ambient vector space (except for affine spaces, which are also considered as &amp;quot;vector spaces forgetting the origin&amp;quot;), rather than being axiomatized independently.&lt;br /&gt;
&lt;br /&gt;
== Operad theory ==&lt;br /&gt;
{{Main article|Operad theory}}&lt;br /&gt;
More abstractly, in the language of [[operad theory]], one can consider vector spaces to be [[Algebra (ring theory)|algebras]] over the operad &amp;lt;math&amp;gt;\mathbf{R}^\infty&amp;lt;/math&amp;gt; (the infinite [[Direct sum of modules|direct sum]], so only finitely many terms are non-zero; this corresponds to only taking finite sums), which parametrizes linear combinations: the vector &amp;lt;math&amp;gt;(2,3,-5,0,\dots)&amp;lt;/math&amp;gt; for instance corresponds to the linear combination &amp;lt;math&amp;gt;2 \mathbf v_1 + 3 \mathbf v_2 - 5 \mathbf v_3 + 0 \mathbf v_4 + \cdots&amp;lt;/math&amp;gt;. Similarly, one can consider affine combinations, conical combinations, and convex combinations to correspond to the sub-operads where the terms sum to 1, the terms are all non-negative, or both, respectively. Graphically, these are the infinite affine hyperplane, the infinite hyper-octant, and the infinite simplex. This formalizes what is meant by &amp;lt;math&amp;gt;\mathbf{R}^n&amp;lt;/math&amp;gt; being or the standard simplex being model spaces, and such observations as that every bounded [[convex polytope]] is the image of a simplex. Here suboperads correspond to more restricted operations and thus more general theories.&lt;br /&gt;
&lt;br /&gt;
From this point of view, we can think of linear combinations as the most general sort of operation on a vector space – saying that a vector space is an algebra over the operad of linear combinations is precisely the statement that &amp;#039;&amp;#039;all possible&amp;#039;&amp;#039; algebraic operations in a vector space are linear combinations.&lt;br /&gt;
&lt;br /&gt;
The basic operations of addition and scalar multiplication, together with the existence of an [[additive identity]] and additive inverses, cannot be combined in any more complicated way than the generic linear combination: the basic operations are a [[generating set]] for the operad of all linear combinations.&lt;br /&gt;
&lt;br /&gt;
Ultimately, this fact lies at the heart of the usefulness of linear combinations in the study of vector spaces.&lt;br /&gt;
&lt;br /&gt;
== Generalizations==&lt;br /&gt;
If {{math|&amp;#039;&amp;#039;V&amp;#039;&amp;#039;}} is a [[topological vector space]], then there may be a way to make sense of certain &amp;#039;&amp;#039;infinite&amp;#039;&amp;#039; linear combinations, using the topology of {{math|&amp;#039;&amp;#039;V&amp;#039;&amp;#039;}}.&lt;br /&gt;
For example, we might be able to speak of {{math|&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;amp;nbsp;+ &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&amp;amp;nbsp;+ &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;&amp;amp;nbsp;+&amp;amp;nbsp;⋯}}, going on forever.&lt;br /&gt;
Such infinite linear combinations do not always make sense; we call them &amp;#039;&amp;#039;convergent&amp;#039;&amp;#039; when they do.&lt;br /&gt;
Allowing more linear combinations in this case can also lead to a different concept of span, linear independence, and basis.&lt;br /&gt;
The articles on the various flavors of topological vector spaces go into more detail about these.&lt;br /&gt;
&lt;br /&gt;
If {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;}} is a [[commutative ring]] instead of a field, then everything that has been said above about linear combinations generalizes to this case without change.&lt;br /&gt;
The only difference is that we call spaces like this {{math|&amp;#039;&amp;#039;V&amp;#039;&amp;#039;}} [[module (mathematics)|modules]] instead of vector spaces.&lt;br /&gt;
If {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;}} is a [[noncommutative ring]], then the concept still generalizes, with one caveat:&lt;br /&gt;
since modules over noncommutative rings come in left and right versions, our linear combinations may also come in either of these versions, whatever is appropriate for the given module.&lt;br /&gt;
This is simply a matter of doing scalar multiplication on the correct side.&lt;br /&gt;
&lt;br /&gt;
A more complicated twist comes when {{math|&amp;#039;&amp;#039;V&amp;#039;&amp;#039;}} is a [[bimodule]] over two rings, {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;}} and {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;}}.&lt;br /&gt;
In that case, the most general linear combination looks like&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; a_1 \mathbf v_1 b_1 + \cdots +  a_n \mathbf v_n b_n &amp;lt;/math&amp;gt;&lt;br /&gt;
where {{math|&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}} belong to {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;}}, {{math|&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}} belong to {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;}}, and {{math|&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,…,&amp;#039;&amp;#039;&amp;#039;v&amp;#039;&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;}} belong to {{math|&amp;#039;&amp;#039;V&amp;#039;&amp;#039;}}.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Weighted sum]]&lt;br /&gt;
&lt;br /&gt;
== Citations ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*{{Cite book|last=Axler|first=Sheldon Jay|title=Linear Algebra Done Right|series=Undergraduate Texts in Mathematics |publisher=[[Springer Science+Business Media | Springer]]|year=2015|isbn=978-3-319-11079-0|edition=3rd|location=|pages=|author-link=Sheldon Axler|doi=10.1007/978-3-319-11080-6}}&lt;br /&gt;
* {{Cite book|last1=Katznelson|first1=Yitzhak|title=A (Terse) Introduction to Linear Algebra|last2=Katznelson|first2=Yonatan R.|publisher=[[American Mathematical Society]]|year=2008|isbn=978-0-8218-4419-9|author-link=Yitzhak Katznelson}}&lt;br /&gt;
* {{Cite book|last1=Lay|first1=David C.|title=Linear Algebra and its Applications|last2=Lay|first2=Steven R.|last3=McDonald|first3=Judi J.|publisher=Pearson|year=2016|isbn=978-0-321-98238-4|edition=5th|location=|pages=}}&lt;br /&gt;
* {{Cite book|last=Strang|first=Gilbert|title=Introduction to Linear Algebra|publisher=Wellesley Cambridge Press|year=2016|isbn=978-0-9802327-7-6|edition=5th|location=|pages=|author-link=Gilbert Strang}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://www.khanacademy.org/math/linear-algebra/vectors_and_spaces/linear_combinations/v/linear-combinations-and-span Linear Combinations and Span: Understanding linear combinations and spans of vectors], khanacademy.org.&lt;br /&gt;
&lt;br /&gt;
{{linear algebra}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linear algebra]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Lemondoge</name></author>
	</entry>
</feed>