<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="HTMLFiles/pmathml.xsl"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "HTMLFiles/xhtml1-transitional.dtd">

<!-- This HTML document was created by converting a Mathematica notebook using Export. -->


<html xmlns="http://www.w3.org/1999/xhtml" class="Notebook">

<head >
<title>
  prvdyh.nb
</title>

<link href="../navi/css/esim.css" rel="stylesheet" type="text/css"/>
<link href="HTMLFiles/Default.css" rel="stylesheet" type="text/css" />
</head>

<body>

<p><a href="../mma/prvdyh.nb">prvdyh.nb</a></p>

<p class="Title">
 K&auml;yr&auml;parven differentiaaliyht&auml;l&ouml;n etsiminen
</p>



<p class="Text">
 Olkoon annettuna k&auml;yr&auml;parvi
</p>



<p class="CellLabel">
 In[1]:=
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>kayraparvi</mi>
  <mo>=</mo>
  <mtext> </mtext>
  <mrow>
   <mrow>
    <mrow>
     <mrow>
      <mo>(</mo>
      <mrow>
       <mi>x</mi>
       <mtext> </mtext>
       <mo>+</mo>
       <mtext> </mtext>
       <mrow>
        <mi>C</mi>
        <mo>[</mo>
        <mn>1</mn>
        <mo>]</mo>
       </mrow>
      </mrow>
      <mo>)</mo>
     </mrow>
     <mo>^</mo>
     <mn>2</mn>
    </mrow>
    <mtext> </mtext>
    <mo>+</mo>
    <mtext> </mtext>
    <mrow>
     <mrow>
      <mo>(</mo>
      <mrow>
       <mi>y</mi>
       <mtext> </mtext>
       <mo>+</mo>
       <mtext> </mtext>
       <mrow>
        <mi>C</mi>
        <mo>[</mo>
        <mn>2</mn>
        <mo>]</mo>
       </mrow>
      </mrow>
      <mo>)</mo>
     </mrow>
     <mo>^</mo>
     <mn>2</mn>
    </mrow>
   </mrow>
   <mtext> </mtext>
   <mo>==</mo>
   <mtext> </mtext>
   <mrow>
    <mrow>
     <mi>C</mi>
     <mo>[</mo>
     <mn>3</mn>
     <mo>]</mo>
    </mrow>
    <mo>^</mo>
    <mn>2</mn>
   </mrow>
  </mrow>
 </mrow>
</math>
</p>

<p class="CellLabel">
 Out[1]=
</p>



<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <msup>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mi>x</mi>
      <mo>+</mo>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>1</mn>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mn>2</mn>
   </msup>
   <mo>+</mo>
   <msup>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mi>y</mi>
      <mo>+</mo>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>2</mn>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mn>2</mn>
   </msup>
  </mrow>
  <mo>&#10869;</mo>
  <msup>
   <mrow>
    <mi>C</mi>
    <mo>[</mo>
    <mn>3</mn>
    <mo>]</mo>
   </mrow>
   <mn>2</mn>
  </msup>
 </mrow>
</math>
</p>

<p class="Text">
 miss&auml; <span style='font-family: Courier;'>C[1]</span>, <span style='font-family: Courier;'>C[2]</span> ja <span style='font-family: Courier;'>C[3]</span> ovat parven parametrit. Jokaisella (ainakin l&auml;hes) n&auml;iden arvokombinaatiolla parvesta saatava yht&auml;l&ouml; esitt&auml;&auml; tason ympyr&auml;&auml;. Toisaalta tason jokaisen ympyr&auml;n yht&auml;l&ouml; on t&auml;t&auml; muotoa.
</p>



<p class="Text">
 Tulkitaan <span><math xmlns='http://www.w3.org/1998/Math/MathML'
    mathematica:form='TraditionalForm'
    xmlns:mathematica='http://www.wolfram.com/XML/'>
 <mi>y</mi>
</math></span> funktioksi muuttujasta <span><math xmlns='http://www.w3.org/1998/Math/MathML'
    mathematica:form='TraditionalForm'
    xmlns:mathematica='http://www.wolfram.com/XML/'>
 <mi>x</mi>
</math></span> tavoitteena l&ouml;yt&auml;&auml; differentiaaliyht&auml;l&ouml; t&auml;lle funktiolle:
</p>



<p class="CellLabel">
 In[2]:=
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>parvi</mi>
  <mo>=</mo>
  <mtext> </mtext>
  <mrow>
   <mi>kayraparvi</mi>
   <mo>/.</mo>
   <mrow>
    <mi>y</mi>
    <mo>-&gt;</mo>
    <mrow>
     <mi>y</mi>
     <mo>[</mo>
     <mi>x</mi>
     <mo>]</mo>
    </mrow>
   </mrow>
  </mrow>
 </mrow>
</math>
</p>

<p class="CellLabel">
 Out[2]=
</p>



<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <msup>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mi>x</mi>
      <mo>+</mo>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>1</mn>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mn>2</mn>
   </msup>
   <mo>+</mo>
   <msup>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>2</mn>
       <mo>]</mo>
      </mrow>
      <mo>+</mo>
      <mrow>
       <mi>y</mi>
       <mo>[</mo>
       <mi>x</mi>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mn>2</mn>
   </msup>
  </mrow>
  <mo>&#10869;</mo>
  <msup>
   <mrow>
    <mi>C</mi>
    <mo>[</mo>
    <mn>3</mn>
    <mo>]</mo>
   </mrow>
   <mn>2</mn>
  </msup>
 </mrow>
</math>
</p>

<p class="Text">
 Derivoidaan t&auml;m&auml; yht&auml;l&ouml; kolmesti, mink&auml; j&auml;lkeen saaduista nelj&auml;st&auml; yht&auml;l&ouml;st&auml; eliminoidaan parametrit <span style='font-family: Courier;'>C[1]</span>, <span style='font-family: Courier;'>C[2]</span> ja <span style='font-family: Courier;'>C[3]:</span>
</p>



<p class="CellLabel">
 In[3]:=
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>parvi1</mi>
  <mo>=</mo>
  <mtext> </mtext>
  <mrow>
   <mi>D</mi>
   <mo>[</mo>
   <mrow>
    <mi>parvi</mi>
    <mo>,</mo>
    <mi>x</mi>
   </mrow>
   <mo>]</mo>
  </mrow>
 </mrow>
</math>
</p>

<p class="CellLabel">
 Out[3]=
</p>



<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mn>2</mn>
    <mo>&#8290;</mo>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mi>x</mi>
      <mo>+</mo>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>1</mn>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mn>2</mn>
    <mo>&#8290;</mo>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>2</mn>
       <mo>]</mo>
      </mrow>
      <mo>+</mo>
      <mrow>
       <mi>y</mi>
       <mo>[</mo>
       <mi>x</mi>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>&#8290;</mo>
    <mrow>
     <msup>
      <mi>y</mi>
      <mo>&#8242;</mo>
     </msup>
     <mo>[</mo>
     <mi>x</mi>
     <mo>]</mo>
    </mrow>
   </mrow>
  </mrow>
  <mo>&#10869;</mo>
  <mn>0</mn>
 </mrow>
</math>
</p>

<p class="CellLabel">
 In[4]:=
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>parvi2</mi>
  <mo>=</mo>
  <mtext> </mtext>
  <mrow>
   <mi>D</mi>
   <mo>[</mo>
   <mrow>
    <mi>parvi</mi>
    <mo>,</mo>
    <mrow>
     <mo>{</mo>
     <mrow>
      <mi>x</mi>
      <mo>,</mo>
      <mn>2</mn>
     </mrow>
     <mo>}</mo>
    </mrow>
   </mrow>
   <mo>]</mo>
  </mrow>
 </mrow>
</math>
</p>

<p class="CellLabel">
 Out[4]=
</p>



<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mn>2</mn>
   <mo>+</mo>
   <mrow>
    <mn>2</mn>
    <mo>&#8290;</mo>
    <msup>
     <mrow>
      <msup>
       <mi>y</mi>
       <mo>&#8242;</mo>
      </msup>
      <mo>[</mo>
      <mi>x</mi>
      <mo>]</mo>
     </mrow>
     <mn>2</mn>
    </msup>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mn>2</mn>
    <mo>&#8290;</mo>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>2</mn>
       <mo>]</mo>
      </mrow>
      <mo>+</mo>
      <mrow>
       <mi>y</mi>
       <mo>[</mo>
       <mi>x</mi>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>&#8290;</mo>
    <mrow>
     <msup>
      <mi>y</mi>
      <mi>&#8242;&#8242;</mi>
     </msup>
     <mo>[</mo>
     <mi>x</mi>
     <mo>]</mo>
    </mrow>
   </mrow>
  </mrow>
  <mo>&#10869;</mo>
  <mn>0</mn>
 </mrow>
</math>
</p>

<p class="CellLabel">
 In[5]:=
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>parvi3</mi>
  <mo>=</mo>
  <mtext> </mtext>
  <mrow>
   <mi>D</mi>
   <mo>[</mo>
   <mrow>
    <mi>parvi</mi>
    <mo>,</mo>
    <mrow>
     <mo>{</mo>
     <mrow>
      <mi>x</mi>
      <mo>,</mo>
      <mn>3</mn>
     </mrow>
     <mo>}</mo>
    </mrow>
   </mrow>
   <mo>]</mo>
  </mrow>
 </mrow>
</math>
</p>

<p class="CellLabel">
 Out[5]=
</p>



<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mn>6</mn>
    <mo>&#8290;</mo>
    <mrow>
     <msup>
      <mi>y</mi>
      <mo>&#8242;</mo>
     </msup>
     <mo>[</mo>
     <mi>x</mi>
     <mo>]</mo>
    </mrow>
    <mo>&#8290;</mo>
    <mrow>
     <msup>
      <mi>y</mi>
      <mi>&#8242;&#8242;</mi>
     </msup>
     <mo>[</mo>
     <mi>x</mi>
     <mo>]</mo>
    </mrow>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mn>2</mn>
    <mo>&#8290;</mo>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>2</mn>
       <mo>]</mo>
      </mrow>
      <mo>+</mo>
      <mrow>
       <mi>y</mi>
       <mo>[</mo>
       <mi>x</mi>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>&#8290;</mo>
    <mrow>
     <msup>
      <mi>y</mi>
      <mrow>
       <mo>(</mo>
       <mn>3</mn>
       <mo>)</mo>
      </mrow>
     </msup>
     <mo>[</mo>
     <mi>x</mi>
     <mo>]</mo>
    </mrow>
   </mrow>
  </mrow>
  <mo>&#10869;</mo>
  <mn>0</mn>
 </mrow>
</math>
</p>

<p class="CellLabel">
 In[6]:=
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>diffyht</mi>
  <mo>=</mo>
  <mtext> </mtext>
  <mrow>
   <mi>Eliminate</mi>
   <mo>[</mo>
   <mrow>
    <mrow>
     <mo>{</mo>
     <mrow>
      <mi>parvi</mi>
      <mo>,</mo>
      <mi>parvi1</mi>
      <mo>,</mo>
      <mi>parvi2</mi>
      <mo>,</mo>
      <mi>parvi3</mi>
     </mrow>
     <mo>}</mo>
    </mrow>
    <mo>,</mo>
    <mrow>
     <mo>{</mo>
     <mrow>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>1</mn>
       <mo>]</mo>
      </mrow>
      <mo>,</mo>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>2</mn>
       <mo>]</mo>
      </mrow>
      <mo>,</mo>
      <mrow>
       <mi>C</mi>
       <mo>[</mo>
       <mn>3</mn>
       <mo>]</mo>
      </mrow>
     </mrow>
     <mo>}</mo>
    </mrow>
   </mrow>
   <mo>]</mo>
  </mrow>
 </mrow>
</math>
</p>

<p class="CellLabel">
 Out[6]=
</p>



<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mn>1</mn>
     <mo>+</mo>
     <msup>
      <mrow>
       <msup>
        <mi>y</mi>
        <mo>&#8242;</mo>
       </msup>
       <mo>[</mo>
       <mi>x</mi>
       <mo>]</mo>
      </mrow>
      <mn>2</mn>
     </msup>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>&#8290;</mo>
   <mrow>
    <msup>
     <mi>y</mi>
     <mrow>
      <mo>(</mo>
      <mn>3</mn>
      <mo>)</mo>
     </mrow>
    </msup>
    <mo>[</mo>
    <mi>x</mi>
    <mo>]</mo>
   </mrow>
  </mrow>
  <mo>&#10869;</mo>
  <mrow>
   <mn>3</mn>
   <mo>&#8290;</mo>
   <mrow>
    <msup>
     <mi>y</mi>
     <mo>&#8242;</mo>
    </msup>
    <mo>[</mo>
    <mi>x</mi>
    <mo>]</mo>
   </mrow>
   <mo>&#8290;</mo>
   <msup>
    <mrow>
     <msup>
      <mi>y</mi>
      <mi>&#8242;&#8242;</mi>
     </msup>
     <mo>[</mo>
     <mi>x</mi>
     <mo>]</mo>
    </mrow>
    <mn>2</mn>
   </msup>
  </mrow>
 </mrow>
