Skip to content
  1. IB Question Bank
  2. Maths AA
  3. Functions
Topic 2.01 · SL and HL

Straight line (gradient-int, general, point gradient form): notes and practice questions

Summary
  • A straight line can be expressed in different forms:
  • Gradient-Intercept Form:

y=mx+c y = mx + c
where mm is the gradient (slope) and cc is the y-intercept.

  • General Form:

ax+by+c=0 ax + by + c = 0

  • Point-Gradient Form:

y−y1=m(x−x1) y - y_1 = m(x - x_1)
where mm is the gradient, and (x1,y1)(x_1, y_1) is a point on the line.

  • Key Concepts:
  • Gradient between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2):

m=y2−y1x2−x1 m = \frac{y_2 - y_1}{x_2 - x_1}

  • Parallel lines have the same gradient.
  • Perpendicular lines satisfy m1⋅m2=−1m_1 \cdot m_2 = -1.

How it is examined

Rarely a question on its own past the first item of Paper 1 section A. It turns up inside calculus questions as "find the equation of the normal", where the perpendicular rule is the marking point. `Find`, `Write down`. 2 to 4 marks.

Given in the booklet

The three forms and the gradient formula m=y2−y1x2−x1m = \dfrac{y_2 - y_1}{x_2 - x_1} are in the prior learning section of the booklet.

Key ideas
  • Different forms of the equation of a straight line.
  • Gradient; intercepts.
  • Lines with gradients m1m_1 and m2m_2.
  • Parallel lines m1=m2m_1 = m_2.

Linking questions

  • Links to other subjects: exchange rates, price elasticity, demand and supply curves (economics); graphical analysis in experimental work (sciences).

Practice questions

35 questions · 5 easy · 23 medium · 7 hard
Showing 20 of 20

Question 1

EasyPaper 1 · no calculator5 marks
(a)

If a line L passes through point A(5,15) and is parallel to BC such that their coordinates are B(-2,1) and C (10,13).

(a) Find the equation of line L.

[3]
(b)

If line L passes through a point (c,-5)

(b) Find the value of c.

[2]

Question 2

MediumPaper 1 · no calculator8 marks
(a)(i)

A kite PQRS is shown on the following set of axes.

Image of a kite PQRS on a Cartesian plane with vertices Q at (1,5) and S at (7,-1)

The kite has vertices Q(1, 5) and S(7, -1) and is symmetrical about the diagonal [PR].

(i) Write down the coordinates of the midpoint of [QS].

[2]
(a)(ii)

(ii) Hence, find the equation of the line containing the diagonal [PR].

[3]
(b)

(b) Given that vertex P lies on the y-axis and the x-coordinate of R is 6, find the area of the kite PQRS.

[3]

Question 3

HardPaper 2 · calculator16 marks
(a)

Consider the function f defined by f(x)=50e−0.2xf(x) = 50e^{-0.2x} for x∈R+x \in \mathbb{R}^+.

The graph of f and the line y=xy = x intersect at point P.

Find the x-coordinate of P.

[2]
(b)

The line L has a gradient of -2 and is a tangent to the graph of f at the point Q.

Find the exact coordinates of Q.

[4]
(c)

Show that the equation of L is y=−2x+10ln⁡5+10y = -2x + 10 \ln 5 + 10.

[2]
(d)(i)

The shaded region A is enclosed by the graph of f and the lines y=xy = x and L.

Graph showing function f, line y=x, line L, and shaded region A. The function f is a decreasing exponential curve. The line y=x is an increasing straight line. The line L is a decreasing straight line with a steeper negative gradient than y=x. L is tangent to f at point Q. L intersects y=x at point R. f intersects y=x at point P. The region A is bounded by f, y=x, and L, with vertices Q, R, P, in increasing order of x-coordinates.

Find the x-coordinate of the point where L intersects the line y=xy = x.

[1]
(d)(ii)

Hence, find the area of A.

[5]
(e)

The line L is tangent to the graphs of both f and the inverse function f−1f^{-1}.

Graph showing function f, inverse function f-1, and line L tangent to both. The graph shows the function f and its inverse f-1, which are reflections of each other across the line y=x. The line L is tangent to f at Q and to f-1 at Q', where Q' is the reflection of Q across y=x. The shaded region is enclosed by f, f-1, and L.

