Question
Question: How do you graph \[f\left( x \right) = {\left( {x + 2} \right)^2}?\]...
How do you graph f(x)=(x+2)2?
Solution
The given question describes the operation of addition/ subtraction/ multiplication/ division. Also, this problem involves the operation of substituting the x values in the given equation to find y values. Also, y is the fraction of x. By using the values of x and y we can easily draw the graph. To make easy calculations we can simplify the given equation by using algebraic formulas.
Complete step by step solution:
The given question is shown below,
y=f(x)=(x+2)2→(1)
We know that,
(a+b)2=a2+b2+2ab
By using the above-mentioned algebraic formula we can simplify the equation (1) as follows,
(1)→y=(x+2)2
We would draw the graph for the above equation.
As a first step, we would assume x value as given below,
x=...−2,−1,0,1,2,.....
By substituting the above-mentioned x values in the equation (2), we can find the y values.
Let’s substitute x=−2 in the equation (2), we get
(2)→y=x2+4x+4
Let’s substitutex=−1 in the equation (2), we get
(2)→y=x2+4x+4
Let’s substitute x=0 in the equation (2), we get
(2)→y=x2+4x+4
Let’s substitute x=1 in the equation (2), we get
(2)→y=x2+4x+4
Let’s substitute x=2 in the equation (2), we get
(2)→y=x2+4x+4
Let’s make a tabular column by using thexandyvalues as given below,
x | −2 | −1 | 0 | 1 | 2 |
---|---|---|---|---|---|
y | 0 | 1 | 4 | 9 | 14 |
By using these points we can easily draw the graph.
The above graph represents the equation y(x)=(x+2)2
Note: In this type of question we would assume x value, by using the x value we can find the value of y. The graph could be based on the equation. y is the function of x. So, y also can be written as f(x). Note that y=x2 the form equation always makes a parabolic shape in the graph sheet. Remember the algebraic formula (a+b)2=a2+b2+2ab.