Type one, two or three functions of x and this graph plotter draws them together on the same axes. It also lists where each graph cuts the x-axis and the y-axis, where two graphs meet, and gives a table of values you can copy onto graph paper. It is made for Classes 9 to 12: straight lines, pairs of linear equations, quadratic polynomials, and the graphs of sin, cos, log and other functions.
How to use the graph plotter
Write each function the way you would write it in your notebook, but on one line. For example, write y = x2 − 2x − 3 as x^2 - 2x - 3. Some more examples:
- A straight line y = 3x + 2: type
3x + 2 - A cubic polynomial y = x3 − 4x: type
x^3 - 4x - y = 2 sin x: type
2sin(x). Always put brackets after sin, cos, tan, log, ln, sqrt and abs. - y = √(x + 4): type
sqrt(x + 4) - y = 1 ÷ x: type
1/x, and y = 2x: type2^x
Use the four range boxes to choose which part of the graph you see. The Zoom in and Zoom out buttons halve or double the window around its centre. Here log means log to base 10 and ln means log to base e. In Class 11 the graphs of sin x, cos x and tan x are drawn with x in radians, so Radians is the default; choose Degrees if you want x in degrees.
What the graph tells you
Zeroes of a polynomial
In NCERT Class 10 Chapter 2 (Polynomials) you learn that the zeroes of p(x) are the x-coordinates of the points where the graph of y = p(x) cuts the x-axis. A linear polynomial has at most one zero, a quadratic at most two and a cubic at most three. The shape of the graph of y = ax2 + bx + c is a parabola: it opens upwards when a > 0 and downwards when a < 0.
Pair of linear equations
In Class 10 Chapter 3 two lines are drawn on the same graph. If the lines meet at one point, that point is the unique solution. If they are parallel there is no solution, and if they lie on top of each other there are infinitely many solutions. Write each equation in the form y = … before typing it. For example, 2x + y = 6 becomes 6 - 2x.
Intercepts
The y-intercept is the value of y when x = 0, that is f(0). The graph crosses the y-axis at the point (0, f(0)).
Worked example
Question: Draw the graphs of y = x2 − 2x − 3 and y = x + 1. Find the zeroes of x2 − 2x − 3 and the points where the two graphs meet.
Step 1: table of values.
| x | −4 | −2 | 0 | 2 | 4 | 6 |
|---|---|---|---|---|---|---|
| x2 − 2x − 3 | 21 | 5 | −3 | −3 | 5 | 21 |
| x + 1 | −3 | −1 | 1 | 3 | 5 | 7 |
Step 2: zeroes. The parabola cuts the x-axis at x = −1 and x = 3. Check by factorising: x2 − 2x − 3 = (x + 1)(x − 3), which is 0 when x = −1 or x = 3. Its y-intercept is f(0) = −3.
Step 3: meeting points. Put x2 − 2x − 3 = x + 1. This gives x2 − 3x − 4 = 0, so (x + 1)(x − 4) = 0 and x = −1 or x = 4. Then y = 0 or y = 5. The graphs meet at (−1, 0) and (4, 5). These are exactly the values the calculator above shows for this example.
Common mistakes
- Joining the plotted points with straight line segments for a quadratic. The graph of a quadratic polynomial is a smooth curve (a parabola), not a set of straight pieces.
- Reading the zeroes from the y-axis. Zeroes are the x-coordinates where the graph meets the x-axis.
- Forgetting that −x2 means −(x2). For x = −3, −x2 = −9, not 9. Write (−x)^2 if you mean the square of −x.
- Choosing a range that is too small, so a zero or a meeting point falls outside the window. Zoom out if a curve seems to stop at the edge.
- Mixing degrees and radians. sin(30) is 0.5 only when x is in degrees; in radians sin(30) is about −0.988.
Practise with
- NCERT Exemplar Solutions Class 10 Maths Polynomials
- CBSE Class 10 Mathematics Polynomials Worksheet
- Linear Equations in Two Variables Class 9 Worksheet
- CBSE Class 10 Mathematics Pair of Linear Equations in Two Variables Worksheet
- CBSE Class 11 Mathematics Trigonometric Functions Worksheet
Zeroes and meeting points are found numerically and shown to 4 decimal places. A curve that only touches the x-axis is also detected, but always confirm your answer by algebra in the exam.