Find the shaded area enclosed by the graphs of f and f−1f^{-1} and the line L.

[2]

Question 4

EasyPaper 2 · calculator3 marks

The line L1L_1 passes through the points A(1,−3)A(1, -3) and B(3,5)B(3, 5).

(a) Find the equation of L1L_1, giving your answer in the form ax+by+d=0ax + by + d = 0, where a,b,d∈Za, b, d \in \mathbb{Z}.

Question 5

MediumPaper 1 · no calculator5 marks
(a)

The points P(1, 8), Q(–5, –2) and R(7, 4) are the vertices of a triangle.

(a) Find the equation of the altitude from vertex P to the side [QR].

[3]
(b)

(b) The altitude found in part (a) intersects the x-axis at the point D. Find the coordinates of D.

[2]

Question 6

HardPaper 1 · no calculator13 marks
(a)

A function is defined by f(x)=x3−4xf(x) = x^3 - 4x.

(a) Find the equation of the tangent to the graph of ff at the point where x=−1x = -1.

[4]
(b)

(b) The tangent line found in part (a) intersects the graph of ff at a second point, P. Find the coordinates of P.

[4]
(c)

(c) Find the exact area of the finite region enclosed by the graph of ff and the tangent line.

[5]

Question 7

EasyPaper 1 · no calculator5 marks
(a)

A map is drawn on a Cartesian plane. A straight road connects two towns, Ashton, located at A(1, 7), and Brixton, located at B(9, -1).

(a) A service station is planned to be built at the midpoint of the road connecting the two towns. Find the coordinates of the service station.

[2]
(b)

A new road, represented by the line LL, is to be built perpendicular to the road [AB]. This new road will pass through the service station.

(b) Find the gradient of the line LL.

[2]
(c)

(c) Hence, write down the equation of the line LL.

[1]

Question 8

MediumPaper 1 · no calculator8 marks
(a)

The functions ff and gg are defined for x∈Rx \in \mathbb{R} by

f(x)=2x2+8x+kf(x) = 2x^2 + 8x + k

g(x)=−x2+mx+1g(x) = -x^2 + mx + 1

where kk and mm are constants.

The vertex of the graph of y=f(x)y=f(x) and the vertex of the graph of y=g(x)y=g(x) both lie on the line with equation y=−x+3y = -x + 3.

(a) Show that k=13k=13.

[3]
(b)

(b) Given that m>0m > 0, find the value of mm.

[5]

Question 9

HardPaper 2 · calculator19 marks
(a)

A pharmaceutical company is testing a new drug. The concentration of the drug, CC, in the bloodstream of a patient, in micrograms per millilitre (μg/mL\mu\text{g/mL}), tt hours after administration, is modelled by the function C(t)=5te−0.2tC(t) = 5te^{-0.2t}, for 0≤t≤150 \le t \le 15.

Sketch the graph of C(t)C(t) for 0≤t≤150 \le t \le 15, clearly indicating the coordinates of the initial concentration point AA, the maximum concentration point MM, and the concentration point BB at t=15t=15 hours.

[4]
(b)

State the range of the concentration C(t)C(t) during the observed period.

[1]
(c)

Find the equation of the straight line connecting the initial concentration point AA and the concentration point BB at t=15t=15 hours.

[3]
(d)

Show that the rate of change of the drug concentration is given by C′(t)=(5−t)e−0.2tC'(t) = (5-t)e^{-0.2t}.

[2]
(e)

At a certain time, the rate of change of the drug concentration is parallel to the line AB. Find the equation of the tangent line to the graph of C(t)C(t) at this time. Give all coefficients in your equation correct to 33 significant figures.

[4]
(f)

Calculate the area of the region enclosed by the graph of C(t)C(t) and the line AB.

[5]

Question 10

EasyPaper 1 · no calculator9 marks
(a)

A landscape architect is designing a garden on a coordinate grid. Key points in the design are located at P(–3, 5), Q(1, 7), and S(0, -2).

(a) A straight path connects points P and Q. Find the equation of this path.

[3]
(b)

(b) A second path is to be laid parallel to the path PQ, passing through point S. Find the equation of the line for this second path.

[2]
(c)

(c) A third path is perpendicular to the path PQ and passes through point Q. Find the equation of this third path.

[3]
(d)

(d) A straight decorative fence is to be placed horizontally, passing through point P. Write down the equation of the line representing the fence.

[1]

Question 11

MediumPaper 2 · calculator12 marks
(a)(i)

The trajectory of a small drone flying over a landscape can be modelled by the function f(x)=−0.5x2+4x+1f(x) = -0.5x^2 + 4x + 1, where xx is the horizontal distance in meters from the launch point and f(x)f(x) is the altitude in meters. The drone passes through a checkpoint A at a horizontal distance of 2 meters.

(a) (i) Find the gradient of the tangent to the drone's trajectory at checkpoint A.

[3]
(a)(ii)

(a) (ii) Hence, write down the gradient of the normal to the drone's trajectory at checkpoint A.

[2]
(b)

(b) Write down the equation of the normal to the drone's trajectory at checkpoint A.

[3]
(c)

(c) A searchlight beam is directed along the normal line found in part (b). This beam intersects the drone's trajectory again at a second point B. Find the coordinates of B.

[4]

Question 12

HardPaper 1 · no calculator17 marks
(a)

The function ff is defined by f(x)=exsin⁡(x)f(x) = e^x \sin(x), for x∈[0,π]x \in [0, \pi].

(a) Show that the curve y=f(x)y=f(x) has only one point of inflection in its domain, and determine its coordinates.

[7]
(b)

(b) Find the equations of the tangent and the normal to the curve at the point where x=πx = \pi.

[5]
(c)

(c) Calculate the area of the triangle formed by this tangent, this normal, and the yy-axis.

[5]

Question 13

EasyPaper 1 · no calculator3 marks

A biologist is studying the relationship between the concentration of a nutrient, cc (in mg/L), and the weekly growth rate of a particular plant, gg (in cm/week). The relationship is found to be linear. The regression line of gg on cc passes through the mean point (10,2.5)(10, 2.5) and has a gradient of 0.20.2.

Estimate the weekly growth rate of a plant when the nutrient concentration is 2525 mg/L.

Question 14

MediumPaper 2 · calculator8 marks
(a)(i)

A civil engineer is designing a parabolic arch for a pedestrian bridge. The shape of the arch can be modelled by the function f(x)=−x2+7x−5f(x) = -x^2 + 7x - 5, where xx is the horizontal distance in meters from one end of the bridge and f(x)f(x) is the height of the arch above the ground in meters.

A support cable needs to be attached to the arch at a point A where x=2x=2.

(i) Calculate the gradient of the tangent to the arch at point A.

[2]
(a)(ii)

(ii) Hence, write down the gradient of the line perpendicular to the tangent at point A.

[1]
(b)

The support cable is designed to be perpendicular to the arch at point A. Write down the equation of the line representing this support cable.

[2]
(c)

The support cable (represented by the normal line) is extended and intersects the parabolic arch again at a second point B. Find the coordinates of point B.

[3]

Question 15

HardPaper 3 · calculator26 marks
(a)(i)

An architect is designing a decorative archway for a garden entrance. The shape of the archway's inner curve is modelled by the equation y2=x3+ax+by^2 = x^3 + ax + b, where xx and yy are in meters.

(a.i) On the same set of axes, sketch the curve C1:y2=x3C_1: y^2 = x^3 for x≥0x \ge 0, clearly indicating any points of intersection with the coordinate axes. Assume a suitable range for xx and yy that shows the key features.

[2]
(a)(ii)

(a.ii) On the same set of axes, sketch the curve C2:y2=x3+2x2C_2: y^2 = x^3 + 2x^2 for x≥−2x \ge -2, clearly indicating any points of intersection with the coordinate axes. Assume a suitable range for xx and yy that shows the key features.

[2]
(a)(iii)

(a.iii) By considering each curve from part (a), identify two key features that would distinguish C1C_1 from C2C_2.

[1]
(b)(i)

