<p>Let <span class="math-container">$P$</span> be the CPI of the Home country, <span class="math-container">$P^*$</span> the CPI of the Foreign country, <span class="math-container">$P_H$</span> and <span class="math-container">$P_F$</span> the price of Home and Foreign intermediate goods expressed in domestic currency, and <span class="math-container">$P^*_H$</span> and <span class="math-container">$P^*_F$</span> be the price of Home and Foreign intermediate goods expressed in foreign currency.</p>

<p>The log-linear version of the real exchange rate is given by</p>

<p><span class="math-container">\begin{gather}
\hat{Q}_t = \hat{S}_t + \hat{P}^*_t - \hat{P}_t
\end{gather}</span></p>

<p>We know that the CPI of home and foreign country (log-linear versions) are given by</p>

<p><span class="math-container">\begin{gather}
\hat{P}_t = a\hat{P}_{H,t} + (1-a)\hat{P}_{F,t} \quad \quad \hat{P}^*_t = a\hat{P}^*_{F,t} + (1-a)\hat{P}^*_{H,t}
\end{gather}</span></p>

<p>We only need to substitute this in the log-linear version of the real exchange rate:</p>

<p><span class="math-container">\begin{gather}
\hat{Q}_t = \hat{S}_t + \hat{P}^*_t - \hat{P}_t \\
= \hat{S}_t + a\hat{P}^*_{F,t} + (1-a)\hat{P}^*_{H,t} - a\hat{P}_{H,t} - (1-a)\hat{P}_{F,t} \\
= \hat{S}_t - a(\hat{P}^*_{H,t} - \hat{P}^*_{F,t}) + \hat{P}^*_{H,t} + a(\hat{P}_{F,t}-\hat{P}_{H,t}) - \hat{P}_{F,t} \\
= \hat{S}_t - a\hat{T}^*_t + \hat{P}^*_{H,t} + a\hat{T}_t - \hat{P}_{F,t} \\
= \hat{S}_t + \hat{P}^*_{H,t} - \hat{P}_{F,t} + a(\hat{T}_t - \hat{T}^*_t)\\
= \hat{P}_{H,t} - \hat{P}_{F,t} + a(\hat{T}_t - \hat{T}^*_t) \quad \text{given that the law of one price holds}\\
= -\hat{T}_t + a(\hat{T}_t - \hat{T}^*_t)\\
= -\hat{T}_t + 2a\hat{T}_t \quad \text{given that the law of one price holds, $\hat{T}^*_t = -\hat{T}_t$}\\
\hat{Q}_t = (2a-1)\hat{T}_t
\end{gather}</span></p>

CC BY-SA 4.0
2020-04-04T20:24:28.750Z
2020-04-04T20:24:28.750Z
Alex Ruiz
<p>I have a doubt on how to log linearize an expression for the real exchange rate. I have read in several papers that they express it using substitutions. I haven't been able to find out what substitutions they use, so that is why I come here to ask for help.</p>

<p>For example, suppose that the law of one price holds such that:</p>

<p><span class="math-container">\begin{gather}
P_{H,t}=S_tP^*_{H,t} \quad \quad \text{and} \quad \quad P^*_{F,t}=\frac{P_{F,t}}{S_t}
\end{gather}</span></p>

<p>Let <span class="math-container">$Q_t=\frac{S_tP^*_t}{P_t}$</span> be the real exchange rate and <span class="math-container">$T_t=\frac{S_tP^*_{F,t}}{P_{H,t}}$</span>. Moreover, let the CPI be</p>

<p><span class="math-container">\begin{gather}
P_t=[aP^{1-\theta}_{H,t}+(1-a)P^{1-\theta}P_{F,t}]^{\frac{1}{1-\theta}}
\end{gather}</span></p>

<p>I know that the log-linear version of <span class="math-container">$Q_t$</span> is given by</p>

<p><span class="math-container">$$\hat{Q_t}=(2a-1)\hat{T}_t$$</span></p>

<p>Can someone please tell me how to obtain this latter expression?</p>

<p>Thank you very much.</p>

CC BY-SA 4.0
2020-03-04T11:22:34.640Z
Can you please show us what you attempted so far? The policy on homework questions here is that you should at least show some effort into solving them before you get help.
1muflon1
CC BY-SA 4.0
2020-03-06T08:51:13.423Z
Alejandro, you usually post interesting questions and I would be glad to help you, but you should avoid writing variables in  formulas, without without saying what they stand for.
Grada Gukovic
<macroeconomics><mathematical-economics><open-economy-macro><dsge>
Log-linearization of real exchange rate
Alex Ruiz
# Log-linearization of real exchange rate

