Functions — Diagnostic Tests
Unit Tests
Tests edge cases, boundary conditions, and common misconceptions for functions.
UT-1: Domain Restrictions in Composite Functions
Question:
Given f ( x ) = 2 x − 1 f(x) = \sqrt{2x - 1} f ( x ) = 2 x − 1 and g ( x ) = 1 x − 3 g(x) = \frac{1}{x - 3} g ( x ) = x − 3 1 :
(a) Find the domain of f ∘ g f \circ g f ∘ g , i.e. f ( g ( x ) ) f(g(x)) f ( g ( x )) .
(b) Find the domain of g ∘ f g \circ f g ∘ f , i.e. g ( f ( x ) ) g(f(x)) g ( f ( x )) .
(c) Explain why the domains of f ∘ g f \circ g f ∘ g and g ∘ f g \circ f g ∘ f are different, identifying the specific restriction that causes the difference.
[Difficulty: hard. Tests the common error of taking the domain of a composite function as the intersection of individual domains, rather than considering the range of the inner function.]
Solution:
(a) f ( g ( x ) ) = f ( 1 x − 3 ) = ◆ L B ◆ 2 x − 3 − 1 ◆ R B ◆ = ◆ L B ◆ 2 − ( x − 3 ) x − 3 ◆ R B ◆ = ◆ L B ◆ 5 − x x − 3 ◆ R B ◆ f(g(x)) = f\left(\frac{1}{x-3}\right) = \sqrt◆LB◆\frac{2}{x-3} - 1◆RB◆ = \sqrt◆LB◆\frac{2 - (x-3)}{x-3}◆RB◆ = \sqrt◆LB◆\frac{5-x}{x-3}◆RB◆ f ( g ( x )) = f ( x − 3 1 ) = ◆ L B ◆ x − 3 2 − 1◆ R B ◆ = ◆ L B ◆ x − 3 2 − ( x − 3 ) ◆ R B ◆ = ◆ L B ◆ x − 3 5 − x ◆ R B ◆ .
For this to be defined, we need:
The expression inside the square root to be non-negative: 5 − x x − 3 ≥ 0 \frac{5-x}{x-3} \geq 0 x − 3 5 − x ≥ 0 .
The denominator of the original g g g to be non-zero: x ≠ 3 x \neq 3 x = 3 .
Solving 5 − x x − 3 ≥ 0 \frac{5-x}{x-3} \geq 0 x − 3 5 − x ≥ 0 by sign analysis:
Critical values: x = 3 x = 3 x = 3 (excluded, denominator zero) and x = 5 x = 5 x = 5 (included, numerator zero).
Interval ( 5 − x ) (5-x) ( 5 − x ) ( x − 3 ) (x-3) ( x − 3 ) Ratio x < 3 x < 3 x < 3 + + + − - − − - − 3 < x ≤ 5 3 < x \leq 5 3 < x ≤ 5 + + + + + + + + + x > 5 x > 5 x > 5 − - − + + + − - −
Domain of f ∘ g f \circ g f ∘ g : ( 3 , 5 ] (3, 5] ( 3 , 5 ] .
(b) g ( f ( x ) ) = g ( 2 x − 1 ) = ◆ L B ◆ 1 ◆ R B ◆◆ L B ◆ 2 x − 1 − 3 ◆ R B ◆ g(f(x)) = g(\sqrt{2x-1}) = \frac◆LB◆1◆RB◆◆LB◆\sqrt{2x-1} - 3◆RB◆ g ( f ( x )) = g ( 2 x − 1 ) = L ◆ B ◆1◆ R B ◆◆ L B ◆ 2 x − 1 − 3◆ R B ◆ .
For this to be defined:
2 x − 1 ≥ 0 ⟹ x ≥ 1 2 2x - 1 \geq 0 \implies x \geq \frac{1}{2} 2 x − 1 ≥ 0 ⟹ x ≥ 2 1 (domain of f f f ).
2 x − 1 − 3 ≠ 0 ⟹ 2 x − 1 ≠ 3 ⟹ 2 x − 1 ≠ 9 ⟹ x ≠ 5 \sqrt{2x-1} - 3 \neq 0 \implies \sqrt{2x-1} \neq 3 \implies 2x-1 \neq 9 \implies x \neq 5 2 x − 1 − 3 = 0 ⟹ 2 x − 1 = 3 ⟹ 2 x − 1 = 9 ⟹ x = 5 .
Domain of g ∘ f g \circ f g ∘ f : [ 1 2 , 5 ) ∪ ( 5 , ∞ ) \left[\frac{1}{2}, 5\right) \cup (5, \infty) [ 2 1 , 5 ) ∪ ( 5 , ∞ ) .
(c) The domains differ because of the direction of composition:
For f ∘ g f \circ g f ∘ g : the input to f f f is g ( x ) = 1 x − 3 g(x) = \frac{1}{x-3} g ( x ) = x − 3 1 , and we need g ( x ) ≥ 1 / 2 g(x) \geq 1/2 g ( x ) ≥ 1/2 (since f f f requires 2 ⋅ g ( x ) − 1 ≥ 0 2 \cdot g(x) - 1 \geq 0 2 ⋅ g ( x ) − 1 ≥ 0 , i.e. g ( x ) ≥ 1 / 2 g(x) \geq 1/2 g ( x ) ≥ 1/2 ). This constrains x x x to a finite interval ( 3 , 5 ] (3, 5] ( 3 , 5 ] .
For g ∘ f g \circ f g ∘ f : the input to g g g is f ( x ) = 2 x − 1 f(x) = \sqrt{2x-1} f ( x ) = 2 x − 1 , and we need f ( x ) ≠ 3 f(x) \neq 3 f ( x ) = 3 . Since f ( x ) ≥ 0 f(x) \geq 0 f ( x ) ≥ 0 for all x x x in its domain, we only exclude x = 5 x = 5 x = 5 . The domain is almost the entire domain of f f f .
The key difference is that f ∘ g f \circ g f ∘ g requires the output of g g g to fall within the domain of f f f (which is [ 1 / 2 , ∞ ) [1/2, \infty) [ 1/2 , ∞ ) ), while g ∘ f g \circ f g ∘ f requires the output of f f f to avoid the single excluded value of g g g (which is 3 3 3 ). The former is much more restrictive because g ( x ) = 1 / ( x − 3 ) g(x) = 1/(x-3) g ( x ) = 1/ ( x − 3 ) only achieves values ≥ 1 / 2 \geq 1/2 ≥ 1/2 on a finite interval.
UT-2: Inverse Function Existence and Domain Restriction
Question:
The function f ( x ) = x 2 + 4 x f(x) = x^2 + 4x f ( x ) = x 2 + 4 x is defined on the domain x ≤ − 2 x \leq -2 x ≤ − 2 .
(a) Explain why f f f has an inverse on this domain.
(b) Find f − 1 ( x ) f^{-1}(x) f − 1 ( x ) , stating its domain and range.
(c) If the domain were instead x ≥ 0 x \geq 0 x ≥ 0 , find the range of f − 1 f^{-1} f − 1 in this case.
[Difficulty: hard. Tests understanding that a function must be one-to-one to have an inverse, and how domain restriction affects the inverse.]
Solution:
(a) To show f f f is one-to-one on x ≤ − 2 x \leq -2 x ≤ − 2 , we show it is strictly monotonic (strictly decreasing) on this domain.
f ′ ( x ) = 2 x + 4 f'(x) = 2x + 4 f ′ ( x ) = 2 x + 4
For x ≤ − 2 x \leq -2 x ≤ − 2 : 2 x + 4 ≤ 0 2x + 4 \leq 0 2 x + 4 ≤ 0 , with equality only at x = − 2 x = -2 x = − 2 .
For x < − 2 x < -2 x < − 2 : f ′ ( x ) < 0 f'(x) < 0 f ′ ( x ) < 0 , so f f f is strictly decreasing on ( − ∞ , − 2 ] (-\infty, -2] ( − ∞ , − 2 ] .
Since f f f is strictly decreasing, it is one-to-one, and therefore has an inverse.
(b) Let y = x 2 + 4 x y = x^2 + 4x y = x 2 + 4 x . Completing the square: y = ( x + 2 ) 2 − 4 y = (x+2)^2 - 4 y = ( x + 2 ) 2 − 4 .
Solving for x x x : ( x + 2 ) 2 = y + 4 (x+2)^2 = y + 4 ( x + 2 ) 2 = y + 4 , so x + 2 = ± y + 4 x + 2 = \pm\sqrt{y+4} x + 2 = ± y + 4 .
Since x ≤ − 2 x \leq -2 x ≤ − 2 , we have x + 2 ≤ 0 x + 2 \leq 0 x + 2 ≤ 0 , so we take the negative root:
x = − 2 − y + 4 x = -2 - \sqrt{y+4} x = − 2 − y + 4
Therefore f − 1 ( x ) = − 2 − x + 4 f^{-1}(x) = -2 - \sqrt{x+4} f − 1 ( x ) = − 2 − x + 4 .
Domain of f − 1 f^{-1} f − 1 : We need x + 4 ≥ 0 x + 4 \geq 0 x + 4 ≥ 0 , so x ≥ − 4 x \geq -4 x ≥ − 4 . Also, the range of f f f on x ≤ − 2 x \leq -2 x ≤ − 2 : since f f f is decreasing, as x → − ∞ x \to -\infty x → − ∞ , f ( x ) → + ∞ f(x) \to +\infty f ( x ) → + ∞ , and f ( − 2 ) = 0 f(-2) = 0 f ( − 2 ) = 0 . So the range of f f f is [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) .
Wait: completing the square gives f ( x ) = ( x + 2 ) 2 − 4 f(x) = (x+2)^2 - 4 f ( x ) = ( x + 2 ) 2 − 4 . At x = − 2 x = -2 x = − 2 : f ( − 2 ) = − 4 f(-2) = -4 f ( − 2 ) = − 4 . As x → − ∞ x \to -\infty x → − ∞ : f ( x ) → + ∞ f(x) \to +\infty f ( x ) → + ∞ . Since f f f is decreasing on ( − ∞ , − 2 ] (-\infty, -2] ( − ∞ , − 2 ] , the range is [ − 4 , ∞ ) [-4, \infty) [ − 4 , ∞ ) .
Therefore domain of f − 1 f^{-1} f − 1 is [ − 4 , ∞ ) [-4, \infty) [ − 4 , ∞ ) , confirming x + 4 ≥ 0 x + 4 \geq 0 x + 4 ≥ 0 .
Range of f − 1 f^{-1} f − 1 equals domain of f f f : ( − ∞ , − 2 ] (-\infty, -2] ( − ∞ , − 2 ] .
(c) If the domain were x ≥ 0 x \geq 0 x ≥ 0 : f ′ ( x ) = 2 x + 4 > 0 f'(x) = 2x + 4 > 0 f ′ ( x ) = 2 x + 4 > 0 for all x ≥ 0 x \geq 0 x ≥ 0 , so f f f is strictly increasing.
Range of f f f : f ( 0 ) = 0 f(0) = 0 f ( 0 ) = 0 and f ( x ) → + ∞ f(x) \to +\infty f ( x ) → + ∞ as x → + ∞ x \to +\infty x → + ∞ . So range is [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) .
The inverse would be f − 1 ( x ) = − 2 + x + 4 f^{-1}(x) = -2 + \sqrt{x+4} f − 1 ( x ) = − 2 + x + 4 (taking the positive root since x + 2 ≥ 2 > 0 x + 2 \geq 2 > 0 x + 2 ≥ 2 > 0 ).
Range of f − 1 f^{-1} f − 1 equals domain of f f f : [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) .
UT-3: Three-Layer Composite Function
Question:
Let f ( x ) = 2 x + 1 f(x) = \frac{2}{x+1} f ( x ) = x + 1 2 , g ( x ) = x 2 − 1 g(x) = x^2 - 1 g ( x ) = x 2 − 1 , and h ( x ) = x h(x) = \sqrt{x} h ( x ) = x .
(a) Find f ∘ g ∘ h f \circ g \circ h f ∘ g ∘ h in its simplest form, stating its domain.
(b) Solve the equation ( f ∘ g ∘ h ) ( x ) = 1 (f \circ g \circ h)(x) = 1 ( f ∘ g ∘ h ) ( x ) = 1 .
(c) Show that ( f ∘ g ∘ h ) ( x ) = ( g ∘ f ∘ h ) ( x ) (f \circ g \circ h)(x) = (g \circ f \circ h)(x) ( f ∘ g ∘ h ) ( x ) = ( g ∘ f ∘ h ) ( x ) and explain algebraically why this identity holds.
[Difficulty: hard. Tests multi-layer composition with domain tracking and algebraic identity verification.]
Solution:
(a) Working from the inside out:
h ( x ) = x h(x) = \sqrt{x} h ( x ) = x (domain: x ≥ 0 x \geq 0 x ≥ 0 )
g ( h ( x ) ) = ( x ) 2 − 1 = x − 1 g(h(x)) = (\sqrt{x})^2 - 1 = x - 1 g ( h ( x )) = ( x ) 2 − 1 = x − 1 (domain: x ≥ 0 x \geq 0 x ≥ 0 , since we need h ( x ) h(x) h ( x ) defined first)
f ( g ( h ( x ) ) ) = f ( x − 1 ) = 2 ( x − 1 ) + 1 = 2 x f(g(h(x))) = f(x - 1) = \frac{2}{(x-1)+1} = \frac{2}{x} f ( g ( h ( x ))) = f ( x − 1 ) = ( x − 1 ) + 1 2 = x 2 (domain: x − 1 ≠ − 1 ⟹ x ≠ 0 x - 1 \neq -1 \implies x \neq 0 x − 1 = − 1 ⟹ x = 0 , combined with x ≥ 0 x \geq 0 x ≥ 0 )
( f ∘ g ∘ h ) ( x ) = 2 x , domain: x > 0 (f \circ g \circ h)(x) = \frac{2}{x}, \quad \text{domain: } x > 0 ( f ∘ g ∘ h ) ( x ) = x 2 , domain: x > 0
(b) 2 x = 1 ⟹ x = 2 \frac{2}{x} = 1 \implies x = 2 x 2 = 1 ⟹ x = 2 .
Check: x = 2 > 0 x = 2 > 0 x = 2 > 0 , so it is in the domain. Also verify through each layer:
h ( 2 ) = 2 h(2) = \sqrt{2} h ( 2 ) = 2
g ( 2 ) = 2 − 1 = 1 g(\sqrt{2}) = 2 - 1 = 1 g ( 2 ) = 2 − 1 = 1
f ( 1 ) = 2 2 = 1 f(1) = \frac{2}{2} = 1 f ( 1 ) = 2 2 = 1 . Confirmed.
(c) Compute g ∘ f ∘ h g \circ f \circ h g ∘ f ∘ h :
h ( x ) = x h(x) = \sqrt{x} h ( x ) = x
f ( h ( x ) ) = ◆ L B ◆ 2 ◆ R B ◆◆ L B ◆ x + 1 ◆ R B ◆ f(h(x)) = \frac◆LB◆2◆RB◆◆LB◆\sqrt{x}+1◆RB◆ f ( h ( x )) = L ◆ B ◆2◆ R B ◆◆ L B ◆ x + 1◆ R B ◆ (domain: x ≥ 0 x \geq 0 x ≥ 0 , x ≠ 0 x \neq 0 x = 0 , so x > 0 x > 0 x > 0 )
g ( f ( h ( x ) ) ) = ( ◆ L B ◆ 2 ◆ R B ◆◆ L B ◆ x + 1 ◆ R B ◆ ) 2 − 1 = ◆ L B ◆ 4 ◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆ − 1 = ◆ L B ◆ 4 − ( x + 1 ) 2 ◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆ g(f(h(x))) = \left(\frac◆LB◆2◆RB◆◆LB◆\sqrt{x}+1◆RB◆\right)^2 - 1 = \frac◆LB◆4◆RB◆◆LB◆(\sqrt{x}+1)^2◆RB◆ - 1 = \frac◆LB◆4 - (\sqrt{x}+1)^2◆RB◆◆LB◆(\sqrt{x}+1)^2◆RB◆ g ( f ( h ( x ))) = ( L ◆ B ◆2◆ R B ◆◆ L B ◆ x + 1◆ R B ◆ ) 2 − 1 = L ◆ B ◆4◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆ − 1 = L ◆ B ◆4 − ( x + 1 ) 2 ◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆
= ◆ L B ◆ 4 − ( x + 2 x + 1 ) ◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆ = ◆ L B ◆ 3 − x − 2 x ◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆ = \frac◆LB◆4 - (x + 2\sqrt{x} + 1)◆RB◆◆LB◆(\sqrt{x}+1)^2◆RB◆ = \frac◆LB◆3 - x - 2\sqrt{x}◆RB◆◆LB◆(\sqrt{x}+1)^2◆RB◆ = L ◆ B ◆4 − ( x + 2 x + 1 ) ◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆ = L ◆ B ◆3 − x − 2 x ◆ R B ◆◆ L B ◆ ( x + 1 ) 2 ◆ R B ◆
This does not equal 2 x \frac{2}{x} x 2 in general. Let me verify with x = 4 x = 4 x = 4 :
( f ∘ g ∘ h ) ( 4 ) = 2 4 = 1 2 (f \circ g \circ h)(4) = \frac{2}{4} = \frac{1}{2} ( f ∘ g ∘ h ) ( 4 ) = 4 2 = 2 1
( g ∘ f ∘ h ) ( 4 ) = ( 2 3 ) 2 − 1 = 4 9 − 1 = − 5 9 (g \circ f \circ h)(4) = \left(\frac{2}{3}\right)^2 - 1 = \frac{4}{9} - 1 = -\frac{5}{9} ( g ∘ f ∘ h ) ( 4 ) = ( 3 2 ) 2 − 1 = 9 4 − 1 = − 9 5
These are not equal. The claim in part (c) is false. The identity ( f ∘ g ∘ h ) ( x ) = ( g ∘ f ∘ h ) ( x ) (f \circ g \circ h)(x) = (g \circ f \circ h)(x) ( f ∘ g ∘ h ) ( x ) = ( g ∘ f ∘ h ) ( x ) does not hold in general. Function composition is not commutative.
Let me re-examine: ( f ∘ g ∘ h ) ( x ) = f ( g ( h ( x ) ) ) (f \circ g \circ h)(x) = f(g(h(x))) ( f ∘ g ∘ h ) ( x ) = f ( g ( h ( x ))) versus ( g ∘ f ∘ h ) ( x ) = g ( f ( h ( x ) ) ) (g \circ f \circ h)(x) = g(f(h(x))) ( g ∘ f ∘ h ) ( x ) = g ( f ( h ( x ))) . The inner function h h h is the same, but f f f and g g g are applied in different orders. Since f f f and g g g do not commute, the results differ.
Integration Tests
Tests synthesis of functions with other topics. Requires combining concepts from multiple units.
IT-1: Exponential Function Composition with Logarithmic Inequality (with Exponentials and Logarithms)
Question:
The function f f f is defined by f ( x ) = e 2 x + e − 2 x f(x) = e^{2x} + e^{-2x} f ( x ) = e 2 x + e − 2 x for x ∈ R x \in \mathbb{R} x ∈ R .
(a) Show that f ( x ) ≥ 2 f(x) \geq 2 f ( x ) ≥ 2 for all x ∈ R x \in \mathbb{R} x ∈ R , and find the value of x x x for which equality holds.
(b) The function g g g is defined by g ( x ) = ln ( x + x 2 + 1 ) g(x) = \ln(x + \sqrt{x^2 + 1}) g ( x ) = ln ( x + x 2 + 1 ) for x ∈ R x \in \mathbb{R} x ∈ R . Find f ( g ( x ) ) f(g(x)) f ( g ( x )) in terms of x x x and simplify your answer.
(c) Solve the inequality f ( g ( x ) ) ≤ 10 f(g(x)) \leq 10 f ( g ( x )) ≤ 10 .
[Difficulty: hard. Combines exponential properties, hyperbolic cosine identities, and logarithmic manipulation.]
Solution:
(a) By the AM-GM inequality, for a = e 2 x > 0 a = e^{2x} > 0 a = e 2 x > 0 and b = e − 2 x > 0 b = e^{-2x} > 0 b = e − 2 x > 0 :
a + b 2 ≥ a b = ◆ L B ◆ e 2 x ⋅ e − 2 x ◆ R B ◆ = 1 = 1 \frac{a + b}{2} \geq \sqrt{ab} = \sqrt◆LB◆e^{2x} \cdot e^{-2x}◆RB◆ = \sqrt{1} = 1 2 a + b ≥ ab = ◆ L B ◆ e 2 x ⋅ e − 2 x ◆ R B ◆ = 1 = 1
So f ( x ) = e 2 x + e − 2 x ≥ 2 f(x) = e^{2x} + e^{-2x} \geq 2 f ( x ) = e 2 x + e − 2 x ≥ 2 .
Equality holds when a = b a = b a = b , i.e. e 2 x = e − 2 x e^{2x} = e^{-2x} e 2 x = e − 2 x , giving 4 x = 0 4x = 0 4 x = 0 , so x = 0 x = 0 x = 0 .
Alternatively, f ( x ) = 2 cosh ( 2 x ) f(x) = 2\cosh(2x) f ( x ) = 2 cosh ( 2 x ) , and since cosh ( u ) ≥ 1 \cosh(u) \geq 1 cosh ( u ) ≥ 1 for all u u u with equality at u = 0 u = 0 u = 0 , we get f ( x ) ≥ 2 f(x) \geq 2 f ( x ) ≥ 2 with equality at x = 0 x = 0 x = 0 .
(b) Let u = g ( x ) = ln ( x + x 2 + 1 ) u = g(x) = \ln(x + \sqrt{x^2 + 1}) u = g ( x ) = ln ( x + x 2 + 1 ) .
First, note that e u = x + x 2 + 1 e^u = x + \sqrt{x^2+1} e u = x + x 2 + 1 and e − u = ◆ L B ◆ 1 ◆ R B ◆◆ L B ◆ x + x 2 + 1 ◆ R B ◆ = ◆ L B ◆ x 2 + 1 − x ◆ R B ◆◆ L B ◆ ( x + x 2 + 1 ) ( x 2 + 1 − x ) ◆ R B ◆ = x 2 + 1 − x e^{-u} = \frac◆LB◆1◆RB◆◆LB◆x + \sqrt{x^2+1}◆RB◆ = \frac◆LB◆\sqrt{x^2+1}-x◆RB◆◆LB◆(x+\sqrt{x^2+1})(\sqrt{x^2+1}-x)◆RB◆ = \sqrt{x^2+1} - x e − u = L ◆ B ◆1◆ R B ◆◆ L B ◆ x + x 2 + 1 ◆ R B ◆ = L ◆ B ◆ x 2 + 1 − x ◆ R B ◆◆ L B ◆ ( x + x 2 + 1 ) ( x 2 + 1 − x ) ◆ R B ◆ = x 2 + 1 − x .
Therefore:
e 2 u = ( x + x 2 + 1 ) 2 = x 2 + 2 x x 2 + 1 + x 2 + 1 = 2 x 2 + 1 + 2 x x 2 + 1 e^{2u} = (x + \sqrt{x^2+1})^2 = x^2 + 2x\sqrt{x^2+1} + x^2 + 1 = 2x^2 + 1 + 2x\sqrt{x^2+1} e 2 u = ( x + x 2 + 1 ) 2 = x 2 + 2 x x 2 + 1 + x 2 + 1 = 2 x 2 + 1 + 2 x x 2 + 1
e − 2 u = ( x 2 + 1 − x ) 2 = x 2 + 1 − 2 x x 2 + 1 + x 2 = 2 x 2 + 1 − 2 x x 2 + 1 e^{-2u} = (\sqrt{x^2+1} - x)^2 = x^2 + 1 - 2x\sqrt{x^2+1} + x^2 = 2x^2 + 1 - 2x\sqrt{x^2+1} e − 2 u = ( x 2 + 1 − x ) 2 = x 2 + 1 − 2 x x 2 + 1 + x 2 = 2 x 2 + 1 − 2 x x 2 + 1
f ( g ( x ) ) = e 2 u + e − 2 u = ( 2 x 2 + 1 + 2 x x 2 + 1 ) + ( 2 x 2 + 1 − 2 x x 2 + 1 ) = 4 x 2 + 2 f(g(x)) = e^{2u} + e^{-2u} = (2x^2 + 1 + 2x\sqrt{x^2+1}) + (2x^2 + 1 - 2x\sqrt{x^2+1}) = 4x^2 + 2 f ( g ( x )) = e 2 u + e − 2 u = ( 2 x 2 + 1 + 2 x x 2 + 1 ) + ( 2 x 2 + 1 − 2 x x 2 + 1 ) = 4 x 2 + 2
(c) 4 x 2 + 2 ≤ 10 ⟹ 4 x 2 ≤ 8 ⟹ x 2 ≤ 2 ⟹ − 2 ≤ x ≤ 2 4x^2 + 2 \leq 10 \implies 4x^2 \leq 8 \implies x^2 \leq 2 \implies -\sqrt{2} \leq x \leq \sqrt{2} 4 x 2 + 2 ≤ 10 ⟹ 4 x 2 ≤ 8 ⟹ x 2 ≤ 2 ⟹ − 2 ≤ x ≤ 2 .
x ∈ [ − 2 , 2 ] x \in [-\sqrt{2}, \sqrt{2}] x ∈ [ − 2 , 2 ]
IT-2: Trigonometric Composition in a Geometry Context (with Trigonometry)
Question:
The function f f f is defined by f ( θ ) = sin ( 2 θ ) f(\theta) = \sin(2\theta) f ( θ ) = sin ( 2 θ ) and the function g g g is defined by g ( θ ) = sin θ + cos θ g(\theta) = \sin\theta + \cos\theta g ( θ ) = sin θ + cos θ for θ ∈ [ 0 , 2 π ) \theta \in [0, 2\pi) θ ∈ [ 0 , 2 π ) .
(a) Express g ( θ ) g(\theta) g ( θ ) in the form R sin ( θ + α ) R\sin(\theta + \alpha) R sin ( θ + α ) where R > 0 R > 0 R > 0 and 0 < α < ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 2 ◆ R B ◆ 0 < \alpha < \frac◆LB◆\pi◆RB◆◆LB◆2◆RB◆ 0 < α < L ◆ B ◆ π ◆ R B ◆◆ L B ◆2◆ R B ◆ .
(b) Solve the equation f ( θ ) = g ( θ ) f(\theta) = g(\theta) f ( θ ) = g ( θ ) for θ ∈ [ 0 , 2 π ) \theta \in [0, 2\pi) θ ∈ [ 0 , 2 π ) .
(c) A triangle has sides a = 3 a = 3 a = 3 , b = 4 b = 4 b = 4 , and the angle between them is C C C . The area of the triangle is A = 1 2 a b sin C = f ( C 2 ) ⋅ g ( C 2 ) A = \frac{1}{2}ab\sin C = f\left(\frac{C}{2}\right) \cdot g\left(\frac{C}{2}\right) A = 2 1 ab sin C = f ( 2 C ) ⋅ g ( 2 C ) . Find the exact value of C C C .
[Difficulty: hard. Combines trigonometric identities, harmonic form, equation solving, and geometric application.]
Solution:
(a) g ( θ ) = sin θ + cos θ g(\theta) = \sin\theta + \cos\theta g ( θ ) = sin θ + cos θ .
R = 1 2 + 1 2 = 2 R = \sqrt{1^2 + 1^2} = \sqrt{2} R = 1 2 + 1 2 = 2
α = arctan ( 1 1 ) = ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ \alpha = \arctan\left(\frac{1}{1}\right) = \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆ α = arctan ( 1 1 ) = L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆
g ( θ ) = 2 sin ( θ + ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) g(\theta) = \sqrt{2}\sin\left(\theta + \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆\right) g ( θ ) = 2 sin ( θ + L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ )
(b) sin ( 2 θ ) = 2 sin ( θ + ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) \sin(2\theta) = \sqrt{2}\sin\left(\theta + \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆\right) sin ( 2 θ ) = 2 sin ( θ + L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ ) .
Using the double angle formula sin ( 2 θ ) = 2 sin θ cos θ \sin(2\theta) = 2\sin\theta\cos\theta sin ( 2 θ ) = 2 sin θ cos θ :
2 sin θ cos θ = sin θ + cos θ 2\sin\theta\cos\theta = \sin\theta + \cos\theta 2 sin θ cos θ = sin θ + cos θ
2 sin θ cos θ − sin θ − cos θ = 0 2\sin\theta\cos\theta - \sin\theta - \cos\theta = 0 2 sin θ cos θ − sin θ − cos θ = 0
Let u = sin θ u = \sin\theta u = sin θ , v = cos θ v = \cos\theta v = cos θ . Then 2 u v − u − v = 0 2uv - u - v = 0 2 uv − u − v = 0 , i.e. ( 2 u − 1 ) ( v ) − u = 0 (2u - 1)(v) - u = 0 ( 2 u − 1 ) ( v ) − u = 0 , which gives v ( 2 u − 1 ) = u v(2u-1) = u v ( 2 u − 1 ) = u .
Alternatively, add 1 2 \frac{1}{2} 2 1 to both sides:
2 sin θ cos θ − sin θ − cos θ + 1 2 = 1 2 2\sin\theta\cos\theta - \sin\theta - \cos\theta + \frac{1}{2} = \frac{1}{2} 2 sin θ cos θ − sin θ − cos θ + 2 1 = 2 1
( 2 sin θ − 1 ) ( cos θ − 1 2 ) = 0 (2\sin\theta - 1)(\cos\theta - \frac{1}{2}) = 0 ( 2 sin θ − 1 ) ( cos θ − 2 1 ) = 0
Wait: ( 2 u − 1 ) ( v − 1 / 2 ) = 2 u v − u − v + 1 / 2 (2u-1)(v - 1/2) = 2uv - u - v + 1/2 ( 2 u − 1 ) ( v − 1/2 ) = 2 uv − u − v + 1/2 . So 2 u v − u − v = ( 2 u − 1 ) ( v − 1 / 2 ) − 1 / 2 2uv - u - v = (2u-1)(v - 1/2) - 1/2 2 uv − u − v = ( 2 u − 1 ) ( v − 1/2 ) − 1/2 . That doesn't help directly.
Let me factor differently: 2 u v − u − v = 0 ⟹ u ( 2 v − 1 ) = v ⟹ u = v 2 v − 1 2uv - u - v = 0 \implies u(2v - 1) = v \implies u = \frac{v}{2v-1} 2 uv − u − v = 0 ⟹ u ( 2 v − 1 ) = v ⟹ u = 2 v − 1 v (when 2 v ≠ 1 2v \neq 1 2 v = 1 ).
Also u 2 + v 2 = 1 u^2 + v^2 = 1 u 2 + v 2 = 1 . This gives v 2 ( 2 v − 1 ) 2 + v 2 = 1 \frac{v^2}{(2v-1)^2} + v^2 = 1 ( 2 v − 1 ) 2 v 2 + v 2 = 1 , which is a quartic in v v v .
A cleaner approach: let t = θ + π / 4 t = \theta + \pi/4 t = θ + π /4 . Then sin θ + cos θ = 2 sin t \sin\theta + \cos\theta = \sqrt{2}\sin t sin θ + cos θ = 2 sin t and sin ( 2 θ ) = sin ( 2 t − π / 2 ) = − cos ( 2 t ) \sin(2\theta) = \sin(2t - \pi/2) = -\cos(2t) sin ( 2 θ ) = sin ( 2 t − π /2 ) = − cos ( 2 t ) .
− cos ( 2 t ) = 2 sin t -\cos(2t) = \sqrt{2}\sin t − cos ( 2 t ) = 2 sin t
− ( 1 − 2 sin 2 t ) = 2 sin t -(1 - 2\sin^2 t) = \sqrt{2}\sin t − ( 1 − 2 sin 2 t ) = 2 sin t
2 sin 2 t − 2 sin t − 1 = 0 2\sin^2 t - \sqrt{2}\sin t - 1 = 0 2 sin 2 t − 2 sin t − 1 = 0
Let s = sin t s = \sin t s = sin t :
s = ◆ L B ◆ 2 ± 2 + 8 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ = ◆ L B ◆ 2 ± 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ s = \frac◆LB◆\sqrt{2} \pm \sqrt{2 + 8}◆RB◆◆LB◆4◆RB◆ = \frac◆LB◆\sqrt{2} \pm \sqrt{10}◆RB◆◆LB◆4◆RB◆ s = L ◆ B ◆ 2 ± 2 + 8 ◆ R B ◆◆ L B ◆4◆ R B ◆ = L ◆ B ◆ 2 ± 10 ◆ R B ◆◆ L B ◆4◆ R B ◆
Since ∣ sin t ∣ ≤ 1 |\sin t| \leq 1 ∣ sin t ∣ ≤ 1 : ◆ L B ◆ 2 + 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ≈ 1.414 + 3.162 4 ≈ 1.144 > 1 \frac◆LB◆\sqrt{2} + \sqrt{10}◆RB◆◆LB◆4◆RB◆ \approx \frac{1.414 + 3.162}{4} \approx 1.144 > 1 L ◆ B ◆ 2 + 10 ◆ R B ◆◆ L B ◆4◆ R B ◆ ≈ 4 1.414 + 3.162 ≈ 1.144 > 1 . Not valid.
◆ L B ◆ 2 − 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ≈ 1.414 − 3.162 4 ≈ − 0.437 \frac◆LB◆\sqrt{2} - \sqrt{10}◆RB◆◆LB◆4◆RB◆ \approx \frac{1.414 - 3.162}{4} \approx -0.437 L ◆ B ◆ 2 − 10 ◆ R B ◆◆ L B ◆4◆ R B ◆ ≈ 4 1.414 − 3.162 ≈ − 0.437 . Valid.
So sin t = ◆ L B ◆ 2 − 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ \sin t = \frac◆LB◆\sqrt{2} - \sqrt{10}◆RB◆◆LB◆4◆RB◆ sin t = L ◆ B ◆ 2 − 10 ◆ R B ◆◆ L B ◆4◆ R B ◆ .
t = θ + ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ t = \theta + \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆ t = θ + L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ , so sin ( θ + ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) = ◆ L B ◆ 2 − 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ \sin\left(\theta + \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆\right) = \frac◆LB◆\sqrt{2} - \sqrt{10}◆RB◆◆LB◆4◆RB◆ sin ( θ + L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ ) = L ◆ B ◆ 2 − 10 ◆ R B ◆◆ L B ◆4◆ R B ◆ .
θ + ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ = arcsin ( ◆ L B ◆ 2 − 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) ≈ − 0.452 or π + 0.452 ≈ 3.594 \theta + \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆ = \arcsin\left(\frac◆LB◆\sqrt{2}-\sqrt{10}◆RB◆◆LB◆4◆RB◆\right) \approx -0.452 \text{ or } \pi + 0.452 \approx 3.594 θ + L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ = arcsin ( L ◆ B ◆ 2 − 10 ◆ R B ◆◆ L B ◆4◆ R B ◆ ) ≈ − 0.452 or π + 0.452 ≈ 3.594
θ ≈ − 0.452 − 0.785 = − 1.237 or θ ≈ 3.594 − 0.785 = 2.809 \theta \approx -0.452 - 0.785 = -1.237 \quad \text{or} \quad \theta \approx 3.594 - 0.785 = 2.809 θ ≈ − 0.452 − 0.785 = − 1.237 or θ ≈ 3.594 − 0.785 = 2.809
In [ 0 , 2 π ) [0, 2\pi) [ 0 , 2 π ) : θ ≈ 2.809 \theta \approx 2.809 θ ≈ 2.809 and θ ≈ − 1.237 + 2 π ≈ 5.046 \theta \approx -1.237 + 2\pi \approx 5.046 θ ≈ − 1.237 + 2 π ≈ 5.046 .
The exact solutions are:
θ = arcsin ( ◆ L B ◆ 2 − 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) − ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ + 2 π or θ = π − arcsin ( ◆ L B ◆ 2 − 10 ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) − ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ \theta = \arcsin\left(\frac◆LB◆\sqrt{2}-\sqrt{10}◆RB◆◆LB◆4◆RB◆\right) - \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆ + 2\pi \quad \text{or} \quad \theta = \pi - \arcsin\left(\frac◆LB◆\sqrt{2}-\sqrt{10}◆RB◆◆LB◆4◆RB◆\right) - \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆ θ = arcsin ( L ◆ B ◆ 2 − 10 ◆ R B ◆◆ L B ◆4◆ R B ◆ ) − L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ + 2 π or θ = π − arcsin ( L ◆ B ◆ 2 − 10 ◆ R B ◆◆ L B ◆4◆ R B ◆ ) − L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆
(c) The area condition gives:
1 2 ( 3 ) ( 4 ) sin C = sin ( 2 ⋅ C 2 ) ⋅ ( sin C 2 + cos C 2 ) \frac{1}{2}(3)(4)\sin C = \sin(2 \cdot \frac{C}{2}) \cdot \left(\sin\frac{C}{2} + \cos\frac{C}{2}\right) 2 1 ( 3 ) ( 4 ) sin C = sin ( 2 ⋅ 2 C ) ⋅ ( sin 2 C + cos 2 C )
6 sin C = sin C ⋅ ( sin C 2 + cos C 2 ) 6\sin C = \sin C \cdot \left(\sin\frac{C}{2} + \cos\frac{C}{2}\right) 6 sin C = sin C ⋅ ( sin 2 C + cos 2 C )
If sin C ≠ 0 \sin C \neq 0 sin C = 0 :
6 = sin C 2 + cos C 2 = 2 sin ( C 2 + ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) 6 = \sin\frac{C}{2} + \cos\frac{C}{2} = \sqrt{2}\sin\left(\frac{C}{2} + \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆\right) 6 = sin 2 C + cos 2 C = 2 sin ( 2 C + L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ )
sin ( C 2 + ◆ L B ◆ π ◆ R B ◆◆ L B ◆ 4 ◆ R B ◆ ) = ◆ L B ◆ 6 ◆ R B ◆◆ L B ◆ 2 ◆ R B ◆ = 3 2 \sin\left(\frac{C}{2} + \frac◆LB◆\pi◆RB◆◆LB◆4◆RB◆\right) = \frac◆LB◆6◆RB◆◆LB◆\sqrt{2}◆RB◆ = 3\sqrt{2} sin ( 2 C + L ◆ B ◆ π ◆ R B ◆◆ L B ◆4◆ R B ◆ ) = L ◆ B ◆6◆ R B ◆◆ L B ◆ 2 ◆ R B ◆ = 3 2
Since 3 2 ≈ 4.24 > 1 3\sqrt{2} \approx 4.24 > 1 3 2 ≈ 4.24 > 1 , this is impossible. Therefore sin C = 0 \sin C = 0 sin C = 0 , giving C = 0 C = 0 C = 0 or C = π C = \pi C = π . Since C = 0 C = 0 C = 0 gives a degenerate triangle, C = π C = \pi C = π .
But C = π C = \pi C = π also gives a degenerate triangle (collinear points). This suggests the original problem parameters may need adjustment. In a valid triangle, 0 < C < π 0 < C < \pi 0 < C < π and the area formula 6 sin C = sin C ( sin ( C / 2 ) + cos ( C / 2 ) ) 6\sin C = \sin C(\sin(C/2) + \cos(C/2)) 6 sin C = sin C ( sin ( C /2 ) + cos ( C /2 )) requires sin ( C / 2 ) + cos ( C / 2 ) = 6 \sin(C/2) + \cos(C/2) = 6 sin ( C /2 ) + cos ( C /2 ) = 6 , which has no solution since sin ( C / 2 ) + cos ( C / 2 ) ≤ 2 \sin(C/2) + \cos(C/2) \leq \sqrt{2} sin ( C /2 ) + cos ( C /2 ) ≤ 2 .
The problem as stated has no solution for a non-degenerate triangle. This itself is a useful diagnostic insight: recognising when a problem has no valid solution is an important skill.
IT-3: Function Iteration Producing a Sequence (with Sequences)
Question:
The function f f f is defined by f ( x ) = 1 2 ( x + 3 x ) f(x) = \frac{1}{2}\left(x + \frac{3}{x}\right) f ( x ) = 2 1 ( x + x 3 ) for x > 0 x > 0 x > 0 .
A sequence ( a n ) (a_n) ( a n ) is defined by a 1 = 1 a_1 = 1 a 1 = 1 and a n + 1 = f ( a n ) a_{n+1} = f(a_n) a n + 1 = f ( a n ) for n ≥ 1 n \geq 1 n ≥ 1 .
(a) Find a 2 a_2 a 2 , a 3 a_3 a 3 , and a 4 a_4 a 4 as exact fractions.
(b) Prove by induction that a n > 0 a_n > 0 a n > 0 for all n ≥ 1 n \geq 1 n ≥ 1 .
(c) Prove that if a n > 3 a_n > \sqrt{3} a n > 3 then a n + 1 < a n a_{n+1} < a_n a n + 1 < a n , and if a n < 3 a_n < \sqrt{3} a n < 3 then a n + 1 > a n a_{n+1} > a_n a n + 1 > a n .
(d) State the limit of the sequence ( a n ) (a_n) ( a n ) as n → ∞ n \to \infty n → ∞ and justify your answer.
[Difficulty: hard. Combines function iteration, proof by induction, and convergence analysis.]
Solution:
(a)
a 2 = f ( 1 ) = 1 2 ( 1 + 3 ) = 2 a_2 = f(1) = \frac{1}{2}\left(1 + 3\right) = 2 a 2 = f ( 1 ) = 2 1 ( 1 + 3 ) = 2
a 3 = f ( 2 ) = 1 2 ( 2 + 3 2 ) = 1 2 ⋅ 7 2 = 7 4 a_3 = f(2) = \frac{1}{2}\left(2 + \frac{3}{2}\right) = \frac{1}{2} \cdot \frac{7}{2} = \frac{7}{4} a 3 = f ( 2 ) = 2 1 ( 2 + 2 3 ) = 2 1 ⋅ 2 7 = 4 7
a 4 = f ( 7 4 ) = 1 2 ( 7 4 + ◆ L B ◆ 3 ⋅ 4 ◆ R B ◆◆ L B ◆ 7 ◆ R B ◆ ) = 1 2 ( 7 4 + 12 7 ) = 1 2 ⋅ 49 + 48 28 = 97 56 a_4 = f\left(\frac{7}{4}\right) = \frac{1}{2}\left(\frac{7}{4} + \frac◆LB◆3 \cdot 4◆RB◆◆LB◆7◆RB◆\right) = \frac{1}{2}\left(\frac{7}{4} + \frac{12}{7}\right) = \frac{1}{2} \cdot \frac{49 + 48}{28} = \frac{97}{56} a 4 = f ( 4 7 ) = 2 1 ( 4 7 + L ◆ B ◆3 ⋅ 4◆ R B ◆◆ L B ◆7◆ R B ◆ ) = 2 1 ( 4 7 + 7 12 ) = 2 1 ⋅ 28 49 + 48 = 56 97
(b) Base case: a 1 = 1 > 0 a_1 = 1 > 0 a 1 = 1 > 0 . True.
Inductive step: Assume a k > 0 a_k > 0 a k > 0 for some k ≥ 1 k \geq 1 k ≥ 1 . Then a k + 1 = 1 2 ( a k + 3 / a k ) a_{k+1} = \frac{1}{2}(a_k + 3/a_k) a k + 1 = 2 1 ( a k + 3/ a k ) . Since a k > 0 a_k > 0 a k > 0 , both a k a_k a k and 3 / a k 3/a_k 3/ a k are positive, so their sum is positive, and a k + 1 > 0 a_{k+1} > 0 a k + 1 > 0 .
By induction, a n > 0 a_n > 0 a n > 0 for all n ≥ 1 n \geq 1 n ≥ 1 .
(c) Consider a n + 1 − a n = 1 2 ( a n + 3 a n ) − a n = 1 2 ( 3 a n − a n ) = 3 − a n 2 2 a n a_{n+1} - a_n = \frac{1}{2}\left(a_n + \frac{3}{a_n}\right) - a_n = \frac{1}{2}\left(\frac{3}{a_n} - a_n\right) = \frac{3 - a_n^2}{2a_n} a n + 1 − a n = 2 1 ( a n + a n 3 ) − a n = 2 1 ( a n 3 − a n ) = 2 a n 3 − a n 2 .
Since a n > 0 a_n > 0 a n > 0 (by part (b)), the sign of a n + 1 − a n a_{n+1} - a_n a n + 1 − a n is determined by 3 − a n 2 3 - a_n^2 3 − a n 2 :
If a n > 3 a_n > \sqrt{3} a n > 3 : a n 2 > 3 a_n^2 > 3 a n 2 > 3 , so 3 − a n 2 < 0 3 - a_n^2 < 0 3 − a n 2 < 0 , giving a n + 1 − a n < 0 a_{n+1} - a_n < 0 a n + 1 − a n < 0 , i.e. a n + 1 < a n a_{n+1} < a_n a n + 1 < a n .
If a n < 3 a_n < \sqrt{3} a n < 3 : a n 2 < 3 a_n^2 < 3 a n 2 < 3 , so 3 − a n 2 > 0 3 - a_n^2 > 0 3 − a n 2 > 0 , giving a n + 1 − a n > 0 a_{n+1} - a_n > 0 a n + 1 − a n > 0 , i.e. a n + 1 > a n a_{n+1} > a_n a n + 1 > a n .
(d) The limit L L L must satisfy L = f ( L ) = 1 2 ( L + 3 / L ) L = f(L) = \frac{1}{2}(L + 3/L) L = f ( L ) = 2 1 ( L + 3/ L ) :
2 L = L + 3 L 2L = L + \frac{3}{L} 2 L = L + L 3
L = 3 L L = \frac{3}{L} L = L 3
L 2 = 3 L^2 = 3 L 2 = 3
L = 3 L = \sqrt{3} L = 3
(We take the positive root since a n > 0 a_n > 0 a n > 0 for all n n n .)
Justification: By part (c), if a n > 3 a_n > \sqrt{3} a n > 3 then the sequence decreases, and if a n < 3 a_n < \sqrt{3} a n < 3 then the sequence increases. Since a 2 = 2 > 3 ≈ 1.732 a_2 = 2 > \sqrt{3} \approx 1.732 a 2 = 2 > 3 ≈ 1.732 , the sequence decreases from n = 2 n = 2 n = 2 onwards. The sequence is bounded below by 3 \sqrt{3} 3 (since terms above 3 \sqrt{3} 3 decrease towards it, and terms below 3 \sqrt{3} 3 increase towards it). By the monotone convergence theorem, the sequence converges, and the only possible limit is 3 \sqrt{3} 3 .
This function is the Babylonian method (Newton's method) for computing 3 \sqrt{3} 3 .