Skip to main content

Ooo Vectors

I had to learn basic things about vectors. So thought why not write a blog post :P? 

Also special thanks to papa 💫

 So here we go..

PHYSICAL QUANTITY:-

A quantity that can be measured and expressed in units. We have two types of Physical Quantity
  • Scalar:- A physical quantity that has only magnitude. Example: Mass, speed.
  • Vectors:- A physical quantity that has both magnitude and direction. Example: Displacement, velocity. 

Now, what are vectors?

VECTORS:-
  • A physical quantity that has both magnitude and direction.
  • In geometry, a vector is a directed line segment, whose length is the MAGNITUDE of the vector and the arrow indicating the DIRECTION.
  • The MAGNITUDE of a vector $(\vec{A})$ is the absolute value of a vector and is indicated as $\boxed{|\vec{A}|}.$
REPRESENTATION OF VECTORS:-
  • A vector pointing from $A$ to $B$ is written as $\vec{AB}.$
  • We usually define a single point $O$ as the ORIGIN. Then we associate every point $P$ with the vector $\vec{OP}$ or $\vec{P}$
MAGNITUDE OF VECTORS:-
  • It's just the distance between the initial point $A$ and endpoint $B.$
  • We consider the cartesian plane, let $A$ has coordinate $(x_0,y_0)$ and $B$ has coordinate $(x_1,y_1).$ 
  • Then  $\vec{AB}= ~~\sqrt{(x_1-x_0)^2+(y_1-y_0)^2}.$
  • Letting $A$ as the origin and end point $B=~~(x,y),$ we get $\vec{AB}=~~\sqrt{x^2+y^2}$ 
EQUALITY OF VECTORS:-
  • Two vectors are called equal if their magnitudes and direction are the same. 
  • So a vector from $(0,0)$ to $(0,1)$ is same as $(0,2)$ to $(0,3).$
ADDITION OF VECTORS:- 
  • We use the Parallelogram Law to add vectors.
  • The vector pointing to $(x,y)$ from $(0,0)$ is denoted as $\langle x,y \rangle.$
  • If we have two vectors $\langle x_1,y_1 \rangle,~~\langle x_2,y_2 \rangle ,$ then adding we get $\langle x_1+x_2,~~y_1+y_2 \rangle.$
  • We also have another way. Let $\vec{AB}=\vec{a},~~ \vec{AC}= \vec{b}.$ Let $D$ be a point such that $ABDC$ is a Parallelogram. We say  $\vec{AB}+\vec{AC}=\vec{AD}.$
  • Now, what about the magnitude of $\vec{AD}?$
  • Let's drop the perpendicular from $D$ to $AB$ and call the feet $E.$ 
  • Suppose $\angle CAB=\theta$ and $\angle DAB=\alpha .$
  • So we get $$AD^2=~~(AB+BE)^2+(DE)^2$$ $$= (|\vec{a}|+\vec{b}\cos \theta)^2+~~(|\vec{b}|\sin \theta)^2$$ $$= |\vec{a}|^2+|\vec{a}||\vec{b}|\cos \theta+|\vec{b}|^2.$$
  • Hence, the magnitude of $$\boxed{ \vec{a}+ \vec{b}=~~\sqrt{ |\vec{a}|^2+|\vec{a}||\vec{b}|\cos \theta+|\vec{b}|^2}}$$

FUN FACT:- The sum of the coordinate of the points of a parallelogram are always equal.

Note:- We also have triangle law of addition, but that gives the same result ( here we basically join one head of the vector and one vector's tail and the resultant vector form the third side of the triangles, whose two sides are the two given vectors. )

More like, we have $\vec{BD}=\vec{b}$ and we are applying the triangle law. I think parallelogram is more famous (?)

MULTIPLICATION OF A VECTOR BY A SCALAR:- 
  • Suppose $\vec{a}$ is a vector and $k$ be any real number ( A scalar quantity).
  • We define $\vec{b}=k\vec{a}.$ And the magnitude would be $k|\vec{a}|.$
  • The vector $\vec{b}$ has same direction if $k$ is positive, opposite direction if $k$ is negetive.
SUBTRACTION OF VECTORS:- 
  • Let $\vec{a}$ and $\vec{b}$ be two vectors. we define $\vec{a}-\vec{b}$ as the sum of vector $\vec{a}$ and $\vec{-b}$
  • Note that $\vec{-b}$ is just the vector $\vec{b}$ but with invited direction.

RESOLUTION OF VECTORS:-

  • In the above diagram, we have $\vec{a}=\vec{OA}=\vec{OB}+\vec{OC}.$
  • But note that $OB=|\vec{a}|\cos \alpha$ and $OC=|\vec{a}|\cos \beta.$
Now, we define $\hat{i},\hat{j},\hat {k}$ as the unit vector along $OX,OY,OX$ (It's like a unit which is introduced to simplify algebric manupilations, we will understand that later)
  • So $\vec{a}=|\vec{a}|\cos\alpha\hat{i}+~~|\vec{a}|\cos \beta\hat {j}.$
This we talked in $X-Y$ plane, right? Now, what about $X-Y-Z$ plane? Well.. it's the same!
  • We have $$\boxed{\vec{a}=|\vec{a}|\cos\alpha\hat{i}+ ~~| \vec{a}|\cos \beta\hat {j}+~~|\vec{a}|\cos\gamma\hat{k} }$$ where $\vec{a}$ makes angle of $\gamma$ on $Z$ axis. 
By this we can see that any vector in $\Bbb {R_3}$ can be expressed as a linear combination of $3$ unit vectors i.e $\hat{i},\hat{j},\hat {k}.$

P.S. I actually love the next two parts and the above part :P . It's math u see :O

DOT PRODUCT or SCALAR PRODUCT:-
  • We define, $\vec{a}\cdot \vec{b}=|\vec{a}|\cdot |\vec{b}|\cos\theta$ where $\theta $ is the angle between vectors $\vec{a}$ and $ \vec{b}.$
Here are few examples which will help you :

$$ \hat{i}\cdot \hat{i}=1$$
$$\hat{j}\cdot \hat{j}=1 $$
$$ \hat{k}\cdot \hat{k}=1$$
$$\hat{i}\cdot \hat{j}=0$$
$$ \hat{j}\cdot \hat{k}=0$$
$$ \hat{i}\cdot \hat{k}=0$$

Well.. this makes sense since $\sin 90=0$ and $\sin 0=1.$

Also, a fun thing to note is that the dot product is commutative and distributive too. Why am I saying this? We will understand when I say about cross-product...

Anyways here's a fun example to solve!

Example:- Find $$(\hat{i}+\hat{2j})\cdot(3\hat{i}-5{j})$$

Solution:- Note that $$(\hat{i}+\hat{2j})\cdot(3\hat{i}-5{j})$$ $$=3\hat{i}\cdot\hat{i}-5\hat{j}{i}+2\hat{j}\cdot 3\hat{i}-10\hat{j}\cdot\hat{j}= 3-0+0-10=-7.$$

CROSS PRODUCT or VECTOR PRODUCT:-
  • The cross product or the vector product of the two vectors is $$\boxed{|\vec{a}\times \vec{b}|=|\vec{a}||\vec{b}|\sin\theta}$$ where $\theta$ is the angle between vector $\vec{a}$ and $\vec{b}$
  • The direction of vector $\vec{a}\times \vec{b}$ is perpendicular to both $\vec{a}$ and $\vec{b}.$

Here are few examples which will help you :

$$ \hat{i}\times \hat{i}=0$$
$$\hat{j}\times \hat{j}=0 $$
$$ \hat{k}\times \hat{k}=0$$
$$\hat{i}\times \hat{j}=\hat{k}$$
$$ \hat{j}\times\hat{k}=\hat{i}$$
$$ \hat{k}\times\hat{i}=\hat{j}$$
$$\hat{j}\times \hat{i}=-\hat{k}$$
$$ \hat{k}\times\hat{j}=-\hat{i}$$
$$ \hat{i}\times \hat{k}=-\hat{j}$$

Well, by now you must have understood that Cross product isn't commutative. But it does follow distributive law.

Anyways here's another fun example to solve!

Example:- Find $(2\hat{i}+3\hat{j})\times(2\hat{i}+3\hat{j})$

Solution:- Won't write :P , but from this we can conclude that for any vector $\vec{u}$ we have $\vec{u}\times \vec{u}=0.$

AREA, DETERMINANTS and CROSS PRODDUCTS:-
  • Note that $|\vec{a}\times \vec{b}|=|\vec{a}||\vec{b}|\sin\theta$
  • But we have $$Area=\frac 12 ab\sin\theta=\frac{|\vec{a}||\vec{b}|\sin\theta}{2}=\frac{\vec{a}\times \vec{b}|}{2} $$.
Note that $|\vec{a}\times \vec{b}|$ is scalar



Now, let's do a problem to understand this "Area" topic better.

Examples:- Find the area of triangle with vertices $(-1,-3),~~(4,1),~~(-2,3).$

Solution:- We know that transition doesn't affect the area so..
$$(-1,-3)\rightarrow (0,0)$$
$$(4,1)\rightarrow (5,4)$$
$$(-2,3)\rightarrow (-1,6)$$

Now, we locate these points in the coordinate plane.



Clearly we get $[ABC]=[DBFE]-[ABD]-[ACE]-[BCF]=36-3-10-3=17.$

Now, plotting these points take a bit of time right? So we present two more solutions.

Second solution:-  Remember cross-products? We are going to use that!

We have $\langle 5,4\rangle = 5\hat{i}+4\hat{j}.$ Similarly, we have $\langle 1,6\rangle =-\hat{i}+6\hat{j}.$

So taking cross product, we get $|(5\hat{i}+4\hat{j})\times (\hat{i}+6\hat{j})|=|34\hat{k}|=34.$

So area is $\frac{34}{2}=17.$

Third Solution:- Now we will use matrix :)


Another problem!

Find the area of the triangle (-1,-2,-3),(1,2,3),(3,2,1)$

Solution:- Again transitioning doesn't change the area, so..

$$(-1,-2,-3)\rightarrow (0,0,0)$$
$$(1,2,3)\rightarrow (2,4,6)$$
$$(3,2,1)\rightarrow (4,4,4)$$

Now, we use heron's formula.

Calculating the distances between each point, we get the distance $\sqrt{56},\sqrt{8},\sqrt{48}.$

So we get $s= \sqrt{14}+\sqrt{2}+2\sqrt{3}.$

And so we get $$A=\sqrt{\left(\sqrt{14}+\sqrt{2}+2\sqrt{3}\right)\left(\sqrt{14}+\sqrt{2}+2\sqrt{3}-\sqrt{56}\right)\left(\sqrt{14}+\sqrt{2}+2\sqrt{3}-\sqrt{8}\right)\left(\sqrt{14}+\sqrt{2}+2\sqrt{3}-\sqrt{48}\right)}$$ $$=4\sqrt{6}.$$

Second Solution:- 

We use matrix which is way faster.

Now taking magnitude, using the fact that cross factor is two times the area i.e

Area=$\frac12(\sqrt{64+16^2+64})= 4\sqrt{6}.$


Anyways hope this post helps someone :) If you liked this post and want more posts like these then do subscribe to Sunaina Thinks Absurd.

Sunaina💜

Comments

  1. Simply brilliant... The geometrical interpretation has made it more meaningful...and hence lively😊... CONGRATULATIONS & Best Wishes to a budding Mathematician... Sunaina🎊

    ReplyDelete
  2. Hey, best wishes for INMO camp. But in which class you are in now?

    ReplyDelete
  3. Thanks, we just havig MOOC (also if you want to see the lectures, you can see HBCSE's channel in Youtube). Also I am in Grade 11( just entered ).

    ReplyDelete
    Replies
    1. Great. I hope will get select for IMO. Your video lectures?

      Delete
  4. You are at grade 11?I saw your account on stackexchange.You are learning that math alone or there is olympiad instructor that is helping you?Thank you.

    ReplyDelete
    Replies
    1. Well, I was doing OTIS last year, where I took instructor( I won't reveal his name for privacy reasons), but if you follow my blog, you will know who he is!

      Delete
  5. Did you by nychance learn vector bashing :P ?

    ReplyDelete
    Replies
    1. :O Not really, there was one G2 which was solvable using Vectors.. but that wasn't a vector bashing :P But sounds fun to learn!

      Are you giving INMO? :O

      Delete

Post a Comment

Popular posts from this blog

My experiences at EGMO, IMOTC and PROMYS experience

Yes, I know. This post should have been posted like 2 months ago. Okay okay, sorry. But yeah, I was just waiting for everything to be over and I was lazy. ( sorry ) You know, the transitioning period from high school to college is very weird. I will join CMI( Chennai Mathematical  Institue) for bsc maths and cs degree. And I am very scared. Like very very scared. No, not about making new friends and all. I don't care about that part because I know a decent amount of CMI people already.  What I am scared of is whether I will be able to handle the coursework and get good grades T_T Anyways, here's my EGMO PDC, EGMO, IMOTC and PROMYS experience. Yes, a lot of stuff. My EGMO experience is a lot and I wrote a lot of details, IMOTC and PROMYS is just a few paras. Oh to those, who don't know me or are reading for the first time. I am Sunaina Pati. I was IND2 at EGMO 2023 which was held in Slovenia. I was also invited to the IMOTC or International Mathematical Olympiad Training Cam...

How to prepare for RMO?

"Let's wait for this exam to get over".. *Proceeds to wait for 2 whole fricking years!  I always wanted to write a book recommendation list, because I have been asked so many times! But then I was always like "Let's wait for this exam to get over" and so on. Why? You see it's pretty embarrassing to write a "How to prepare for RMO/INMO" post and then proceed to "fail" i.e not qualifying.  Okay okay, you might be thinking, "Sunaina you qualified like in 10th grade itself, you will obviously qualify in 11th and 12th grade." No. It's not that easy. Plus you are talking to a very underconfident girl. I have always underestimated myself. And I think that's the worst thing one can do itself. Am I confident about myself now? Definitely not but I am learning not to self-depreciate myself little by little. Okay, I shall write more about it in the next post describing my experience in 3 different camps and 1 program.  So, I got...

Problems with meeting people!

Yeah, I did some problems and here are a few of them! I hope you guys try them! Putnam, 2018 B3 Find all positive integers $n < 10^{100}$ for which simultaneously $n$ divides $2^n$, $n-1$ divides $2^n - 1$, and $n-2$ divides $2^n - 2$. Proof We have $$n|2^n\implies n=2^a\implies 2^a-1|2^n-1\implies a|n\implies a=2^b$$ $$\implies 2^{2^b}-2|2^{2^a}-2\implies 2^b-1|2^a-1\implies b|a\implies b=2^c.$$ Then simply bounding. USAMO 1987 Determine all solutions in non-zero integers $a$ and $b$ of the equation $$(a^2+b)(a+b^2) = (a-b)^3.$$ Proof We get $$ 2b^2+(a^2-3a)b+(a+3a^2)=0\implies b = \frac{3a-a^2\pm\sqrt{a^4-6a^3-15a^2-8a}}{4}$$ $$\implies a^4-6a^3-15a^2-8a=a(a-8)(a+1)^2\text{ a perfect square}$$ $$\implies a(a-8)=k^2\implies a^2-8a-k^2=0\implies \implies a=\frac{8\pm\sqrt{64+4k^2}}{2}=4\pm\sqrt{16+k^2}. $$ $$ 16+k^2=m^2\implies (m-k)(m+k)=16.$$ Now just bash. USAMO 1988 Suppose that the set $\{1,2,\cdots, 1998\}$ has been partitioned into disjoint pairs $\{a_i,b_i\}$ ($1...

How to prepare for INMO

Since INMO is coming up, it would be nice to write a post about it! A lot of people have been asking me for tips. To people who are visiting this site for the first time, hi! I am Sunaina Pati, an undergrad student at Chennai Mathematical Institute. I was an INMO awardee in 2021,2022,2023. I am also very grateful to be part of the India EGMO 2023 delegation. Thanks to them I got a silver medal!  I think the title of the post might be clickbait for some. What I want to convey is how I would have prepared for INMO if I were to give it again. Anyway, so here are a few tips for people! Practice, practice, practice!! I can not emphasize how important this is. This is the only way you can realise which areas ( that is combinatorics, geometry, number theory, algebra) are your strength and where you need to work on. Try the problems as much as you want, and make sure you use all the ideas you can possibly think of before looking at a hint. So rather than fixing time as a measure to dec...

Birthday Functional Equations problems

Heyoo!!! Birthday FEs!!!!!! $11$ FEs!! Also I would be posting solutions to RG's FE handout, I am done with 10 prs :P!! Problem: Find all functions $f :\Bbb R \rightarrow \Bbb R$ such that $$2f (x) - 5f (y) = 8, \forall x, y \in \Bbb R$$ Solution: $$2f(x)-5f(y)=8$$ $$\implies 2f(x)-5f(x)=8$$ $$\implies f(x)=\frac{-8}{3}, \text{ a constant function }$$ We did this in Rohan Bhaiya's FE class..Oh btw the EGMO camp is sooo niceee! I am loving it!! It's such a big deal to be able to train and attend the camp with EGMO team members! Problem: Find all functions $f :\Bbb R \rightarrow \Bbb R$ such that $$f (x) + xf (1 -x) = x, \forall x\in \Bbb R.$$ Solution: $$f(x)+xf(1-x)=x$$ $$f(1-x)+(1-x)f(x)=1-x$$ This is actually in the linear equations in two variable form! $$x+ay=a$$ $$y+bx=b$$ Anyways,  $$f(x)+xf(1-x)=x$$ $$xf(1-x)+f(x)(1-x)x=(1-x)x$$ $$ \implies f(x)(x-x^2)-f(x)=-x^2\implies f(x)=\frac{-x^2}{x-x^2-1}=\frac{x^2}{x^2-x+1}$$ But verifying, this doesn't work. Problem: ...

IMO Shortlist 2021 C1

 I am planning to do at least one ISL every day so that I do not lose my Olympiad touch (and also they are fun to think about!). Today, I tried the 2021 IMO shortlist C1.  (2021 ISL C1) Let $S$ be an infinite set of positive integers, such that there exist four pairwise distinct $a,b,c,d \in S$ with $\gcd(a,b) \neq \gcd(c,d)$. Prove that there exist three pairwise distinct $x,y,z \in S$ such that $\gcd(x,y)=\gcd(y,z) \neq \gcd(z,x)$. Suppose not. Then any $3$ elements $x,y,z\in S$ will be $(x,y)=(y,z)=(x,z)$ or $(x,y)\ne (y,z)\ne (x,z)$. There exists an infinite set $T$ such that $\forall x,y\in T,(x,y)=d,$ where $d$ is constant. Fix a random element $a$. Note that $(x,a)|a$. So $(x,a)\le a$.Since there are infinite elements and finite many possibilities for the gcd (atmost $a$). So $\exists$ set $T$ which is infinite such that $\forall b_1,b_2\in T$ $$(a,b_1)=(a,b_2)=d.$$ Note that if $(b_1,b_2)\ne d$ then we get a contradiction as we get a set satisfying the proble...

Some NMTC sub-junior level Problems

Well.. Many people don't know but I was a part of STEM's Horizon ( Now, I have left them due to boards etc.) BTW STEM's Horizons is really great! And anyone interested in Olympiad math should join it! More info about it in below (make sure to check it out!). So here are some problems I sent to them. They are fairly easy, and most of them are repetitive ideas. But they are my first sets of problems ( I know UMO was there but still..) The solutions will be posted in another blog posts. You guys can type out sols in the comments sections too :) Problems:- 1. What is maximum possible number dividing  $x^2+x+1$ and $x^5 +x^4 +x^3 + 3x^2 +2 x +4$ for all $x\in \Bbb{N}$ 2. Let $P$ be the sum of all $x$ and $y$ satisfying $45^x-2^x=2021^y.$ What is the last two digits of $p^2+p+1.$ 3. What is the greatest value of $r$ such that $3^r$ is factor of $10^{2022}-8^{674}$. 4. Find all possible tuples $ (x,y,l)$ such that $\frac{x}{100}=\frac{20}{y}=\frac{5}{l}.$ 5. Consider the following...

Problems done in August

  Welcome back! So today I will be sharing a few problems which I did last week and some ISLs. Easy ones I guess. Happy September 2021!  Problem[APMO 2018 P1]: Let $ABC$ be a triangle with orthocenter $H$ and let $M$ and $N$ denote the midpoints of ${AB}$ and ${AC}$. Assume $H$ lies inside quadrilateral $BMNC$, and the circumcircles of $\triangle BMH$ and $\triangle CNH$ are tangent. The line through $H$ parallel to ${BC}$ intersects $(BMH)$ and $(CNH)$ again at $K$, $L$ respectively. Let $F = {MK} \cap {NL}$, and let $J$ denote the incenter of $\triangle MHN$. Prove that $FJ = FA$. Proof:  By angle chase, we get $\angle FKL=\angle FLK.$    Hence $KL||MN\implies FM=FN.$   And we get $\angle MFN=2A\implies F$ is circumcentre if $(AMN)\implies FA=FM=FN.$   And we get $\angle MHN=180-2A$    Hence $MFHN$ is cyclic.    By fact 5, $ME=FJ=FN\implies FJ=FA.$ Problem[Shortlist 2007 G3]: Let $ABCD$ be a trapezoid whose diagonals meet at $P$....

Orders and Primitive roots

 Theory  We know what Fermat's little theorem states. If $p$ is a prime number, then for any integer $a$, the number $a^p − a$ is an integer multiple of $p$. In the notation of modular arithmetic, this is expressed as \[a^{p}\equiv a{\pmod {p}}.\] So, essentially, for every $(a,m)=1$, ${a}^{\phi (m)}\equiv 1 \pmod {m}$. But $\phi (m)$ isn't necessarily the smallest exponent. For example, we know $4^{12}\equiv 1\mod 13$ but so is $4^6$. So, we care about the "smallest" exponent $d$ such that $a^d\equiv 1\mod m$ given $(a,m)=1$.  Orders Given a prime $p$, the order of an integer $a$ modulo $p$, $p\nmid a$, is the smallest positive integer $d$, such that $a^d \equiv 1 \pmod p$. This is denoted $\text{ord}_p(a) = d$. If $p$ is a primes and $p\nmid a$, let $d$ be order of $a$ mod $p$. Then $a^n\equiv 1\pmod p\implies d|n$. Let $n=pd+r, r\ll d$. Which implies $a^r\equiv 1\pmod p.$ But $d$ is the smallest natural number. So $r=0$. So $d|n$. Show that $n$ divid...

Just spam combo problems cause why not

This post is mainly for Rohan Bhaiya. He gave me/EGMO contestants a lot and lots of problems. Here are solutions to a very few of them.  To Rohan Bhaiya: I just wrote the sketch/proofs here cause why not :P. I did a few more extra problems so yeah.  I sort of sorted the problems into different sub-areas, but it's just better to try all of them! I did try some more combo problems outside this but I tried them in my tablet and worked there itself. So latexing was tough. Algorithms  "Just find the algorithm" they said and they died.  References:  Algorithms Pset by Abhay Bestrapalli Algorithms by Cody Johnson Problem1: Suppose the positive integer $n$ is odd. First Al writes the numbers $1, 2,\dots, 2n$ on the blackboard. Then he picks any two numbers $a, b$ erases them, and writes, instead, $|a - b|$. Prove that an odd number will remain at the end.  Proof: Well, we go $\mod 2$. Note that $$|a-b|\equiv a+b\mod 2\implies \text{ the final number is }1+2+\dots ...