(Asked by: username_0 on 2020-03-04)

I have a doubt on how to log linearize an expression for the real exchange rate. I have read in several papers that they express it using substitutions. I haven't been able to find out what substitutions they use, so that is why I come here to ask for help.

For example, suppose that the law of one price holds such that:

\begin{gather}
P\_{H,t}=S\_tP^\*\_{H,t} \quad \quad \text{and} \quad \quad P^\*\_{F,t}=\frac{P\_{F,t}}{S\_t}
\end{gather}

Let $Q\_t=\frac{S\_tP^\*\_t}{P\_t}$ be the real exchange rate and $T\_t=\frac{S\_tP^\*\_{F,t}}{P\_{H,t}}$. Moreover, let the CPI be

\begin{gather}
P\_t=[aP^{1-\theta}\_{H,t}+(1-a)P^{1-\theta}P\_{F,t}]^{\frac{1}{1-\theta}}
\end{gather}

I know that the log-linear version of $Q\_t$ is given by

$$\hat{Q\_t}=(2a-1)\hat{T}\_t$$

Can someone please tell me how to obtain this latter expression?

Thank you very much.

**Tags:** macroeconomics, mathematical-economics, open-economy-macro, dsge

> **Comments:**
> **username_1**: Can you please show us what you attempted so far? The policy on homework questions here is that you should at least show some effort into solving them before you get help.  
> **username_2**: Alejandro, you usually post interesting questions and I would be glad to help you, but you should avoid writing variables in  formulas, without without saying what they stand for.  

---

## 1 answers

### Answer by username_0 on 2020-04-04. Score: 0 | Accepted answer

Let $P$ be the CPI of the Home country, $P^\*$ the CPI of the Foreign country, $P\_H$ and $P\_F$ the price of Home and Foreign intermediate goods expressed in domestic currency, and $P^\*\_H$ and $P^\*\_F$ be the price of Home and Foreign intermediate goods expressed in foreign currency.

The log-linear version of the real exchange rate is given by

\begin{gather}
\hat{Q}\_t = \hat{S}\_t + \hat{P}^\*\_t - \hat{P}\_t
\end{gather}

We know that the CPI of home and foreign country (log-linear versions) are given by

\begin{gather}
\hat{P}\_t = a\hat{P}\_{H,t} + (1-a)\hat{P}\_{F,t} \quad \quad \hat{P}^\*\_t = a\hat{P}^\*\_{F,t} + (1-a)\hat{P}^\*\_{H,t}
\end{gather}

We only need to substitute this in the log-linear version of the real exchange rate:

\begin{gather}
\hat{Q}\_t = \hat{S}\_t + \hat{P}^\*\_t - \hat{P}\_t \\
= \hat{S}\_t + a\hat{P}^\*\_{F,t} + (1-a)\hat{P}^\*\_{H,t} - a\hat{P}\_{H,t} - (1-a)\hat{P}\_{F,t} \\
= \hat{S}\_t - a(\hat{P}^\*\_{H,t} - \hat{P}^\*\_{F,t}) + \hat{P}^\*\_{H,t} + a(\hat{P}\_{F,t}-\hat{P}\_{H,t}) - \hat{P}\_{F,t} \\
= \hat{S}\_t - a\hat{T}^\*\_t + \hat{P}^\*\_{H,t} + a\hat{T}\_t - \hat{P}\_{F,t} \\
= \hat{S}\_t + \hat{P}^\*\_{H,t} - \hat{P}\_{F,t} + a(\hat{T}\_t - \hat{T}^\*\_t)\\
= \hat{P}\_{H,t} - \hat{P}\_{F,t} + a(\hat{T}\_t - \hat{T}^\*\_t) \quad \text{given that the law of one price holds}\\
= -\hat{T}\_t + a(\hat{T}\_t - \hat{T}^\*\_t)\\
= -\hat{T}\_t + 2a\hat{T}\_t \quad \text{given that the law of one price holds, $\hat{T}^\*\_t = -\hat{T}\_t$}\\
\hat{Q}\_t = (2a-1)\hat{T}\_t
\end{gather}


---

