y=x2y = x^2

Graph of the Quadratic Function y=x2y = x^2

The graph of y=x2y = x^2 is an upward-opening parabola with its vertex at the origin1. It is the simplest quadratic function: the general form y=ax2+bx+cy = ax^2 + bx + c with a=1a = 1 and b=c=0b = c = 0.

Domain and range

  • The domain is all real numbers
  • The range is y0y \geq 0
  • The minimum value 00 is attained at x=0x = 0
  • Even function

Squaring a real number never gives a negative result, which is what limits the range.

Symmetry

Since (x)2=x2(-x)^2 = x^2, the function is even and its graph is symmetric about the yy-axis: xx and x-x give the same value, and the axis of symmetry is the line x=0x = 0.

Monotonicity and vertex

The derivative is y=2xy' = 2x: negative for x<0x < 0, where the function decreases, and positive for x>0x > 0, where it increases. It turns around at x=0x = 0 and attains its minimum there, and that point is the vertex of the parabola. The second derivative y=2y'' = 2 is positive everywhere, so the curve is convex throughout.

Rate of growth

xxy=x2y = x^2
1111
2244
3399
1010100100

Doubling xx multiplies yy by 44, and tripling xx multiplies it by 99: the value grows in proportion to the square of xx. The curve touches the xx-axis at its vertex, the only point it shares with that axis.

Relationships with other functions

Restricted to x0x \geq 0 the function is one-to-one, and its inverse is y=xy = \sqrt{x}; the two graphs are reflections of each other in the line y=xy = x.

Range of xxWhich is larger
0<x<10 < |x| < 1x2>x4x^2 > x^4
x=0|x| = 0 or 11equal
x>1|x| > 1x2<x4x^2 < x^4

As the archetype of the even powers it invites comparison with y=x4y = x^4.

Applications

Parabolas appear throughout nature. Under gravity alone the distance fallen is y=12gt2y = \dfrac{1}{2}gt^2, proportional to the square of the time, and a thrown object traces a parabolic path2.

  • Projectile motion under gravity
  • Parabolic dishes and reflecting telescopes, which gather parallel rays into the focus
  • The sum of squared errors minimized in least-squares fitting

For y=x2y = x^2 the focus is (0,14)\left(0, \dfrac{1}{4}\right) and the directrix is the line y=14y = -\dfrac{1}{4}.

  1. Quadratic function, Wikipedia
  2. Projectile motion, Wikipedia