Izibalo ne-Geometry
Ikhalula ye-Vector: Ubukhulu, Dot Product, Cross Product kanye i-Angle
Sebenza namavhektha amabili e-dimensions ezimbili noma ezintathu. I-vector inesayizi kanye ne-direction, futhi ibhalwa nge-components zayo phakathi kwe-axes ze-x, y, kanye ne-z, njenge-(1, 2, 3). Amavhektha achaza amandla (forces), ukuhamba (velocities), ukusukela (displacements), amamfeyeldi okwelectrici kanye ne-directions kumagamesi ne-computer graphics, ngakho imisebenzi embalwa ejwayelekile iyaphindaphindeka. I-magnitude iyisimo sobude be-vector, etholakala ngomthetho we-Pythagoras. Ukuhlanganisa nokususa amavhektha kwenzeka nge-component nganye. I-dot product yenza ukuba izinto ezifanayo zihlanganiswe, imele ukuthi amavhektha amabili abheke kwanjani endaweni eyodwa; iba ngu-zero uma ebhidlaniswe (perpendicular) futhi isetshenziswa ukubala umsebenzi (work done) odlalwa ngamandla. I-cross product, echazwe e-dimensions ezintathu, ikhipha i-vector entsha ebhidlaniswe kwabo bonke, lapho ubude bayo bufana ne-area ye-parallelogram abakha kuyo; isetshenziswa nge-torque, i-normals ezindaweni (surfaces) kanye ne-rotation. Ngokusebenzisa i-dot product, ungathola futhi i-angle phakathi kwamavhektha kanye ne-projection eyodwa kuwelinye. Kwamavhektha e-2D, faka nje u-0 kuze kuye ku-z components. Uma u-a = (1, 2, 3) kanye no-b = (4, 5, 6), i-dot product yi-32, i-cross product yi (−3, 6, −3) kanye ne-angle engaba yi-12.93 degrees.
Indlela yokusebenzisa leli khalkuletha
- Faka i-x, y kanye ne-z components ze-vector a.
- Faka i-components ze-vector b.
- Kwamavhektha e-2D, shiya u-z njengo-0.
- Funda i-dot ne-cross products, amandla (magnitudes) kanye ne-angle.
- Sebenzisa i-projection kanye ne-unit vector zemibhalo yomqondo we-direction.
I-dot ne-cross products
I-dot product iyisodwa inani; i-cross product iyivhektha. Ukushintsha ukulandelana kwenza i-dot product ingashintshi kodwa ikhiphe i-direction ye-cross product ngamaphambili.
I-direction ye-a × b ilandela umthetho wesandla sokudla (right-hand rule): phakamisa iminwe yakho phakathi kwe-a, uyijikijele e-b, bese um thumb wakho ukhomba phakathi kwe-cross product.
Izindlelo zokusebenzisa
Kwe-physics, umsebenzi ufana ne-dot product yamandla (force) kanye nokuhamba (displacement), kanti i-torque ifana ne-cross product yomlenze (lever arm) kanye namandla. Kwe-3D graphics, i-dot products zibeka ukukhanya (brightness) kanye ne-cross products zikhipha i-surface normals.
I-unit vectors, enobude obulinga i-1, ichaza isiqondiso esisodwa futhi ivame ukusetshenziswa ukunqamula idatha (normalise) ngaphambi kokubhengezwa kweziqondiso.
Ifomu nendlela
Magnitude |a| = √(x² + y² + z²)Dot product a · b = aₓbₓ + a_yb_y + a_zb_zCross product a × b = (a_yb_z − a_zb_y, a_zbₓ − aₓb_z, aₓb_y − a_ybₓ)Angle θ = arccos(a · b ÷ (|a| |b|)); scalar projection of a on b = a · b ÷ |b||a| = √(aₓ² + a_y² + a_z²). a ± b = (aₓ ± bₓ, a_y ± b_y, a_z ± b_z). a · b = aₓbₓ + a_yb_y + a_zb_z = |a||b| cos θ. a × b = (a_yb_z − a_zb_y, a_zbₓ − aₓb_z, aₓb_y − a_ybₓ), lapho |a × b| = |a||b| sin θ. Angle θ = arccos(a · b ÷ (|a||b|)). I-scalar projection ka-a ku-b = a · b ÷ |b|. I-unit vector ka-a = a ÷ |a|. I-angle kanye ne-projection azichazeki uma eyodwa kulezi zivhektha ingaba zero.
Isibonelo esixazululiwe
a = (1, 2, 3), b = (4, 5, 6)
- a · b = 4 + 10 + 18 = 32.
- a × b = (2×6 − 3×5, 3×4 − 1×6, 1×5 − 2×4) = (−3, 6, −3).
- |a| = 3.742, |b| = 8.775, ngakho θ = arccos(32 ÷ 32.83) ≈ 12.93°.
Impendulo: Dot product 32, cross product (−3, 6, −3), angle 12.93°.
Imibuzo ejwayeleleke kakhulu
Ngingathola kanjani i-magnitude ye-vector?
Thatha isiqu (square root) somthelela we-components ezikhulisiwe (squared components).
Iyini i-dot product?
Umthelela wezibalo ze-components ezifanayo.
I-dot product e-zero imele ukuthini?
Amavhektha abhidlaniswe (perpendicular).
Iyini i-cross product?
I-vector ebhidlaniswe kwabo bonke amavhektha amabili, enobude obufana ne-area ye-parallelogram.
Ngingasebenzisa amavhektha e-2D?
Yebo, faka u-0 kuze kuye ku-z components.
Ngingathola kanjani i-angle phakathi kwamavhektha?
θ = arccos(a · b ÷ (|a| × |b|)).