(b.i) For the curve C2:y2=x3+2x2C_2: y^2 = x^3 + 2x^2, show that dydx=±3x2+4x2x3+2x2\frac{dy}{dx} = \pm \frac{3x^2 + 4x}{2\sqrt{x^3 + 2x^2}} for x>−2,x≠0x > -2, x \ne 0.

[3]
(b)(ii)

(b.ii) Find the xx-coordinates of any local maximum or minimum points on C2:y2=x3+2x2C_2: y^2 = x^3 + 2x^2.

[2]
(c)

(c) The curve C2:y2=x3+2x2C_2: y^2 = x^3 + 2x^2 has points of inflexion. Find the xx-coordinate of these points, giving your answer in the form x=p±qrx = \frac{p \pm \sqrt{q}}{r} where p,q,r∈Zp, q, r \in \mathbb{Z}.

[7]
(d)(i)

Consider a different archway design modelled by the curve C3:y2=x3+2C_3: y^2 = x^3 + 2, for x≥−23x \ge -\sqrt[3]{2}.

(d.i) The point P(-1, -1) is a rational point on C3C_3. Find the equation of the tangent to C3C_3 at P.

[2]
(d)(ii)

(d.ii) This tangent intersects C3C_3 at another rational point Q. Find the coordinates of Q, expressing each coordinate as a fraction.

[2]
(e)

(e) The point S(-1, 1) also lies on C3C_3. The line [QS] intersects C3C_3 at a further point R. Determine the coordinates of R.

[5]

Question 16

MediumPaper 2 · calculator10 marks
(a)

A school is organizing a field trip to the local science museum. The cost to rent a bus for the day is $350\$350.

Additionally, there is an entry fee of $12.75\$12.75 per student.

(a) Write down a formula connecting the total cost of the trip (TT) with the number of students attending (ss).

[2]
(b)

(b) Explain why T=f(s)T = f(s) is a function.

[1]
(c)

(c) Derive an expression for ss in terms of TT.

[2]
(d)

The school has a maximum budget of $900\$900 for the field trip.

(d) Hence, calculate the greatest number of students that can attend the trip.

[2]
(e)

(e) Given that only 2020 students attend the trip, calculate how much each student should be charged so that the school covers its costs.

[3]

Question 17

HardPaper 3 · calculator29 marks
(a)

This question asks you to examine linear and quadratic functions constructed in systematic ways using geometric sequences.

Consider the function L(x)=mx+cL(x) = mx + c for x∈Rx \in \mathbb{R} where m,c∈Rm, c \in \mathbb{R} and m,c≠0m, c \neq 0.

Let r∈Rr \in \mathbb{R} be the root of L(x)=0L(x) = 0.

If m,rm, r and cc, in that order, are in geometric sequence, then L(x)L(x) is said to be a GS-linear function.

Show that L(x)=2x+8L(x) = 2x + 8 is a GS-linear function.

[2]
(b)(i)

Consider L(x)=mx+cL(x) = mx + c.

Show that r=−cmr = -\frac{c}{m}.

[1]
(b)(ii)

Given that L(x)L(x) is a GS-linear function, show that L(x)=mx+m3L(x) = mx + m^3.

[4]
(b)(iii)

State any further restrictions on the value of mm, assuming the common ratio q≠±1q \neq \pm 1.

[1]
(c)

There are only two integer values of mm (excluding m=0m=0) for which L(x)=mx+m3L(x) = mx+m^3 is a GS-linear function with a common ratio q≠±1q \neq \pm 1. One of these gives L(x)=2x+8L(x) = 2x+8.

Use part (b) to determine the other GS-linear function with integer values of m,rm, r and cc that satisfies the condition.

[3]
(d)(i)

Consider the function Q(x)=ax2+bx+cQ(x) = ax^2 + bx + c for x∈Rx \in \mathbb{R} where a∈R,a≠0a \in \mathbb{R}, a \neq 0 and b,c∈Rb, c \in \mathbb{R}.

Let r1,r2∈Rr_1, r_2 \in \mathbb{R} be the roots of Q(x)=0Q(x) = 0.

Write down an expression for

(i) the sum of roots, r1+r2r_1 + r_2, in terms of aa and bb.

