Example 1: Finding a curve from its slope
The slope of a curve at any point (x, y) is 2x − 1, and the curve passes through (1, 3). Find the equation of the curve.
dy/dx = 2x − 1y = ∫ (2x − 1) dx = x² − x + C- Substitute
(1, 3):3 = 1 − 1 + C, soC = 3
Answer: y = x² − x + 3