chapter

    Linear Algebra - Chapter 2 Notes for Cmi M.sc. and Ph.d. Computer Science

    Linear Algebra - Chapter 2 notes for CMI M.Sc. and Ph.D. Computer Science: 18 study cards covering concepts, formulas, shortcuts and exam traps, plus solved p

    Linear Algebra Chapter 2 2 notes

    Why vector space axioms exist

    Intuition

    Why vector space axioms exist

    Picture arrows in three-dimensional space. You add two arrows tip to tail and you stretch an arrow by a number. Every student trusts that stretching an arrow by one leaves it unchanged.

    The problem it solves

    Without rules, this trust breaks. Define addition on by and scalar multiplication by . Then for any . The axiom fails.

    The idea made exact

    A vector space obeys eight axioms: addition is associative and commutative, an additive identity exists, every has an additive inverse, scalar multiplication satisfies , and two distributive laws hold alongside associativity of scalar multiplication.

    checklist that bans broken operations

    The one-step subspace test

    Derivation

    The one-step subspace test

    Assume is a vector space over and is a subset of . We want to be a vector space under the same operations. Checking all eight axioms is wasteful because most are inherited from .

    vector space over same operations
    1. Addition in is associative and commutative because it is associative and commutative in . No check needed.
    2. Scalar multiplication identities and distributive laws hold in because they hold in . No check needed.
    3. We must verify that has its own zero vector. Condition (i) states of lies in . Since for every , this also serves as the zero of . Zero test.
    4. We must verify every has an additive inverse inside . Condition (iii) with gives . Then by (ii). Inverse test.
    5. Closure under addition is condition (ii). Closure under scalar multiplication is condition (iii). Closure tests.

    Conclusion. Conditions (i), (ii), (iii) together are necessary and sufficient for to be a subspace.

    Result
    Check

    Let . The zero vector satisfies the equation. If and satisfy it, so does and because the equation is homogeneous.

    Union of two subspaces fails closure

    Wrong belief

    Union of two subspaces fails closure

    The union of two subspaces of is again a subspace.

    Why it feels right

    Each piece is closed under addition and scaling on its own, so their union should inherit closure.

    Smallest counterexample

    Let be the -plane in , the set of . Let be the -plane, the set of . Both are subspaces. Take and . Their sum . This vector has nonzero second and third coordinates, so it lies in neither nor . The union is not closed under addition.

    Counter-rule

    The union of two subspaces is a subspace if and only if one contains the other. If neither contains the other, pick and ; their sum escapes both.

    How it shows up in options

    An option describes a set as the union of two solution sets of homogeneous equations. The union is almost never a subspace.

    15 more cards in this chapter

    Free preview ends here

    Login to view the complete notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Linear Algebra - Chapter 2 Notes for CMI M.Sc. and Ph.D. Computer Science

    Linear Algebra - Chapter 2 notes for CMI M.Sc. and Ph.D. Computer Science: 18 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.

    Why vector space axioms exist

    Intuition

    Why vector space axioms exist

    Picture arrows in three-dimensional space. You add two arrows tip to tail and you stretch an arrow by a number. Every student trusts that stretching an arrow by one leaves it unchanged.

    The problem it solves

    Without rules, this trust breaks. Define addition on by and scalar multiplication by . Then for any . The axiom fails.

    The idea made exact

    A vector space obeys eight axioms: addition is associative and commutative, an additive identity exists, every has an additive inverse, scalar multiplication satisfies , and two distributive laws hold alongside associativity of scalar multiplication.

    checklist that bans broken operations

    The one-step subspace test

    Derivation

    The one-step subspace test

    Assume is a vector space over and is a subset of . We want to be a vector space under the same operations. Checking all eight axioms is wasteful because most are inherited from .

    vector space over same operations
    1. Addition in is associative and commutative because it is associative and commutative in . No check needed.
    2. Scalar multiplication identities and distributive laws hold in because they hold in . No check needed.
    3. We must verify that has its own zero vector. Condition (i) states of lies in . Since for every , this also serves as the zero of . Zero test.
    4. We must verify every has an additive inverse inside . Condition (iii) with gives . Then by (ii). Inverse test.
    5. Closure under addition is condition (ii). Closure under scalar multiplication is condition (iii). Closure tests.

    Conclusion. Conditions (i), (ii), (iii) together are necessary and sufficient for to be a subspace.

    Result
    Check

    Let . The zero vector satisfies the equation. If and satisfy it, so does and because the equation is homogeneous.

    Union of two subspaces fails closure

    Wrong belief

    Union of two subspaces fails closure

    The union of two subspaces of is again a subspace.

    Why it feels right

    Each piece is closed under addition and scaling on its own, so their union should inherit closure.

    Smallest counterexample

    Let be the -plane in , the set of . Let be the -plane, the set of . Both are subspaces. Take and . Their sum . This vector has nonzero second and third coordinates, so it lies in neither nor . The union is not closed under addition.

    Counter-rule

    The union of two subspaces is a subspace if and only if one contains the other. If neither contains the other, pick and ; their sum escapes both.

    How it shows up in options

    An option describes a set as the union of two solution sets of homogeneous equations. The union is almost never a subspace.

    Shifted plane misses the zero vector

    Wrong belief

    Shifted plane misses the zero vector

    Any subset of defined by a linear equation is a subspace.

    Why it feels right

    The equation looks linear, and the set is closed under a shifted kind of addition.

    Smallest counterexample

    Let . Take and , both in . Their sum gives , so the sum leaves . Worse, the zero vector gives , so .

    Counter-rule

    A single linear equation defines a subspace of if and only if . When , the set is an affine plane, closed under affine combinations but not under scalar multiplication.

    How it shows up in options

    An option writes a set as the solution set of a non-homogeneous equation and calls it a subspace. The zero test kills it in one line.

    More notes in this unit