Mathematics quiz
24 questions from the Mathematics track. Score 80% or higher to unlock a certificate.
Why Agents Need Math
1. What is an embedding, in math?
Functions and Graphs
2. Which statement is true of a function f?
Sums, Products, and Averages
3. Mean squared error is which mix?
Logs and Exp
4. Why do we use log of a product of token chances?
Min, Max, Percent, and Clip
5. clip(1.4, 0, 1) returns
Vectors
6. Which operation needs two vectors of equal dimension?
Dot Product and Cosine Similarity
7. If two vectors already have length 1, cosine equals which of these?
Matrices
8. If W is 2 by 3 and x has length 3, what is the length of W x?
Linear Maps
9. You scale only document embeddings by a stretch W, and leave the query untransformed. What happens?
Derivatives
10. To minimize f when f'(x) is positive, you should
Gradients
11. The gradient of a scalar function f is
The Chain Rule
12. Backpropagation is
Optimization
13. Gradient descent updates weights by
Probability
14. If two events cannot happen at once, the chance that one or the other happens is
Bayes' Rule
15. P(E|H) is
Distributions
16. A Bernoulli(p) random variable
Expectation and Variance
17. Expected cost of a random step is
Entropy
18. Entropy of a distribution is highest when
Softmax
19. Why subtract max(z) before exp in softmax?
Sampling and Temperature
20. Raising temperature above 1, with the same logits, generally
Cross-Entropy, KL, and Perplexity
21. For a one-hot true token k, cross-entropy is
Weighted Averages and Attention
22. Attention’s output is
Embedding Geometry
23. Why is top-k retrieval alone a risky policy for agents?
Accuracy, Precision, Recall, F1
24. Precision is