✦ VidyaVerseOpen in the book reader

Home › Books › High School Mathematics

Chapter 15: Functions and Their Graphs

High School Mathematics · PART II — Algebra · by GS Shashidhara

Read in the book reader – search and larger text

KEY IDEA — Learning objectives

After studying this chapter you will be able to:

▪ define a function, use f(x) notation, and recognise functions by the vertical line test;

▪ find the domain and range of a function;

▪ classify functions as one-one, onto, even or odd;

▪ form composite functions f(g(x)) and inverse functions f−1(x);

▪ recognise and sketch the graphs of linear, quadratic, cubic, reciprocal, square-root, absolute-value, exponential and logarithmic functions;

▪ apply translations, stretches and reNections to graphs;

▪ work with piecewise functions, the greatest integer function and simple functional equations.

SYLLABUS LINK — Where this chapter fits

▪ NCERT/CBSE: Class 11 Relations and Functions; Class 12 Relations and Functions (one-one, onto, composition, inverse).

▪ ICSE / ISC: ISC Class 11–12 Functions.

▪ Cambridge IGCSE 0580: E2.10 Graphs of functions; E2.11 Sketching curves; E2.13 Functions (domain, range, composite and inverse functions).

▪ GCSE (England): A7 (functions, inverse and composite), A12–A13 (graphs and their transformations).

▪ US Common Core: HSF-IF (interpreting functions), HSF- BF.B.3–4 (transformations, inverse functions), HSF-LE.

▪ IB DP: AA SL 2.1–2.5, 2.11 (functions, composition, inverses, transformations).

▪ Olympiad: functional equations, iteration, greatest integer function.

15.1 What Is a Function?

A function f from a set A to a set B assigns to each element x of A exactly one element f(x) of B. We write f: A → B and call A the domain, B the codomain, and the set of actual outputs {f(x) : x ∈ A} the range. (In Chapter 5 we met functions as special relations.)

▪ x is the input (independent variable); f(x) is the output or image of x.

▪ A function can be described by a formula (f(x) = x2), a table, a mapping diagram, a graph or in words (“double and add 3”). KEY IDEA — Vertical line test

A graph in the xy-plane represents a function of x if and only if no vertical line meets it more than once. A parabola y = x2 passes the test; a circle x2 + y2 = 4 fails it, because each x between −2 and 2 has two y-values.

Example 15.1. Which of these represent functions of x? (a) {(1, 2), (2, 3), (3, 2)} (b) {(1, 2), (1, 3)} (c) x2 + y2 = 4.

Solution. (a) Each first component appears once — a function (two inputs may share an output).

(b) The input 1 has two outputs — not a function.

(c) x = 0 gives y = ±2 — not a function.

∴ Only (a).

Example 15.2. If f(x) = 2x2 − 3x + 1, find f(−2) and f(a + 1).

Solution. f(−2) = 8 + 6 + 1 = 15.

f(a + 1) = 2(a2 + 2a + 1) − 3a − 3 + 1 = 2a2 + a.

∴ 15 and 2a2 + a.

FROM THE HISTORY OF MATHEMATICS — The idea of a

function

The word function was introduced by Gottfried Leibniz in the 1670s–1690s. Leonhard Euler wrote f(x) in 1734 and made functions the central objects of analysis. The modern definition — any rule giving one output for each input, whether or not it has a formula — is due to Peter Gustav Lejeune Dirichlet (1837).

HERITAGE OF INDIAN MATHEMATICS — The sine table as a function

Indian astronomers worked with functions centuries before the word existed. Āryabhaṭa (499 CE) tabulated the jyā (half-chord, our sine) for 24 arcs at intervals of 3¾°, and gave a rule for building the table from its di\erences. In the 14th century Mādhava of Saṅgamagrāma expressed the sine as an infinite power series, sin x = x − x3/3! + x5/5! − …, treating it as a function of the arc to be computed to any accuracy — a cornerstone of what later became calculus.

15.2 Domain and Range

When a function is given by a formula and no domain is stated, the domain is taken to be all real numbers for which the formula makes sense. The usual restrictions are:

▪ a denominator cannot be zero;

▪ an even root (√) needs a non-negative radicand;

▪ a logarithm needs a positive argument.

Example 15.3. Find the domains of (a) 1/(x − 3) (b) √(5 − x) (c) √(x2 − 4) (d) log(x − 1) (e) 1/(x2 − 1).

Solution. (a) x ≠ 3. (b) 5 − x ≥ 0 ⇒ x ≤ 5. (c) x2 ≥ 4 ⇒ x ≤ −2 or x ≥

2. (d) x > 1. (e) x ≠ ±1.

∴ (a) − {3} (b) (−∞, 5] (c) (−∞, −2] ∪ [2, ∞) (d) (1, ℝ ∞) (e) − {−1, 1}.ℝ

To find the range, ask which outputs y are possible: solve y = f(x) for x and see which y give a valid x, or use the graph.

Example 15.4. Find the ranges of (a) x2 + 3 (b) −x2 + 4x (c) (x + 1)/(x − 2).

Solution. (a) x2 ≥ 0, so x2 + 3 ≥ 3.

(b) −(x − 2)2 + 4 ≤ 4 (complete the square).

(c) y = (x + 1)/(x − 2) ⇒ yx − 2y = x + 1 ⇒ x(y − 1) = 2y + 1 ⇒ x = (2y + 1)/(y − 1), possible for every y except y = 1.

∴ (a) [3, ∞) (b) (−∞, 4] (c) − {1}.ℝ

15.3 Types of Functions

KEY IDEA — One-one, onto, even and odd

▪ One-one (injective): different inputs give different

outputs: f(a) = f(b) ⇒ a = b. (Horizontal line test: no

horizontal line meets the graph twice.)

▪ Onto (surjective): every element of the codomain is an output: range = codomain.

▪ Bijective: both one-one and onto; exactly the functions that have inverses.

▪ Even: f(−x) = f(x) for all x — graph symmetric about the y- axis (x2, ∣x∣).

▪ Odd: f(−x) = −f(x) for all x — graph symmetric about the origin (x, x3, 1/x).

Example 15.5. (a) Show that f(x) = 3x − 2 is one-one. (b) Is g(x) = x2 one-one on ℝ? On [0, ∞)?

Solution. (a) 3a − 2 = 3b − 2 ⇒ a = b.

(b) g(2) = g(−2) = 4, so not one-one on ℝ; on [0, ∞), a2 = b2 with a, b ≥ 0 forces a = b.

∴ (a) one-one (b) not on ; yes on [0, ∞).ℝ

Example 15.6. Classify as even, odd or neither: (a) x4 − x2 (b) x3 + x (c) x2 + x.

Solution. (a) (−x)4 − (−x)2 = x4 − x2: even. (b) −x3 − x = −(x3 + x):

odd. (c) x2 − x is neither f(x) nor −f(x).

∴ (a) even (b) odd (c) neither.

15.4 Composite Functions

The composite f∘g (read “f of g”) is defined by (f∘g)(x) = f(g(x)): apply g first, then f. Its domain consists of those x in the domain of g for which g(x) lies in the domain of f.

Example 15.7. f(x) = 2x + 1 and g(x) = x2. Find f∘g, g∘f, f(g(3)) and g(f(3)).

Solution. f(g(x)) = 2x2 + 1; g(f(x)) = (2x + 1)2.

f(g(3)) = 2 × 9 + 1 = 19; g(f(3)) = 72 = 49.

∴ In general f∘g ≠ g∘f: composition is not commutative.

Example 15.8. f(x) = √x and g(x) = x − 4. Find f(g(x)) and its domain.

Solution. f(g(x)) = √(x − 4), which needs x − 4 ≥ 0.

∴ √(x − 4), domain x ≥ 4.

15.5 Inverse Functions

If f is one-one, the inverse function f−1 reverses it: f−1(y) = x ⇔ f(x) = y. Then f(f−1(x)) = x and f−1(f(x)) = x. The domain of f−1 is the range of f, and vice versa.

KEY IDEA — Finding and drawing an inverse

▪ Write y = f(x), swap x and y, and solve for y.

▪ The graph of y = f−1(x) is the re@ection of y = f(x) in the line y = x.

▪ f−1(x) does not mean 1/f(x).

Example 15.9. Find the inverse of f(x) = (3x − 2)/5.

Solution. x = (3y − 2)/5 ⇒ 5x = 3y − 2 ⇒ y = (5x + 2)/3.

∴ f−1(x) = (5x + 2)/3. (Check: f(f−1(x)) = (5x + 2 − 2)/5 = x .)✓

Example 15.10. Find the inverse of f(x) = (2x + 1)/(x − 3), x ≠ 3.

Solution. x = (2y + 1)/(y − 3) ⇒ xy − 3x = 2y + 1 ⇒ y(x − 2) = 3x + 1.

∴ f−1(x) = (3x + 1)/(x − 2), x ≠ 2.

Example 15.11. Find the inverse of f(x) = x2 + 1 with domain x ≥ 0.

Solution. x = y2 + 1 ⇒ y2 = x − 1 ⇒ y = √(x − 1) (the positive root, because the original domain was x ≥ 0).

∴ f−1(x) = √(x − 1), x ≥ 1.

15.6 A Gallery of Standard Graphs

Figure 15.1 Eight standard graphs every student should be able to sketch

▪ Linear y = mx + c: straight line (Chapter 10).

▪ Quadratic y = ax2 + bx + c: parabola (Chapter 12).

▪ Cubic y = x3: S-shaped, odd, passes through the origin.

▪ Reciprocal y = 1/x: rectangular hyperbola with asymptotes x = 0 and y = 0 (lines the curve approaches but never meets).

▪ Square root y = √x: half a parabola on its side, domain x ≥ 0.

▪ Absolute value y = ∣x∣: V-shape, vertex at the origin.

▪ Exponential y = ax (a > 1): passes through (0, 1), grows rapidly, asymptote y = 0.

▪ Logarithmic y = loga x: the inverse of ax; passes through (1, 0), asymptote x = 0.

15.7 Transformations of Graphs

KEY IDEA — EAects of simple changes (a > 0)

A change outside f moves the graph vertically; a change inside f (to x) moves it horizontally, and in the opposite direction to what the sign suggests.

New functionEAect on the graph of y = f(x)
y = f(x) + atranslate up by a
y = f(x − a)translate right by a (note the minus sign)
y = af(x)stretch vertically by factor a
y = f(ax)stretch horizontally by factor 1/a
y = −f(x)reNect in the x-axis
y = f(−x)reNect in the y-axis

Figure 15.2 Transformations of y = x2 (left) and the rebection of 2x in y =

x giving log2 x (right)

Example 15.12. Describe how to obtain y = (x − 3)2 + 2 and y = −2(x + 1)2 + 3 from y = x2.

Solution. (x − 3)2 + 2: translate right 3 and up 2; vertex (3, 2). −2(x + 1)2 + 3: translate left 1, stretch vertically by 2, reNect in the x-axis, translate up 3; vertex (−1, 3), opens downwards. ∴ As described.

Example 15.13. Sketch y = 1/(x − 2) + 1, giving its asymptotes and intercepts.

Solution. It is y = 1/x translated right 2 and up 1, so the asymptotes are x = 2 and y = 1.

x = 0: y = −1/2 + 1 = 1/2. y = 0: 1/(x − 2) = −1 ⇒ x = 1. ∴ Asymptotes x = 2, y = 1; intercepts (0, 1/2) and (1, 0).

Example 15.14. Sketch y = ∣x − 2∣ − 1.

Solution. It is y = ∣x∣ moved right 2 and down 1: a V with vertex (2, −1).

∴ Vertex (2, −1); it crosses the x-axis where ∣x − 2∣ = 1, at x = 1 and x = 3.

15.8 Piecewise Functions and the Greatest Integer Function

A piecewise function uses different formulas on different parts of its domain, as in tax slabs, postage rates and taxi fares.

Example 15.15. f(x) = x + 1 for x < 0; x2 for 0 ≤ x ≤ 2; 6 − x for x >

2. Find f(−3), f(1), f(4), and describe the graph at x = 0 and x = 2.

Solution. f(−3) = −2; f(1) = 1; f(4) = 2.

At x = 0 the left piece approaches 1 but f(0) = 0: a jump. At x = 2 both pieces give 4: the graph is joined (continuous) there. ∴ −2, 1, 2; a jump at 0, continuous at 2.

The greatest integer function (Noor function) ⌊x⌋ is the greatest integer not exceeding x: ⌊2.7⌋ = 2, ⌊5⌋ = 5, ⌊−2.7⌋ = −3. Its graph is a “staircase”.

Example 15.16. Solve ⌊x⌋ = 3 and ⌊2x + 1⌋ = 4.

Solution. ⌊x⌋ = 3 ⇔ 3 ≤ x < 4. ⌊2x + 1⌋ = 4 ⇔ 4 ≤ 2x + 1 < 5 ⇔ 1.5 ≤ x < 2.

∴ [3, 4) and [1.5, 2).

Example 15.17. A rectangle has perimeter 20 cm. Express its area A as a function of one side x, and state the domain and range.

Solution. The other side is 10 − x, so A(x) = x(10 − x) = 25 − (x − 5)2, with 0 < x < 10.

∴ A(x) = 10x − x2; domain (0, 10); range (0, 25].

OLYMPIAD CORNER — Functional equations

Find f if f(x) + 2f(1/x) = 3x for all x ≠ 0. Replace x by 1/x: f(1/x) + 2f(x) = 3/x. Now we have two linear equations in the two unknowns f(x) and f(1/x). Doubling the second and subtracting the first: 3f(x) = 6/x − 3x, so f(x) = 2/x − x. Check: (2/x − x) + 2(2x − 1/x) = 3x . Substituting cleverly chosen values or✓ expressions is the basic tool for functional equations.

