DoAssignment.ca

C1.6 · Transform polynomial function graphs

Learn to transform polynomial function graphs through clear examples and targeted practice.

Ontario Grade 12 Mathematics

Polynomial and Rational Functions

How changes to a polynomial rule move, stretch, and reflect its graph

A polynomial graph can be changed by adjusting its function rule. The changes may move the graph, make it wider or narrower, or reflect it across an axis. These transformations apply to polynomials of different degrees. The same point-mapping ideas work for a quadratic, cubic, or other polynomial. In this lesson, you will connect the rule, a table of points, and the resulting graph.

What you will learn

1. Prerequisite bridge: functions and points

A function rule assigns an output to each allowed input. For example, if f(x)=x3−3xf(x)=x^3-3x, then f(2)=2f(2)=2. A point on its graph has the form (x,f(x))(x,f(x)), so (2,2)(2,2) lies on the graph.
A transformation changes the location or shape of a graph. A translation moves every point the same distance. A reflection flips the graph across a line, such as the xx-axis. A stretch changes distances from an axis; a compression makes those distances smaller.
The graph being changed is the original graph, y=f(x)y=f(x). The new graph is described using a transformed rule. Comparing a few corresponding points is a practical way to see what the rule does.
(x,y)=(x,f(x))(x,y)=(x,f(x))

2. Read the transformations in the rule

A useful general form is g(x)=af(k(x−d))+cg(x)=a f(k(x-d))+c. Here, ff is the original polynomial rule and gg is the transformed rule. The value dd shifts the graph horizontally, and cc shifts it vertically. A positive dd moves it right; a negative dd moves it left. A positive cc moves it up; a negative cc moves it down.
The factor aa changes the outputs. If ∣a∣>1|a|>1, the graph is stretched vertically by that factor. If 0<∣a∣<10<|a|<1, it is compressed vertically. If a<0a<0, it is also reflected across the xx-axis.
The factor kk changes the inputs inside the function. Its effect on horizontal distances is the reciprocal: the horizontal scale factor is 1/∣k∣1/|k|. If ∣k∣>1|k|>1, the graph is compressed horizontally. If 0<∣k∣<10<|k|<1, it is stretched horizontally. When k<0k<0, the graph is also reflected horizontally; the point mapping captures this direction change.
For a point (x,y)(x,y) on y=f(x)y=f(x), the corresponding point on y=g(x)y=g(x) is (d+x/k,ay+c)(d+x/k, ay+c). This follows by matching the input to ff: the new input must make k(xextnew−d)k(x_{ ext{new}}-d) equal to the original input xx. Then the output is multiplied by aa and shifted by cc.
Apply the transformations to the graph as a whole. When describing a combined transformation, remember that the input changes inside ff and the output changes outside it. A table helps prevent errors with horizontal scaling.
(x,y)↦(d+xk, ay+c)(x,y)\mapsto\left(d+\frac{x}{k},\ ay+c\right)

3. Guided example: combine changes and map points

Start with the polynomial f(x)=x3−3xf(x)=x^3-3x. The new rule is g(x)=−2f(x−12)+3g(x)=-2f\left(\frac{x-1}{2}\right)+3. Match it to the general form: a=−2a=-2, k=12k=\frac12, d=1d=1, and c=3c=3.
The graph is stretched horizontally by a factor of 22, shifted right 11, stretched vertically by a factor of 22, reflected across the xx-axis, and shifted up 33. The horizontal stretch comes from the reciprocal of 12\frac12.
Choose input values for ff and calculate their outputs. Then map each original point to the new graph. The table shows that the horizontal coordinate changes to 1+2x1+2x, while the output changes to −2y+3-2y+3.
The listed points are useful for sketching, but they do not by themselves specify every point on the curve. Draw a smooth cubic shape through them, preserving the graph's overall pattern after the stated transformations.
g(x)=−2f(x−12)+3g(x)=-2f\left(\frac{x-1}{2}\right)+3

4. Apply the idea and check your graph

To sketch another transformed polynomial, identify the original rule first. Read the numbers and signs outside and inside the function. Describe the vertical changes and horizontal changes, then use a few points to locate the new graph.
A point can also help you check whether a proposed sketch is consistent. If an original point has output zero, its transformed output is cc, because multiplying zero by aa still gives zero. Its horizontal position may still change. This is a quick check on the vertical translation, not a claim that all transformed graphs have a point at that height.
If a polynomial is given expanded rather than in the form af(k(x−d))+ca f(k(x-d))+c, identify the original function or rewrite the rule before describing transformations. Do not assume that a coefficient multiplying the whole polynomial is a horizontal change; it changes outputs.
g(x)=af(k(x−d))+cg(x)=a f(k(x-d))+c

Original points and their transformed positions

Original input xxOriginal output f(x)f(x)Mapped input 1+2x1+2xMapped output −2f(x)+3-2f(x)+3
−2-2−2-2−3-377
−1-122−1-1−1-1
00001133
11−2-23377
222255−1-1

Worked example

Map a cubic graph through combined transformations