[1]
(d)(ii)

(ii) the product of roots, r1r2r_1 r_2, in terms of aa and cc.

[1]
(e)(i)

If a,b,ca, b, c are in arithmetic sequence, AND r1,r2r_1, r_2 are in geometric sequence, then Q(x)Q(x) is said to be a GS-Quadratic function.

Given that Q(x)Q(x) is a GS-Quadratic function, show that qr12+2(1+q)r1+1=0qr_1^2 + 2(1+q)r_1 + 1 = 0, where q=r2/r1q = r_2/r_1.

[3]
(e)(ii)

Hence or otherwise, show that q=1q=1 or q=−1q=-1.

[3]
(f)

Consider the case where q=1q=1.

Determine the two GS-Quadratic functions that satisfy this condition, given that a=1a=1. Give your answers in the form x2+Bx+Cx^2 + Bx + C.

[5]
(g)

Consider the case where q=−1q=-1.

Determine the two GS-Quadratic functions that satisfy this condition, given that a=±2a=\pm 2.

[5]

Question 18

MediumPaper 2 · calculator20 marks
(a)

A designer is creating a large decorative arch for a garden entrance. The arch has the shape of a parabola. Its base rests on the ground (the x-axis) and spans a width of 10 m10 \text{ m}. The maximum height of the arch is 8 m8 \text{ m}. The arch is symmetrical about the y-axis.

(a) Write down the coordinates of the points where the arch meets the ground and the highest point of the arch.

[3]
(b)

(b) Find the equation of the parabolic arch.

[3]
(c)

A designer is creating a large decorative arch for a garden entrance. The arch has the shape of a parabola. Its base rests on the ground (the x-axis) and spans a width of 10 m10 \text{ m}. The maximum height of the arch is 8 m8 \text{ m}. The arch is symmetrical about the y-axis. A rectangular banner is placed underneath the arch with its base on the ground. Let one of the vertices of the banner in the first quadrant be (x,0)(x, 0).

(c) Express the width and height of the rectangular banner in terms of xx.

[2]
(d)

A designer is creating a large decorative arch for a garden entrance. The arch has the shape of a parabola. Its base rests on the ground (the x-axis) and spans a width of 10 m10 \text{ m}. The maximum height of the arch is 8 m8 \text{ m}. The arch is symmetrical about the y-axis. A rectangular banner is placed underneath the arch with its base on the ground. Let one of the vertices of the banner in the first quadrant be (x,0)(x, 0).

(d) Write down an expression for the area of the rectangular banner, A(x)A(x), in terms of xx.

[2]
(e)

A designer is creating a large decorative arch for a garden entrance. The arch has the shape of a parabola. Its base rests on the ground (the x-axis) and spans a width of 10 m10 \text{ m}. The maximum height of the arch is 8 m8 \text{ m}. The arch is symmetrical about the y-axis. A rectangular banner is placed underneath the arch with its base on the ground. Let one of the vertices of the banner in the first quadrant be (x,0)(x, 0).

(e) Find the value of xx for which the area of the banner is maximized.

[6]
(f)

A designer is creating a large decorative arch for a garden entrance. The arch has the shape of a parabola. Its base rests on the ground (the x-axis) and spans a width of 10 m10 \text{ m}. The maximum height of the arch is 8 m8 \text{ m}. The arch is symmetrical about the y-axis. A rectangular banner is placed underneath the arch with its base on the ground. Let one of the vertices of the banner in the first quadrant be (x,0)(x, 0).

(f) Calculate the dimensions (width and height) of the banner that yield the maximum area.

[2]
(g)

A designer is creating a large decorative arch for a garden entrance. The arch has the shape of a parabola. Its base rests on the ground (the x-axis) and spans a width of 10 m10 \text{ m}. The maximum height of the arch is 8 m8 \text{ m}. The arch is symmetrical about the y-axis. A rectangular banner is placed underneath the arch with its base on the ground. Let one of the vertices of the banner in the first quadrant be (x,0)(x, 0).

(g) Find the maximum possible area of the inscribed rectangular banner.

[2]

Question 19

HardPaper 1 · no calculator15 marks
(a)

