MHB 311.1.3.2 u+v and u-2v and tikx?

  • Thread starter Thread starter karush
  • Start date Start date
karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\tiny{311.1.3.2}$
Compute $u+v$ and $u-2v$
$u=\left[
\begin{array}{rr} 3\\2 \end{array}\right], v=\left[
\begin{array}{rr}2\\-1 \end{array}\right]
\quad u+v=\left[\begin{array}{rr}3+2\\2-1 \end{array}\right]=
\left[\begin{array}{rr}5\\4 \end{array}\right]
\quad u-2v=\left[\begin{array}{rr}3-2(2)\\2-2(-1) \end{array}\right]
=\left[\begin{array}{rr}1\\0 \end{array}\right]$

ok I think this is correct typos maybe, but the next question is

Display the vectors using arrows on an xy-graph
$u,v, -v, -2v, u+v, u-v, $ and $u-2v$

I was going to try this with tikx but was looking for an example to follow since we use arrows

also is these vectors $\mathbb{R}^2$

Mahalo
 
Physics news on Phys.org
karush said:
$\tiny{311.1.3.2}$
Compute $u+v$ and $u-2v$
$u=\left[
\begin{array}{rr} 3\\2 \end{array}\right], v=\left[
\begin{array}{rr}2\\-1 \end{array}\right]
\quad u+v=\left[\begin{array}{rr}3+2\\2-1 \end{array}\right]=
\left[\begin{array}{rr}5\\4 \end{array}\right]
\quad u-2v=\left[\begin{array}{rr}3-2(2)\\2-2(-1) \end{array}\right]
=\left[\begin{array}{rr}1\\0 \end{array}\right]$

ok I think this is correct typos maybe, but the next question is

Display the vectors using arrows on an xy-graph
$u,v, -v, -2v, u+v, u-v, $ and $u-2v$

I was going to try this with tikx but was looking for an example to follow since we use arrows

also is these vectors $\mathbb{R}^2$

Mahalo

uhh ...

$u+v = \begin{bmatrix}
5\\ 1

\end{bmatrix}$

$u-2v = \begin{bmatrix}
-1\\ 4

\end{bmatrix}$

try again ...
 
I am hoping that you know, perfectly well, that 2- 1= 1, not 4, and, although it is slightly more complicated, that 2- 2(-1)= 4. not 0.
 
$u=\left[
\begin{array}{rr} 3\\2 \end{array}\right], v=\left[
\begin{array}{rr}2\\-1 \end{array}\right]
\quad u+v=\left[\begin{array}{rr}3+2\\2-1 \end{array}\right]=
\left[\begin{array}{rr}5\\1 \end{array}\right]
\quad u-2v=\left[\begin{array}{rr}3-2(2)\\2-2(-1) \end{array}\right]
=\left[\begin{array}{rr}-1\\4 \end{array}\right]$
 
karush said:
$u=\left[
\begin{array}{rr} 3\\2 \end{array}\right], v=\left[
\begin{array}{rr}2\\-1 \end{array}\right]
\quad u+v=\left[\begin{array}{rr}3+2\\2-1 \end{array}\right]=
\left[\begin{array}{rr}5\\1 \end{array}\right]
\quad u-2v=\left[\begin{array}{rr}3-2(2)\\2-2(-1) \end{array}\right]
=\left[\begin{array}{rr}-1\\4 \end{array}\right]$

So ... what now?
 
skeeter said:
So ... what now?
Is there more to this problem?

-Dan
 
how do you write a vector in tikz
 
haven’t taken the time to learn tikz, but geogebra does a nice job and is user friendly ...

a = u+v
b = u-v
w = -v
d = -2v
c = u-2v
4976082C-B294-42FB-8901-39F84602264F.png
 
karush said:
how do you write a vector in tikz

The following latex code does the job:
Code:
\begin{tikzpicture}
  \draw[->] (0,0) -- (3,2);
\end{tikzpicture}
\begin{tikzpicture}
\draw[->] (0,0) -- (3,2);
\end{tikzpicture}

A prettier version with some embellishments is:
Code:
\begin{tikzpicture}
  \coordinate[label=right:$\mathbf u$] (u) at (3,2);
  \draw[-latex, thick] (0,0) -- node[above left] {$\vec u$} (u);
\end{tikzpicture}
\begin{tikzpicture}
\coordinate[label=right:$\mathbf u$] (u) at (3,2);
\draw[-latex, thick] (0,0) -- node[above left] {$\vec u$} (u);
\end{tikzpicture}
 
  • #10
mahalo much
I'm trying to audit linear algrebra from UH west this spring but it will be via Google classroom so trying to get some early input

btw how do you get tikz to render on MHB

the reason I am using tikz is that will render in Overleaf which is commonly used here at UHW

Screenshot 2020-12-11 at 10.53.00 AM.png
 
Last edited:

Similar threads

Replies
2
Views
3K
Replies
14
Views
2K
Replies
2
Views
964
Replies
7
Views
1K
Replies
19
Views
3K
Back
Top