For f(x)=x3−3xf(x)=x^3-3x and g(x)=−2f(x−12)+3g(x)=-2f\left(\frac{x-1}{2}\right)+3, describe the transformations and map the original points with inputs −2,−1,0,1,2-2,-1,0,1,2.
  1. Identify the transformation values
    Compare the rule with g(x)=af(k(x−d))+cg(x)=a f(k(x-d))+c. This gives a=−2a=-2, k=12k=\frac12, d=1d=1, and c=3c=3. The negative aa reflects across the xx-axis as well as stretching vertically.
    a=−2,k=12,d=1,c=3a=-2,\quad k=\frac12,\quad d=1,\quad c=3
  2. Describe the graph changes
    The horizontal scale factor is 1/∣k∣=21/|k|=2, so the graph is stretched horizontally by 22. It shifts right 11. The vertical factor has magnitude 22, so it stretches vertically by 22, reflects across the xx-axis, and then shifts up 33.
    1∣k∣=2\frac{1}{|k|}=2
  3. Find original outputs
    Substitute each chosen input into f(x)=x3−3xf(x)=x^3-3x. For example, f(−2)=−8+6=−2f(-2)=-8+6=-2, and f(2)=8−6=2f(2)=8-6=2. The other outputs are 2,0,−22,0,-2 for inputs −1,0,1-1,0,1.
    f(−2)=−2,f(−1)=2,f(0)=0,f(1)=−2,f(2)=2f(-2)=-2,\quad f(-1)=2,\quad f(0)=0,\quad f(1)=-2,\quad f(2)=2
  4. Map each point
    For each original point (x,y)(x,y), use (1+2x,−2y+3)(1+2x,-2y+3). This gives the new horizontal coordinate from the horizontal stretch and shift, and the new output from the reflection, vertical stretch, and upward shift.
    (x,y)↦(1+2x,−2y+3)(x,y)\mapsto(1+2x,-2y+3)
Answer: The graph is stretched horizontally by 22, shifted right 11, stretched vertically by 22, reflected across the xx-axis, and shifted up 33. The mapped points are (−3,7)(-3,7), (−1,−1)(-1,-1), (1,3)(1,3), (3,7)(3,7), and (5,−1)(5,-1), in the order of the original inputs −2,−1,0,1,2-2,-1,0,1,2.
Check: For the original point (0,0)(0,0), the map gives (1,3)(1,3). The transformed rule also gives g(1)=−2f(0)+3=3g(1)=-2f(0)+3=3, so this mapped point checks.

Common mistakes and how to avoid them

Treating the horizontal factor kk as the horizontal scale factor.
Correction: The horizontal scale factor is 1/∣k∣1/|k|. For example, k=12k=\frac12 gives a horizontal stretch by 22.
Thinking that a negative factor inside ff reflects across the xx-axis.
Correction: A negative factor inside the function reflects horizontally. A negative outside factor, aa, reflects across the xx-axis.
Applying the vertical shift before multiplying the output.
Correction: Use the mapped output ay+cay+c: first multiply the original output by aa, then add cc.
Moving points left when dd is positive.
Correction: In f(k(x−d))f(k(x-d)), positive dd shifts the graph right by dd.

Lesson summary

Check your understanding

Question 1

For g(x)=3f(x+2)−1g(x)=3f(x+2)-1, which description is correct?
  1. Shift left 22, stretch vertically by 33, and shift down 11.
  2. Shift right 22, stretch horizontally by 33, and shift down 11.
  3. Shift left 22, reflect across the xx-axis, and shift up 11.
  4. correctIndex
Show answer and explanation
Shift left 22, stretch vertically by 33, and shift down 11.
Since x+2=x−(−2)x+2=x-(-2), the graph shifts left 22. The outside factor 33 stretches vertically by 33, and −1-1 shifts it down 11.

Question 2

In g(x)=f(2(x−1))g(x)=f(2(x-1)), what is the horizontal scale factor?
  1. 22, so the graph stretches horizontally.
  2. 12\frac12, so the graph compresses horizontally.
  3. 22, so the graph compresses vertically.
  4. correctIndex
Show answer and explanation
12\frac12, so the graph compresses horizontally.
Here k=2k=2, so the horizontal scale factor is 1/∣2∣=121/|2|=\frac12. The graph is compressed horizontally.

Question 3

The point (4,−1)(4,-1) is on y=f(x)y=f(x). Under g(x)=−f(x−3)+2g(x)=-f(x-3)+2, where does it map?
  1. (7,3)(7,3)
  2. (1,3)(1,3)
  3. (7,1)(7,1)
  4. correctIndex
Show answer and explanation
(7,3)(7,3)
Here a=−1a=-1, k=1k=1, d=3d=3, and c=2c=2. The point maps to (3+4,−(−1)+2)=(7,3)(3+4,-(-1)+2)=(7,3).

Key terms

Polynomial function
A function made from terms with real-number coefficients and non-negative whole-number powers of the variable.
Translation
A move of a graph that shifts every point the same distance in the same direction.
Reflection
A flip of a graph across a line, such as the xx-axis.
Vertical stretch or compression
A change that multiplies the graph's output distances from the xx-axis by a factor.
Horizontal stretch or compression
A change that multiplies the graph's input distances from the vertical line of reflection or shift by a factor.

Continue through MHF4U

View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons

About this lesson and its review

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 12 Mathematics (MHF4U), expectation C1.6. It is a study resource, not an official curriculum publication.

Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question