The following diagram shows part of the graph of a quadratic function ff representing the path of a thrown ball.

The graph of ff has its vertex at (2,5)(2,5) and it passes through point QQ as shown.

Path of a thrown ball

The function can be written in the form f(x)=a(x−h)2+kf(x)=a(x-h)^{2}+k.

Write down the equation of the axis of symmetry.

[1]
(b)

(b) Write down the values of hh and kk.

[2]
(c)

(c) Point QQ has coordinates (4,13)(4,13). Find the value of aa.

[2]
(d)

(d) The line LL is tangent to the graph of ff at QQ. Find the equation of LL.

[4]
(e)

(e) Now consider another function y=g(x)y=g(x). The derivative of gg is given by g′(x)=f(x)−dg′(x)=f(x)-d, where d∈Rd\in\mathbb{R}. Find the values of dd for which gg is an increasing function.

[3]
(f)

(f) Find the values of xx for which the graph of gg is concave-up.

[3]

Question 20

MediumPaper 2 · calculator8 marks
(a)

A landscape architect is designing a new garden. A straight path is to be built, and its boundary can be modelled by the equation 3x+2y−24=03x + 2y - 24 = 0, where xx and yy are distances in metres.

(a) Write down the equation of the line in the form y=mx+cy = mx + c.

[2]
(b)

The garden's main feature is a triangular flower bed, with vertices at the origin O(0,0), and the points where the path intersects the xx-axis (point A) and the yy-axis (point B).

(b) Given that the line intersects the xx-axis at point A and the yy-axis at point B, find the coordinates of A and B.

[3]
(c)

A landscape architect is designing a new garden. A straight path is to be built, and its boundary can be modelled by the equation 3x+2y−24=03x + 2y - 24 = 0, where xx and yy are distances in metres. The garden's main feature is a triangular flower bed, with vertices at the origin O(0,0), and the points where the path intersects the xx-axis (point A) and the yy-axis (point B).

(c) Calculate the area of triangle OAB.

[3]

15 more Straight line (gradient-int, general, point gradient form) questions in the app

Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.

Where marks are lost

  • Using your own wrong value after failing a "show that".
Free. Every IB subject.
No card, no trial that runs out. Just a free account.
  • 50 marked answers a month
    Marked mark by mark, IB-style
  • Hints and mark schemes
    On every part of every question
  • 3,000+ questions
    All 6 subjects, SL and HL, mapped to the syllabus
  • Progress that adapts
    Your Study Profile picks what to practise next

Practise this topic as a session

Pick a difficulty and paper, and FourtyFive tracks your progress on this topic as you go.

or with email
FAQ

Questions,
answered.

Can't find what you're looking for? Email our student team.

What does Straight line (gradient-int, general, point gradient form) cover in IB Maths AA?

A straight line can be expressed in different forms:. Gradient-Intercept Form:. y = mx + c.

Is Straight line (gradient-int, general, point gradient form) SL or HL?

Both. SL and HL students study Straight line (gradient-int, general, point gradient form) to the same depth.

How do I revise Straight line (gradient-int, general, point gradient form) for IB Maths AA?

Start from the core idea: a straight line can be expressed in different forms:. In the exam: rarely a question on its own past the first item of Paper 1 section A. It turns up inside calculus questions as "find the equation of the normal", where the perpendicular rule is the marking point. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Straight line (gradient-int, general, point gradient form)?

FourtyFive has 35 Straight line (gradient-int, general, point gradient form) questions. Every answer you write is marked mark by mark, IB-style, and you see where each mark was won or lost. Every part has a hint, the AI tutor helps you through the step you are stuck on, and your Study Profile picks what to practise next.

Is FourtyFive free for Straight line (gradient-int, general, point gradient form) practice?

Yes. A free account gives you 50 marked answers a month, and you do not need a card to sign up.

Can I handwrite Straight line (gradient-int, general, point gradient form) answers on an iPad?

Yes. In the FourtyFive iPad app you write your working by hand with Apple Pencil, the way you would on paper, and it is marked the same way.

Start with the IB question
bank built for you.

Free to start, no card needed. Thousands of syllabus-mapped questions, AI Examiner marking, your weakest topics first.