{ "hash": "f2c13ba1b090a823aad721386f01e45b", "result": { "markdown": "# Vectors\n\n\n\n\n\nOne of the first models learned in physics are the equations governing the laws of motion with constant acceleration: $x(t) = x_0 + v_0 t + 1/2 \\cdot a t^2$. This is a consequence of Newton's second [law](http://tinyurl.com/8ylk29t) of motion applied to the constant acceleration case. A related formula for the velocity is $v(t) = v_0 + at$. The following figure is produced using these formulas applied to both the vertical position and the horizontal position:\n\n::: {.cell hold='true' execution_count=3}\n\n::: {.cell-output .cell-output-display execution_count=4}\n```{=html}\n
Position, velocity, and acceleration vectors (scaled) for projectile motion. Vectors are drawn with tail on the projectile. The position vector (black) points from the origin to the projectile, the velocity vector (red) is in the direction of the trajectory, and the acceleration vector (green) is a constant pointing downward.
\nA vector and its unit vector. They share the same direction, but the unit vector has a standardized magnitude.
\nThe sum of two vectors can be visualized by placing the tail of one at the tip of the other
\nThe difference of two vectors can be visualized by placing the tail of one at the tip of the other
\nThe vector \\(\\langle 4,3 \\rangle\\) is written as \\(2/3 \\cdot\\langle 1,2 \\rangle + 5/3 \\cdot\\langle 2,1 \\rangle\\). Any vector \\(\\vec{c}\\) can be written uniquely as \\(\\alpha\\cdot\\vec{a} + \\beta \\cdot \\vec{b}\\) provided \\(\\vec{a}\\) and \\(\\vec{b}\\) are not parallel.
\nA vector \\(\\langle x, y \\rangle\\) can be written as \\(\\langle r\\cdot \\cos(\\theta), r\\cdot\\sin(\\theta) \\rangle\\) for values \\(r\\) and \\(\\theta\\). The value \\(r\\) is a magnitude, the direction parameterized by \\(\\theta\\).
\n