summaryrefslogtreecommitdiff
path: root/Linear_Algebra_by_Jim_Hefferon/CH2/EX1.9
diff options
context:
space:
mode:
Diffstat (limited to 'Linear_Algebra_by_Jim_Hefferon/CH2/EX1.9')
-rw-r--r--Linear_Algebra_by_Jim_Hefferon/CH2/EX1.9/Ex2_1_9.R8
1 files changed, 8 insertions, 0 deletions
diff --git a/Linear_Algebra_by_Jim_Hefferon/CH2/EX1.9/Ex2_1_9.R b/Linear_Algebra_by_Jim_Hefferon/CH2/EX1.9/Ex2_1_9.R
new file mode 100644
index 00000000..77f1a7b4
--- /dev/null
+++ b/Linear_Algebra_by_Jim_Hefferon/CH2/EX1.9/Ex2_1_9.R
@@ -0,0 +1,8 @@
+#Chapter 2.
+#Section II. Linear Independence
+#Example 1.9,page 104
+v1 <- c(3,4,5)
+v2 <- c(2,9,2)
+v3 <- c(4,18,4)
+(0*v1)+(2*v2)-1*v3
+#the set S = {v1,v2,v3} is linearly dependent because this is a relationship where not all of the scalars are zero \ No newline at end of file