What is it about?
A function plotter draws the graph of an expression. Type up to three expressions , and . The simulation typesets each one, so you can see how your input was understood, and draws the graph. If there is a typo, the spot is marked and explained.
| Input | means |
|---|---|
2x, 3(x+1) |
, – the multiplication sign may be left out |
x^2, 2^x, x^(1/2) |
, , |
1/(x-1) |
– put the denominator in brackets |
sqrt(x), abs(x) |
, |
sin(x), e^x, ln(x), log_2(x) |
angles in radians |
pi, e, a, b |
constants and parameters (sliders appear) |
The usual order of operations applies, so 1/2x means ; for type 1/(2x).
The simulation can mark zeros, intersections (solutions of ), maxima and minima, poles (dashed asymptotes) and holes in the visible window. These are approximations rounded to two decimal places (). Unlike a naive plotter, it never joins the two sides of a pole with a vertical line – that line would not belong to the graph.
Try it
- Load parabola and sine and drag the traced point. Roughly which numbers solve ?
- Type
1/xfor , pan and zoom. - Make deliberate mistakes such as
2x+orsinus(x). - Change in the family of parabolas.
- Compare x² and 2ˣ: how many intersections are there?
- Look at (x² − 1)/(x − 1) near .
Tasks
Task 1: Zeros
Load task Use the trace to find the zeros of to two decimal places.
Show solution
exactly, , (exactly ). Show
Task 2: Solving graphically
Load task Solve graphically. Why is there only one solution?
Show solution
, since . always increases and always decreases, so the graphs meet only once.
Task 3: Pole or hole?
Load task Both functions are undefined at . How do the graphs differ there?
Show solution
for : a line with a hole at . cannot be simplified; its values grow without bound: a pole with asymptote . Show
Ideas for the classroom
- Use: from grade 8 (functions and their graphs) up to calculus and university; tangents and families of functions for upper grades.
- Expressions are evaluated by a custom parser (no
eval). In task links, hide the result lists with_hide=1and switch off the marks in the picture (nst=0,sct=0,ext=0,asy=0). - All special points are numerical approximations within the window; very flat turning points may be missed.
- Common stumbling blocks: the vertical line at a pole is part of the graph; the computer gives exact values;
1/2xinstead of1/(2x); expecting degrees insin(x).