2021-22 (2)
2021-22 (2)
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of
f.
(b) Study continuity and differentiability of f on its domain. Find (if any) and classify its
discontinuity and its non-differentiability points.
(c) Find the monotonicity intervals and the extremum points of f , specifying whether they are
local or global.
(e) Find, if possible, the principal part of the infinitesimal f (x), as x → 0− , with respect to the
infinitesimal ϕ(x) = −x.
Exercise 2. (6 points) )
(a) State the definition of convergent improper integral in the interval [2, +∞).
(b) Study, as the parameter k varies in R, the convergence of the improper integral
Z +∞
k 2
− dx.
2 x x+1
(c) Prove that, if g : R −→ ZR is continuous and positive, then there exists the limit as x → +∞
x
of the function G(x) = g(t) dt.
2
SOLUTION
p
Exercise 1. Consider the function f : dom(f ) ⊆ R −→ R defined as f (x) = |e2x − ex |.
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of f .
The domain of the exponential function is R; the absolute value has only non-negative val-
ues; therefore dom(f ) = R. Since the function is a composition of continuous functions
√
(e2x , ex , x, |x|), it is continuous on R: therefore, it has no vertical asymptotes. The limits
at the boundary of the domain are,
p p p
lim f (x) = lim |e2x − ex | = lim ex |ex − 1| = 0 · |0 − 1| = 0,
x→−∞ x→−∞ x→−∞
p p
lim f (x) = lim |e2x − ex | = lim ex |ex − 1| = +∞,
x→+∞ x→+∞ x→+∞
Since f (x) ∼ ex as. x → +∞, the order of infinite of f is greater than 1 with respect to x, so
that f has no right oblique asymptote.
(b) Study continuity and differentiability of f on its domain. Find (if any) and classify its dis-
continuity and its non-differentiability points.
f is a composition of continuous functions (more precisely, the function x 7→ 2x, the ex-
ponential function, the difference function, the absolute value function and the square root
function), therefore it’s continuous on its domain.
All the functions involved but the absolute value function are differentiable: hence f is
differentiable out of the values vanishing the absolute value (since the absolute value function
x 7→ |x| isn’t differentiable at x = 0). In this case, f could be non-differentiable at the points
where we factorized the exponential and used the fact that ex > 0 for all x ∈ R. So far we
can say that f è differentiable out of the origin.
By (*) we obtain that e2x − ex > 0 for x > 0. Therefore, for all x 6= 0 we have
p
2x
x ′
2e2x − ex
e −e =
√ if x > 0,
′ 2 e2x − ex
f (x) =
p ′ 2e2x − ex
−(e2x − ex ) = − √
if x < 0.
2 ex − e2x
Therefore
2e2x − ex
lim f (′ x) = lim √ = +∞,
x→0+ x→0+ 2 e2x − ex
2e2x − ex
lim f ′ (x) = lim − √ = −∞,
x→0− x→0− 2 ex − e2x
hence the function f is non-differentiable at x = 0, which is a cuspidal point.
(c) Find the monotonicity intervals and the extremum points of f , specifying whether they are
local or global.
Remark that
1 1
2e2x −ex = ex (2ex −1) > 0 ⇐⇒ 2ex −1 > 0 ⇐⇒ ex > ⇐⇒ x > log = − log 2.
2 2
Therefore
− log 2 0
b b
f′ + − +
f ր ց ր
Therefore,
− log 2 O x
(e) Find, if possible, the principal part of the infinitesimal f (x), as x → 0− , with respect to the
infinitesimal ϕ(x) = −x.
√
Recall that, if x < 0, f (x) = ex − e2x .
ex = 1 + x + o(x) as x → 0
e2x = 1 + 2x + o(x) as x → 0.
Therefore
p 1/2 1/2
f (x) = ex − e2x = 1 + x + o(x) − (1 + 2x + o(x)) = − x + o(x)
√
Therefore the principal part of f with respect to −x, as x → 0− , is p(x) = (−x)1/2 = −x.
Method 2. Recall that we have to verify whether there exists γ ∈ R such that the limit
f (x)
lim exists, finite. We have,
x→0− ϕγ (x)
√ √
f (x) ex − e2x ex/2 1 − ex
lim γ = lim = lim
x→0 ϕ (x)
− x→0− (−x)γ x→0− (−x)γ
x/2
(−x + o(x))1/2 (−x)1/2 (1 + o(1))
= lim e · lim = lim
(−x)γ (−x)γ
| x→0{z } x→0 x→0−
− −
=1
the last limit equals 1 if and only if γ = 1/2. Therefore the principal part of f with respect
√
to −x, as x → 0− , is p(x) = (−x)1/2 = −x.
Exercise 2
(a) State the definition of convergent improper integral in the interval [2, +∞).
Let f be a locally integrable function on (2, +∞), that is integrable on all the intervals
[a, b] ⊆ (2, +∞).
If f is locally integrable in [2, +∞), that is in all the intervals [a, b] ⊆ [2, +∞), the integral
isn’t improper at 2. In this case we say that the improper integral converges if
Z t
lim f (x) dx = ℓ ∈ R.
t→+∞ 2
(b) Study, as the parameter k varies in R, the convergence of the improper integral
Z +∞
k 2
− dx.
2 x x+1
Since f is continuous in [2, +∞), the integral isn’t improper at 2. If we perform the sum in
the integrand, we get
k 2 (k − 2)x + k
− = ,
x x+1 x(x + 1)
whose denominator is equivalent to x2 .
2 2
• If k = 2, the integrand is ∼ 2 as x → +∞, which has infinitesimal order 2
x(x + 1) x
with respect to x, as x → +∞. By the Asymptotical Comparison Criteria, the improper
integral converges.
We can get the same result by he Comparison Criterion:
2 2
0≤ ≤ 2 , for all x ≥ 2. Since the integral of the majorant function converges,
x(x + 1) x
the improper integral converges.
(k − 2)x + k k−2
• k 6= 2, the integrand ∼ as x → +∞. Since the last function has
x(x + 1) x
divergent improper integral, by the Asymptotical Comparison Criteria the improper
integral diverges as well.
(c) Prove that, if g : R −→ZR is continuous and positive, then there exists the limit as x → +∞
x
of the function G(x) = g(t) dt.
2
Exercise 1. (9 points)
Consider the function f : dom(f ) ⊆ R −→ R defined as
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of
f.
(b) Study continuity and differentiability of f on its domain. Find (if any) and classify its
discontinuity and its non-differentiability points.
(c) Find the monotonicity intervals and the minimum and maximum points of f , specifying
whether they are local or global.
(b) Cancel the continuity hypothesis from the Intermediate Value Theorem and find a counterex-
ample of the validity of the theorem.
(c) Consider a function f : [a, b] ∪ [c, d] → R defined on the disjoint union of intervals (that is,
[a, b] ∩ [c, d] = ∅). Does the Intermediate Value Theorem hold in this case? If the answer is
positive, prove the theorem; otherwise, find a counterexample.
(b) Cancel the continuity hypothesis from the Intermediate Zero Theorem and find a counterex-
ample of the validity of the theorem.
(c) Consider a function f : [a, b] ∪ [c, d] → R defined on the disjoint union of intervals (that is,
[a, b] ∩ [c, d] = ∅). Does the Intermediate Zero Theorem hold in this case? If the answer is
positive, prove the theorem; otherwise, find a counterexample.
SOLUTION
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of f .
The function is the composition of a polynomial and the absolute value, multiplied by the
function x 7→ ex−2 , therefore its domain is dom(f ) = R. Since all these functions are
continuous on R, f has no vertical asymptotes.
Hence,
• the function has no oblique asymptote as x → +∞, since the infinite order of f with
respect to x is larger than one.
(b) Study continuity and differentiability of f on its domain. Find (if any) and classify its dis-
continuity and its non-differentiability points.
We have already remarked that f is continuous in R.
(**) x2 − 6x + 8 = 0 ⇐⇒ (x − 2)(x − 4) = 0 ⇐⇒ x = 2 ∨ x = 4.
Therefore f is certainly differentiable in R \ {2, 4} = (−∞, 2) ∪ (2, 4) ∪ (4, +∞). From (**)
we get that x2 − 6x + 8 > 0 for x ∈ (−∞, 2) ∪ (4, +∞). Hence,
2 x−2 + (2x − 4)ex−2 = (x2 − 4x + 2)ex−2 ,
(x − 6x + 8)e
if x ∈ (−∞, 2) ∪ (4, +∞),
′
f (x) =
2
− (x − 6x + 8)ex−2 + (2x − 4)ex−2 = −(x2 − 4x + 2)ex−2 , if x ∈ (2, 4).
(c) Find the monotonicity intervals and the minimum and maximum points of f , specifying
whether they are local or global.
By the Mean Value Theorem, we are able to study the monotonicity intervals of f by studying
the sign of its derivative. Looking at f ′ , we observe that the sign of f ′ is the same as the sign
of the polynomial x2 − 4x + 2. In the set (−∞, 2) ∪ (4, +∞) we have
√ √
f ′ (x) > 0 ⇐⇒ x2 − 4x + 2 > 0 ⇐⇒ x<2− 2 ∨ x > 2 + 2.
√ √
Observe that 2 − 2 < 2 and 2 + 2 < 4.
√ √
2− 2 2 2+ 2 4
b b b b
f′ + − + − +
f ր ց ր ց ր
√ √
• the function is (strictly) increasing in (−∞, 2 − 2], in [2, 2 + 2] and in [4, +∞),
√ √
• the function is (strictly) decreasing in [2 − 2, 2] and in [2 + 2, 4].
√
Finally, x = 2 ± 2 are local maximum points; they are not global, since f is unbounded
from above.
The function is non-negative, since it is the product of an absolute value and of an exponential:
the only points where it vanishes are those where the absolute value vanishes, that is x = 2, 4
(see (**)), which are global minimum points.
√ √
O 2− 2 2 2+ 2 4 x
R2 R4
(e) Determine, if it exists, a real number α < 2 such that α e2 f (x) dx = 2 e2 f (x) dx.
We have to solve the equation in the unknown α, given by
Z 2 Z 4
2 x
(E) (x − 6x + 8)e dx = − (x2 − 6x + 8)ex dx.
α 2
Therefore Z 2
e2 f (x) dx = 4e2 − eα (α − 4)2
α
Z 4
e2 f (x) dx = 4e2 .
2
Therefore equation (E) is equivalent to 4e2 − eα (α − 4)2 = 4e2 , or −eα (α − 4)2 = 0, whose
only solution is α = 4. We cannot accept this solution, since we gave the condition α < 2.
Exercise 2, version A.
Consider a function f , continuous in a closed and bounded interval [a, b]. Then the image of
[a, b] by means of f , that is the set f ([a, b]), contains the closed interval with endpoints f (a)
and f (b).
(b) Cancel the continuity hypothesis from the Intermediate Value Theorem and find a counterex-
ample of the validity of the theorem.
isn’t continuous at x = 2. The image of the interval [0, 4] is the set {−1, 1}, which doesn’t
contain the interval [f (0), f (4)] = [−1, 1] and no other interval.
(c) Consider a function f : [a, b] ∪ [c, d] → R defined on the disjoint union of intervals (that is,
[a, b] ∩ [c, d] = ∅). Does the Intermediate Value Theorem hold in this case? If the answer is
positive, prove the theorem; otherwise, find a counterexample.
Neither the theorem nor the corollaty hold in this case. If we have a function continuous on
two disjoint intervals I and J, its image is not necessarily an interval. As a counterexample
we may consider the function given in the previous point: it is continuous in A = [0, 1] ∪ [3, 4]
and its image f (A) = {−1, 1} contains no interval.
Exercise 2, version B.
Let f be a function continuous in a closed and bounded interval [a, b], such that f (a)·f (b) < 0.
The there exists c ∈ [a, b] such that f (c) = 0.
(b) Cancel the continuity hypothesis from the Intermediate Zero Theorem and find a counterex-
ample of the validity of the theorem.
(c) Consider a function f : [a, b] ∪ [c, d] → R defined on the disjoint union of intervals (that is,
[a, b] ∩ [c, d] = ∅). Does the Intermediate Zero Theorem hold in this case? If the answer is
positive, prove the theorem; otherwise, find a counterexample.
As a counterexample, we may consider the function defined at point (b), which is continuous
on the set A = [0, 1] ∪ [3, 4], with f (0) · f (4) = −1 < 0. Nonetheless, the function has no
zeroes on A.
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of
f.
(b) Study continuity and differentiability of f on its domain. Find (if any) and classify its
discontinuity and its non-differentiability points.
(c) Find the monotonicity intervals and the minimum and maximum points of f , specifying
whether they are local or global.
(e) Let an = f (1/n), for all n ∈ N \ {0}. Prove that the sequence an is monotonic.
Exercise 2 (6 points) )
A = {z ∈ C : |z + 4| > |z|}.
(c) Consider B = {x ∈ R : x + iy ∈ A for some y ∈ R}, where A is the set described at point (a)
of this exercise. Decide whether B is bounded or unbounded, compute its lower upper bound
(or supremum) and its greatest lower bound (or infimum), and its maximum and minimum,
if they exist.
SOLUTION
Exercise 1.
|x + 3|
Consider the function. f : dom(f ) ⊆ R −→ R defined as f (x) = exp .
x2 − 5
We can study this functions in two different ways. The first one consists of studying the
exponent, and then composing it with the exponential functions, which is strictly increasing and
doesn’t modify the monotonicity and the extremum points of the function. Otherwise, we can
study directly the given function: we’ll proceed according to the second method.
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of f .
|x + 3|
The exponent g(x) = 2 is defined if the denominator is non-zero, that is if x2 − 5 6= 0,
√ x − 5
therefore if x 6= ± 5. Since the function t 7→ exp(t) is defined (and continuous) in R,we have
√ √
dom(f ) = R \ { 5, − 5}.
√ √
We have to compute the limits of f as x → ±∞, as x → ( 5)± and as x → (− 5)± . We
have,
|x + 3| |x + 3|
lim = 0 =⇒ lim exp = e0 = 1
x→+∞ x2 − 5 x→+∞ x2 − 5
|x + 3| |x + 3|
lim = 0 =⇒ lim exp = e0 = 1
x→−∞ x2 − 5 x→−∞ x2 − 5
√
g(x) has the same sign as the denominator x2 − 5, that is g(x) > 0 if x ∈ (−∞, − 5) ∪
√
( 5, +∞), while it’s non-positive elsewhere. Therefore,
|x + 3| |x + 3|
√ + x2 − 5 = +∞
lim =⇒ lim
√ + exp = +∞
x→ 5 x→ 5 x2 − 5
|x + 3| |x + 3|
lim = −∞ =⇒ √ + exp
lim =0
√ −
x→ 5 x2 − 5 x→ 5 x2 − 5
|x + 3| |x + 3|
lim
√ + = −∞ =⇒ lim
√ + exp =0
x→− 5 x2 − 5 x→− 5 x2 − 5
|x + 3| |x + 3|
lim
√ − = +∞ =⇒ lim
√ − exp = +∞.
x→− 5 x2 − 5 x→− 5 x2 − 5
√
• the line x = 5 is a right vertical asymptote of f ;
√
• the line x = − 5 is a left vertical asymptote of f .
(b) Study continuity and differentiability of f on its domain. Find (if any) and classify its dis-
continuity and its non-differentiability points.
g(x) is the ratio of the continuous function |x+3| to the polynomial x2 −5, hence it’s continuous
on its domain. The function f is the composition of g with the exponential function, which
is everywhere continuous: therefore f is continuous on its domain.
Similarly, the function g is certainly differentiable where the argument of the absolute value
is non-zero, that is for x 6= −3. The composition of g with the everywhere differentiable
exponential function yields a function f differentiable in dom(f ) \ {−3}. We need to check if
f is differentiable at x = −3.
(c) Find the monotonicity intervals and the minimum and maximum points of f , specifying
whether they are local or global.
First of all, observe that the sign of f ′ is determined by the sign of the polynomial x2 + 6x + 5.
√ √ √ √
In the set A = (−3, − 5) ∪ (− 5, 5) ∪ ( 5, +∞) we have
√ √
−5 −3 − 5 −1 5
b b b b b
f′ + − + + − −
f ր ց ր ր ց ց
√ √
• f is strictly increasing in the intervals (−∞, −5], [−3, − 5) and (− 5, −1]
√ √
• f is strictly decreasing in the intervals [−5, −3], [−1, 5) and ( 5, +∞).
Since the function is unbounded from above, it has no global maximum points. The point
x = −3 is a local minimum point (with f (−3) = 0), while the critical points x = −5, −1 are
local maximum points (with f (−5) = exp(1/10) and f (−1) = exp(−1/2)). Since inf f = 0,
these points aren’t global minimum points.
bc bc
√ √
−5 −3 − 5 −1 O 5 x
(e) Let an = f (1/n), for all n ∈ N \ {0}. Prove that the sequence an is monotonic.
The sequence bn = 1/n is decreasing, and bn ∈ (0, 1], for all n ∈ N \ {0}.
The function f restricted to the interval (0, 1] is decreasing, therefore an is increasing, since
it is the composition of the two decreasing functions bn and f .
Even if it is not required by the exercise, we remark that , by the theorem about the limit
of monotonic functions, there exists the limit of an . Since bn → 0 as n → +∞, and f (x) →
f (0) = e−3/5 as x → 0, by the theorem on the limit of composed functions we have, lim an =
n→∞
f (0) = e−3/5 .
Exercise 2.
hence
−2 O x
This definition can be stated in several equivalent ways: we propose two of them.
(c) Consider B = {x ∈ R : x + iy ∈ A for some y ∈ R}, where A is the set described at point (a)
of this exercise. Decide whether B is bounded or unbounded, compute its lower upper bound
(or supremum) and its greatest lower bound (or infimum), and its maximum and minimum,
if they exist.
By the computations performed in (a), it is easy to see that z = x + iy ∈ A if and only if
x > −2. Therefore the set B is the interval (−2, +∞), which is unbounded (from above),
while inf B = −2. B is an open interval, therefore it has neither maximum nor minimum. B
has no real supremum, but we may say that sup B = +∞.
2
f (x) = arctan x + .
|x|
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of
f.
(b) Study continuity and differentiability of f on its domain. Find (if any) and classify its
discontinuity and its non-differentiability points.
(c) Find the monotonicity intervals and the minimum and maximum points of f , specifying
whether they are local or global.
Exercise 2 (6 points)
y ′ = (y 2 − 4)(x + 1).
SOLUTION
Exercise 1.
2
Consider the function. f : dom(f ) ⊆ R −→ R defined as f (x) = arctan x + .
|x|
2
We could study the function g(x) = x + , then its composition with the function x 7→
|x|
arctan x, considering that its image is the open interval (−π/2, π/2) and that it’s strictly increasing
in R. Otherwise, we can study directly the given function, as we will do here.
(a) Find the domain, the limits at the boundary of the domain, and the asymptotes (if any) of f .
2
The function g(x) = x + is defined if x 6= 0. Since the function t 7→ arctan(t) is defined
|x|
(and continuous) in R, we get dom(f ) = R \ {0}.
π
Now we have to compute the limits of f as x → ±∞ and as x → 0 . Since lim arctan x =
x→+∞ 2
π
and lim arctan x = − , we have,
x→−∞ 2
2 2 π
lim = x + = +∞ =⇒ lim arctan x + =
x→+∞ |x| x→+∞ |x| 2
2 2 π
lim x+ = −∞ =⇒ lim arctan x + =−
x→−∞
|x|
x→−∞
|x|
2
2 2 π
lim x + = +∞ =⇒ lim arctan x + = .
x→0 |x| x→0 |x| 2
(b) Find the monotonicity intervals and the minimum and maximum points of f , specifying
whether they are local or global.
g(x) is the sum of the everywhere continuous and differentiable funciotn h(x) = x with the
2
function k(x) = , which is continuous and differentiable in R \ {0}. We obtain f by com-
|x|
posing g with the everywhere differentiable function arctangent: therefore f is continuous
and differentiable in its domain R \ {0}. 1
1
A function can be continuous or differentiable only in the points of its domain, therefore we must not study its
continuity or differentiability at x = 0
(
2
x+ x if x > 0
We remark that g(x) = 2
Thus,
x− x if x < 0.
1 2 1 x2 − 2
· 1 − = · if x > 0
2 2 x2 2 2 x2
1 + x + 1 + x +
|x| |x|
f ′ (x) =
1 2 1 x2 + 2
· 1 + = · if x < 0.
2 2 2 2
x2 x2
1 + x − 1+ x−
|x| |x|
(c) Find the monotonicity intervals and the minimum and maximum points of f , specifying
whether they are local or global.
In order to study the monotonicity of f , we analyze the sign of its derivative. Observe that
in both the intervals (−∞, 0) and (0, +∞), the first factor is strictly positive (since the de-
nominator is the sum of two squared functions), as it is the denominator x2 of the second
factor. Therefore the sign of f ′ is given by the sign of (x2 − 2) for x > 0 and of x2 + 2 for
x < 0. Thus,
• x < 0 x2 + 2 > 0 for all x; hence f ′ (x) > 0 for all x < 0;
√ √
• x > 0 x2 − 2 < 0 if and only if x ∈ (− 2, 2). Since we are working in (0, +∞), we
√ √ √
have that f ′ (x) < 0 in (0, 2), f ′ ( 2) = 0 and f ′ (x) > 0 in ( 2, +∞).
√
Since f is continuous at x = 2 and using tha Mean Value Theorem, we have,
√
• f is strictly increasing in the intervals (−∞, 0) and [ 2, +∞)
√
• f is strictly decreasing in the interval (0, 2].
√ √
The point x = 2 is a minimum point , local since f ( 2) > −π/2. The function has no
global maximum or minimum: ±π/2 are inf/sup of the function.
π/2 bc
√
O 2 x
−π/2
(
f (x) if x 6= 0,
(e) Consider c ∈ R and define f˜(x) =
c if x = 0.
Find the values c for which the function ˜
f is continuous. For these values of c, study the
differentiability of f˜.
The function f˜ is continuous at x = 0 if and only if lim f˜(x) = lim f (x) = π/2 = f˜(0) = c.
x→0 x→0
Therefore c = π/2 is the unique value which makes f˜ continuous in R.
Exercise 2.
y ′ (x) = f (x)g(y(x))
(b) Find all the solutions of the differential equation y ′ = (y 2 − 1)(x + 1).
We have a separable differential equation, with independent variable x;
in this case f (x) = x + 1 and g(y) = y 2 − 1.
First of all, we look for the constant solutions, which correspond to the solutions of the
algebraic equation y 2 − 1 = 0, that is to y = ±1. Hence, the differential equation has two
constant solutions, y(x) = 1 e y(x) = −1, defined in R.
Since all the other solutions never equal ±1, we can find the other solutions by solving the
equality Z Z
1
2
dy = (x + 1) dx.
y −1
1 A B Ay + A + By − B (A + B)y + (A − B)
= + = =
y2 −1 y−1 y+1 2
y −1 y2 − 1
therefore, ( (
A+B =0 A = −1/2
=⇒
A − B = −1 B = 1/2.
We get
Z Z
1 1 1 1 1
2
dy = − + dy
y −1 2 y−1 2 y+1
1 1 1 y−1
= − log |y + 1| + log |y − 1| + k = log +k
2 2 2 y+1
Z
1 2
(x + 1) dx = x +x+c
2
1 y−1 1 2
log = x +x+c
2 y+1 2
y−1
log = x2 + 2x + 2c = x2 + 2x + k, with k ∈ R.
y+1
y−1 2 2 2
= ex +2x+k = ex +2x · ek = Kex +2x , with K > 0.
y+1
y−1
The function y+1 changes its sign at y = 1 and y = −1; since no solution equals those values,
y−1 2 +2x y−1 2 +2x
we may take off the absolute value. Thus, we get y+1 = ±Kex or y+1 = Kex , with
y−1
K 6= 0. Moreover, remark that for K = 0 we have y+1 = 0, that is y = 1, which is one of the
two constant solutions. Therefore we may consider K ∈ R. In order to obtain the solutions
of the differential equation (a part from the interval of definition of each solution, which is
not required) we must write y as a function of x. We may work like this,
y−1 y+1−2 1 2
= =1−2· = Kex +2x ⇐⇒
y+1 y+1 y+1
1 1 2
= 1 − Kex +2x ⇐⇒
y+1 2
2
y+1 = ⇐⇒
1 − Kex2 +2x
2
y = − 1, with K ∈ R.
1 − Kex2 +2x
Therefore all the possible solutions of the differential equation are
2
y(x) = −1; y(x) = − 1, K ∈ R .
1 − Kex2 +2x
x
f (x) =
1 − log |x|
(a) Determine the domain dom f , possible symmetry, the limits at the extreme points of dom f
and at ±∞, and possible asymptotes.
(b) Study the continuity and differentiability of the function, locate and classify possible points
of discontinuity and non-differentiability in dom f , and compute the derivative f ′ (x).
(c) Determine the monotonicity intervals, and possible local maximum and local minimum points
of f , specifying whether they are global or not.
(e) Determine the number of solutions to the equation f (x) = c depending on the real parameter
c.
Exercise 2 (6 points)
(a) Give the definition of infinitesimal order and of the principal part of a function f (x) with
respect to a test function ϕ(x), as x → x0 .
(b) Determine the principal part and the infinitesimal order of the function f (x) = (ex + cos x)2 −
4 − 4x + x3 as x → 0, with respect to the test function ϕ(x) = x.
(c) Given functions f and g that are infinitesimal of the same order with respect to the test
function ϕ(x) as x → x0 , is it true or false that their sum f + g is always an infinitesimal of
the same order? Motivate your answer.
SOLUTION
Exercise 1.
x
Consider the function f : dom(f ) ⊆ R → R defined by f (x) = .
1 − log |x|
(a) Determine the domain dom f , possible symmetry, the limits at the extreme points of dom f
and at ±∞, and possible asymptotes.
Since log |x| is defined for x 6= 0, while the quotient is defined if its denominator 1−log |x| =
6 0,
that is for x 6= ±e. Therefore domf = R \ {0, e, −e}.
−x x
Moreover, for all x ∈ dom(f ), f (−x) = =− = f (−x) so f is odd.
1 − log | − x| 1 − log |x|
In order to compute the required limits, we remark that 1−log |x| > 0 if and only if log |x| < 1,
that is if |x| < e. Therefore,
• lim f (x) = 0.
x→0
Since the order of infinity of f with respect to x, as x → ±∞, is lower than one, the function
has no oblique asymptotes.
The function has two vertical asymptotes, whose equations are x = e and x = −e.
(b) Study the continuity and differentiability of the function, locate and classify possible points of
discontinuity and non-differentiability in dom f , and compute the derivative f ′ (x).
f is the quotient of the differentiable function g(x) = x and of the function h(x) = 1 −
log |x|, which is continuous and differentiable on its domain. Therefore f is continuous and
differentiable on its domain.
1 − log |x| − x · −1
x 2 − log |x|
f ′ (x) = = .
(1 − log |x|)2 (1 − log |x|)2
(c) Determine the monotonicity intervals, and possible local maximum and local minimum points
of f , specifying whether they are global or not.
Since f is differentiable on its domain, its maximum and minimum points have to be critical
points, that is points where f ′ (x) = 0. We get,
2 − log |x|
f ′ (x) = =0 ⇐⇒ log |x| = 2 ⇐⇒ |x| = e2 .
(1 − log |x|)2
As far as the monotonicity is concerned we may study the sign of f ′ : by the Mean Value
Theorem, f is monotonic on the intervals where the sign of f ′ is constant. Since the denom-
inator is always positive (because it is quadratic), it suffices to study the sign of 2 − log |x|.
We find that 2 − log |x| > 0 if and only if |x| < e2 , with x 6= 0. Therefore,
−e2 −e 0 e e2
b b b b b
f′ − + + + + −
f ց ր ր ր ր ց
• f is strictly increasing in the intervals [−e2 , −e), (−e, 0), (0, e) and (e, e2 ];
In order to sketch a better graph, observe that f (e2 ) = −e2 < 0 and f (−e2 ) = e2 > 0: thus,
we get the following qualitative graph.
e2
bc
−e2 −e O e e2 x
−e2
(e) Determine the number of solutions to the equation f (x) = c depending on the real parameter
c.
Observe that the image (range) of f is the set R \ {0}. In order to determine the number of
solutions of the equation, we may draw horizontal lines y = c . The number of intersection
points of these lines with the graph of f corresponds to the number of solutions of the equation
f (x) = c. We get that
Exercise 2.
(a) Give the definition of infinitesimal order and of the principal part of a function f (x) with
respect to a test function ϕ(x), as x → x0 .
f (x)
lim f (x) = 0 and lim = ℓ ∈ R \ {0}.
x→x0 x→x0 [ϕ(x)]α
(b) Determine the principal part and the infinitesimal order of the function f (x) = (ex + cos x)2 −
4 − 4x + x3 as x → 0, with respect to the test function ϕ(x) = x.
1 1
ex = 1 + x + 2 x2 + 3! x3 + o(x3 )
1
cos x = 1 − 2 x2 + o(x3 )
1 1 1 1
ex + cos x = 1 + x + 2 x2 + 3! x3 + 1 − 2 x2 + o(x3 ) = 2 + x + 6 x3 + o(x3 )
2
x3
(ex + cos x)2 = 2 + x + 6 x3 + o(x3 ) = 4 + 4x + x2 + 2
3 x3 + o(x3 )
(c) Given functions f and g that are infinitesimal of the same order with respect to the test
function ϕ(x) as x → x0 , is it true or false that their sum f + g is always an infinitesimal of
the same order? Motivate your answer.
Given functions f and g that are infinitesimal of the same order with respect to the test
function ϕ(x) as x → x0 , their sum f + g is always infinitesimal, but the order may be
higher that the order of f and g. This happens when the functions have principal parts
equal but with different signs which gives a cancellation. For example if f (x) = x + x2 and
g(x) = −x + x3 , as x → 0, the functions f and g have order 1 with respect to x, as x → 0,
but f + g = x2 + x3 has order 2, as x → 0.