: Never mutate the original adjacency list or matrix while you are still reading from it. This corrupts the traversal pointer and leads to logic errors. Always build a separate target graph.
| ✅ The Correct Approach | ❌ A Common Pitfall | | :--- | :--- | | The graph of y = f(x+2) is shifted . | Mistaking y = f(x+2) for a 2-unit shift to the right . | | A point (x, y) on y = f(x) moves to (x + h, y + k) for a translation by vector (h, k) . | Adding h to the y -coordinate for a horizontal shift. | | To shift a function to the right by h , we use y = f(x - h) . | Using y = f(x + h) when intending a shift to the right . | transformation of graph dse exercise
be a trigonometric curve. If the curve is horizontally compressed to half its original width and shifted upward by 1 unit, what is its new equation?A. : Never mutate the original adjacency list or
Aggregating edge properties or splitting complex nodes to balance storage efficiency and query speed. | ✅ The Correct Approach | ❌ A
Graph: The parabola opens upward with a vertex at (0, 3).