</math>
</p>

<p class="Text">
 Tuloksena on kolmannen kertaluvun differentiaaliyht&auml;l&ouml;, jonka yleisen&auml; ratkaisuna on alkuper&auml;inen k&auml;yr&auml;parvi. Kyseess&auml; on siten kaikkien tason ympyr&ouml;iden differentiaaliyht&auml;l&ouml;.
</p>



<p class="Text">
  Saadulla differentiaaliyht&auml;l&ouml;ll&auml; on kuitenkin muitakin ratkaisuja:
</p>



<p class="CellLabel">
 In[7]:=
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>diffyht</mi>
  <mo>/.</mo>
  <mrow>
   <mi>y</mi>
   <mo>&#8594;</mo>
   <mrow>
    <mi>Function</mi>
    <mo>[</mo>
    <mrow>
     <mi>x</mi>
     <mo>,</mo>
     <mrow>
      <mrow>
       <mrow>
        <mi>D</mi>
        <mo>[</mo>
        <mn>1</mn>
        <mo>]</mo>
       </mrow>
       <mo>&#8290;</mo>
       <mi>x</mi>
      </mrow>
      <mtext> </mtext>
      <mo>+</mo>
      <mtext> </mtext>
      <mrow>
       <mi>D</mi>
       <mo>[</mo>
       <mn>2</mn>
       <mo>]</mo>
      </mrow>
     </mrow>
    </mrow>
    <mo>]</mo>
   </mrow>
  </mrow>
 </mrow>
</math>
</p>

<p class="CellLabel">
 Out[7]=
</p>



<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mi>True</mi>
</math>
</p>





<p><b>Linkkej&auml;</b></p>

<p>
 <a href="../xml/nkkprv.xml">k&auml;yr&auml;parvi ja differentiaaliyht&auml;l&ouml;</a><br/>
<a href="../xml/sep3m1.xml">edell&auml; saadun differentiaaliyht&auml;l&ouml;n ratkaiseminen separoimalla</a><br/>
</p>

<p style='font-style: italic;'>
 SKK 27.04.2001
</p>


<hr />
<p style='font-family: Helvetica; font-size: 8pt'>Created by
<a href="http://www.wolfram.com"><span style='font-style: italic'>Mathematica</span></a>
&nbsp;(July 21, 2004) </p>

</body>

</html>
