BAC 2018 S1-S3 — Mathematics, exercise 3 : Analysis (official exam paper, solved)
Statement
Part A (3 points)
1. Solve the differential equation $y'+y=0$.
Let $\varphi$ be a differentiable function from $\mathbb R_+^*$ to $\mathbb R$, and let $g$ be the numerical function defined on $\mathbb R_+^*$ by $g(x)=\varphi(x)e^x$.
2. a. Verify that $g$ is differentiable at every point $x$ of $\mathbb R_+^*$ and prove that, for $\varphi$ to satisfy
$\forall x\in\mathbb R_+^*,\ \varphi'(x)+\varphi(x)=-\dfrac1x-\ln x,\quad (1)$
if and only if $g$ is an antiderivative of the function $x\mapsto -e^x\ln x-\dfrac{e^x}{x}$.
b. What is the set of antiderivatives of the function $x\mapsto -e^x\ln x-\dfrac{e^x}{x}$ ?
3. Deduce that the set of differentiable functions from $\mathbb R_+^*$ to $\mathbb R$ satisfying (1) is the set of functions $x\mapsto ae^{-x}-\ln x$ where $a$ denotes a real constant.
Part B (5,25 points)
Let $f$ be the function from $\mathbb R_+^*$ to $\mathbb R$ defined by: $\forall x\in\mathbb R_+^*,\ f(x)=e^{1-x}-\ln x$.
1. a. Study the variations of $f$ and construct its graph in an orthonormal coordinate system.
Prove that the equation $f(x)=0$ has a unique solution $c$ and that $c\in]1,2[$.
b. Calculate $\lim\limits_{x\to0^+}xf(x)$.
c. Let $x$ be an element of the interval $]0,1]$.
Calculate the integral $F(x)=\int_x^1 f(t)\,dt$ as a function of $x$.
Show that when $x$ tends to $0$, $F(x)$ tends to $e$.
2. Let $n$ be an integer greater than or equal to 2.
a. Show that, for every integer $k$ such that $1\le k\le n-1$ and for every real number $t$ such that $\dfrac{k}{n}\le t\le \dfrac{k+1}{n}$, we have: $f\left(\dfrac{k+1}{n}\right)\le f(t)\le f\left(\dfrac{k}{n}\right)$.
b. Show then that $\dfrac1n\sum\limits_{k=2}^n f\left(\dfrac{k}{n}\right)\le F\left(\dfrac1n\right)\le \dfrac1n\sum\limits_{k=1}^{n-1} f\left(\dfrac{k}{n}\right)$,
Deduce that $F\left(\dfrac1n\right)+\dfrac1n\le \dfrac1n\sum\limits_{k=1}^n f\left(\dfrac{k}{n}\right)\le F\left(\dfrac1n\right)+\dfrac1n f\left(\dfrac1n\right)$.
3. a. Deduce from the previous questions that, when $n$ tends to infinity, $\dfrac1n\sum\limits_{k=1}^n f\left(\dfrac{k}{n}\right)$ has a limit and calculate this limit.
b. Establish the equalities: $\dfrac1n\sum\limits_{k=1}^n e^{(1-k/n)}=(e-1)\dfrac{1}{n(e^{1/n}-1)}$ and $\dfrac1n\sum\limits_{k=1}^n \ln\left(\dfrac{k}{n}\right)=\dfrac1n\ln\left(\dfrac{n!}{n^n}\right)$.
c. Use the previous results to prove that the two sequences defined by:
$u_n=\dfrac1n\ln\left(\dfrac{n!}{n^n}\right)$ and $v_n=\dfrac{n}{\sqrt[n]{n!}}$
have limits when $n$ tends to infinity and calculate these limits.
Part C (2.75 points)
1. a. Determine the direction of variation of $f'$ on the interval $[1,2]$.
Let $P$ be the function from $\mathbb R_+^*$ to $\mathbb R$ defined by: $\forall x\in\mathbb R_+^*,\ P(x)=x-\dfrac{f(x)}{f'(1)}$.
b. Study the variations of $P$ on the interval $[1,2]$. Show that $P$ defines a bijection from $[1,c]$ onto an interval $J$ contained in $[1,c]$.
Deduce that one can define a sequence $c_n$ with elements in $[1,c]$ by setting $c_0=1$ and for every natural integer $n$, $c_{n+1}=P(c_n)$.
2. a. Show that for every $x\in[1,2]$, $0\le P'(x)\le P'(2)\le \dfrac7{12}$.
b. Using the mean value theorem, verify that for every integer $n$, $|c_{n+1}-c|\le \dfrac7{12}|c_n-c|$.
Deduce that the sequence $(c_n)$ is convergent and determine its limit.
c. What value is it sufficient to give to $n$ so that $c_n$ is an approximate value of $c$ to within $10^{-2}$?
Strategy
Use the integrating factor $e^x$ for the differential equation, then study monotonicity of $f$ via its derivative. The sums are handled as upper and lower Darboux sums of a decreasing function. The fixed-point sequence is controlled by the mean value theorem.
Step-by-step solution
1. Part A.1 — Solution of $y'+y=0$
We have
$$y'+y=0 \iff y'=-y.$$
For $y\neq 0$, this gives $\dfrac{y'}{y}=-1$, hence $\ln|y|=-x+C$. Therefore
$$y(x)=Ce^{-x},\qquad C\in\mathbb R.$$
The zero solution is included by taking $C=0$.
… and 16 more step(s) in the full solution.
🔒 Full solution reserved
Free account: one full past-paper solution per week. Pro: every step-by-step solution, verified by computation, plus timed mock exams.
🔓 Read the full solutionKey concepts
First-order linear differential equationIntegrating factorMonotonicity and intermediate value theoremRiemann sumsGeometric sumsMean value theoremFixed-point iterationContraction estimate
Have a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise