{ localUrl: '../page/combining_vectors.html', arbitalUrl: 'https://arbital.com/p/combining_vectors', rawJsonUrl: '../raw/6py.json', likeableId: '3769', likeableType: 'page', myLikeValue: '0', likeCount: '3', dislikeCount: '0', likeScore: '3', individualLikes: [ 'KevinClancy', 'EricRogstad', '8xl' ], pageId: 'combining_vectors', edit: '25', editSummary: '', prevEdit: '24', currentEdit: '25', wasPublished: 'true', type: 'wiki', title: 'Combining vectors', clickbait: 'One of the most useful things we can do with vectors is to combine them!', textLength: '10164', alias: 'combining_vectors', externalUrl: '', sortChildrenBy: 'likes', hasVote: 'false', voteType: '', votesAnonymous: 'false', editCreatorId: 'AdeleLopez', editCreatedAt: '2018-01-01 02:06:23', pageCreatorId: 'AdeleLopez', pageCreatedAt: '2016-12-03 22:45:33', seeDomainId: '0', editDomainId: '122', submitToDomainId: '0', isAutosave: 'false', isSnapshot: 'false', isLiveEdit: 'true', isMinorEdit: 'false', indirectTeacher: 'false', todoCount: '0', isEditorComment: 'false', isApprovedComment: 'false', isResolved: 'false', snapshotText: '', anchorContext: '', anchorText: '', anchorOffset: '0', mergedInto: '', isDeleted: 'false', viewCount: '47', text: '[summary: We can combine vectors to get other vectors, which is called a **linear combination** of vectors. A set of vectors that can be combined to reach all of the vectors in the vector space exactly once is called a **basis**. The number of elements in the basis for a vector space is called the **dimension** of the vector space because it matches our intuitive notion of dimension.\n\nBy choosing a basis, we can break down any vector into different **components**, each one a scaled basis vector. These scalars are called the **coordinates** of the vector. For convenience, we will usually use a standardized basis with special properties, but other bases are equally valid.]\n\nNow that we know [6lq how vectors work], we want to know how to work with them. In this page, we'll study some fundamental concepts in working with vectors. This will make using them and thinking about them easier. We'll start by combining vectors to make new vectors, and we will use this tool to help us describe and understand vector spaces, and to make it easier to talk about different vectors. In particular, we will learn how we can communicate a particular vector algebraically, without needing to share a picture.\n\n#Linear combinations\nHere are some vectors:\n\n![vectors u, v, w](http://imgur.com/nq4N0at.png)\n\nWe can use these vectors to make other vectors, by taking different amounts of each one, adding all the parts together:\n\n![combinations of u, v and w](http://imgur.com/k1OQHXH.png)\n\nThis is called a **linear combination**.\n\nSometimes, there are different ways to make the same vector from a certain set of ingredient vectors:\n\n![multiple combinations](http://imgur.com/U8oDKo9.png)\n\nSometimes, there are no ways to make a particular vector. This is easiest to see in three dimensions. In this example, by rotating our point of view, we can see that there is no way of combining $\\mathbf u$, $\\mathbf v$, and $\\mathbf w$ to make the vector $\\mathbf s$:\n\n![no combination can reach the third dimension](http://imgur.com/W9yjTBf.gif)\n\nWe call the set of all the vectors that are reachable by our set of vectors the **span** of those vectors. In the example above, the span of $\\mathbf u$, $\\mathbf v$, and $\\mathbf w$ is the set of all vectors that could lie within the plane highlighted in gray. \n\n# Basis\nHow many vectors do we need to span the whole vector space? It depends on the space!\n\nFor a flat space, we can use the vectors $\\mathbf x$ and $\\mathbf y$ to reach the whole space:\n\n![x,y span plane](http://imgur.com/r1F9Y8Y.png)\n\nWhat happens if we remove one or the other? What vectors can we reach with a linear combination of just $\\mathbf x$, or just $\\mathbf y$?\n\n%%hidden(Show solution):\n![span of just x or just y](http://imgur.com/Hk4XfLK.png)\n\nLinear combinations of just $\\mathbf x$ are just $\\mathbf x$ scaled by different amounts. So the only vectors that will be reachable are the ones that could lie in the same line as $\\mathbf x$. Similarly, with just $\\mathbf y$, we can only reach $\\mathbf y$ scaled by different amounts with linear combinations. \n%%\nSo we might guess that we need at least two vectors to span a flat space.\n\nTo span a space that also has some depth, we can't just use these two vectors though:\n\n![x and y can't get three dimensions](http://imgur.com/ozTrzy2.png)\n\nNot even if we just add _any_ other vector in a different direction:\n\n![x, y d still just span plane](http://imgur.com/9F1RlU5.png)\n\nThis doesn't add anything new since $\\mathbf d$ is a linear combination of $\\mathbf x$ and $\\mathbf y$!\n\n![d is a linear combo of x and y](http://imgur.com/izqKWlS.png)\n\nWe say that $\\mathbf d$ is **linearly dependent** on $\\mathbf x$ and $\\mathbf y$.\n\nTo get the full depth of the space, we need to add a vector that is **linearly independent** of $\\mathbf x$ and $\\mathbf y$, that is, not a linear combination of $\\mathbf x$ and $\\mathbf y$.\n\n![x, y and z](http://imgur.com/liTnG0E.png)\n\nA linearly independent set of vectors that span the whole space is called a **basis** for that space. \n\n## Dimension\nWhat does a vector space with just one vector $\\mathbf v$ in its basis look like?\n\n![one dimension](http://imgur.com/uqmqphC.png)\n\nLinear combinations of $\\mathbf v$ are just $\\mathbf v$ scaled by different numbers. So the vector space is just any vector that fits in a line containing $\\mathbf v$. A basis with one vector can reach a one-dimensional space.\n\nNow if we have two vectors $\\mathbf x$ and $\\mathbf y$ in our basis, we can reach any vector within the plane containing both $\\mathbf x$ and $\\mathbf y$:\n\n![two dimensions](http://imgur.com/6slhOvS.png)\n\nSo a basis with two vectors spans a two-dimensional space.\n\nYou can probably guess that a basis with three vectors reaches a three-dimensional space.\n\n![three dimensions](http://imgur.com/nXYFllW.png)\n\nThe **dimension** of a vector space is the number of vectors in the basis!\n\nThis allows us to accurately imagine higher dimensional spaces, even though we cannot visualize them directly. Even though four linearly independent vectors do not exist in physical space, the same mathematical rules can be applied to determine different properties of such a world. \n\nIn this way, math allows us to explore all kinds of strange, exotic worlds beyond our own, including vector spaces of any dimension. It also turns out that many of these higher dimensional vector spaces are very useful for real world situations!\n\n### Zero dimensions\nWhat is a linear combination of nothing? Just as zero is the amount of things we have if we have nothing, the zero vector is the vector of a linear combination of nothing. So a zero-dimensional vector space is a vector space that has practically nothing - just the zero vector!\n\n## Standard basis\nIt's convenient to work in a standardized basis, with vectors that have convenient properties. In many spaces, there's a standard set of vectors with particular magnitudes and directions that are conventionally used. \n\nIn two dimensional geometric space, the standard basis is $\\mathbf x$, $\\mathbf y$, where $\\mathbf x$ and $\\mathbf y$ both have magnitude one.\n\n![x and y](http://imgur.com/1ttZA6Z.png)\n\n\nSimilarly, in three dimensional geometric space, a basis with vectors $\\mathbf x$, $\\mathbf y$, and $\\mathbf z$, all unit vectors, is commonly used.\n\n![x y and z](http://imgur.com/2UD34wV.png)\n\nHowever this one is less standardized, and it is not unusual to see things that use a different convention for three dimensional geometric space. \n\nOne property that is very often used is to have a basis where all the basis vectors are normalized to have unit magnitude. This is called a **normal basis**. %note:\nIt's also useful to have a basis where all the vectors are in as different directions as possible. However, this only makes sense in vector spaces with a concept of _angle_. We'll learn about angle in geometric vector spaces soon. A basis with this property is called an **orthogonal basis** (Orthogonal is Greek for right angular). A basis that is both orthogonal and normal is called an **orthonormal basis**.\n%\n\nAlthough using a standardized basis is convenient, it's important to remember that standardized bases are not mathematically fundamental. The math works equally well when using _any_ basis. For example, we could also use $\\mathbf r$ and $\\mathbf s$ as a basis for the plane of your screen:\n\n![non-standard basis](http://imgur.com/m4jRzj8.png)\n\n# Coordinates\nIf we have a basis, we can describe any vector as a linear combination of those basis elements in exactly one way. Here we have $\\mathbf x$ and $\\mathbf y$ as our basis, and we want to describe the vector $\\mathbf v$:\n\n![x,y linear combo](http://imgur.com/AJQuYot.png)\n\nWe can write $\\mathbf v = 3\\mathbf {x} + 4 \\mathbf {y}$. The scaled basis vectors we use to reach our vector $v$ are called the **components** of $v$. In this example, the $\\mathbf x$-component of $\\mathbf v$ is $3$, and the $\\mathbf y$-component of $\\mathbf v$ is $-1$. We can also refer to this vector by the list of the scalars for each of the components – these are called the **coordinates** of the vector. So the coordinates of $\\mathbf v$ are $(3,4)$ in this case. %note: We also need to know the order of the basis vectors in order to use coordinates unambiguously. In this case, the implicit order is **x**, **y**.%\n\nIt's important to remember that if we use a different basis, the same vector will have different coordinates:\n\n![same example, but with different basis](http://imgur.com/fWXuucS.png)\n\nCoordinates give us a handy way to describe different vectors in our vector space:\n\n![basis, vectors and their coordinates](http://imgur.com/8cVxDRh.png)\n\nThis lets us describe specific vectors in an algebraic way, as long as the basis in use is understood. So we can share a particular\nvector with our friend by sharing the coordinates of the vector using the standard basis, all without needing to draw a picture! \n## Reference point\nWe can do a similar thing with points. We choose a particular point as a reference point, called the **origin**, which we usually write with a capital $O$:\n\n![the origin](http://imgur.com/QCep7EV.png)\n\nWe can now describe points by the vector will take us from the origin to that point. And that vector can be described in terms of the basis vectors, using coordinates! \n\n![origin, basis vectors, vectors to points](http://imgur.com/pO4129x.png)\n\nIn this example, $p = O + 2\\mathbf x + 3\\mathbf y$, and $q = O - 3\\mathbf x + \\mathbf y$.\nWe call these the coordinates of the point. For short, we can write these just as $p = (2, 3)$ and $q = (-3,1)$ – but it's really important to make sure that we are clear on what basis is being used, and what the origin is. In the $\\mathbf s, \\mathbf t$ basis we used earlier, and with the same origin, our points will have different coordinates: \n\n![origin, points, different basis](http://imgur.com/L5Eej0e.png)\n\nThis time, $p$ can be described as $(2,\\frac{1}{2})$, and $q = (-3,2)$. \n\n-----\n\n[6mk Next], we will start exploring the things that make geometric vectors geometric, by thinking about how we can compare different vectors to each other in a geometric vector space. \n\n', metaText: '', isTextLoaded: 'true', isSubscribedToDiscussion: 'false', isSubscribedToUser: 'false', isSubscribedAsMaintainer: 'false', discussionSubscriberCount: '1', maintainerCount: '1', userSubscriberCount: '0', lastVisit: '', hasDraft: 'false', votes: [], voteSummary: 'null', muVoteSummary: '0', voteScaling: '0', currentUserVote: '-2', voteCount: '0', lockedVoteType: '', maxEditEver: '0', redLinkCount: '0', lockedBy: '', lockedUntil: '', nextPageId: '', prevPageId: '', usedAsMastery: 'false', proposalEditNum: '0', permissions: { edit: { has: 'false', reason: 'You don't have domain permission to edit this page' }, proposeEdit: { has: 'true', reason: '' }, delete: { has: 'false', reason: 'You don't have domain permission to delete this page' }, comment: { has: 'false', reason: 'You can't comment in this domain because you are not a member' }, proposeComment: { has: 'true', reason: '' } }, summaries: {}, creatorIds: [ 'AdeleLopez' ], childIds: [], parentIds: [ 'geometric_algebra' ], commentIds: [], questionIds: [], tagIds: [ 'math1' ], relatedIds: [], markIds: [], explanations: [], learnMore: [], requirements: [ { id: '6734', parentId: 'vector_arithmetic', childId: 'combining_vectors', type: 'requirement', creatorId: 'AdeleLopez', createdAt: '2016-12-03 18:53:11', level: '2', isStrong: 'true', everPublished: 'true' } ], subjects: [], lenses: [], lensParentId: '', pathPages: [], learnMoreTaughtMap: {}, learnMoreCoveredMap: {}, learnMoreRequiredMap: {}, editHistory: {}, domainSubmissions: {}, answers: [], answerCount: '0', commentCount: '0', newCommentCount: '0', linkedMarkCount: '0', changeLogs: [ { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '22960', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '25', type: 'newEdit', createdAt: '2018-01-01 02:06:23', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '22959', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '24', type: 'newEdit', createdAt: '2018-01-01 01:37:05', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '21152', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '0', type: 'newAlias', createdAt: '2016-12-29 08:45:43', auxPageId: '', oldSettingsValue: '6py', newSettingsValue: 'combining_vectors' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20759', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '23', type: 'newEdit', createdAt: '2016-12-13 06:08:52', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20720', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '22', type: 'newEdit', createdAt: '2016-12-13 05:33:35', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20719', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '21', type: 'newEdit', createdAt: '2016-12-13 05:29:59', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20718', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '20', type: 'newEdit', createdAt: '2016-12-13 04:12:43', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20717', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '19', type: 'newEdit', createdAt: '2016-12-13 02:42:15', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20696', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '18', type: 'newEdit', createdAt: '2016-12-12 04:04:09', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20695', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '17', type: 'newEdit', createdAt: '2016-12-12 04:03:22', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20694', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '16', type: 'newEdit', createdAt: '2016-12-12 04:02:28', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20693', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '15', type: 'newEdit', createdAt: '2016-12-12 04:02:01', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20692', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '14', type: 'newEdit', createdAt: '2016-12-12 04:00:12', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20691', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '0', type: 'newTag', createdAt: '2016-12-12 03:59:04', auxPageId: 'math1', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20690', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '13', type: 'newEdit', createdAt: '2016-12-12 03:59:03', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20689', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '12', type: 'newEdit', createdAt: '2016-12-12 03:56:36', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20688', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '11', type: 'newEdit', createdAt: '2016-12-12 01:40:06', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20687', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '10', type: 'newEdit', createdAt: '2016-12-12 01:31:42', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20683', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '9', type: 'newEdit', createdAt: '2016-12-11 00:04:08', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20682', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '8', type: 'newEdit', createdAt: '2016-12-10 23:00:38', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20681', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '7', type: 'newEdit', createdAt: '2016-12-10 20:29:54', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20680', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '6', type: 'newEdit', createdAt: '2016-12-10 19:27:10', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20678', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '5', type: 'newEdit', createdAt: '2016-12-10 19:14:57', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20676', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '4', type: 'newEdit', createdAt: '2016-12-10 05:43:38', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20603', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '3', type: 'newEdit', createdAt: '2016-12-06 04:05:46', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20586', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '0', type: 'newParent', createdAt: '2016-12-04 06:01:42', auxPageId: 'geometric_algebra', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20584', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '2', type: 'newEdit', createdAt: '2016-12-04 06:01:41', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20575', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '0', type: 'newRequirement', createdAt: '2016-12-03 22:45:34', auxPageId: 'vector_arithmetic', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '20574', pageId: 'combining_vectors', userId: 'AdeleLopez', edit: '1', type: 'newEdit', createdAt: '2016-12-03 22:45:33', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' } ], feedSubmissions: [], searchStrings: {}, hasChildren: 'false', hasParents: 'true', redAliases: {}, improvementTagIds: [], nonMetaTagIds: [], todos: [], slowDownMap: 'null', speedUpMap: 'null', arcPageIds: 'null', contentRequests: {} }