IB Maths Help logoIB Maths Help

Draw a tangent and read its gradient

Find the gradient of a curve at a point, and the equation of the tangent there, with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, plus what to write in the exam.

Used inAA SLAA HLAI SLAI HL

To find the gradient of a curve at a point, graph the function and use your calculator's tangent or derivative tool at that x-value: the gradient is the derivative there. Most calculators can also draw the tangent line. For the equation of the tangent, use the gradient and the point on the curve in y−y1=m(x−x1)y - y_1 = m(x - x_1).

Example

Find the gradient of the curve y=0.2x3−xy = 0.2x^3 - x at the point where x=2x = 2, and the equation of the tangent at that point.

xy−2−1123−224

The gradient at x=2x = 2 is 1.41.4, and the point on the curve is (2, −0.4)(2,\ -0.4). The tangent is y−(−0.4)=1.4(x−2)y - (-0.4) = 1.4(x - 2), which is y=1.4x−3.2y = 1.4x - 3.2. Each calculator below reads the gradient, and most draw the tangent line.

Choose your calculator

How to draw a tangent and read its gradient on a TI-84 Plus CE

Graph the function

Press Y=, clear any old functions with clear, then type 0 . 2 X,T,θ,n ^ 3 − X,T,θ,n next to Y1=.

Plot1 Plot2 Plot3
\Y1=0.2X^3-X
\Y2=
\Y3=

Press window and set Xmin = −3, Xmax = 4, Ymin = −4, Ymax = 6. For a negative number use the (−) key, not the subtraction key. Press graph. The point you want must be on the screen.

Draw the tangent and read its equation

