Why does adding a constant to a function's input (as in f(x-a)) shift the plot of the function along the x-axis?

Imagine the function f(x) as a black box which takes in any value x and produces an output y. The black box acts on its input according to a rule which produces a unique value of y for a given x. If the black box becomes f(x-a) then whenever we throw a value into it a is subtracted from this value before the usual rule is applied. Thus if we imagine a plot of the function we see that any given point on the x-axis will become associated with the y-value originally paired with an adjacent point on the x-axis separated by a distance a.

For example, if we throw 4 into f(x-2)=(x-2)^2 we get 4. But we also get 4 if we throw 2 into f(x)=x^2. Similarly, we get the same output from inputting 2 into f(x-2) as from inputting 0 into f(x) and so on. Drawing an example like f(x)=x^2 and trying some example inputs and outputs should allow you to visualise how this will shift the plot depending on the value of the constant a.

Answered by James H. Maths tutor

6683 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the stationary point of the curve y=3x^2-2x+2 and state the nature of this stationary point.


a) i) find dy/dx of y = 3x^4 - 8x^3 - 3 ii) then find d^2y/dx^2 b) verify that x=2 at a stationary point on the curve c c) is this point a minima or a maxima


Solve the differential equation: dy/dx = 6x^2 + 4x + 9


A mass of 3kg rests on a rough plane inclined at 60 degrees to the horizontal. The coefficient of friction is 1/5. Find the force P acting parallel to the plane applied to the mass, in order to just prevent motion down the plane.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences