\( \newcommand{\combin}[2]{{}^{#1}C_{#2} } \newcommand{\cmod}[3]{#1 \equiv #2\left(\bmod {}{#3}\right)} \newcommand{\mdc}[2]{\left( {#1},{#2}\right)} \newcommand{\mmc}[2]{\left[ {#1},{#2}\right]} \newcommand{\cis}{\mathop{\rm cis}} \newcommand{\ImP}{\mathop{\rm Im}} \newcommand{\ReP}{\mathop{\rm Re}} \newcommand{\sen}{\mathop{\rm sen}} \newcommand{\tg}{\mathop{\rm tg}} \newcommand{\cotg}{\mathop{\rm cotg}} \newcommand{\cosec}{\mathop{\rm cosec}} \newcommand{\cotgh}{\mathop{\rm cotgh}} \newcommand{\cosech}{\mathop{\rm cosech}} \newcommand{\sech}{\mathop{\rm sech}} \newcommand{\sh}{\mathop{\rm sh}} \newcommand{\ch}{\mathop{\rm ch}} \newcommand{\th}{\mathop{\rm th}} \newcommand{\senEL}[1]{\mathop{\rm sen}^{#1}} \newcommand{\tgEL}[1]{\mathop{\rm tg}^{#1}} \newcommand{\cotgEL}[1]{\mathop{\rm cotg}^{#1}} \newcommand{\cosecEL}{\mathop{\rm cosec}^{#1}} \newcommand{\shEL}[1]{\mathop{\rm sh^{#1}}} \newcommand{\chEL}[1]{\mathop{\rm ch^{#1}}} \newcommand{\thEL}[1]{\mathop{\rm th^{#1}}} \newcommand{\cotghEL}[1]{\mathop{\rm cotgh^{#1}}} \newcommand{\cosechEL}[1]{\mathop{\rm cosech^{#1}}} \newcommand{\sechEL}[1]{\mathop{\rm sech^{#1}}} \newcommand{\senq}{\senEL{2}} \newcommand{\tgq}{\tgEL{2}} \newcommand{\cotgq}{\cotgEL{2}} \newcommand{\cosecq}{\cosecEL{2}} \newcommand{\cotghq}{\cotghEL{2}} \newcommand{\cosechq}{\cosechEL{2}} \newcommand{\sechq}{\sechEL{2}} \newcommand{\shq}{\shEL{2}} \newcommand{\chq}{\chEL{2}} \newcommand{\arctg}{\mathop{\rm arctg}} \newcommand{\arcsen}{\mathop{\rm arcsen}} \newcommand{\argsh}{\mathop{\rm argsh}} \newcommand{\argch}{\mathop{\rm argch}} \newcommand{\vect}[1]{\overrightarrow{#1}} \newcommand{\tr}[1]{ \textnormal{Tr}\left({#1}\right)} \newcommand{\N}{\mathbb{N}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\R}{\mathbb{R}} \newcommand{\C}{\mathbb{C}} \newcommand{\H}{\mathbb{H}} \newcommand{\vect}[1]{\overrightarrow{#1}} \newcommand{\dfrc}{\displaystyle\frac} \newcommand{\Mod}[1]{\ (\mathrm{mod}\ #1)} \)

05/09/2017

Integração por substituição: seno hiperbólico(II)
Integração por substituição: tangente(I)

Exercício Calcular o integral \[ \int\limits_1^{\sqrt 3 } {\frac{1}{x^2 \sqrt {1 + x^2 } }dx} \] Recorrendo à substituição: $x=\tg t$ ou $x=\sh t$
(Nota: $\sh$ é uma notação para seno hiperbólico ... também se representa por $\sinh$ )

\[ \frac{3\sqrt 2 - 2\sqrt 3 }{3} \]

Fazendo a substituição $x=\sh t$ temos, \begin{eqnarray*} {t}&{=}&{\arg\sh x}\\ {x}&{=}&{1\Rightarrow t=\argsh(1)}\\ {x}&{=}&{\sqrt 3\Rightarrow t=\argsh(\sqrt 3)} \end{eqnarray*} e \[ \frac{{dx}}{{dt}} = \ch t \] Portanto \begin{eqnarray*} {\int\limits_1^{\sqrt 3 } {\frac{1}{x^2 \sqrt {1 + x^2 } }dx} }&{=}&{\int\limits_{\argsh 1}^{\argsh \sqrt 3 } {\frac{1}{\shq t \sqrt {1 + \shq t } }\ch t dt} }\\ {}&{=}&{\int\limits_{\argsh 1}^{\argsh \sqrt 3 } {\frac{1}{\shq t}dt}}\\ {}&{=}&{\int\limits_{\argsh 1}^{\argsh \sqrt 3 } {\cosechq tdt}}\\ {}&{=}&{\left[-\cotgh t\right]_{\argsh 1}^{\argsh \sqrt 3 }}\\ {}&{=}&{\left[-\frac{\ch t}{\sh t}\right]_{\argsh 1}^{\argsh \sqrt 3 }}\\ {}&{=}&{\left[-\frac{\sqrt {1 + \shq t }}{\sh t}\right]_{\argsh 1}^{\argsh \sqrt 3 }}\\ {}&{=}&{-\frac{2}{\sqrt{3}}+\sqrt{2}}\\ {}&{=}&{\frac{3\sqrt 2 - 2\sqrt 3 }{3}} \end{eqnarray*}


Fazendo a substituição $x=\tg t$, com $t\in \left]-\frac{\pi}{2},\frac{\pi}{2}\right[$ temos, \begin{eqnarray*} {t}&{=}&{\arctg x}\\ {x}&{=}&{1\Rightarrow t=\frac{\pi}{4}}\\ {x}&{=}&{\sqrt 3\Rightarrow t=\frac{\pi}{3}} \end{eqnarray*} e \[ \frac{{dx}}{{dt}} = \sec^2 t \] Portanto \begin{eqnarray*} {\int\limits_1^{\sqrt 3 } {\frac{1}{x^2 \sqrt {1 + x^2 } }dx} }&{=}&{\int\limits_{\frac{\pi}{4}}^{\frac{\pi}{3} } {\frac{1}{\tgq t \sqrt {1 + \tgq t } }\sec^2 t dt} }\\ {}&{=}&{\int\limits_{\frac{\pi}{4}}^{\frac{\pi}{3} } {\frac{\sec^2 t}{\senq t \sec^2 t\sec t}dt}}\\ {}&{=}&{\int\limits_{\frac{\pi}{4}}^{\frac{\pi}{3} } \frac{1}{\senq t \sec t }dt}\\ {}&{=}&{\int\limits_{\frac{\pi}{4}}^{\frac{\pi}{3} } \frac{\cos t}{\senq t }dt}\\ {}&{=}&{\int\limits_{\frac{\pi}{4}}^{\frac{\pi}{3} }{\cotg t}{\cosec t }dt}\\ {}&{=}&{\left[-\cosec t\right]_{\frac{\pi}{4}}^{\frac{\pi}{3} }}\\ {}&{=}&{-\cosec \frac{\pi}{3} + \cosec \frac{\pi}{4}}\\ {}&{=}&{-\frac{2}{\sqrt{3}}+\sqrt{2}}\\ {}&{=}&{\frac{3\sqrt 2 - 2\sqrt 3 }{3}} \end{eqnarray*}

04/09/2017

Outra 'dedução' da fórmula da exponencial complexa...

Seja $i$ a unidade imaginária, e considere-se a função de variável real \[f(x)= e^{-ix}(\cos x + i \sen x)\] Então \begin{eqnarray*} {f'(x)}&{=}&{-ie^{-ix}(\cos x + i \sen x)+e^{-ix}(-\sen x + i \cos x)}\\ {}&{=}&{e^{-ix}\left[-i(\cos x + i \sen x)+(-\sen x + i \cos x)\right]}\\ {}&{=}&{e^{-ix}\left(-i\cos x + \sen x -\sen x + i \cos x\right)}\\ {}&{=}&{e^{-ix}\times 0}\\ {}&{=}&{0} \end{eqnarray*} Como $f'(x)=0$ então $f(x)=\text{constante}$.
Mas uma vez que $f(0)=e^0(\cos 0+i\sen 0)=1\times 1=1$, ficámos a saber que $\text{constante}=1$, logo \begin{eqnarray*} {}&{}&{e^{-ix}(\cos x + i \sen x)=1}\\ {}&{\Leftrightarrow}&{(\cos x + i \sen x)=e^{ix}}\\ \end{eqnarray*} Portanto \[e^{ix}=\cos x + i \sen x\]

(Facebook, grupo fechado Física e Matemática)

Nota: A 'dedução'/motivação está fora do âmbito do actual programa do ensino secundário em Portugal!
Observação Como qualquer 'dedução' da fórmula da exponencial complexa, esta tem os seus problemas.
  • Derivar funções com variáveis complexas, bem... vamos ter de assumir que a exponencial de variável complexa, da qual nada sabemos uma vez que estamos a tentar deduzir a expressão, deriva-se como a exponencial real.
  • Utilizar a conclusão derivada=0, implica $f$ constante requer algum cuidado!
    Antes da 'dedução' não sabemos sequer qual é o conjunto de chegada da função! Nestas condições teremos legitimidade para usar um corolário do teorema de Lagrange... para intervalos fechados?
  • ...
Enfim, é a vida...

03/09/2017

Integração por substituição: seno hiperbólico (I)

Exercício
Determinar o valor exacto do integral: \[ \int\limits_{ - 1}^1 {\sqrt {1 + x^2 } dx} \] Exprimir o valor na forma $\sqrt{m}+\arg\sinh{(n)}$, com $m,n\in \N$

\[\sqrt {2}+\arg \sinh \left( 1 \right)\]

Começamos por fazer a substituição $x=\sinh u$ então, \begin{eqnarray*} {u}&{=}&{\arg\sinh x}\\ {x}&{=}&{-1\Rightarrow u=\arg\sinh(-1)=-\arg\sinh(1)}\\ {x}&{=}&{1\Rightarrow u=\arg\sinh(1)} \end{eqnarray*} e \[ \frac{{dx}}{{du}} = \cosh u \] Na restante resolução é também útil recordar a fórmula fundamental das funções hiperbólicas \[\cosh^2 u - \sinh^2 u = 1 \] que $\cosh u>0$    $\forall u \in \R$
e as fórmulas \[\cosh^2 u=\frac{1+\cosh(2u)}{2}\] \[\sinh (2 u) =2\sinh u \cosh u\] Assim sendo, temos que: \begin{eqnarray} {\int\limits_{ - 1}^1 {\sqrt {1 + x^2 } dx} }&{ =}&{ \int\limits_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)} {\sqrt {1 + \left( {\sinh u} \right)^2 } \cosh udu}}\\ {}&{=}&{ \int\limits_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)} {\cosh ^2 udu} }\\ {}&{=}&{ \int\limits_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)} {\frac{{1 + \cosh \left( {2u} \right)}}{2}du} } \\ {}&{=}&{ \frac{1}{2}\int\limits_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)} {1du} + \frac{1}{4}\int\limits_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)} {2\cosh \left( {2u} \right)du}} \\ {}&{=}&{ \arg \sinh \left( 1 \right) + \frac{1}{4}\left[ {\sinh \left( {2u} \right)} \right]_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)}} \\ {}&{=}&{ \arg \sinh \left( 1 \right) + \frac{1}{4}\left[ {2\sinh \left( u \right)\cosh \left( u \right)} \right]_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)}} \\ {}&{=}&{ \arg \sinh \left( 1 \right) + \frac{1}{4}\left[ {2\sinh \left( u \right)\sqrt {1 + \left( {\sinh u} \right)^2 } } \right]_{ - \arg \sinh \left( 1 \right)}^{\arg \sinh \left( 1 \right)}} \\ {}&{=}&{\arg \sinh \left( 1 \right) + \frac{1}{4}\left( {2\sqrt {1 + 1} + 2\sqrt {1 + 1} } \right) }\\ {}&{=}&{ \sqrt {2}+\arg \sinh \left( 1 \right) } \end{eqnarray}

02/08/2017

Sistema não linear (II)

\[ \left\{ {\begin{array}{l} {x + \displaystyle\frac{1}{y} = 1} \\ {y + \displaystyle\frac{1}{z} = 2} \\ {z + \displaystyle\frac{1}{x} = 3} \end{array}} \right. \] Determinar o valor de $xyz$.


Começarei por reescrever o sistema na forma \[ \left\{ {\begin{array}{l} {x + \displaystyle\frac{1}{y} = 1} \\ {y = 2 - \displaystyle\frac{1}{z}} \\ {z = 3 -\displaystyle\frac{1}{x}} \end{array}} \right. \] Assim a primeira equação pode reescrever-se na forma \begin{eqnarray*} {x + \displaystyle\frac{1}{2 - \displaystyle\frac{1}{z}}}&{=}&{1}\\ {\Leftrightarrow x + \frac{1}{2 - \displaystyle\frac{1}{3 -\displaystyle\frac{1}{x}}}}&{=}&{1}\\ {\Leftrightarrow x + \displaystyle\frac{1}{2 - \displaystyle\frac{x}{3x -1}}}&{=}&{1}\\ {\Leftrightarrow x + \displaystyle\frac{3x -1}{5x-2}}&{=}&{1}\\ {\Leftrightarrow 5x^2-2x +3x -1}&{=}&{5x-2}\\ {\Leftrightarrow 5x^2-4x+1}&{=}&{0}\\ {x}&{=}&{\frac{4 \pm \sqrt{16-20}}{2\times 5}}\\ {}&{=}&{\frac{4 \pm 2i}{2\times 5}}\\ {}&{=}&{\frac{2 \pm i}{5}}\\ \end{eqnarray*} Sabendo os possíveis valores de $x$, facilmente se determinam os de $y$ e $z$.
Aqui para poupar escrita, utilizarei a convenção seguinte: nos sinais do tipo $\pm$ as soluções correspondentes ao sinal "de cima" vão corresponder sempre a soluções com o sinal de cima, e o de baixo, aos de baixo.
Portanto: \[ y = \frac{1}{{1 - x}} = \frac{1}{{1 - \frac{{2 \pm i}}{5}}} = \frac{5}{{5 - 2 \mp i}} = \frac{5}{{3 \mp i}} = \frac{{5\left( {3 \pm i} \right)}}{{3^2 + 1^2 }} = \frac{{3 \pm i}}{2} \] e \[ z = 3 - \frac{1}{x} = 3 - \frac{1}{{\displaystyle\frac{{2 \pm i}}{5}}} = 3 - \frac{5}{{2 \pm i}} = 3 - \frac{{5\left( {2 \mp i} \right)}}{{2^2 + 1^2 }} = 3 - 2 \pm i = 1 \pm i \] Agora é só uma questão de calcular o produto... \[xyz=\left(\frac{2 \pm i}{5}\right)\left(\frac{{3 \pm i}}{2}\right)\left(1 \pm i\right)=\left(\frac{1 \pm i}{2}\right)\left(1 \pm i\right)=\frac{\left(1 \pm i\right)^2}{2}=\pm i\]
PS: Uma vez que esta primeira resolução não tem nada de especial, assim que me fôr possível penso noutra e partilho

28/07/2017

Da equação dos osciladores harmónicos à exponencial complexa (Versão II)

Esta dedução é uma modificação da anterior numa tentativa de a simplificar e a tornar mais acessível ao máximo de pessoas.
Sejam $A>0$, $\omega>0$ e $\varphi \in [0,2\pi[ $. Um oscilador harmónico é um sistema constituído por um ponto que se desloca numa recta numérica em determinado intervalo de tempo $I$, de tal forma que a respectiva abcissa é dada por uma lei da forma \[x(t)=A \cos (\omega t+ \varphi)\] para cada $t\in I$
Derivando em ordem a $t$, temos \[ \dot x=-A\omega \sen (\omega t + \varphi) \] e consequentemente \[ \ddot x=-A\omega^2 \cos (\omega t + \varphi)=-\omega^2 x \] Portanto, $x(t)= A \cos (\omega t+ \varphi)$ é uma solução da equação diferencial \[ \ddot x=-\omega^2 x \] Na verdade, $x(t)= \mathcal{A} \cos (\omega t+ \phi)$ com $\mathcal{A}>0$ e $\phi \in [0,2\pi[ $ arbitrários, é uma expressão geral para todas as soluções da equação \[ \ddot x=-\omega^2 x \]
Considere-se agora a função \[x(t)=e^{at}\], com $a \in \R \backslash \{0\} $
Derivando em ordem a $t$ , temos \[ \dot x=ae^{at} \] e consequentemente \[ \ddot x=a^2e^{at}=a^2 x \] Portanto, $x(t)=e^{at}$ é uma solução da equação diferencial \[ \ddot x=a^2 x \] Compare-se agora as equações \[ \ddot x=-\omega^2 x \] e \[ \ddot x=a^2 x \] E observe-se que estas equações são a mesma se tivermos em conta que $a=i\omega$ onde $i$ é a unidade imaginária, (portanto $i^2=-1$).
Assim sendo, devem existir um $\mathcal{A}$ e um $\phi$ que tornam verdadeira a igualdade \[\label{eqII1}\tag{1} e^{i\omega t}=\mathcal{A} \cos (\omega t+ \phi) \] para todo o $t\in \R$.
Em particular, se $t=0$ temos \[\label{eqII2}\tag{2} 1=\mathcal{A} \cos (\phi) \] Por outro lado, se substituirmos $t$ por $(-t)$ em $(\ref{eqII1})$ temos \[\label{eqII3}\tag{3} e^{-i\omega t}=\mathcal{A} \cos (-\omega t+ \phi) \] para todo o $t\in \R$.
Somando termo a termo as equações ($\ref{eqII1}$) e ($\ref{eqII3}$), e obtemos \[\label{eqII4}\tag{4}{ e^{i\omega t}+ e^{-i\omega t} }= \mathcal{A}\left(\cos (\omega t+ \phi)+\cos (-\omega t+ \phi)\right)\] No meu tempo, no secundário, dava-se a fórmula \[ \cos (\alpha)+\cos(\beta)=2 \cos \left(\frac{\alpha+\beta}{2}\right)\cos \left(\frac{\alpha-\beta}{2}\right)\]
Utilizando esta fórmula, em (\ref{eqII4}) obtemos \[\label{eqII5}\tag{5}{ e^{i\omega t}+ e^{-i\omega t} }= 2\mathcal{A}\left(\cos ( \phi)\cos (\omega t)\right)\] mas atendendo a $(\ref{eqII2})$ \[\label{eqII6}\tag{6}{ e^{i\omega t}+ e^{-i\omega t} }= 2\cos \left(\omega t\right)\] que é equivalente a \[\label{eqIICosseno}\tag{7}\frac{ e^{i\omega t}+ e^{-i\omega t} }{2} = \cos(\omega t)\] Derivando agora cada membro da equação em ordem a $t$ temos \[i\omega\times\frac{ e^{i\omega t}- e^{-i\omega t} }{2} = -\omega \sen(\omega t)\] que é equivalente a \[\label{eqIISeno}\tag{8}\frac{ e^{i\omega t}- e^{-i\omega t} }{2} = i\sen(\omega t)\] Somando termo a termo as equações (\ref{eqIICosseno}) e (\ref{eqIISeno}) obtemos \[ e^{i\omega t}=\cos(\omega t)+i\sen(\omega t)\] Finalmente, fazendo $\theta=\omega t$ obtemos
\[ e^{i\theta}=\cos\theta+i\sen\theta\]