Quadratic, Absolute Value, and Cubic Functions: Graphs Explained

Quadratic function and its graph

A quadratic function is a polynomial function of degree two. It is defined by the formula: f(x)=ax2+bx+cf(x)=ax^2+bx+c, where aa, bb and cc are constants, and a is not equal to zero.
The graph of a quadratic function is a parabola, which is a U-shaped curve. The direction of the parabola depends on the sign of the leading coefficient aa. If aa is positive, the parabola opens upward, and if aa is negative, the parabola opens downward.
The vertex of the parabola is given by the formula: (b2a,4acb24a)\left(-\frac{b}{2a}, \frac{4ac - b^2}{4a}\right).

The axis of symmetry of the parabola is the vertical line passing through the vertex, given by the equation x=b2ax=-\frac{b}{2a}

The xx-intercepts (zeros) of the quadratic function are given by the quadratic formula: x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.
If the discriminant b24acb^2-4ac is positive, the quadratic function has two distinct real roots, which are the xx-coordinates of the xx-intercepts. If the discriminant is zero, the quadratic function has one real root, which is the xx-coordinate of the vertex. If the discriminant is negative, the quadratic function has no real roots, but two complex conjugate roots.

Quadratic functions can also be written in factored form: f(x)=a(xr1)(xr2)f(x)=a(x-r_1 )(x-r_2 ), where r1r_1 and r2r_2 are the roots of the quadratic function. This form is useful for finding the roots of the function.
The vertex form of the quadratic function is: f(x)=a(xh)2+kf(x)=a(x-h)^2 +k, where (h,k)(h,k) is the vertex of the parabola. The standard form and vertex form of the quadratic function are related by: f(x)=a(xh)2+k=ax22ahx+ah2+kf(x)=a(x-h)^2 +k=ax^2 -2ahx+ah^2 +k, which shows that aa, b=2ahb=-2ah, and c=ah2+kc=ah^2 +k are related to the vertex (h,k)(h,k).
The quadratic function can be graphed by plotting the vertex, the axis of symmetry, and the xx-intercepts. To sketch the graph, we can also find the maximum or minimum value of the function, the domain, the range, and any transformations or shifts.

Maximum or minimum value of the quadratic function:
If a>0a > 0, the parabola opens upward, and the vertex is the minimum point of the function. The minimum value is f(h)=kf(h)=k. If a<0a < 0, the parabola opens downward, and the vertex is the maximum point of the function. The maximum value is f(h)=kf(h)=k.

Domain and range of the quadratic function:
The domain of the quadratic function is the set of all real numbers, since the function is defined for all values of xx. The range depends on the sign of the leading coefficient aa. If a>0a>0, the range is [k,)\left [k, \infty \right ) and if a<0a < 0, the range is (,k]\left ( - \infty ,k \right ].

Graph:
The graph of a quadratic function can be transformed by changing the values of aa, bb and cc. For example, if aa is multiplied by aa positive constant, the graph is stretched vertically, and if aa is multiplied by a negative constant, the graph is reflected about the xx-axis. If bb is added to or subtracted from xx, the graph is shifted horizontally and if cc is added to or subtracted from f(x)f(x), the graph is shifted vertically.

Graph of a quadratic function
graph of a quadratic function

Absolute Value (y=|x|) function and its graph

The function f(x)=xf(x)=|x| is a piecewise-defined function that takes the absolute value of the input xx. The absolute value function is defined as follows:

x={xx<0xx0| x | = \begin{cases} -x & \text{, } x < 0 \\ x & \text{, } x \geq 0 \end{cases}

Therefore, the function f(x)=xf(x)=|x| takes the value xx when xx is non-negative, and x-x when xx is negative. The graph of f(x)=xf(x)=|x| is a V-shaped curve with the vertex at the origin. The slope of the curve changes at x=0x=0, where the function is not differentiable.

Here are some important properties of the absolute value function:
Symmetry: The function f(x)=xf(x)=|x| is symmetric about the origin, which means that f(x)=f(x)f(x)=f(-x) for all xx.

Non-negative values: The absolute value of any real number is non-negative, which means that x0|x| \ge 0 for all xx.

Distance: The absolute value of a number represents its distance from zero on the number line. For example, 3=3|3|=3 and 5=5|-5|=5.

Piecewise-defined function: The absolute value function is a piecewise-defined function, which means that it is defined differently for different intervals of the input xx. In particular, f(x)=xf(x)=x when x0x \ge 0 and f(x)=xf(x)=-x when x<0x < 0.

Applications: The absolute value function is used in a variety of applications, such as measuring the difference between two values, calculating distances, and solving absolute value equations.

Graph of the modulus function
Graph of the modulus function

To summarize, the absolute value function is a piecewise-defined function that takes the non-negative value of its input if it is non-negative, and the negative of its input if it is negative. The graph of f(x)=xf(x)=|x| is a V-shaped curve that is symmetric about the origin.

Cubic function and its graph

The function f(x)=x3f(x)=x^3 is a cubic function that takes the input x and raises it to the third power. The graph of f(x)=x3f(x)=x^3 is a curve that passes through the origin and has a shape similar to the letter "S". The function is defined for all real values of xx.

Here are some important properties of the cubic function:
Domain and range: The domain of the function f(x)=x3f(x)=x^3 is all real numbers, which means that any real number can be plugged into the function. The range of the function is also all real numbers, which means that the output can take any real value.

Symmetry: The function f(x)=x3f(x)=x^3 is an odd function, which means that f(x)=f(x)f(-x)=-f(x) for all xx. This property results in the graph of the function being symmetric about the origin.

Intercepts: The function f(x)=x3f(x)=x^3 passes through the origin, which means that it has a yy-intercept of zero. The function does not have any xx-intercepts.

Increasing and decreasing intervals: The function f(x)=x3f(x)=x^3 is increasing for all xx, which means that the value of the function increases as xx increases. This property results in the graph of the function being upward-sloping. The function does not have any local maxima or minima.

Applications: The cubic function is used in a variety of applications, such as modeling the volume of a cube or the growth of a population.

Graph of cubic function
Graph of cubic function


To summarize, the cubic function f(x)=x3f(x)=x^3 is a function that raises the input xx to the third power. The graph of the function is an upward-sloping curve that passes through the origin and is symmetric about the origin. The function is defined for all real values of xx and has a range of all real numbers.