Skip to content

Algebra and Functions -- Diagnostic Tests

Algebra and Functions — Diagnostic Tests

Unit Tests

UT-1: Algebraic Manipulation

Question:

(a) Simplify the following expressions fully: (i) 3x(2x5)4x(x+3)3x(2x - 5) - 4x(x + 3) (ii) 2x28x24x+4\frac{2x^2 - 8}{x^2 - 4x + 4}

(b) Solve the equation 3x+14x23=2\frac{3x + 1}{4} - \frac{x - 2}{3} = 2.

(c) Factorise fully: x3x212xx^3 - x^2 - 12x.

(d) Express (2x1)2(x+3)2(2x - 1)^2 - (x + 3)^2 as a product of linear factors.

Solution:

(a)

(i) 3x(2x5)4x(x+3)=6x215x4x212x=2x227x3x(2x - 5) - 4x(x + 3) = 6x^2 - 15x - 4x^2 - 12x = 2x^2 - 27x

(ii) 2x28x24x+4=2(x24)(x2)2=2(x2)(x+2)(x2)2=2(x+2)x2\frac{2x^2 - 8}{x^2 - 4x + 4} = \frac{2(x^2 - 4)}{(x - 2)^2} = \frac{2(x - 2)(x + 2)}{(x - 2)^2} = \frac{2(x + 2)}{x - 2} (for x2x \neq 2)

(b) Multiply through by 12 (the LCM of 4 and 3):

12×3x+1412×x23=12×212 \times \frac{3x + 1}{4} - 12 \times \frac{x - 2}{3} = 12 \times 2

3(3x+1)4(x2)=243(3x + 1) - 4(x - 2) = 24

9x+34x+8=249x + 3 - 4x + 8 = 24

5x+11=245x + 11 = 24

5x=135x = 13

x=135x = \frac{13}{5}

(c) x3x212x=x(x2x12)=x(x4)(x+3)x^3 - x^2 - 12x = x(x^2 - x - 12) = x(x - 4)(x + 3)

(d) Using the difference of two squares: a2b2=(ab)(a+b)a^2 - b^2 = (a - b)(a + b) where a=2x1a = 2x - 1 and b=x+3b = x + 3:

(2x1)2(x+3)2=[(2x1)(x+3)][(2x1)+(x+3)](2x - 1)^2 - (x + 3)^2 = [(2x - 1) - (x + 3)][(2x - 1) + (x + 3)]

=(2x1x3)(2x1+x+3)= (2x - 1 - x - 3)(2x - 1 + x + 3)

=(x4)(3x+2)= (x - 4)(3x + 2)


UT-2: Functions and Composite Functions

Question:

(a) Given that f(x)=2x+3f(x) = 2x + 3 and g(x)=x21g(x) = x^2 - 1, find: (i) f(g(2))f(g(2)) (ii) gf(x)gf(x) (the composite function gg of ff) (iii) f1(x)f^{-1}(x)

(b) The function h(x)=x+2x1h(x) = \frac{x + 2}{x - 1} for x1x \neq 1. Find h1(x)h^{-1}(x).

(c) State the domain and range of f(x)=2x6f(x) = \sqrt{2x - 6}.

(d) Two functions are defined as p(x)=3x1p(x) = 3x - 1 and q(x)=x2+1q(x) = \frac{x}{2} + 1. Show that p(q(x))=xp(q(x)) = x and hence explain the relationship between pp and qq.

Solution:

(a)

(i) g(2)=221=3g(2) = 2^2 - 1 = 3. Then f(3)=2(3)+3=9f(3) = 2(3) + 3 = 9. So f(g(2))=9f(g(2)) = 9.

(ii) gf(x)=g(f(x))=g(2x+3)=(2x+3)21=4x2+12x+91=4x2+12x+8gf(x) = g(f(x)) = g(2x + 3) = (2x + 3)^2 - 1 = 4x^2 + 12x + 9 - 1 = 4x^2 + 12x + 8

(iii) Let y=2x+3y = 2x + 3. Then x=y32x = \frac{y - 3}{2}, so f1(x)=x32f^{-1}(x) = \frac{x - 3}{2}.

(b) Let y=x+2x1y = \frac{x + 2}{x - 1}. Then:

