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

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the computation of vector operations involving two vectors, \( u \) and \( v \), specifically \( u+v \) and \( u-2v \). Participants also explore how to visually represent these vectors using TikZ on an xy-graph, as well as questions about the dimensionality of the vectors in \( \mathbb{R}^2 \).

Discussion Character

  • Technical explanation, Conceptual clarification, Debate/contested, Experimental/applied

Main Points Raised

  • Participants compute \( u+v \) and \( u-2v \) with initial results showing \( u+v = \begin{bmatrix} 5 \\ 4 \end{bmatrix} \) and \( u-2v = \begin{bmatrix} 1 \\ 0 \end{bmatrix} \), though later corrections indicate different values.
  • One participant asserts that \( 2 - 1 = 1 \) and \( 2 - 2(-1) = 4 \), challenging earlier computations.
  • There are multiple claims regarding the correct values of \( u+v \) and \( u-2v \), with some stating \( u+v = \begin{bmatrix} 5 \\ 1 \end{bmatrix} \) and \( u-2v = \begin{bmatrix} -1 \\ 4 \end{bmatrix} \).
  • Participants express interest in using TikZ for vector representation and seek examples or guidance on how to implement this.
  • One participant mentions using GeoGebra as an alternative to TikZ for vector visualization.
  • There are inquiries about the rendering of TikZ in different platforms, specifically Overleaf.

Areas of Agreement / Disagreement

There is no consensus on the correct computations for \( u+v \) and \( u-2v \), as participants present conflicting results. Additionally, there is a mix of opinions on the best tools for visualizing vectors.

Contextual Notes

Participants reference potential typos in their calculations and express uncertainty about the dimensionality of the vectors, indicating a need for clarity on definitions and assumptions.

Who May Find This Useful

This discussion may be useful for students learning about vector operations, those interested in visualizing mathematical concepts using TikZ, and individuals exploring computational tools for linear algebra.

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 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K