Baccalauréat 2025 — Mathematics specialty, Métropole 10 septembre 2025 (sujet 2) — exercise 3 : Logarithm function, area and algorithm (official exam paper)
Statement
We consider the function $f$ defined on $]0~;~8]$ by
$f(x) = \dfrac{10\ln\left(-x^2 + 7x + 9\right)}{x}$.
Let $C_f$ be the graph of the function $f$ in an orthonormal coordinate system $(O~;~\vec{i},\vec{j})$.
Part A
1. Solve in $\mathbb{R}$ the inequality $-x^2 + 7x + 8 \geqslant 0$.
2. Deduce that for all $x \in ]0~;~8]$, we have $f(x) \geqslant 0$.
3. Give a graphical interpretation of this result.
Part B
The curve $C_f$ is represented below.
Figure description: in an orthonormal coordinate system $(O~;~\vec{i},\vec{j})$, the axes are drawn from $0$ to about $8.5$ on the $x$-axis and from $0$ to $10$ on the $y$-axis, with a grid of step $1$. The red curve $C_f$ is drawn for $x$ from $3$ to $8$ and is labeled $(C_f)$ near the point of abscissa $4$ and ordinate about $7.6$. A rectangle $ONMP$ is shown: $O$ is the origin, $N$ is on the $x$-axis at abscissa $6.8$, $P$ is on the $y$-axis at ordinate $3.438$, and $M$ is the point with approximate coordinates $(6.8~;~3.438)$ on the curve. Small squares indicate right angles at $N$ and $P$.
Let $M$ be the point of $C_f$ with abscissa $x$, where $x \in ]0~;~8]$.
Let $N$ and $P$ be the orthogonal projections of point $M$ respectively onto the $x$-axis and the $y$-axis.
In this part, we are interested in the area $\mathcal{A}(x)$ of the rectangle $ONMP$.
1. Give the coordinates of points $N$ and $P$ as functions of $x$.
2. Show that for all $x$ in the interval $]0~;~8]$,
$\mathcal{A}(x) = 10\ln\left(-x^2 + 7x + 9\right)$.
3. Is there a position of point $M$ for which the area of the rectangle $ONMP$ is maximal? If so, determine this position.
Part C
We consider a strictly positive real number $k$.
We want to determine the smallest value of $x$, approximated to the nearest tenth, belonging to $[3,5~;~8]$ for which the area $\mathcal{A}(x)$ becomes less than or equal to $k$.
To do this, we consider the algorithm below.
As a reminder, in Python language, $\ln(x)$ is written log($x$).
```python
from math import *
def A(x) :
return 10*log(-1*x**2 + 7*x + 9)
def pluspetitevaleur(k) :
x = 3.5
while A(x).......... :
x = x + 0.1
return ...........
```
1. Copy and complete lines 8 and 10 of the algorithm.
2. What number does the instruction `pluspetitevaleur(30)` return?
3. What happens when $k = 35$? Justify.
⏳ Solution not generated yet
Open this statement in Expert Maths AI: the step-by-step solution is computed on demand, checked by a second resolution, then published here for everyone.
📝 See the solutionHave a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise