← All parts of this equation

Equation 18 · Part 6 · Naive, Graph, and Agentic: A Systems Comparison of RAG Architectures

fraction

cquery(Q)=CindexQ+cmarginal.c_{\text{query}}(Q) = \frac{C_{\text{index}}}{Q} + c_{\text{marginal}}.
fraction

What this part means

Divide the expression above the line by the one below it.

Its job in the formula

The expression above the fraction bar is divided by the complete expression below it. The denominator must not be zero.

The passage around this formula

This is the one family among the five whose defining engineering trade-off is temporal rather than architectural: cost is shifted from query time to index time. Writing CindexC_{\text{index}} for the one-time cost of building the graph and its community summaries, and cmarginalc_{\text{marginal}} for the cost of answering a single query against the finished structure, the amortised cost of a query workload of size Q against one graph is cquery(Q)=CindexQ+cmarginalc_{\text{query}}(Q) = \frac{C_{\text{index}}}{Q} + c_{\text{marginal}}. When Q is small — a corpus queried rarely, or one still being explored — CindexC_{\text{index}} dominates and the naive or hybrid architectures are cheaper by a wide margin, because they pay nothing until a query arrives. When Q is large against a stable…

Read this part in the article →

Learn the underlying idea

A fraction a/b means a divided by b. The top number is the numerator; the bottom number is the denominator, and it cannot be zero.

Open the illustrated fractions: division written vertically guide →

Sources cited in the surrounding passage

These citations provide research context; check each source for the exact claim it supports.