Solveeit Logo

Question

Question: How do you graph \(y = {\left( {x - 5} \right)^2}\)?...

How do you graph y=(x5)2y = {\left( {x - 5} \right)^2}?

Explanation

Solution

First, find the x-intercepts of the curve by putting y=0y = 0. After that, find the y-intercept by putting x=0x = 0. Then take a minimum of 5 points and plot the points. After plotting the points, join the points with a smooth freehand curve and identify the curve that we have obtained.

Complete step-by-step answer:
We know that the graph of a function is the locus of points (x,y)\left( {x,y} \right) such that y=f(x)y = f\left( x \right) where x, y are real numbers. We are given the following quadratic polynomial function,
y=(x5)2\Rightarrow y = {\left( {x - 5} \right)^2}
So, let us put y=0y = 0 and find the x-intercept. We have,
0=(x5)2\Rightarrow 0 = {\left( {x - 5} \right)^2}
Take the square root on both sides,
x5=0\Rightarrow x - 5 = 0
Add 5 on both sides,
x5+5=0+5\Rightarrow x - 5 + 5 = 0 + 5
Simplify the terms,
x=5\Rightarrow x = 5
It means the curve cuts the x-axis at (5,0)\left( {5,0} \right).
Let us put x=0x = 0 and find the y-intercept. We have,
y=(05)2\Rightarrow y = {\left( {0 - 5} \right)^2}
Simplify the terms,
y=(5)2\Rightarrow y = {\left( { - 5} \right)^2}
Square the term on the right side,
y=25\Rightarrow y = 25
It means the curve cuts the y-axis at (0,25)\left( {0,25} \right).
We know that all quadratic functions of the type y=ax2+bc+cy = a{x^2} + bc + c have minimum values but not maximum.
Since the square is always non-negative, we have (x5)20{\left( {x - 5} \right)^2} \ge 0, then we have
y=(x5)20\Rightarrow y = {\left( {x - 5} \right)^2} \ge 0
So, the minimum value of y=0y = 0 and the minimum value occurs when (x5)2=0{\left( {x - 5} \right)^2} = 0 or x=5x = 5.
We already have two points for the curve (5,0)\left( {5,0} \right) and (0,25)\left( {0,25} \right). We find y for three more points.
At x=9x = 9 we have,
y=(95)2\Rightarrow y = {\left( {9 - 5} \right)^2}
Simplify the terms,
y=(4)2\Rightarrow y = {\left( 4 \right)^2}
Square the term on the right side,
y=16\Rightarrow y = 16
At x=3x = 3 we have,
y=(35)2\Rightarrow y = {\left( {3 - 5} \right)^2}
Simplify the terms,
y=(2)2\Rightarrow y = {\left( { - 2} \right)^2}
Square the term on the right side,
y=4\Rightarrow y = 4
At x=7x = 7 we have,
y=(75)2\Rightarrow y = {\left( {7 - 5} \right)^2}
Simplify the terms,
y=(2)2\Rightarrow y = {\left( 2 \right)^2}
Square the term on the right side,
y=4\Rightarrow y = 4
So, we draw the table for x and y.

x05137
y2501644

We plot the above points and join them to have the graph as

Note:
We note that the obtained graph is the graph of the upward parabola whose general equation is given by y=ax2+bx+cy = a{x^2} + bx + c with the condition a>0a > 0 whose vertex here is (5,0)\left( {5,0} \right) . We can directly find the minimum value of y=(x5)2y = {\left( {x - 5} \right)^2} by finding x=b2ax = - \dfrac{b}{{2a}}. If a<0a < 0 the equation y=ax2+bx+cy = a{x^2} + bx + c represents a downward parabola. We also note that the obtained curve is symmetric about the line x=5x = 5.