COSMO · STUDY + TEACHING DECKComputer Science & AI
July 10, 2026
C. A question worth sharingDistance and Cosine Similarity
Compare vectors by absolute distance, direction, and the assumptions built into each metric.
ThinkCompareExplain
Today’s routeA question becomes an explanation.
Try
Enter through a problem. A partial attempt counts.
Connect
Use L2 distance, cosine similarity, normalization to name what you notice.
Convince
Build an argument a partner can check.
The goal is a method someone else can use.
The openerStart with a question.
Opening problem
Vectors (1,1) and (2,2) point in the same direction. Are they identical under every comparison?
Think · 2 min
Sketch, test a small case, or make a first guess.
Pair · 3 min
Compare methods. Find one thing you agree on and one question.
Be ready to share your route, even if it is unfinished.
Compare before checkingPut two attempts in conversation.
Explain
Tell a partner how you started. Let them finish before responding.
Question
Which step feels certain? Which step still needs evidence?
Build
Combine one useful idea from each attempt into a new route.
Can you explain your partner’s method in your own words?
Board conversationNotice before naming.
Look for structure
- 01Try a small case and record every step.
- 02Separate what changes from what stays fixed.
- 03State the pattern in a sentence before naming the theorem.
Make a conjecture
We think ___ because ___. A case that might break this is ___.
What changed? What stayed the same?
Useful languageNow the language has a job.
L2 distance
straight-line Euclidean distance between vectors
cosine similarity
normalized dot product measuring directional alignment
normalization
rescaling a vector to unit length
Use one of these words to explain something you already noticed.
The core ideaKeep the idea. Explain the conditions.
cos(u,v)=∥u∥2∥v∥2u⋅v,u,v=0 The idea
Compare vectors by absolute distance, direction, and the assumptions built into each metric.
What to remember
A similarity score is meaningful only after the geometry and scale assumptions are named.
What information does this method keep?
Worked exampleOne route, one decision at a time
The problem
Find the L2 distance between u=(1,2) and v=(4,6).
Predict each next step
- 01Subtract coordinates to get v-u=(3,4).
- 02Square the differences: 9 and 16.
- 03Add to get 25.
- 04Take the square root: the distance is 5.
Which step needs a reason, not just a calculation?
See the structureThe structure behind distance and cosine similarity
Read the representation
Compare vectors by absolute distance, direction, and the assumptions built into each metric.
Look together
Point to the part that explains the relationship. Change one input and predict what changes.
Two approachesCompare the reasoning.
Structural method
- 01Name the objects and conditions.
- 02Use a reusable relationship.
- 03Explain why the method must work.
Brute force
- 01May help with a small test case.
- 02Can hide the general reason.
- 03Becomes unreliable when the scale grows.
Which route can you justify? What would you test first?
Reasoning clinicFind the step that needs repair.
Investigate these concerns
- 01May help with a small test case.
- 02Can hide the general reason.
- 03Becomes unreliable when the scale grows.
Repair together
Name the missing condition. Try a small counterexample. Rewrite one step so it is justified.
A useful correction explains why the original step fails.
Work togetherInvestigate distance and cosine similarity
Your shared task
Students rank the same vector collection with L2 distance and cosine similarity, then explain every disagreement.
Explore
4 min - test cases
Compare
5 min - form a rule
Defend
4 min - defend the rule
Everyone should be able to explain the group’s final claim.
Share → connectWhat did the room discover?
Bring your evidence
Share a conjecture, a useful example, or a route that changed.
Connections to investigate
- 01A similarity score is meaningful only after the geometry and scale assumptions are named.
- 02A complete solution names the condition that makes the method valid.
- 03A counterexample is useful when it exposes a missing condition.
Which observation explains the mechanism?
Try → explain → checkYour turn to build the route
The problem
Find the cosine similarity between a=(1,0) and b=(1,1).
Predict each next step
- 01The dot product is 1.
- 02The lengths are 1 and 2.
- 03Divide to obtain 1/2.
- 04The similarity is about 0.707.
Which step needs a reason, not just a calculation?
Convince a skepticTurn a pattern into a proof.
The claim
Cosine similarity ignores overall scale, while L2 distance responds to both scale and direction.
Build the argument
- 01Multiplying a vector by a positive constant preserves its direction.
- 02The normalized dot product therefore stays the same.
- 03Its Euclidean distance from the original usually changes.
What does each step rely on? Where are the conditions used?
Stretch togetherTake the idea somewhere new.
Transfer challenge
Give two vectors with cosine similarity 1 but L2 distance greater than 10.
Choose a route
Name the objects, the conditions, and a relationship that might help. Start with one test case.
What transfers from the earlier example? What is different?
Peer reviewCheck the argument together.
Restate
Explain the other person’s route before evaluating it.
Test
Try a small case or boundary case. Does every step still make sense?
Revise
Fix an assumption, add a reason, or find a second method.
Where did your thinking change?
Beyond this problemWhere might this idea help?
A connection
Metric choice changes search results, clusters, recommendations, and which embedding appears strongest.
Discuss the model
- 01What objects or quantities are represented?
- 02Which relationship from today is preserved?
- 03What assumption would you check before trusting it?
Invent one more situation with the same structure.
Exit ticketLeave with an explanation.
Question 1
Vectors (1,1) and (2,2) point in the same direction. Are they identical under every comparison?
Question 2
Explain why this claim is true: Cosine similarity ignores overall scale, while L2 distance responds to both scale and direction.
Question 3
Give two vectors with cosine similarity 1 but L2 distance greater than 10.
Choose one. Write an answer with a reason, then compare with a partner.
Reflect togetherMake your thinking visible.
I used to think…
Name a claim or approach that changed.
Now I can explain…
Give the reason, not only the result.
I still wonder…
Write a question worth bringing to the next circle.
Share one sentence. Ask one follow-up question.
The idea to keepA similarity score is meaningful only after the geometry and scale assumptions are named.
Use the matching practice sets to move from direct examples to proof and transfer.
A good question belongs to everyone in the room. 1 / 21
← → to navigate and reveal · N for notes · F to present · Esc to exit