Chapter Summary

▪ A function assigns exactly one output to each input; vertical line test.

▪ Domain: avoid zero denominators, negative even-root

radicands, non-positive log arguments. Range: solve y = f(x) for x.

▪ One-one: f(a) = f(b) ⇒ a = b; onto: range = codomain; bijective functions have inverses.

▪ Even: f(−x) = f(x) (y-axis symmetry); odd: f(−x) = −f(x) (origin symmetry).

▪ (f∘g)(x) = f(g(x)); usually f∘g ≠ g∘f.

▪ Inverse: swap x and y and solve; graph reNected in y = x; f−1 ≠ 1/f.

▪ f(x) + a up, f(x − a) right, af(x) vertical stretch, f(ax)

horizontal stretch by 1/a, −f(x) and f(−x) reNections.

▪ Piecewise functions and ⌊x⌋ model real situations with steps and jumps.

Exercise 15A — Foundation Problems

1. Which represent functions of x? (a) {(1, a), (2, b), (3, a)} (b) {(1, a), (1, b)} (c) y = x2 (d) x = y2.

2. If f(x) = x2 − 4x + 3, find f(0), f(2) and f(−1).

3. If f(x) = 3x − 5, find x when f(x) = 10.

4. Find the domain of f(x) = 1/(x + 4).

5. Find the domain of f(x) = √(2x − 6).

6. Find the domain of f(x) = (x + 1)/(x2 − 9).

7. Find the range of f(x) = x2 − 2, x ∈ ℝ.

8. Find the range of f(x) = 2x + 1 with domain {0, 1, 2, 3}.

9. Is f(x) = 5x + 2 one-one?

10. Is f(x) = x2 one-one on ℝ?

11. Classify as even, odd or neither: (a) x2 + 4 (b) x3 (c) x + 1 (d) ∣x∣.

12. If f(x) = x + 2 and g(x) = 3x, find f(g(x)) and g(f(x)).

13. If f(x) = x2 and g(x) = x − 1, find (f∘g)(4) and (g∘f)(4).

14. Find the inverse of f(x) = 4x − 7.

15. Find the inverse of f(x) = x/3 + 2.

16. Use the vertical line test to decide whether (a) a parabola y = x2 (b) a circle represents a function of x.

17. Describe the transformation from y = x2 to (a) y = x2 + 5 (b) y = (x + 4)2.

18. Describe the graph of y = ∣x∣ − 3.

19. Write the equation of y = x3 translated 2 units right and 1 unit down.

20. Evaluate ⌊3.9⌋, ⌊−0.5⌋ and ⌊5⌋.

Exercise 15B — Standard Problems

1. f(x) = (2x − 1)/(x + 3). State the domain and find x when f(x) = 1.

2. Find the domain of √(x2 − 5x + 6).

3. Find the domain of 1/√(4 − x2).

4. Find the range of f(x) = 1/(x2 + 1).

5. Find the range of f(x) = (x + 2)/(x − 1).

6. Prove that f(x) = (x − 1)/(x + 1) is one-one on its domain.

7. If f(x) = x2 + 1 and g(x) = √(x − 1) (x ≥ 1), find f(g(x)) and g(f(x)).

8. If f(x) = 2x + 3, find g(x) such that f(g(x)) = x.

9. Find the inverse of f(x) = (x + 3)/(x − 2).

10. If f(x) = 1/(1 − x), find f(f(x)) and f(f(f(x))).

11. Describe how to obtain y = 2(x − 1)2 − 3 from y = x2, and state its vertex.

12. Sketch y = 1/(x + 1) − 2, giving its asymptotes and intercepts.

13. For f(x) = 2x, write down f−1(x) and find f−1(8).

14. A taxi charges ₹50 for the first 2 km and ₹15 per km after that. Write the fare as a piecewise function of the distance d km and find the fare for 10 km.

15. Solve ⌊2x + 1⌋ = 4.

Exercise 15C — Higher-Order Thinking Problems

1. A linear function f(x) = ax + b satisfies f(1) = 5 and f(f(1)) = 17. Find a and b.

2. Show that f(x) = x/(x − 1) is its own inverse.

3. Prove that the composite of two one-one functions is one-one.

4. Show that every function on ℝ is the sum of an even function and an odd function, and do this for f(x) = x2 + 3x + 2.

5. Find the range of f(x) = x2 − 6x + 10 on the domain [0, 5].

6. Sketch y = ∣x − 1∣ + ∣x + 1∣ and find its minimum value.

7. Find the point where the graph of f(x) = 2x − 3 meets the graph of its inverse.

8. A rectangle is inscribed under the curve y = 4 − x2, with its base on the x-axis and symmetric about the y-axis. Express its area as a function of x and state the domain.

9. A function on whole numbers satisfies f(0) = 2 and f(n + 1) = f(n) + 3. Find f(10) and a formula for f(n).

10. How many functions are there from {1, 2, 3} to {a, b}? How many are one-one? How many are onto?

Exercise 15D — Olympiad Problems

1. Find f if f(x) + 2f(1/x) = 3x for all x ≠ 0.

2. f: ℝ → ℝ satisfies f(x + y) = f(x) + f(y) for all x, y, and f(1) = 3. Find f(n) for every integer n, and f(1/2).

3. If f(x) = x2 − 2x, solve f(f(x)) = 3.

4. If f(x) = 4x/(4x + 2), show that f(x) + f(1 − x) = 1, and find f(1/2026) + f(2/2026) + … + f(2025/2026).

5. Find all linear functions f with f(f(x)) = 9x + 8.

6. Find all values of ⌊x⌋ + ⌊−x⌋.

7. Solve ⌊x⌋2 − 5⌊x⌋ + 6 = 0.

8. Solve x + ⌊x⌋ = 8.4.

9. Prove that f(x) = x3 is one-one on ℝ.

10. f: ℕ → ℕ satisfies f(1) = 1, f(2n) = f(n) and f(2n + 1) = f(n) + 1. Find f(2026) and describe f(n) in words.

11. How many onto functions are there from {1, 2, 3, 4} to {a, b, c}?

12. If f(x) = (x − 1)/(x + 1), find f(f(x)) and show that f(f(f(f(x)))) = x.

Exercise 15E — NCERT-Aligned Practice

These problems practise the skills of NCERT Grade 9 (Introduction to Linear Polynomials: linear relationships and their graphs) together with the function ideas that prepare students for Class 11. Tags name the matching NCERT chapter.

1. [G9-2] For f(x) = 2x − 5, find f(0), f(3) and f(−2). For which x is f(x) = 7?

2. [G9-2] Which table shows a linear relationship? Table A: (1, 3), (2, 5), (3, 7), (4, 9). Table B: (1, 1), (2, 4), (3, 9), (4, 16).

3. [G9-2] A mobile plan costs ₹199 a month plus ₹2 for each extra GB of data. Write the monthly cost C as a function of the extra data g. Find C when g = 15.

4. [G9-2] A linear function has f(1) = 4 and f(3) = 10. Find f(x).

5. [G9-2] Decide whether each rule is a function: (a) each student ↦ his or her roll number (b) each positive number ↦ its square roots.

6. [G9-2] Find the domain of (a) f(x) = 1/(x − 3) (b) g(x) = √(x − 2).

7. [G9-2] Compare the graphs of y = 2x + 1 and y = 2x − 3.

8. [G9-2] If f(x) = x + 2 and g(x) = 3x, find f(g(2)) and g(f(2)).

9. [G9-2] Find the inverse of f(x) = (x − 4)/3.

10. [G9-2] A 30 cm candle burns 2 cm per hour. Write its height h after t hours, and state the domain and range of h.

11. [G9-2] A cyclist’s distance–time graph is a straight line from (0,

0) to (2 h, 30 km). What is the speed, and what does it represent on the graph?

12. [G9-2] Parking costs ₹20 for the first hour and ₹10 for each further hour or part of an hour. Find the cost of parking for 3.5 hours.

Brain Teasers

1. A number machine doubles its input and adds 3. The output is

17. What was the input?

2. Is “each student ↦ his or her birthday” a function? Is “each date ↦ a student born on it” a function?

3. For large positive x, which is bigger: x10 or 2x?

4. Which function is its own inverse and has a graph with two separate branches?

5. If f(x) = 1 − x, what is f(f(x))?

6. Guess the rule: x = 1, 2, 3, 4 give y = 3, 5, 7, 9.

7. Let L(n) be the number of letters in the English name of n. Starting from any number and applying L repeatedly, where do you always end up?

8. The Collatz rule: if n is even halve it, if odd replace it by 3n + 1. Start from 6. What happens?

9. Which numbers are equal to their own squares?

10. If f(x) = x + 1 and g(x) = x − 1, what is f(g(x))?

Multiple-Choice Questions

1. If f(x) = 2x2 − 1, then f(−2) is: (a) 9 (b) −9 (c) 7 (d) −7

2. The domain of 1/(x − 5) is: (a) ℝ − {5} (b) ℝ (c) x > 5 (d) x ≥ 5

