Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Calculus Clinic · Differentiation

Confusing the gradient value with the y-value

At a given x, the original curve gives the y-coordinate of the point, while the derivative gives the gradient. They are two different substitutions into two different expressions.

Use yy from the curve for the point and dydx\frac{dy}{dx} for the slope, and a tangent question falls straight into place.

The error

To write the equation of a tangent, you need two ingredients at the given x: the point on the curve and the gradient there. The point comes from the original curve, substitute xx into yy.

The gradient comes from the derivative, substitute the same xx into dydx\frac{dy}{dx}. The confusion is treating these two numbers as interchangeable.

Students substitute into dydx\frac{dy}{dx}, get a value, and then reuse that same value as the y-coordinate of the point, so the gradient becomes the height. Others do the reverse, feeding the curve's y-value into the tangent as though it were the slope.

It is tempting because both come from putting the same xx into an expression, and the two expressions look similar. But one measures how high the curve is and the other measures how steep it is; they answer completely different questions.

Wrong line, then the fix

Find the tangent to y=x23x+4y=x^{2}-3x+4 at x=2x=2. Differentiate to get the gradient function dydx=2x3\frac{dy}{dx}=2x-3, and at x=2x=2 this is 2(2)3=12(2)-3=1, so the gradient is 11.

Wrong, the gradient value 1 has been reused as the y-coordinateMust memorise
Point=(2,1),m=1\text{Point}=(2,\,1),\qquad m=1

The number 11 is the slope, not the height. The y-coordinate must come from the original curve, not from the derivative.

Substitute x=2x=2 into y=x23x+4y=x^{2}-3x+4: y=46+4=2y=4-6+4=2.

Correct, y-value from the curve, gradient from the derivativeMust memorise
Point=(2,2),m=1\text{Point}=(2,\,2),\qquad m=1

Now put both into yy1=m(xx1)y-y_{1}=m(x-x_{1}): y2=1(x2)y-2=1(x-2), which simplifies to y=xy=x. Checking, x=2x=2 gives y=2y=2 on both the curve and the tangent, and the slope is 11, so the line touches the curve at the right point with the right steepness.

The reliable fix

  1. 1

    Get the y-coordinate from the curve

    Substitute the given xx into the original equation y=y=\ldots. This number is the height of the point, label it y1y_{1}.

  2. 2

    Differentiate the curve

    Find dydx\frac{dy}{dx} as a function of xx. This is the gradient function, not a coordinate.

  3. 3

    Get the gradient from the derivative

    Substitute the same xx into dydx\frac{dy}{dx}. This number is the slope, label it mm.

  4. 4

    Keep the two numbers labelled

    Write the point as (x1,y1)(x_{1},y_{1}) with y1y_{1} from the curve, and mm separately from the derivative. Never let one stand in for the other.

  5. 5

    Assemble the line

    Substitute into yy1=m(xx1)y-y_{1}=m(x-x_{1}) and simplify. Check the point satisfies your final equation.

One line to remember it

Curve gives the height, derivative gives the slope

The original equation tells you where the point is; dydx\frac{dy}{dx} tells you how steep it is. Two expressions, two different numbers, never swap them.

Practice where the error hides

Q1[4 marks]

The curve y=x24x+7y=x^{2}-4x+7 has a point where x=3x=3. Find the equation of the tangent to the curve at this point.

Show worked solution

First find the y-coordinate from the original curve by substituting x=3x=3.

y=(3)24(3)+7=912+7=4    point (3,4)y=(3)^{2}-4(3)+7=9-12+7=4\;\Rightarrow\;\text{point }(3,4)

Now differentiate to get the gradient function, and substitute x=3x=3 for the slope.

dydx=2x4    dydxx=3=2(3)4=2    m=2\frac{dy}{dx}=2x-4\;\Rightarrow\;\left.\frac{dy}{dx}\right|_{x=3}=2(3)-4=2\;\Rightarrow\; m=2

Keep them apart: the y-value 44 is the height, the gradient 22 is the slope. Reusing 22 as the y-coordinate, writing the point as (3,2)(3,2), is exactly the error to avoid.

Substitute the point and slope into yy1=m(xx1)y-y_{1}=m(x-x_{1}).

y4=2(x3)    y=2x6+4    y=2x2y-4=2(x-3)\;\Rightarrow\; y=2x-6+4\;\Rightarrow\; y=2x-2

The tangent is y=2x2y=2x-2. Checking, x=3x=3 gives y=62=4y=6-2=4, matching the point, and the slope is 22, the y-value came from the curve and the gradient from the derivative, exactly as they should.

How one-to-one teaching helps

Our teachers make the two substitutions visibly separate, one box for 'height from the curve', one for 'slope from the derivative', so the numbers never blur into each other. In a one-to-one lesson we catch the exact moment a gradient gets reused as a coordinate and re-anchor it by asking which question each number answers.

Because the paper awards method marks, labelling the point and the slope clearly protects your marks even if a later step slips. Teachers at spmaddmath.com.my are experienced, and lessons are online and taught in English.

Message us on WhatsApp to arrange a one-hour paid class from RM50/hr at the teacher's rate.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

Where does the y-coordinate of the point come from?

From the original curve, not the derivative. Substitute the given xx into y=y=\ldots to find the height of the point.

The derivative only gives the gradient.

What does substituting into dydx\frac{dy}{dx} give me?

The gradient (slope) of the curve at that x-value. It is a measure of steepness, not a coordinate.

Never write it as the y-value of the point.

How do I keep the two numbers from getting mixed up?

Do the two substitutions in separate lines and label them: y1y_{1} from the curve for the point, mm from dydx\frac{dy}{dx} for the slope. Then feed both into yy1=m(xx1)y-y_{1}=m(x-x_{1}).

How can I check my tangent is right?

Substitute the point's x-value into your final tangent equation, it should give the same y-coordinate you found from the curve. If it does, the point lies on the line and the gradient was used correctly.

Source:SRC-DSKP-EN

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply