layout | title | order | permalink |
---|---|---|---|
page |
Matrix Mystics |
5 |
/matrixmystics/ |
- TOC {:toc}
-
Ram and Lakshman were two brothers, Ram's pocket money was twice as much as Lakshman. The good boy that Ram and Lakshman were, they did not spend their pocket money on anything. They instead saved the same in their piggy bank. Every week, they would check their savings so far. Assume the first week's savings was
$$(R_1,L_1)$$ and second week's$$(R_2,L_2)$$ and so on. They try plotting their weekly savings on a graph sheet. How will the points look like? -
Atul's house is centered at origin
$$(0,0)$$ he walks straight (along the x-axis) for 2 units and then takes a left and walks 1 unit to reach Bala's house, after that he takes a right turn and walks for one unit and then a left turn and walks for one unit and reaches Chetan's house. He continues in a similar style, takes a right turn 1 unit and then left turn one unit and reaches Divya's house. Are the houses of Bala, Chetan and Divya on a straight line? What is the equation of this line? Plot this on Geogebra -
Plot the lines
$$y=x$$ ,$$y=2x$$ ,$$y=10x$$ . -
Observe that they all pass through the origin. Why?
-
Plot
$$y=2x+1$$ . Why doesn't it pass through the origin? -
Plot
$$y=ax+b$$ , with$$a$$ and$$b$$ as parameters which you should be able to varry. What do youaa observe? -
Consider the following simultaneous equation:
$$2x+3y=7$$
$$3x+4y=10$$ Do you see a 2x2 matrix here? What is the importance of seeing a matrix in this problem? Why study matrices in general?
Do you observe that this problem can be retold as:
$$ \left( \begin{matrix} 2 & 3 \3 & 4 \\end{matrix}\right) $$ $$\left( \begin{matrix} x\ y\ \end{matrix} \right)$$ =$$\left( \begin{matrix} 7\ 10\ \end{matrix} \right)$$ -
Consider a simple function
$$f(x) = 3x+2$$ . This function is invertible right? Can you tell us what is$$\alpha$$ such that$$f(\alpha)=17$$ ? Is such an$$\alpha$$ unique? How did you find such an$$\alpha?$$ . Is this always possible? -
Consider the function
$$f(x)=x^2-10$$ , what is f(5)? -
Consider the function
$$f(x)=x^2-10$$ , if$$f(\alpha)=54$$ , what is$$\alpha$$ ? -
Consider the function
$$g(x)=x^3-x^2-10x+2$$ , if$$g(x)=-22$$ what is$$x$$ ? -
Do you know what is
$$\mathbb{R}, \mathbb{R}^2 and \mathbb{R}^3$$ ? -
Consider the function
$$\phi : \mathbb{R}^2\rightarrow \mathbb{R}^2$$ defined by$$\phi (x,y)=(2x+3y,3x+4y)$$ . What has this to do with the previous question? -
Is the function
$$\phi$$ invertible? In the question above on matrices, we see that it is of the form$$Ax=b$$ . Note that we can invert the matrix, using the method that was taught to us in our high school to find out the value for the variables x and y. This is one of the many applications of matrices. -
We will now see matrices as functions. Instead of
$$\phi$$ we will write the matrix itself:
$$\left( \begin{matrix} 2 & 3 \3 & 4 \\end{matrix}\right) : \mathbb{R}^2 \rightarrow \mathbb{R}^2$$. -
Consider the function $$\left( \begin{matrix} 1 & 2 \2 & 4 \\end{matrix}\right) : \mathbb{R}^2 \rightarrow \mathbb{R}^2$$. This matrix takes a few elements to the origin. What are those elements? Plot this using Geogebra.
-
A is assigned 0, B:1, C:2, and so on up to Z:25
Assume you denoted every letter with a number, as given in the table above.
You need to encrypt the word "SUDARSHANA" which stands for the numbers:$$18, 20, 3, 0, 17, 18, 7, 0, 13,0$$ .
You encrypt this using a matrix given by : $$ \left( \begin{matrix} 2 & 3 \3 & 4 \\end{matrix}\right) $$.
So "SUDARSHANA" will end up becoming:$$96, 134, 6, 9, 88, 123, 14, 21, 26, 39$$ .
Given these numbers, how will you decrypt the message and get back "SUDARSHANA"?
. This is a well known cryptographic protocol called the Hill Cipher. You can read more online. -
We encounter equations very often in our lives. Consider for example, the following situation at Baker's Cafe. The manager has a very important estimate to make. Mostly, visitors at his cafe happen to be families and they are often comprised of Children and/or Adults. He observes that there are 3 adults and 1 child at a table and their bill turns out to be Rs.1200/-. There is yet another table with 2 children and 1 adult and their bill comes out to be Rs.1000/-. Can the manager estimate the consumption of a Child/Adult? This is popularly called the Simultaneous Equations and we all remember from our school days, multiple ways in which these can be solved.
$$ 3A + 1C = 1200 $$
$$ 1A + 2C = 1000 $$ -
While we were taught the so called two variables and two unknowns, what if there were more equations than unknowns?
$$ 3A + 1C = 1200 $$
$$ 1A + 2C = 1000 $$
$$ 1A + 1C = 900 $$ -
Note that the previous question can be modelled as a matrix:
$$ 3A + 1C = 1200 $$
$$ 1A + 2C = 1000 $$
$$ 1A + 1C = 900 $$Observe this is same as :
$$ \left( \begin{matrix} 3 & 1 \1 & 2 \1 & 1 \\end{matrix}\right) $$ $$\left( \begin{matrix} A\ C\ \end{matrix} \right)$$
-
One obvious way to solve this, is to guess the values :-). Can you get closer to the solution by guessing? Note that there is no solution to this question. You can just reduce the error. Do you see why?
-
In the figure below: If 1000 people were to start in one state, what will be the distribution of people eventually?
-
In the figure below: If 1000 people were to start in one state, what will be the distribution of people eventually?
-
Use Geogebra: Draw the vector $$\begin{bmatrix}1 \ 1 \ \end{bmatrix}$$. Find out all those vectors which are perpendicular to this vector.
-
Do you observe that we are asking for vectors $$\begin{bmatrix}x \ y \ \end{bmatrix}$$ such that, $$\begin{bmatrix}x & y \ \end{bmatrix} \begin{bmatrix} 1\ 1 \ \end{bmatrix}=0 $$
-
Use Geogebra and solve the above question with $$\begin{bmatrix} 1 \ 1 \ \end{bmatrix}$$ replaced by $$\begin{bmatrix}a \ b \ \end{bmatrix}$$.Use
$$(a,b)$$ as parameters and check what happens to$$(x,y)$$ . -
What is
$$(x,y,z)$$ satisfying the following equation? (Use Geogebra) $$\begin{bmatrix}x & y & z\ \end{bmatrix} \begin{bmatrix} 1\ 2 \ 3\ \end{bmatrix}=0 $$ -
Use Geogebra and plot all the points in the set below.
$$T= { \beta(1,2,1) | \beta \in \mathbb{R}} $$ -
Use Geogebra and plot all the points in the set below.
$$S= { \beta(2,7.3) | \beta \in \mathbb{R}} $$ -
Use Geogebra and plot all the points in the set below.
$$W= {\alpha(1,2,1) + \beta(2,7.3) | \alpha,\beta \in \mathbb{R}} $$ -
In the above set W find out all the points satisfying
$$(x,y,z)$$ satisfying the following: (Use Geogebra) $$\begin{bmatrix}w1 & w2 & w3\ \end{bmatrix} \begin{bmatrix} x\ y \ z\ \end{bmatrix}=0 $$ where$$(w1,w2,w3) \in \mathbb W$$ -
Given the matrix $$A=\begin{bmatrix}1 & 2 & 3\ 4 & 5 &6\ 7 & 8 & 9\ \end{bmatrix}$$, find out all the possible
$$(x,y,z)$$ such that: $$ \begin{bmatrix}1 & 2 & 3\ 4 & 5 &6\ 7 & 8 & 9\ \end{bmatrix} \begin{bmatrix} x\ y\ z\ \end{bmatrix}=0$$ Observe carefully, what has this question got to do with previous five questions in this module -
Given the matrix $$A=\begin{bmatrix}1 & 2 & 3\ 4 & 5 &6\ 7 & 8 & 9\ \end{bmatrix}$$ what does the following three sets represent?
(i)$$R={\alpha(1,2,3) + \beta(4,5,6) + \gamma(7,8,9) |\alpha, \beta, \gamma\in \mathbb{R}} $$
(ii)$$C={\alpha(1,4,7) + \beta(2,5,8) + \gamma(3,6,9) | \alpha, \beta, \gamma \in \mathbb{R}}$$
(iii)$$N={(x,y,z)|x(1,4,7) + y(2,5,8) + z(3,6,9) = 0 }$$
Use only Geogebra :) -
Did you observe that every vector of
$$R$$ is perpendicular to every vector of$$N$$ ? -
Consider the matrix $$B=\begin{bmatrix} 1 & 2 \ 2 & 4\ \end{bmatrix}$$. Draw the line
$$2y+x=4$$ . Seeing the matrix$$B$$ as a function$$B:\mathbb{R^2}\mapsto \mathbb{R^2}$$ ,
where does$$B$$ takes the line$$2y+x=4$$ ?
Where does it take:
i)$$2y+x=10$$
ii)$$2y+x=62$$
iii)$$2y+x=1800$$ -
In general $$B=\begin{bmatrix} 1 & 2 \ 2 & 4\ \end{bmatrix}:\mathbb{R^2}\mapsto \mathbb{R^2}$$, where does this function take
$$2y+x=k$$ ?(where$$k$$ is a constant) -
Given $$B=\begin{bmatrix} 1 & 2 \ 2 & 4\ \end{bmatrix}:\mathbb{R^2}\mapsto \mathbb{R^2}$$. What is the range of this function?
-
You have achieved the required wisdom if you have realized that:
$$B=\begin{bmatrix} 1 & 2 \ 2 & 4\ \end{bmatrix}:\mathbb{R^2}\mapsto \mathbb{R^2}$$.
- Given the matrix $$M=\begin{bmatrix} 1 & 3 \ 2 & 6\ \end{bmatrix}$$. Use Geogebra to plot
$$R$$ ,$$C$$ &$$N$$ . what do you observe?
(i)$$R={\alpha(1,3) + \beta(2,6) | \alpha, \beta\in \mathbb{R}} $$
(ii)$$C={\alpha(1,2) + \beta(3,6) | \alpha, \beta\in \mathbb{R}} $$
(iii)$$N={(x,y)| x(1,3) + y(2,6) = 0 }$$