3. The domain of √(x + 2) is: (a) ℝ (b) x > −2 (c) x ≥ 2 (d) x ≥ −2

4. The range of f(x) = x2 is: (a) ℝ (b) (−∞, 0] (c) (0, ∞) (d) [0, ∞)

5. Which is an odd function? (a) x2 (b) ∣x∣ (c) x3 (d) x2 + x

6. If f(x) = x + 1 and g(x) = 2x, then f(g(1)) is: (a) 4 (b) 3 (c) 2 (d) 5

7. The inverse of f(x) = 2x + 6 is: (a) x/2 + 6 (b) 2x − 6 (c) (x − 6)/2

(d) 1/(2x + 6)

8. The graph of f−1 is the reNection of the graph of f in: (a) the x- axis (b) y = x (c) the y-axis (d) the origin

9. y = f(x − 3) is the graph of y = f(x) moved: (a) 3 left (b) 3 right (c) 3 up (d) 3 down

10. y = −f(x) is the reNection of y = f(x) in: (a) y = x (b) the y-axis (c) the x-axis (d) the origin

11. The asymptotes of y = 1/x are: (a) x = 0, y = 0 (b) x = 1, y = 1 (c) y = x (d) none

12. ⌊−3.2⌋ equals: (a) −3 (b) −3.2 (c) 3 (d) −4

13. A function from A to B is one-one if: (a) different inputs give different outputs (b) every b has a preimage (c) f(x) = x (d) A = B

14. The graph of y = 2x passes through: (a) (0, 1) (b) (1, 0) (c) (0, 0)

(d) (2, 2)

15. If f(x) = x2 and g(x) = x + 3, then g(f(x)) is: (a) (x + 3)2 (b) x2 + 3

(c) x2 + 3x (d) 3x2

Solutions to Chapter 15

Solutions — Exercise 15A

1. (b) 1 has two images; (d) x = 4 gives y = ±2.

∴ (a) and (c).

2. f(0) = 3; f(2) = 4 − 8 + 3 = −1; f(−1) = 1 + 4 + 3 = 8. ∴ 3, −1, 8.

3. 3x − 5 = 10.

∴ x = 5.

4. Direct recall:

∴ ℝ − {−4}.

5. 2x − 6 ≥ 0.

∴ x ≥ 3.

6. x2 − 9 ≠ 0.

∴ ℝ − {−3, 3}.

7. x2 ≥ 0 ⇒ x2 − 2 ≥ −2.

∴ [−2, ∞).

8. Direct recall:

∴ {1, 3, 5, 7}.

9. 5a + 2 = 5b + 2 ⇒ a = b.

∴ Yes.

10. f(1) = f(−1).

∴ No.

11. Direct recall:

∴ (a) even (b) odd (c) neither (d) even.

12. f(3x) = 3x + 2; g(x + 2) = 3x + 6.

∴ 3x + 2 and 3x + 6.

13. (f∘g)(4) = f(3) = 9; (g∘f)(4) = g(16) = 15.

∴ 9 and 15.

14. x = 4y − 7 ⇒ y = (x + 7)/4.

∴ f−1(x) = (x + 7)/4.

15. x = y/3 + 2 ⇒ y = 3(x − 2).

∴ f−1(x) = 3x − 6.

16. Direct recall:

∴ (a) yes (b) no — a vertical line through the inside of the circle meets it twice.

17. Direct recall:

∴ (a) up 5 (b) left 4.

18. Direct recall:

∴ A V-shape with vertex (0, −3), crossing the x-axis at ±3.

19. Direct recall:

∴ y = (x − 2)3 − 1.

20. Direct recall:

∴ 3, −1, 5.

Solutions — Exercise 15B

1. Domain x ≠ −3. 2x − 1 = x + 3.

∴ x = 4.

2. (x − 2)(x − 3) ≥ 0.

∴ x ≤ 2 or x ≥ 3.

3. 4 − x2 > 0 (strict, since it is under a root in a denominator). ∴ −2 < x < 2.

4. x2 + 1 ≥ 1, so 0 < 1/(x2 + 1) ≤ 1.

∴ (0, 1].

5. y = (x + 2)/(x − 1) ⇒ x = (y + 2)/(y − 1), valid unless y = 1. ∴ ℝ − {1}.

6. (a − 1)/(a + 1) = (b − 1)/(b + 1) ⇒ ab + a − b − 1 = ab − a + b − 1 ⇒ 2a = 2b.

∴ a = b, so f is one-one. □

7. f(g(x)) = (x − 1) + 1 = x for x ≥ 1. g(f(x)) = √(x2) = ∣x∣.

∴ f(g(x)) = x; g(f(x)) = ∣x∣.

8. 2g(x) + 3 = x.

∴ g(x) = (x − 3)/2 (= f−1(x)).

9. x = (y + 3)/(y − 2) ⇒ xy − 2x = y + 3 ⇒ y(x − 1) = 2x + 3. ∴ f−1(x) = (2x + 3)/(x − 1).

10. f(f(x)) = 1/(1 − 1/(1 − x)) = (1 − x)/(−x) = (x − 1)/x. f(f(f(x))) = 1/(1 − (x − 1)/x) = 1/(1/x) = x.

∴ (x − 1)/x and x.

11. Right 1, vertical stretch × 2, down 3.

∴ Vertex (1, −3).

12. y = 1/x moved left 1 and down 2. y = 0: 1/(x + 1) = 2 ⇒ x = −1/2; x = 0: y = −1.

∴ Asymptotes x = −1, y = −2; intercepts (−1/2, 0) and (0, −1).

13. f−1(x) = log2 x.

∴ f−1(8) = 3.

14. f(d) = 50 for 0 < d ≤ 2; f(d) = 50 + 15(d − 2) for d > 2. ∴ f(10) = 50 + 120 = ₹170.

15. 4 ≤ 2x + 1 < 5.

∴ 1.5 ≤ x < 2.

Solutions — Exercise 15C

1. a + b = 5 and f(5) = 5a + b = 17 ⇒ 4a = 12.

∴ a = 3, b = 2.

2. f(f(x)) = [x/(x − 1)]/[x/(x − 1) − 1] = [x/(x − 1)]/[1/(x − 1)] = x. ∴ f = f−1. □

3. If f(g(a)) = f(g(b)), then g(a) = g(b) (f one-one), so a = b (g one- one).

∴ Proved. □

4. f(x) = [f(x) + f(−x)]/2 + [f(x) − f(−x)]/2; the first part is even and the second odd. For x2 + 3x + 2: f(−x) = x2 − 3x + 2.

∴ Even part x2 + 2; odd part 3x.

5. f(x) = (x − 3)2 + 1: minimum 1 at x = 3; f(0) = 10, f(5) = 5. ∴ [1, 10].

6. For x ≥ 1: 2x. For −1 ≤ x ≤ 1: 2. For x ≤ −1: −2x. The graph is Nat at height 2 between −1 and 1.

∴ Minimum 2 (for all x in [−1, 1]).

7. The graphs of f and f−1 meet on y = x here: 2x − 3 = x.

∴ (3, 3).

8. Width 2x, height 4 − x2.

∴ A(x) = 2x(4 − x2) = 8x − 2x3, 0 < x < 2.

9. An AP with first term 2 and difference 3.

∴ f(n) = 3n + 2; f(10) = 32.

10. Each of 3 inputs has 2 choices: 23 = 8. One-one needs 3 distinct outputs from 2 — impossible. Onto: all except the 2 constant functions.

∴ 8, 0 and 6.

Solutions — Exercise 15D

1. See the Olympiad Corner, Section 15.8.

∴ f(x) = 2/x − x.

2. x = y = 0: f(0) = 2f(0) ⇒ f(0) = 0. By induction f(n) = nf(1) = 3n for n ≥ 1; f(−n) = −f(n) since f(n) + f(−n) = f(0) = 0. Also f(1/2) + f(1/2) = f(1).

∴ f(n) = 3n for all integers n; f(1/2) = 3/2.

3. Let t = f(x): t2 − 2t − 3 = 0 ⇒ t = 3 or −1. x2 − 2x = 3 ⇒ x = 3, −1; x2 − 2x = −1 ⇒ (x − 1)2 = 0 ⇒ x = 1.

∴ x = −1, 1, 3.

4. f(1 − x) = 41−x/(41−x + 2) = 4/(4 + 2 × 4x) = 2/(2 + 4x). Adding: (4x + 2)/(4x + 2) = 1. The 2025 terms pair up as f(k/2026) + f(1 − k/2026) = 1: 1012 pairs plus the middle term f(1/2) = 2/4 = 1/2. ∴ 1012 + 1/2 = 2025/2.

5. f(x) = ax + b: a2 = 9 and b(a + 1) = 8. a = 3 ⇒ b = 2; a = −3 ⇒ b = −4.

∴ f(x) = 3x + 2 or f(x) = −3x − 4.

6. If x is an integer, ⌊x⌋ + ⌊−x⌋ = x − x = 0. Otherwise ⌊−x⌋ = −⌊x⌋ − 1.

∴ 0 for integers, −1 otherwise.

7. (⌊x⌋ − 2)(⌊x⌋ − 3) = 0 ⇒ ⌊x⌋ = 2 or 3.

