Back to the Electrical Engineering roadmap
Mechanics and Dynamics · Vectors and motion in two dimensions
Prerequisites: the one-dimensional motion lesson, signed coordinates, right-triangle trigonometry, and componentwise differentiation/integration. Review the linked vector and Calculus I lessons when needed; a completed Linear Algebra course is not required. Goals: construct vector components and directions, distinguish speed from velocity and path length from displacement, use one shared time in two coordinates, derive the ideal projectile model with its conditions, and validate numerical distance estimates.
Review one-dimensional motion · Review vector combinations · Review trigonometric derivatives · Review accumulation
Components need a stated coordinate system
Choose fixed perpendicular x and y axes with the same length unit. The unit vectors î=(1,0) and ĵ=(0,1) are dimensionless. Position is r=xî+yĵ. Its scalar components x,y are signed lengths; the horizontal vector component is xî, which is a vector. Add vectors and multiply by scalars component by component. Displacement is Δr=r₂−r₁, independent of a fixed shift of origin. A position vector and a displacement vector answer different questions.
In these orthogonal axes, ‖w‖=√(wₓ²+wᵧ²). For w≠0 its unit direction is w/‖w‖; the zero vector has no unique direction. If θ is measured counterclockwise from +x, wₓ=‖w‖cosθ and wᵧ=‖w‖sinθ. Use the signs to choose a quadrant: atan(wᵧ/wₓ) alone loses quadrant information and fails at wₓ=0. Software atan2(wᵧ,wₓ) handles the quadrant, but do not give a direction to (0,0). Python trig functions use radians; convert degrees using θrad=θdeg·π/180.
One trajectory, one clock, two components
For elapsed T>0, average velocity is Δr/T, a vector. Where derivatives exist, v=dr/dt=(dx/dt,dy/dt), a=dv/dt=(d²x/dt²,d²y/dt²), and speed is ‖v‖=√(vₓ²+vᵧ²). Both coordinates refer to the same instant: a target must satisfy x(t)=xtarget and y(t)=ytarget for one common t. Finding one time for x and a different time for y does not establish a hit.
For continuous motion with piecewise continuous velocity, traveled distance is S=∫₀ᵀ‖v(t)‖dt; average speed is S/T. The vector triangle inequality gives ‖∫v dt‖≤∫‖v‖dt, hence ‖Δr‖≤S and ‖average velocity‖≤average speed. This also follows by adding successive segment lengths before taking the time-step limit. Neither |Δx|+|Δy| nor ‖Δr‖ is generally the traveled path length. The first adds separate coordinate lengths; the second is only the endpoint chord.
Speed is not d‖r‖/dt. For example r(t)=(Rcos(ωt),Rsin(ωt)) with constant R>0 and ω≠0 has constant ‖r‖=R, but differentiating gives speed R|ω| and nonzero acceleration a=−ω²r. The angle ωt is in radians, with ω in rad/s. This is a counterexample about vector derivatives, not yet a force model for circular motion.
Constant vector acceleration and the projectile model
If a is a constant vector in fixed axes, integrate each component with the same initial time: v=v₀+at and r=r₀+v₀t+½at². For a prescribed uniform downward acceleration choose a=(0,−g), g>0, x right and y up. Neglect drag, wind and collisions; do not infer the forces yet. Then x=x₀+v₀ₓt, y=y₀+v₀ᵧt−½gt², vₓ=v₀ₓ and vᵧ=v₀ᵧ−gt. The two component equations are independent algebraically, but share the clock and any event condition. Drag can invalidate this simple separation.
For v₀ₓ≠0, eliminating t gives y=y₀+(v₀ᵧ/v₀ₓ)(x−x₀)−g(x−x₀)²/(2v₀ₓ²), a parabola on the modeled interval. If v₀ₓ=0, motion is vertical; do not divide by zero to force this y(x) form. An interior apex occurs at t*=v₀ᵧ/g when 0
If launch and landing have the same height and v₀ᵧ>0, solving y(t)=y₀ gives the later time tf=2v₀ᵧ/g, and the signed horizontal displacement is v₀ₓtf. These formulas require that equal-height event and continued validity of the model. For a different landing height solve its actual y condition, retain physically relevant positive roots and check x at the same time. A reference line y=0 is not automatically a collision surface. Near Earth a common approximation is g≈9.8 m/s²; the examples and lab below deliberately use the chosen teaching value g=2 unless stated otherwise.
Worked examples
- Quadrant-aware direction: v=(−3,4) m/s has speed 5 m/s and unit direction (−3/5,4/5). The direction is atan2(4,−3)≈126.870° from +x, in quadrant II. Using atan(4/−3) alone gives about −53.130°, the opposite direction. The signed components, not the positive magnitude alone, preserve direction.
- Path versus endpoint chord: move at (3,0) m/s for 1 s, then at (0,4) m/s for 1 s, starting at the origin. The two segments have lengths 3 and 4 m, so S=7 m, while Δr=(3,4) m and ‖Δr‖=5 m. Average velocity is (3/2,2) m/s, its magnitude is 5/2 m/s, and average speed is 7/2 m/s. The ideal corner has an instantaneous change of velocity; it is a piecewise path description, not a smooth force model.
- One shared flight time: with r₀=(0,0), v₀=(3,4) m/s and g=2 m/s², r=(3t,4t−t²). The apex is at t=2 s, r=(6,4) m and v=(3,0) m/s, with speed 3 m/s. At the later equal-height return t=4 s, r=(12,0) m, v=(3,−4) m/s and speed 5 m/s. Average velocity over the flight is (3,0) m/s. The lab’s 16-step distance estimates put the ideal traveled distance between about 14.935419 and 14.960425 m, subject to last-digit rounding; the 12 m chord is not its distance.
- A different landing height: start at r₀=(0,5) m with v₀=(4,0) m/s and g=2 m/s², and define the landing surface as y=0. The vertical equation 5−t²=0 gives the first positive landing time √5 s. Horizontal displacement is 4√5 m and the impact velocity is (4,−2√5) m/s, with speed √(16+20)=6 m/s. The equal-height formula 2v₀ᵧ/g would give zero and is inapplicable: launch and landing heights differ. The free-flight model ends at impact.
Common mistakes and checks
Do not confuse scalar components with vector components, add component magnitudes to obtain a Euclidean speed, or infer a direction for zero velocity. State the angle convention and use radians in software trig functions. Do not combine coordinates from different times. Zero vertical velocity at an apex is not generally zero total velocity or zero acceleration. Equal-height flight formulas are conditional, and a zero reference level is not automatically a floor. Check units, initial data and component derivatives; a plotted parabola alone does not verify a physical model.
Practice
- Move from (1,−2) m to (−2,2) m in 2 s. Find displacement, its magnitude and average velocity. Is the traveled distance determined by this information alone?
- A velocity has speed 10 m/s and direction 150° counterclockwise from +x. Find its components and unit direction, checking the quadrant.
- For r₀=(−1,1) m, v₀=(2,3) m/s and constant a=(1,−2) m/s², find r(2),v(2), speed, displacement and average velocity.
- An ideal projectile has v₀=(−2,3) m/s, g=2 m/s² and returns to its launch height. Find the later return time, signed horizontal displacement, apex height gain and speed at the apex.
Fully worked solutions
- Δr=(−3,4) m, ‖Δr‖=5 m and average velocity (−3/2,2) m/s. Distance is at least 5 m but otherwise undetermined without a path; a straight segment realizes 5 m, while a detour can be longer.
- 150°=5π/6 rad. Components are (10cos150°,10sin150°)=(−5√3,5) m/s, and unit direction (−√3/2,1/2). The signs place it in quadrant II and the squared components sum to 100 m²/s².
- r(2)=(−1+4+2,1+6−4)=(5,3) m. v(2)=(2+2,3−4)=(4,−1) m/s; speed is √17 m/s. Displacement is (6,2) m and average velocity is (3,1) m/s. The chord length is 2√10 m, not 8 m.
- The later return is 2·3/2=3 s and horizontal displacement is −2·3=−6 m. Apex time is 3/2 s; height gain is 3(3/2)−(3/2)²=9/4 m. At the apex v=(−2,0) m/s, so speed is 2 m/s, not zero.
Assessment · Open book · 18 points
Open book: use books, lesson notes, cited readings, calculators, and relevant free software. Explain your own reasoning, assumptions, units, and checks; identify references or software you use. Attempt the questions before opening the answer key. Suggested study time: 40–60 minutes; this is a self-study guide, not a timed restriction.
Use references and relevant free software. Explain your own reasoning, units, axis and event conditions; identify sources/software used. The application challenge adds 6 points to these 12. Constant-acceleration models apply only over the stated intervals, and chosen g values are model inputs. Attempt each part before opening the rubric.
- With r₀=(1,−1) m, v₀=(−2,3) m/s and a=(1,−2) m/s² constant for 2 s, calculate the endpoint, final velocity, average velocity and final speed. (4)
- From the origin launch with v₀=(4,6) m/s and prescribed g=2 m/s², landing at the same height. Derive the later return time, apex time/height, signed horizontal displacement and speed at the apex. (4)
- For constant velocity (3,4) m/s over 2 s, a report adds |Δx|+|Δy| and calls the result distance. Find the displacement magnitude, actual distance and average speed. Explain the error, and give a different path between the same endpoints for which that sum would be the distance. (4)
Application and reasoning · 6 points
An ideal projectile starts at (0,0) m with v0=(3,4) m/s and a=(0,−2) m/s². A targeting report combines an x-coordinate from one time with a y-coordinate from another. Determine whether P=(9,3) m is reached by finding every relevant vertical time and checking the horizontal condition at the same time (2). Test Q=(9,4) m the same way (2). Find the velocity and speed when P is reached, and explain why the apex is not a stop (2).
Complete answer key and scoring rubric
- r(2)=(1−4+2,−1+6−4)=(−1,1) m (1). v(2)=(−2+2,3−4)=(0,−1) m/s (1). Displacement is (−2,2) m, so average velocity is (−1,1) m/s (1). Final speed is √(0²+(−1)²)=1 m/s (1).
- y=6t−t²=0 has roots 0 and 6 s; the later return is 6 s (1). vᵧ=6−2t=0 at 3 s, giving y=9 m (1). Horizontal displacement is 4·6=24 m (1). At the apex v=(4,0) m/s, so speed is 4 m/s while a=(0,−2) m/s² is nonzero (1).
- Displacement is (6,8) m and its magnitude √(36+64)=10 m (1). The stated constant velocity gives a straight segment, so actual distance is 10 m and average speed is 5 m/s (1). Adding 6+8=14 m assumes separate axis-aligned travel, not simultaneous components of this motion (1). A path first 6 m horizontally and then 8 m vertically has the same endpoints and length 14 m; it is a different velocity history (1).
Application and reasoning · 6 points
The shared model is x=3t,y=4t−t². For y=3, t²−4t+3=0 gives t=1,3 s (1); x=9 requires t=3 s, so P is reached at 3 s, not 1 s (1). For y=4, (t−2)²=0 gives only t=2 s (1), but then x=6 m, while x=9 requires t=3 s and y=3 m; Q is not reached (1). At P, v=(3,4−2·3)=(3,−2) m/s and speed √13 m/s (1). At the apex t=2 s, v=(3,0) m/s still has speed 3 m/s, and a=(0,−2) m/s² remains nonzero (1).
Scoring: existing questions 12 + application problem 6 = 18 points. Award the stated method and reasoning marks, not only final answers.
Download the planar-motion lab
Download the Python vector-motion lab
Objective: compare exact components, direction and event times with traveled-distance estimates. Install free Python 3 for Windows, macOS or Linux from its official download page. Save the file and run from its folder; Windows may use py -3 instead of python3. No account, institutional login or extra package is needed; the script runs offline after installation. Inputs vx0,vy0 are in m/s, g in m/s² and T in s. The lab fixes r₀=(0,0), a=(0,−g), and uses half-unit inputs: velocities −4..12, g 0.5..12, T 0.5..6. Use decimal halves such as −0.5 in the browser; the downloaded script also accepts fractions such as -1/2. The coordinate y=0 is a reference level, not an automatic ground boundary.
python3 ee-motion-2d.py 3 4 2 4
python3 ee-motion-2d.py -3 4 2 4
python3 ee-motion-2d.py 4 0 2 2
python3 ee-motion-2d.py 0 2 2 2
python3 ee-motion-2d.py 0 0 2 1
python3 ee-motion-2d.py -1/2 1/2 1/2 3/2
Procedure: predict the endpoint and velocity at one shared T, then any apex strictly inside (0,T). A positive return time to launch height may lie beyond the chosen interval; the output says whether it is inside. Reverse vx0 and compare the mirror path. For zero initial velocity, explain why its direction is undefined. Next compute speed at the midpoint and endpoints of 8 and 16 equal time cells. The script reports midpoint sum Mₙ and trapezoid sum Uₙ, their gap, and a signed-component check. Repeat in the browser alternative and compare.
Why these distance estimates bracket the model
Here f(t)=‖(vx0,vy0−gt)‖ is the norm of an affine vector, so the triangle inequality gives f((1−λ)s+λt)≤(1−λ)f(s)+λf(t) for 0≤λ≤1. This is convexity. On each time cell the graph lies below the endpoint chord; integrating gives the trapezoid upper bound. Also f(midpoint)≤[f(midpoint−u)+f(midpoint+u)]/2; integrating symmetric u gives the midpoint lower bound. Therefore Mₙ≤S≤Uₙ mathematically. Refining from 8 to 16 cells raises the lower estimate and lowers the upper estimate for this model. Floating-point outputs are rounded approximations to these bounds, not certified interval arithmetic or a measurement-uncertainty budget. An elementary closed-form arc-length antiderivative is not required here.
Expected observations and worked lab answers
Run 1 ends at (12,0) m with v=(3,−4) m/s; speed is 5 m/s and the apex at 2 s is (6,4) m. Initial angle is about 53.130102° and unit direction (0.6,0.8). M₈≈14.910380 m, U₈≈15.010470 m; M₁₆≈14.935419 m, U₁₆≈14.960425 m. The mirror run has x=−12 m and initial angle about 126.869898°, but equal speed and distance bounds. The horizontal-launch run ends at (8,−4) m with v=(4,−4) m/s and no future positive return to y=0. The vertical up-and-down run has zero displacement but distance 2 m. The initially stationary run has undefined initial direction yet moves downward for t>0, ending at (0,−1) m. The fraction run ends at (−3/4,3/16) m with velocity (−1/2,−1/4) m/s and interior apex at 1 s.
Why can the two first runs have different directions but identical distance? Reversing only vx mirrors x while leaving vx²+(vy−gt)² unchanged. Why is the apex not always a stop? Only the vertical component vanishes. Why not replace distance by the endpoint chord? The velocity direction changes during the flight. Why does a computed negative y not itself prove a collision? A collision surface and post-impact rule were never supplied.
Limits: a point in fixed orthogonal axes under prescribed constant acceleration, with no drag, spin, wind, collision or measurement noise. Chosen half-unit g values are teaching parameters; g=2 is not local Earth gravity, and this bounded lab does not accept every real-world input. Python components use exact fractions, while direction, norms and quadrature use standard-library floating point. Browser displays six decimals and uses scaled checks at 1e−9. No physical equipment is required; a real launch would need measured initial data, calibration, uncertainty and model validation.
Precise free readings and next step
Read OpenStax §2.2 for vector notation and quadrants, then §§4.1–4.3 for component derivatives, constant vector acceleration and conditional projectile formulas. MIT’s verified coordinate-system lesson starts its 2D sequence; continue through Lesson 3 from the Week 1 index for videos and practice. All are publicly readable without a university login or textbook purchase. Next develop Newton’s laws and free-body diagrams before equilibrium and force applications. Mechanics and Dynamics and the other EE Year 1 subjects remain in progress.
- OpenStax University Physics Vol. 1 §2.2 · Coordinates and Vector Components
- §4.1 · Displacement and Velocity Vectors
- §4.2 · Acceleration Vector
- §4.3 · Projectile Motion
- MIT 8.01SC · 3.1 Coordinate System and Position Vector in 2D
- MIT · Week 1 index, Lesson 3 and worked examples
- Python Software Foundation · Free Python 3 downloads
- Python math · hypot, atan2 and angle conversion
- Python fractions · Exact rational components
Planar motion lab · One clock, two components
Connect exact component motion with direction, apex conditions and numerical traveled-distance estimates.
Free tool built into this page. Use it in your browser without an account or download.
Procedure
Try (vx0,vy0,g,T)=(3,4,2,4),(−3,4,2,4),(4,0,2,2),(0,2,2,2),(0,0,2,1),(−0.5,0.5,0.5,1.5). Use x right, y up, r0=(0,0) and a=(0,−g) in SI. Predict the endpoint, velocity and whether an apex is inside the interval. Compare 8/16-step midpoint and trapezoid distance estimates with Python. This model does not stop at a surface; y=0 is a reference level.
Expected results and answer check
The first run ends at (12,0) m with velocity (3,−4) m/s and speed 5 m/s, but its apex has velocity (3,0), not zero. Reversing vx mirrors x without changing speed or distance estimates. A zero initial velocity has no defined direction. Midpoint/trapezoid values bracket the model distance mathematically; displayed bounds have floating-point rounding.
Uniform prescribed downward acceleration, fixed orthogonal axes, no drag, collision, spin or measurement noise. Half-unit parameters are teaching choices; g=2 is not local Earth gravity. Exact Python components and floating-point norms/quadrature do not validate a physical launch.