Quadratic Function Explorer
A quadratic function is of the form y = ax2 + bx + c
In the applet below, move the sliders on the right to change the values of a, b and c and note the effects it has on the graph.
See also Cubic Function Explorer
The origin point can be dragged to reposition the graph axes
Things to try
Assuming you already have a knowledge of quadratic equations, the following activities can help you get a more
intuitive feel for the action of the three coefficients (a,b,c).
The simplest case. Y=constant. (y=c)
- Click 'zero all'
a, b, c are all set to zero, so this is the graph of the equation
y = 0x2+0x+0. This simplifies to y=0 and is of course zero for all values of x.
Its graph is therefore a horizontal straight line through the origin.
- Now move the rightmost slider for c and let it settle on, say, 12.
This is the graph of the equation y = 0x2+0x+12.
This simplifies to y=12 and so the function has the value 12 for all values of x.
It is therefore a straight horizontal line through 12 on the y axis.
Play with different values of c and observe the result.
Linear equations. (y=bx)
- Click 'zero all'
- Move the center slider to get different values of b. Let it settle on, say, 2.
This is the graph of the equation y = 0x2+2x+0 which simplifies to y=2x.
This is a simple linear equation and so is a straight line whose slope is 2.
That is, y increases by 2 every time x increases by one. Since the slope is positive, the line slopes up and to the right.
Play with the b slider and observe the results, including negative values.
- Now move both sliders b and c to some value.
This is the equation of y=bx+c and combines the effects of the b and c coefficients.
Play with various values to get a feel for the effects of their values on the graph.
The squared term. (y=ax2)
- Click 'zero all'
- Move the left slider to get different values of a. Let it settle on, say, 2.
This is the graph of the equation 2x2+0x+0.
This simplifies to y=2x2.
Equations of this form and are in the shape of a parabola, and since a is positive, it goes upwards on each side of the origin.
Play with various values of a. As a gets larger the parabola gets steeper and 'narrower'.
When a is negative it slopes downwards each side of the origin.
Note also the roots of the equation (where x is zero) are at the origin and so are both zero.
Full quadratic. (y = ax2+bx+c)
- Click 'zero all'
- Set c to 4, the line moves up
- Set b to 3, the line slopes.
- Set a to 2. The parabola shape is added in.
This is the graph of the equation 2x2+3x+4.
Note how it combines the effects of the three terms.
Play with various values of a, b and c.
Changing c moves it up and down, changing b changes the slope. Changing a alters the curvature of the parabolic element.
Roots
As you play with the quadratic, note that the roots are where the line crosses the x axis, or where y=0.
Usually there are two roots since the line crosses the x-axis twice, so there are two different values of x where y=0.
Under some conditions the line never crosses the x-axis and so the equation has no real roots.
In this case they are expressed as imaginary roots.
Notice that if b=0, then the roots are evenly spaced each side of the origin (for example +2 and -2).
Using the "run" command
- Click 'zero all'
- Click on "run"
The value of a is now varying continuously from a positive to a negative value and back.
While it is running, move the sliders for b and c and observe the effects.
Other graphing tools
(C) 2007 Copyright John Page
|