y(x1)=x+2y(x - 1) = x + 2 xyy=x+2xy - y = x + 2 xyx=y+2xy - x = y + 2 x(y1)=y+2x(y - 1) = y + 2 x=y+2y1x = \frac{y + 2}{y - 1}

So h1(x)=x+2x1h^{-1}(x) = \frac{x + 2}{x - 1}, which equals h(x)h(x) itself (this function is self-inverse).

(c) The expression under the square root must be non-negative: 2x602x - 6 \geq 0, so x3x \geq 3.

Domain: x3x \geq 3, or [3,)[3, \infty).

Since 2x6\sqrt{2x - 6} is always non-negative, the range is y0y \geq 0, or [0,)[0, \infty).

(d) q(x)=x2+1q(x) = \frac{x}{2} + 1. Then:

p(q(x))=3(x2+1)1=3x2+31=3x2+2p(q(x)) = 3\left(\frac{x}{2} + 1\right) - 1 = \frac{3x}{2} + 3 - 1 = \frac{3x}{2} + 2

This does not equal xx. Let me verify: p(q(x))=3(x2+1)1=3x2+31=3x2+2p(q(x)) = 3(\frac{x}{2} + 1) - 1 = \frac{3x}{2} + 3 - 1 = \frac{3x}{2} + 2.

This is not equal to xx for all xx. However, let us check q(p(x))q(p(x)):

q(p(x))=3x12+1=3x1+22=3x+12q(p(x)) = \frac{3x - 1}{2} + 1 = \frac{3x - 1 + 2}{2} = \frac{3x + 1}{2}

This is also not xx. Let me re-examine the question. For pp and qq to be inverses, we need p(q(x))=xp(q(x)) = x. The given functions do not satisfy this, so the question may contain an error. If q(x)q(x) were instead x+13\frac{x + 1}{3}, then p(q(x))=3(x+13)1=x+11=xp(q(x)) = 3(\frac{x+1}{3}) - 1 = x + 1 - 1 = x, confirming pp and qq are inverse functions.

Assuming the intended functions are p(x)=3x1p(x) = 3x - 1 and q(x)=x+13q(x) = \frac{x + 1}{3}: p(q(x))=xp(q(x)) = x confirms that pp and qq are inverse functions of each other, meaning q=p1q = p^{-1}.


UT-3: Graphs of Functions

Question:

(a) Sketch the graph of y=x24x+3y = x^2 - 4x + 3, labelling the y-intercept, the x-intercepts, and the coordinates of the turning point.

(b) The function y=f(x)y = f(x) is transformed to y=f(x+2)+1y = -f(x + 2) + 1. Describe the sequence of transformations applied to the graph of y=f(x)y = f(x).

(c) A quadratic function has a minimum value of 5-5 at x=3x = 3 and passes through the point (1,3)(1, 3). Find the equation of the quadratic.

(d) Determine whether the function f(x)=x33x+1f(x) = x^3 - 3x + 1 has any stationary points. If so, find their coordinates and determine their nature.

Solution:

(a) y=x24x+3=(x1)(x3)y = x^2 - 4x + 3 = (x - 1)(x - 3)

x-intercepts: x=1x = 1 and x=3x = 3 (when y=0y = 0).

y-intercept: When x=0x = 0, y=3y = 3.

Turning point: x=b2a=42=2x = -\frac{b}{2a} = -\frac{-4}{2} = 2. When x=2x = 2, y=48+3=1y = 4 - 8 + 3 = -1. Turning point at (2,1)(2, -1).

The graph is a parabola opening upwards (since a=1>0a = 1 > 0), with vertex at (2,1)(2, -1), crossing the x-axis at (1,0)(1, 0) and (3,0)(3, 0), and the y-axis at (0,3)(0, 3).

(b) The sequence of transformations (applied in the correct order) is:

  1. Translate the graph 2 units to the left (replace xx with x+2x + 2).
  2. Reflect the graph in the x-axis (multiply by 1-1).
  3. Translate the graph 1 unit up (add 1).

Note: the order of operations for combined transformations is: horizontal translation first, then vertical reflection, then vertical translation.

(c) The quadratic has the form y=a(xh)2+ky = a(x - h)^2 + k where the minimum is at (h,k)=(3,5)(h, k) = (3, -5).

So y=a(x3)25y = a(x - 3)^2 - 5. Using the point (1,3)(1, 3):

