Interactive Calculus
Secant → Tangent
Move a secant line toward the tangent and visualize the derivative.
The sentence asks for the secant of y = x² approaching the tangent at x = 1. The point of tangency is P = (1, 1). The derivative there is 2, so the tangent line is y = 2x − 1.
The second point starts a horizontal distance h = 2 away, at Q = (3, 9). As h shrinks toward 0, the secant slope (f(1+h) − f(1))/h approaches 2. h never starts at 0, because the difference quotient would divide by zero.
Equation
secant to tangent for y=x^2 at x=1
What the calculus picture shows
Calculus examples in the graph workflow draw a process, not only a final number. A derivative can appear as a tangent, a secant sliding toward that tangent, or a transformed parent function. A Riemann sum draws rectangles whose areas approach a definite integral.
The exact symbolic result and the picture answer different questions. The picture shows how the approximation moves. The value, when the integral exists, is the limit of those approximations. Generate Graph keeps the original sentence in the input so you can edit the function or the bounds.
Reading the input
secant to tangent for y=x^2 at x=1— This line is part of the example input and is sent to DGS unchanged.
Try a change
- Edit one number in the field, then use Generate Graph. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Generate Graph posts the expression to the studio graph engine and draws the result on the homepage. The editable field is the entire input, including every line.