∴ 2 ≤ x < 4.

8. Let n = ⌊x⌋, so x = 8.4 − n and n ≤ 8.4 − n < n + 1 ⇒ 3.7 < n ≤ 4.2 ⇒ n = 4.

∴ x = 4.4.

9. a3 − b3 = (a − b)(a2 + ab + b2), and a2 + ab + b2 = (a + b/2)2 + 3b2/4 > 0 unless a = b = 0. So a3 = b3 ⇒ a = b.

∴ Proved. □

10. Writing n in binary, f(2n) = f(n) ignores a final 0 and f(2n + 1) = f(n) + 1 counts a final 1. 2026 = 11111101010 in binary. ∴ f(n) is the number of 1s in the binary form of n; f(2026) = 8.

11. Total 34 = 81; subtract those missing a given value: 3 × 24 = 48; add back those missing two values: 3 × 1 = 3.

∴ 81 − 48 + 3 = 36.

12. f(f(x)) = [(x − 1)/(x + 1) − 1]/[(x − 1)/(x + 1) + 1] = (−2)/(2x) = −1/x. Then f4(x) = (f∘f)(−1/x) = −1/(−1/x) = x.

∴ f(f(x)) = −1/x; f4(x) = x. □

Solutions — Exercise 15E

1. f(0) = −5; f(3) = 1; f(−2) = −9. 2x − 5 = 7 ⇒ x = 6.

∴ −5, 1, −9; x = 6.

2. In Table A the y-values go up by 2 each time; in Table B they go up by 3, 5, 7.

∴ Table A (y = 2x + 1) is linear; Table B (y = x2) is not.

3. C(g) = 199 + 2g. C(15) = 199 + 30.

∴ C = 199 + 2g; ₹229.

4. Slope = (10 − 4)/(3 − 1) = 3, so f(x) = 3x + c. f(1) = 4 gives c = 1.

∴ f(x) = 3x + 1.

5. (a) Every student has exactly one roll number. (b) 4 has two square roots, 2 and −2.

∴ (a) a function (b) not a function.

6. (a) The denominator cannot be zero. (b) The expression under the root must be non-negative.

∴ (a) all real x except 3 (b) x ≥ 2.

7. Both lines have slope 2, so they are parallel. Their y-intercepts are 1 and −3.

∴ Parallel lines; the second is the first shifted down by 4 units.

8. g(2) = 6, so f(g(2)) = 8. f(2) = 4, so g(f(2)) = 12.

∴ 8 and 12 (so f∘g ≠ g∘f).

9. y = (x − 4)/3 ⇒ x = 3y + 4. Swap the variables.

∴ f−1(x) = 3x + 4.

10. h(t) = 30 − 2t. The candle burns out when h = 0, that is, when t = 15.

∴ h = 30 − 2t; domain 0 ≤ t ≤ 15; range 0 ≤ h ≤ 30.

11. Speed = 30/2 = 15 km/h.

∴ 15 km/h, the slope of the graph.

12. The first hour costs ₹20. The remaining 2.5 hours count as 3 started hours: 3 × ₹10.

∴ ₹50.

Solutions — Brain Teasers

1. Reverse the steps: (17 − 3)/2.

∴ 7.

2. Each student has exactly one birthday; a date may have several students or none.

∴ The first is a function; the second is not.

3. They cross near x ≈ 59; beyond that 2x wins (2100 ≈ 1.3 × 1030 > 10010 = 1020).

∴ 2x.

4. Direct recall:

∴ f(x) = 1/x.

5. 1 − (1 − x).

∴ x.

6. Direct recall:

∴ y = 2x + 1.

7. Every chain ends at four (4 → “four” → 4).

∴ At 4, a fixed point.

8. 6 → 3 → 10 → 5 → 16 → 8 → 4 → 2 → 1 → 4 → … The Collatz conjecture says every start reaches 1; it is unproved.

∴ It reaches 1.

9. x2 = x.

∴ 0 and 1.

10. Direct recall:

∴ x (the identity function).

Solutions — Multiple-Choice Questions

1. 2(4) − 1.

∴ (c) 7.

2. Direct recall:

∴ (a).

3. Direct recall:

∴ (d).

4. Direct recall:

∴ (d).

5. Direct recall:

∴ (c).

6. f(2) = 3.

∴ (b) 3.

7. Direct recall:

∴ (c).

8. Direct recall:

∴ (b).

9. Direct recall:

∴ (b).

10. Direct recall: ∴ (c).

11. Direct recall: ∴ (a).

12. Direct recall: ∴ (d) −4.

13. Direct recall: ∴ (a).

14. 20 = 1. ∴ (a).

15. Direct recall: ∴ (b).