3=a(13)253 = a(1 - 3)^2 - 5 3=a(4)53 = a(4) - 5 8=4a8 = 4a a=2a = 2

The equation is y=2(x3)25y = 2(x - 3)^2 - 5, or expanded: y=2x212x+13y = 2x^2 - 12x + 13.

(d) To find stationary points, set f(x)=0f'(x) = 0:

f(x)=3x23f'(x) = 3x^2 - 3 3x23=03x^2 - 3 = 0 x2=1x^2 = 1 x=1 or x=1x = 1 \text{ or } x = -1

At x=1x = 1: y=13+1=1y = 1 - 3 + 1 = -1. Point: (1,1)(1, -1). At x=1x = -1: y=1+3+1=3y = -1 + 3 + 1 = 3. Point: (1,3)(-1, 3).

Using the second derivative f(x)=6xf''(x) = 6x:

At x=1x = 1: f(1)=6>0f''(1) = 6 > 0, so (1,1)(1, -1) is a local minimum. At x=1x = -1: f(1)=6<0f''(-1) = -6 < 0, so (1,3)(-1, 3) is a local maximum.


Integration Tests

IT-1: Functions and Quadratic Applications

Question:

(a) The revenue RR (in pounds) from selling xx items is given by R(x)=2x2+80xR(x) = -2x^2 + 80x, and the cost is given by C(x)=15x+200C(x) = 15x + 200. Find the number of items that maximises profit and calculate the maximum profit.

(b) A ball is thrown upwards and its height hh metres after tt seconds is given by h(t)=5t2+20t+1h(t) = -5t^2 + 20t + 1. Find the maximum height reached and the time at which the ball hits the ground.

(c) Given f(x)=2x+1f(x) = 2x + 1 and g(x)=1xg(x) = \frac{1}{x} for x0x \neq 0, solve the equation fg(x)=g(x)+3fg(x) = g(x) + 3.

(d) The function y=x2+px+qy = x^2 + px + q has a turning point at (2,3)(2, -3). Find the values of pp and qq.

Solution:

(a) Profit P(x)=R(x)C(x)=2x2+80x15x200=2x2+65x200P(x) = R(x) - C(x) = -2x^2 + 80x - 15x - 200 = -2x^2 + 65x - 200.

Maximum profit occurs at the vertex: x=b2a=654=16.25x = -\frac{b}{2a} = -\frac{65}{-4} = 16.25.

Since we cannot sell a fraction of an item, check x=16x = 16 and x=17x = 17:

P(16)=2(256)+65(16)200=512+1040200=328P(16) = -2(256) + 65(16) - 200 = -512 + 1040 - 200 = 328 P(17)=2(289)+65(17)200=578+1105200=327P(17) = -2(289) + 65(17) - 200 = -578 + 1105 - 200 = 327

Maximum profit is £328\pounds 328 when 16 items are sold.

(b) Maximum height at the vertex: t=202(5)=2t = -\frac{20}{2(-5)} = 2 seconds.

h(2)=5(4)+20(2)+1=20+40+1=21h(2) = -5(4) + 20(2) + 1 = -20 + 40 + 1 = 21 metres.

The ball hits the ground when h=0h = 0: 5t2+20t+1=0-5t^2 + 20t + 1 = 0, so 5t220t1=05t^2 - 20t - 1 = 0.

t=20±400+2010=20±42010=20±20.4910t = \frac{20 \pm \sqrt{400 + 20}}{10} = \frac{20 \pm \sqrt{420}}{10} = \frac{20 \pm 20.49}{10}

Taking the positive root: t=40.49104.05t = \frac{40.49}{10} \approx 4.05 seconds.

(c) fg(x)=f(g(x))=f(1x)=2(1x)+1=2x+1fg(x) = f(g(x)) = f\left(\frac{1}{x}\right) = 2\left(\frac{1}{x}\right) + 1 = \frac{2}{x} + 1.

2x+1=1x+3\frac{2}{x} + 1 = \frac{1}{x} + 3 1x=2\frac{1}{x} = 2 x=12x = \frac{1}{2}

(d) At the turning point, f(x)=2x+p=0f'(x) = 2x + p = 0 when x=2x = 2: 2(2)+p=02(2) + p = 0, so p=4p = -4.

Substituting x=2,y=3x = 2, y = -3: 3=48+q-3 = 4 - 8 + q, so q=1q = 1.

