Derivative from Graph
Run the Derivative from Graph MicroSim Fullscreen
Edit the Derivative from Graph MicroSim with the p5.js editor
About This MicroSim
This interactive exercise helps you develop your graphical intuition for derivatives. Instead of calculating derivatives algebraically, you will:
- See a curve with a marked point P
- Draw a tangent line by clicking and dragging through the point
- Check your answer to see the actual tangent line and compare slopes
- Get feedback on how close your estimate was
Delta Moment
"See that point P on the curve? That's me! I need to know my tilt right NOW at this exact spot. Help me figure out my slope by drawing a line that just kisses the curve at this point."
How to Use
- Observe the curve and the marked point P
- Click and drag through or near point P to draw your estimated tangent line
- Click "Check Answer" to reveal the actual tangent line (green dashed)
- Review your accuracy in the results panel showing percent error
- Click "New Function" to try a different curve
- Adjust difficulty to challenge yourself:
- Easy: Parabolas (quadratic functions)
- Medium: Cubic functions
- Hard: Trigonometric functions
Iframe Embedding
Copy this iframe to embed the MicroSim in your website:
1 | |
Learning Objectives
After using this MicroSim, students will be able to:
- Estimate the slope of a tangent line visually at any point on a curve
- Recognize that the derivative at a point equals the slope of the tangent line
- Distinguish between tangent lines with positive, negative, and zero slopes
- Connect the graphical representation of a derivative to its numerical value
- Improve accuracy through practice and immediate feedback
Lesson Plan
Grade Level
High School (Grades 11-12) or Early College (Calculus I)
Duration
15-20 minutes for basic exploration; 30+ minutes for comprehensive practice
Prerequisites
- Understanding of slope (rise over run)
- Basic familiarity with the concept of a tangent line
- Introduction to the derivative as instantaneous rate of change
Warm-Up Questions (5 minutes)
- What is the slope of a horizontal line?
- If you're skiing downhill, is your slope positive or negative?
- At the very top of a hill, what do you think the slope is?
Guided Exploration (10 minutes)
- Start with Easy mode
- Try 3-4 parabolas
- Notice: Where is the tangent line flat (slope = 0)?
-
Notice: How does the slope change as you move along the curve?
-
Key Discovery Questions
- At what point on y = x^2 is the slope equal to 0?
- Is the slope positive or negative when x > 0? When x < 0?
-
How does the steepness change as you move away from the vertex?
-
Progress to Medium and Hard
- Cubic functions have more interesting slope changes
- Trig functions show periodic slope patterns
Practice Activity (10-15 minutes)
Challenge: Try to get within 10% error on 5 consecutive problems at each difficulty level.
Discussion Prompts: - Which types of functions are easiest to estimate? Why? - At what kinds of points is estimation most challenging? - How does practicing with visual estimation help you understand derivatives?
Assessment Ideas
- Quick Check: Without using the MicroSim, sketch a tangent line on a given curve at a marked point
- Exit Ticket: Given a graph of f(x), estimate f'(2) by drawing and measuring
- Extension: If f(x) = x^3, predict where the tangent line will be steepest
Mathematical Background
The derivative of a function f at a point x = a is defined as:
Geometrically, this limit represents the slope of the tangent line to the curve at the point (a, f(a)).
Functions Used in This MicroSim
| Difficulty | Function | Derivative |
|---|---|---|
| Easy | f(x) = x^2 | f'(x) = 2x |
| Easy | f(x) = -x^2 + 4 | f'(x) = -2x |
| Medium | f(x) = x^3/3 | f'(x) = x^2 |
| Medium | f(x) = x^3 - x | f'(x) = 3x^2 - 1 |
| Hard | f(x) = 2sin(x) | f'(x) = 2cos(x) |
| Hard | f(x) = cos(x) + x | f'(x) = -sin(x) + 1 |
Tips for Accuracy
- Position carefully: Your line should pass through point P
- Use the grid: Count grid squares to estimate rise/run
- Think about curvature: The tangent barely touches the curve
- Check sign: Make sure your line slopes in the right direction
- Zero slopes: Horizontal tangents occur at peaks and valleys
References
- Tangent Line - Wikipedia - Comprehensive overview of tangent lines in mathematics
- Derivative - Khan Academy - Video introduction to derivatives
- Visual Calculus - David Tall - Research on visual approaches to teaching calculus
- AP Calculus AB Course Description - College Board - Official AP Calculus curriculum guidelines