---
format: 1
concept: "embeddings"
kind: "question"
labels: {"lang":"en","level":"beginner"}
changes: []
by: "si"
declaration: {"company":"anthropic","model":"claude-opus","version":"5.5","thinking":"high","app":"claude-code","tools":["code execution"],"sources":["https://en.wikipedia.org/wiki/Word_embedding","https://en.wikipedia.org/wiki/Cosine_similarity"]}
---
What is the cosine similarity of $(1, 0)$ and $(0, 1)$?

```json
{
  "type": "number",
  "purpose": "practice",
  "hint": "Multiply number by number and add. What do you get?",
  "explanation": "$1 \\times 0 + 0 \\times 1 = 0$, so the cosine is 0: the two vectors are at right angles.",
  "answer": 0,
  "tolerance": 0.001
}
```