Press 2nd prgm (DRAW) and choose 5:Tangent(. The graph appears with a cursor on Y1. If more than one function is graphed, use ▲ or ▼ to put the cursor on the right one.

Y1=0.2X^3-X

Type the x-value, here 2, then press enter. You can instead move along the curve with ◀ and ▶, but typing the number lands exactly on the point.

The tangent is drawn. The screen shows X=2 and the equation of the line, Y=1.4X-3.2, so the gradient is 1.41.4 and the equation is y=1.4x−3.2y = 1.4x - 3.2.

X=2 Y=1.4X-3.2

Another way: read only the gradient

With the graph shown, press 2nd trace (CALC) and choose 6:dy/dx. Type 2 and press enter.

The screen shows dy/dx at x=2x = 2, the gradient 1.41.4. The value is a numerical estimate, so it may show a very small error in the last digits.

X=2 dy/dx=1.4

Type the x-value rather than moving the cursor, so the tangent touches the curve exactly where the question says. Draw the tangent again at another point by repeating the steps; press 2nd prgm (DRAW) and choose 1:ClrDraw first if you want to remove old lines.

How to draw a tangent and read its gradient on a Casio fx-CG50

Graph the function

Press MENU, then 5 for Graph. Type 0 . 2 X,θ,T ^ 3 ▶ − X,θ,T EXE for Y1. The right arrow key moves the cursor out of the power.

Graph Func :Y
Y1=0.2X^3-X
Y2=

Press SHIFT F3 (V-Window) and set Xmin = −3, Xmax = 4, Ymin = −4, Ymax = 6, pressing EXE after each. Press EXIT, then F6 (DRAW).

Read the gradient with Trace

Turn on the derivative display once: press SHIFT MENU (SET UP), use ▼ to highlight Derivative, press F1 (On), then EXIT. Draw the graph again with F6 (DRAW) if it has gone.

Derivative :On

Press SHIFT 1 (TRACE). Press X,θ,T to open the pop-up window, type 2 and press EXE. The pointer moves to x=2x = 2.

The coordinates and the derivative appear at the bottom of the screen: y=−0.4y = -0.4 and a gradient of 1.41.4.

X=2 Y=-0.4 dy/dx=1.4

Draw the tangent line

Press SHIFT F4 (SKETCH), then F2 (Tangent). Use ◀ and ▶ to move the pointer along the curve to the point you want, then press EXE to draw the tangent there. You can move the pointer and press EXE again to draw another.

The gradient from Trace, 1.41.4, and the point (2, −0.4)(2,\ -0.4) give the equation of the tangent by hand: y−(−0.4)=1.4(x−2)y - (-0.4) = 1.4(x - 2), which is y=1.4x−3.2y = 1.4x - 3.2.

The pointer moves in small steps, so after drawing the tangent check the x-value with Trace if the question names an exact point.

How to draw a tangent and read its gradient on a Casio fx-CG100

Graph the function

Press HOME and choose Graph&Table. On the Function tab type 0 . 2 X,θ,T,Y ^ 3 ▶ − X,θ,T,Y next to y1 and press EXE.

Function
y1=0.2X^3-X
y2=

Choose TOOLS then View Window and set the x and y ranges to −3 to 4 and −4 to 6. Press OK, then press the next-tab key to draw the graph.

Read the gradient with Trace

Turn on Settings → Derivative once. Choose TOOLS then Trace. Type 2 with the number keys and press OK to move the pointer to x=2x = 2.

The derivative coefficient appears with the coordinates: the gradient is 1.41.4 and y=−0.4y = -0.4.

x=2 y=-0.4 y'=1.4

Draw the tangent line

Choose TOOLS → Sketch → Tangent Line. A tangent is drawn at a starting point: use the left and right cursor keys to move the point of tangency, then press OK to fix the line and show the coordinates of the point of tangency.

Use the gradient 1.41.4 and the point (2, −0.4)(2,\ -0.4) to write the equation of the tangent: y−(−0.4)=1.4(x−2)y - (-0.4) = 1.4(x - 2), which is y=1.4x−3.2y = 1.4x - 3.2.

Move the point of tangency with the cursor keys and check the x-value shown, so the tangent is at the point the question asks for.

How to draw a tangent and read its gradient on a TI-Nspire CX

Graph the function

Open a Graphs page (the Scratchpad Graph page works). In the entry line f1(x)= type 0.2x^3-x (press ▶ after each power to move out of it) and press enter.

f1(x)=0.2x^3-x

Press menu → Window/Zoom → Window Settings. Set XMin = −3, XMax = 4, YMin = −4, YMax = 6, moving between the boxes with tab, and press enter.

Read the gradient with dy/dx

Press menu → Analyze Graph → dy/dx (shortcut menu 6 5 on the non-CAS calculator). Click the graph at the point where you want the gradient, at x=2x = 2.

The derivative at that point appears, 1.41.4 at x=2x = 2.

dy/dx=1.4

Draw the tangent line

Press menu → Geometry → Points and Lines → Tangent. Click the graph at the point you want. The tangent is drawn and stays attached to the curve; drag it to move the point of tangency.

To show its equation press menu → Actions → Coordinates and Equations, move the pointer to the tangent and click, then click again to place the text.

The equation y=1.4x−3.2y = 1.4x - 3.2 is shown beside the line.

y=1.4x-3.2

Another way: from the Calculator page

For an exact x-value without the graph, open a Calculator page and type nDerivative(0.2x^3-x,x=2), then press enter. The result is the gradient 1.41.4.

Clicking the graph is not exact, so use the Calculator page with nDerivative( when the question gives an exact x-value, or check the x-value shown on the graph.

Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE eGuide, the TI-Nspire eGuide, the Casio fx-CG50 Software User's Guide (version 3.30) and the Casio fx-CG100 online manual.

What to write in the exam

  • Write the gradient as a derivative value. For example, say the gradient of the curve at x=2x = 2 is f′(2)=1.4f'(2) = 1.4, found with your calculator. Do not write the key presses.
  • Give the equation of the tangent in full when asked: use the gradient and the point, y−y1=m(x−x1)y - y_1 = m(x - x_1), then rearrange. Find y1y_1 by substituting the x-value into the function.
  • Give an exact value or 3 significant figures unless the question says otherwise. A calculator derivative is a numerical estimate, so a value a tiny amount away from 1.4 means 1.4.
  • Check the point before you read a gradient: the x-value on the screen should be the one in the question, not the nearest step of the cursor.
  • Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so differentiate by hand there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).

Checking a derivative you found by hand

The gradient from the calculator is a quick check on your own differentiation: evaluate your derivative at the same x-value and compare. To evaluate a function or its derivative at a point, see evaluating a function at a point, and for the numerical derivative on the home screen see numerical derivative at a point.

Common mistakes

  • A point that is not exactly the one asked for. Moving a cursor or clicking the graph lands near the point. Type the x-value where the calculator lets you, and check the x shown.
  • Giving the gradient when the equation is asked. The gradient is only the slope mm. Use the point on the curve too, and write y=mx+cy = mx + c or y−y1=m(x−x1)y - y_1 = m(x - x_1).
  • A window that hides the point. The point must be on the screen, so set the window first, see setting a good viewing window.
  • Reading a tangent as the normal. The tangent has gradient f′(a)f'(a). The normal is perpendicular to it and has gradient −1/f′(a)-1/f'(a).
  • Rounding early. Keep the calculator's full value for the next part and round only the final answer.

Try it yourself

Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Use your calculator to find the gradient at a point.

Practise with your calculator

Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.

Quick questions

How do I find the gradient of a curve at a point on a calculator?

Graph the function, then use the derivative tool at the x-value: 2nd TRACE (CALC) and 6:dy/dx on the TI-84 Plus CE, Trace with Derivative turned on in Set Up on the fx-CG50, Trace with Settings Derivative on the fx-CG100, or menu, Analyze Graph, dy/dx on the TI-Nspire. The gradient is the derivative at that point.

How do I draw a tangent line on a calculator?

Graph the function, then use the tangent tool: 2nd PRGM (DRAW) and 5:Tangent( on the TI-84 Plus CE, SHIFT F4 (SKETCH) then F2 (Tangent) on the fx-CG50, Tools, Sketch, Tangent Line on the fx-CG100, or menu, Geometry, Points and Lines, Tangent on the TI-Nspire.

How do I get the equation of the tangent?

Use the gradient from the calculator and the point on the curve in y minus y1 equals m times x minus x1. The TI-84 Plus CE also shows the equation of the line when it draws the tangent, and the TI-Nspire can show it with Coordinates and Equations.

Do I write the calculator steps in my exam working?

No. State the gradient or derivative value, say you found it with your calculator, and write the equation of the tangent. Examiners look for the method, not the key presses.