In this assignment you will solve problems involving vectors and matrices.
Please submit a single file
a2.* containing your solutions. The file extension may be anything you choose;
please ask before submitting a file in an exotic or obscure file format (plain text is preferred).
- Consider the line L in R2 that passes through the following two vectors:
- Using set notation, define L in terms of u and v.
- Determine whether the following vectors are on the line L:
- Find all unit vectors orthogonal to L.
- Define the line L⊥ that passes through the origin and is orthogonal to L using an equation of the form:
In other words, find m, b ∈ R such that:
- For each of the following collections of vectors, determine whether the collection is
linearly independent. If it is, explain why; if not, show that one of the vectors is a
linear combination of the other vectors in the collection.
- The following two vectors in R2:
- The following three vectors in R2:
- The following three vectors in R4:
- Consider the following vectors in R3:
- Compute the orthogonal projection of w onto the vector:
- Determine whether each of the following points lies on the plane perpendicular to u:
- Extra credit: Given the vector v and w, let P be the plane orthogonal to v, and let Q be the plane orthogonal to w.
Find a vector p ∈ R3 that lies on the line in R3 along which P and Q intersect, and provide a definition of the line.
You decide to drive the 2800 miles from New York to Los Angeles in a hybrid vehicle.
A hybrid vehicle has two modes: using only the electric motor and battery, it can travel 1 mile on 3 units of battery power;
using only the internal combustion engine, it can travel 1 mile on 0.1 liters of gas (about 37 mpg) while also charging the
battery with 1 unit of battery power. At the end of your trip, you have 1400 fewer units of battery power than you did when
you began the trip. How much gasoline did you use (in liters)?
You should define a system with the following dimensions:
- net change in the total units of battery power;
- total liters of gasoline used;
- total number of miles travelled;
- number of miles travelled using the electric motor and battery;
- number of miles travelled using the engine.
You should define a matrix M ∈ R3×2 to characterize this system. Then, write down an equation containing
that matrix (and three variables in R), and solve it to obtain the quantity of gasoline.
Suppose we create a very simple system for modelling how predators and prey interact in a closed environment.
Our system has only two dimensions: the number of prey animals, and the number of predators. We want to model
how the state of the system changes from one generation to the next.
If there are x predators and y prey animals in a given generation, in the next generation the following will be the case:
- all predators already in the system will stay in the system;
- all prey animals already in the system will stay in the system;
- for every prey animal, two new prey animals are introduced into the system;
- for every predator, two prey animals are removed from the system;
- we ignore any other factors that might affect the state (e.g., natural death or starvation).
Specify explicitly a matrix T in R2×2 that takes a description of the system state
in one generation and produces the state of the system during the next generation. Note: you may simply
enter the matrix on its own line for this part of the problem, but you must also use it in the
remaining three parts below.
Show that the number of predators does not change from one generation to the next.
Determine what initial state [x0; y0] is such that there is no change in the state from one generation to another.
Suppose that in the fourth generation of an instance of this system (that is, after the transformation has
been applied three times), we have 2 predators and 56 prey animals. How many predators and prey animals were
in the system in the first generation (before any transformations were applied)? Let [x; y] represent the
state of the system in the first generation. Set up a matrix equation that involves [x; y] and
matrix multiplication, and solve it to obtain the answer.