<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?action=history&amp;feed=atom&amp;title=Quaternions</id>
		<title>Quaternions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?action=history&amp;feed=atom&amp;title=Quaternions"/>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;action=history"/>
		<updated>2026-09-11T01:09:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=1314&amp;oldid=prev</id>
		<title>Yash at 10:45, 23 February 2018</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=1314&amp;oldid=prev"/>
				<updated>2018-02-23T10:45:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:45, 23 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Quaternions.png|thumb|center|500px|Image inspired from [http://www.mlahanas.de/Math/orientation.htm here]]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Quaternions.png|thumb|center|500px|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Decomposing a given point x into components parallel and perpendicular to the rotation axis. &lt;/ins&gt;Image inspired from [http://www.mlahanas.de/Math/orientation.htm here]]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki.db-Mysql_Wiki:diff:version:1.11a:oldid:1165:newid:1314 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=1165&amp;oldid=prev</id>
		<title>Yash at 22:03, 19 February 2018</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=1165&amp;oldid=prev"/>
				<updated>2018-02-19T22:03:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:03, 19 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Quaternions.png|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;frame&lt;/del&gt;|center| Image inspired from [http://www.mlahanas.de/Math/orientation.htm here]]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Quaternions.png|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;thumb&lt;/ins&gt;|center&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|500px&lt;/ins&gt;|Image inspired from [http://www.mlahanas.de/Math/orientation.htm here]]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki.db-Mysql_Wiki:diff:version:1.11a:oldid:1141:newid:1165 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=1141&amp;oldid=prev</id>
		<title>Yash at 19:05, 19 February 2018</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=1141&amp;oldid=prev"/>
				<updated>2018-02-19T19:05:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:05, 19 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Quaternion2&lt;/del&gt;.png|frame|center| Image &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;reproduced &lt;/del&gt;from [http://www.mlahanas.de/Math/orientation.htm here]]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Quaternions&lt;/ins&gt;.png|frame|center| Image &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;inspired &lt;/ins&gt;from [http://www.mlahanas.de/Math/orientation.htm here]]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki.db-Mysql_Wiki:diff:version:1.11a:oldid:784:newid:1141 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=784&amp;oldid=prev</id>
		<title>Yash at 16:24, 4 February 2018</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=784&amp;oldid=prev"/>
				<updated>2018-02-04T16:24:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:24, 4 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Quaternion2.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Quaternion2.png|frame|center&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;| Image reproduced from [http://www.mlahanas.de/Math/orientation.htm here]&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki.db-Mysql_Wiki:diff:version:1.11a:oldid:783:newid:784 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=783&amp;oldid=prev</id>
		<title>Yash at 16:22, 4 February 2018</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=783&amp;oldid=prev"/>
				<updated>2018-02-04T16:22:36Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:22, 4 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot; &gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you are done reading this page, you can go back to [[Attitude Determination and Control Subsystem]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you are done reading this page, you can go back to [[Attitude Determination and Control Subsystem]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== References ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki.db-Mysql_Wiki:diff:version:1.11a:oldid:782:newid:783 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=782&amp;oldid=prev</id>
		<title>Yash at 16:22, 4 February 2018</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=782&amp;oldid=prev"/>
				<updated>2018-02-04T16:22:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:22, 4 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Equation13.png|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, a general quaternion is written as a + b i + c j + d k (or equivalently (a,'''v''')). ‘a’ is called the scalar part and the rest is the vector part (think of i,j,k to be similar to the unit orthogonal vectors of 3D space). &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, a general quaternion is written as a + b i + c j + d k (or equivalently (a,'''v''')). ‘a’ is called the scalar part and the rest is the vector part (think of i,j,k to be similar to the unit orthogonal vectors of 3D space). &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To proceed, we’ll define few quaternion properties, &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To proceed, we’ll define few quaternion properties, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;ref&amp;gt;https://en.wikipedia.org/wiki/Quaternion &amp;lt;/ref&amp;gt;&lt;/ins&gt;&amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''Addition'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''Addition'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki.db-Mysql_Wiki:diff:version:1.11a:oldid:772:newid:782 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=772&amp;oldid=prev</id>
		<title>Yash at 20:47, 1 February 2018</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=772&amp;oldid=prev"/>
				<updated>2018-02-01T20:47:55Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:47, 1 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot; &gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The above equation is used to perform rotations using unit quaternions. All along, the requirement of preserving vector magnitude never explicitly forced us to choose unit quaternions. However, this has been ensured because we started with a vector equation that took this into account and unit quaternion was an output of subsequent manipulations of this equation. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The above equation is used to perform rotations using unit quaternions. All along, the requirement of preserving vector magnitude never explicitly forced us to choose unit quaternions. However, this has been ensured because we started with a vector equation that took this into account and unit quaternion was an output of subsequent manipulations of this equation. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Formulation of quaternions has made two major accomplishments. Firstly, it was able to give Euler’s rotation theorem (which says any rotation of a ‘rigid body’ is equivalent to a single rotation about a unique axis) a more solid mathematical application. Secondly, it was able to “mathematically” resolve the problem of gimbal lock ([https://www.youtube.com/watch?v=zc8b2Jo7mno here's a nice video on gimbal lock]) that euler angles face. It should be pointed out now that though quaternions provided a ‘mathematical’ alternative to euler angles, they didn’t fully dislodge them. For instance, there are still mechanical systems that perform successive rotations in a predefined manner to realise a final rotation. It is natural and convenient to describe these using euler rotation angles. Quaternions in this case can’t help circumvent the gimbal lock issue because the euler angles are a physical requirement. Quaternions are, hence, only a ‘mathematical’ antidote to gimbal lock. Nevertheless, they are a huge simplification of their existing mathematical counterparts. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Formulation of quaternions has made two major accomplishments. Firstly, it was able to give Euler’s rotation theorem (which says any rotation of a ‘rigid body’ is equivalent to a single rotation about a unique axis) a more solid mathematical application. Secondly, it was able to “mathematically” resolve the problem of gimbal lock ([https://www.youtube.com/watch?v=zc8b2Jo7mno here's a nice video on gimbal lock]) that euler angles face. It should be pointed out now that though quaternions provided a ‘mathematical’ alternative to euler angles, they didn’t fully dislodge them. For instance, there are still mechanical systems that perform successive rotations in a predefined manner to realise a final rotation. It is natural and convenient to describe these using euler rotation angles. Quaternions in this case can’t help circumvent the gimbal lock issue because the euler angles are a physical requirement. Quaternions are, hence, only a ‘mathematical’ antidote to gimbal lock. Nevertheless, they are a huge simplification of their existing mathematical counterparts. &amp;lt;br \&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you are done reading this page, you can go back to [[Attitude Determination and Control Subsystem]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you are done reading this page, you can go back to [[Attitude Determination and Control Subsystem]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki.db-Mysql_Wiki:diff:version:1.11a:oldid:414:newid:772 --&gt;
&lt;/table&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	<entry>
		<id>https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=414&amp;oldid=prev</id>
		<title>Yash: Created page with &quot;''“There are two types of geniuses. Ordinary geniuses do great things, but they leave you room to believe that you could do the same if only you worked hard enough. Then the...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.aero.iitb.ac.in/satelliteWiki/index.php?title=Quaternions&amp;diff=414&amp;oldid=prev"/>
				<updated>2018-01-25T09:44:12Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;“There are two types of geniuses. Ordinary geniuses do great things, but they leave you room to believe that you could do the same if only you worked hard enough. Then the...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;''“There are two types of geniuses. Ordinary geniuses do great things, but they leave you room to believe that you could do the same if only you worked hard enough. Then there are magicians, and you can have no idea how they do it.”''&lt;br /&gt;
----&lt;br /&gt;
It is surprising how simplified mathematical modelling of rotations has become with the advent of quaternions. One can’t stop admiring how each of the properties of quaternions has a subtle role to play in accomplishing this task of rotation. And these seem to have been defined with a magical foresight that they would all somehow fit into place later. &amp;lt;br \&amp;gt;&lt;br /&gt;
Quaternions were constructed in attempt to extend the idea of rotations in a complex plane to 3D. Each quaternion is a set of four parameters. Why four? Well, any rigid body rotation can be done about a unique axis. So, 3 parameters to specify the axis and 1 for the angle rotated about it. But we have an endless choice of vectors along the axis to represent it. Here comes an applicational constraint from the fact that we want a rotation that doesn’t scale. So we restrict to unit quaternions (quaternions of unit magnitude). In retrospection, this has also simplified the mathematical design for rotation using quaternions. &amp;lt;br \&amp;gt;&lt;br /&gt;
So we’ll start with vector notation for rotation and make an attempt to build a mathematical construct for unit quaternions.&lt;br /&gt;
[[File:Quaternion2.png|frame|center]]&lt;br /&gt;
In the picture above, x is being rotated to x’ about n in anticlockwise sense. This is equivalent to keeping its component parallel to n preserved and rotating the perpendicular component. Mathematically this is given as,&lt;br /&gt;
[[File:Equation13.png|frame|center]]&lt;br /&gt;
Now, a general quaternion is written as a + b i + c j + d k (or equivalently (a,'''v''')). ‘a’ is called the scalar part and the rest is the vector part (think of i,j,k to be similar to the unit orthogonal vectors of 3D space). &amp;lt;br \&amp;gt;&lt;br /&gt;
To proceed, we’ll define few quaternion properties, &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Addition'''&lt;br /&gt;
[[File:Equation14.png|frame|center]]&lt;br /&gt;
&lt;br /&gt;
* '''Magnitude'''&lt;br /&gt;
[[File:Equation15.png|frame|center]]&lt;br /&gt;
(where q* is the conjugate quaternion of q. It’s scalar part is the same but the vector part is multiplied with (-1) )&lt;br /&gt;
&lt;br /&gt;
* '''Multiplication'''&lt;br /&gt;
[[File:Equation16.JPG|frame|center]]&lt;br /&gt;
This is done defining ij=k ; jk=i ; ki=j ; ii=jj=kk= -1; So,  ijk=-1.  Notice, this is defined in accordance with the right- handed cross product of vectors. This was deliberate (as will be evident when we use quaternions to represent the vector rotation equation above). &amp;lt;br \&amp;gt;&lt;br /&gt;
In short,&lt;br /&gt;
[[File:Equation17.png|frame|center]]&lt;br /&gt;
An useful observation here is that if above r1 =r2 =0 and v1 and v2 are perpendicular then  &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(0, v1)(0, v2)= (0, v1 X v2). {we are doing vector cross product in v1 X v2} &amp;lt;br \&amp;gt;&lt;br /&gt;
We’ll use this to update the vector rotation equation to quaternion notation. To extend vectors to quaternions, we’ll simply put the scalar part to zero and retain the vector notation in the vector part. &lt;br /&gt;
[[File:Equation18.JPG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
[[File:Equation19.JPG|frame|center]]&lt;br /&gt;
So, back to the rotation equation:&lt;br /&gt;
[[File:Equation20.JPG|frame|center]]&lt;br /&gt;
For unit quaternion multiplication with vector (in quaternion form),&lt;br /&gt;
[[File:Equation21.JPG|frame|center]]&lt;br /&gt;
The above can be directly verified from the rules of multiplication. &amp;lt;br \&amp;gt;&lt;br /&gt;
So finally,&lt;br /&gt;
[[File:Equation22.JPG|frame|center]]&lt;br /&gt;
The above equation is used to perform rotations using unit quaternions. All along, the requirement of preserving vector magnitude never explicitly forced us to choose unit quaternions. However, this has been ensured because we started with a vector equation that took this into account and unit quaternion was an output of subsequent manipulations of this equation. &amp;lt;br \&amp;gt;&lt;br /&gt;
Formulation of quaternions has made two major accomplishments. Firstly, it was able to give Euler’s rotation theorem (which says any rotation of a ‘rigid body’ is equivalent to a single rotation about a unique axis) a more solid mathematical application. Secondly, it was able to “mathematically” resolve the problem of gimbal lock ([https://www.youtube.com/watch?v=zc8b2Jo7mno here's a nice video on gimbal lock]) that euler angles face. It should be pointed out now that though quaternions provided a ‘mathematical’ alternative to euler angles, they didn’t fully dislodge them. For instance, there are still mechanical systems that perform successive rotations in a predefined manner to realise a final rotation. It is natural and convenient to describe these using euler rotation angles. Quaternions in this case can’t help circumvent the gimbal lock issue because the euler angles are a physical requirement. Quaternions are, hence, only a ‘mathematical’ antidote to gimbal lock. Nevertheless, they are a huge simplification of their existing mathematical counterparts. &amp;lt;br \&amp;gt;&lt;br /&gt;
If you are done reading this page, you can go back to [[Attitude Determination and Control Subsystem]]&lt;/div&gt;</summary>
		<author><name>Yash</name></author>	</entry>

	</feed>