The equation is y=x24x+1y = x^2 - 4x + 1.


IT-2: Advanced Function Analysis

Question:

(a) The function f(x)=x26x+5f(x) = x^2 - 6x + 5 is defined on the domain x3x \geq 3. Find f1(x)f^{-1}(x) and state its domain.

(b) Solve the inequality x25x+6>0x^2 - 5x + 6 > 0.

(c) The graph of y=f(x)y = f(x) passes through the points (0,2)(0, 2), (2,6)(2, 6), and (4,2)(4, 2). Sketch a possible graph and determine whether ff could be a quadratic function. Explain your reasoning.

(d) A function is defined by f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d. Given that f(0)=4f(0) = 4, f(1)=2f(1) = 2, f(2)=6f(2) = 6, and f(3)=28f(3) = 28, find the values of aa, bb, cc, and dd.

Solution:

(a) Completing the square: f(x)=x26x+5=(x3)24f(x) = x^2 - 6x + 5 = (x - 3)^2 - 4.

Since the domain is x3x \geq 3, f(x)4f(x) \geq -4 (range). Let y=(x3)24y = (x - 3)^2 - 4:

y+4=(x3)2y + 4 = (x - 3)^2 x3=y+4x - 3 = \sqrt{y + 4} (taking positive root since x3x \geq 3) x=3+y+4x = 3 + \sqrt{y + 4}

f1(x)=3+x+4f^{-1}(x) = 3 + \sqrt{x + 4}.

Domain of f1f^{-1}: x4x \geq -4 (which is the range of ff).

(b) x25x+6>0x^2 - 5x + 6 > 0. Factorising: (x2)(x3)>0(x - 2)(x - 3) > 0.

The quadratic is positive when x<2x < 2 or x>3x > 3. So the solution is x(,2)(3,)x \in (-\infty, 2) \cup (3, \infty).

(c) If ff is quadratic, its graph is a parabola. A parabola is symmetric about its axis of symmetry. The points (0,2)(0, 2) and (4,2)(4, 2) are symmetric about x=2x = 2, which is consistent. The turning point would be at x=2x = 2 with y=6y = 6 (maximum, since the parabola opens downward). The quadratic f(x)=a(x2)2+6f(x) = -a(x - 2)^2 + 6: using (0,2)(0, 2): 2=4a+62 = -4a + 6, so a=1a = 1. Thus f(x)=(x2)2+6=x2+4x+2f(x) = -(x - 2)^2 + 6 = -x^2 + 4x + 2. Yes, this could be a quadratic function.

(d) From f(0)=4f(0) = 4: d=4d = 4.

From f(1)=2f(1) = 2: a+b+c+4=2a + b + c + 4 = 2, so a+b+c=2a + b + c = -2 … (1) From f(2)=6f(2) = 6: 8a+4b+2c+4=68a + 4b + 2c + 4 = 6, so 8a+4b+2c=28a + 4b + 2c = 2, i.e., 4a+2b+c=14a + 2b + c = 1 … (2) From f(3)=28f(3) = 28: 27a+9b+3c+4=2827a + 9b + 3c + 4 = 28, so 27a+9b+3c=2427a + 9b + 3c = 24, i.e., 9a+3b+c=89a + 3b + c = 8 … (3)

Subtract (1) from (2): 3a+b=33a + b = 3 … (4) Subtract (2) from (3): 5a+b=75a + b = 7 … (5) Subtract (4) from (5): 2a=42a = 4, so a=2a = 2.

From (4): b=36=3b = 3 - 6 = -3. From (1): c=22+3=1c = -2 - 2 + 3 = -1.

f(x)=2x33x2x+4f(x) = 2x^3 - 3x^2 - x + 4.

Summary

The key principles covered in this topic are linked in the sub-pages above. Focus on understanding the definitions, applying the formulas or frameworks, and evaluating strengths and limitations of each approach.

Worked Examples

Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages linked above.

Common Pitfalls

  • Forgetting to consider the domain when finding inverse functions, especially for restricted quadratics and square root functions.
  • Applying transformations in the wrong order: horizontal transformations must be applied before vertical transformations.
  • Sign errors when completing the square or when solving quadratic inequalities (forgetting to reverse the inequality when multiplying by a negative value).
- Confusing composite function notation: $fg(x)$ means $f(g(x))$, applying $g$ first, then $f$.