Content-Length: 249121 | pFad | http://github.com/cp-algorithms/cp-algorithms/pull/1479

A1 small modification in basic geometry dot product by syed0369 · Pull Request #1479 · cp-algorithms/cp-algorithms · GitHub
Skip to content

small modification in basic geometry dot product #1479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

syed0369
Copy link

@syed0369 syed0369 commented Jul 9, 2025

To see the next important property we should take a look at the set of points $\mathbf r$ for which $\mathbf r\cdot \mathbf a = C$ for some fixed constant $C$.
You can see that this set of points is exactly the set of points for which the projection onto $\mathbf a$ is the point $C \cdot \dfrac{\mathbf a}{|\mathbf a|}$ and they form a hyperplane orthogonal to $\mathbf a$.

I guess for $\mathbf r\cdot \mathbf a = C$ the point of projection is $\mathbf r \cos \theta$ which is of magnitude $C/|\mathbf a|$ and has direction of $\hat{a}$ (unit vec along ${\mathbf a}$) so the point is $C \cdot \dfrac{ \hat{\mathbf{a}}}{|\mathbf a|}$ which evaluates to the point $C \cdot \dfrac{\mathbf a}{|\mathbf a|^2}$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/cp-algorithms/cp-algorithms/pull/1479

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy